article hr {
  border: 0.01rem black solid;
  width: 97vw;
  margin-left: 1.5vw;
  border-radius: 0.5rem;
  margin-bottom: 3rem;
  margin-top: 0.5rem;
}

article a,
article {
  color: black;
}

.book-header {
  padding: 1.5rem;
  gap: 7vw;
}

.book-title {
  font-size: 4.5vw;
  line-height: 80%;
  width: 90%;
  hyphens: auto;
  text-transform: uppercase;
  margin: 0;
  font-family: "diatype";
  font-weight: 900; /* Black/Bold */
  padding: 0;
  -webkit-text-stroke: 0.12vw;
}

.book-title p {
  padding: 0;
  margin: 0;
}

.book-subtitle {
  font-size: 4.5vw;
  line-height: 80%;
  width: 90%;
  font-family: "diatype";
  font-weight: 900; /* Black/Bold */
  -webkit-text-stroke: 0.12vw;
  hyphens: auto;
  display: block;
  margin-top: 0.1rem;
}

.meta p {
  padding: 0;
  margin: 0;
}

.book-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  grid-template-rows: 1fr;
  gap: 7vw;
  padding: 0rem 1.5rem 1.5rem 1.5rem;
}

.book-pictures {
  width: 100%;
  height: 66vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: hidden;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.book-pictures::-webkit-scrollbar {
  display: none;
}
.book-pictures img {
  justify-content: center;
  width: 100%;
  object-fit: contain;
  max-height: 66vh;
  margin-bottom: 10rem !important;
  margin: auto;
  cursor: zoom-in;
  scroll-snap-align: center;
}

article .book-pictures img:only-of-type {
  margin-bottom: 0 !important;
}

.book-pictures:has(img:only-of-type) {
  overflow-y: hidden;
}

.book-text {
  width: 90%;
  margin-top: -2rem;
  max-width: 92vw;
  font-size: 1.4rem;
}

@media (max-width: 1080px) {
  .book-pictures {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
  }

  .book-pictures img {
    margin-bottom: 1rem !important;
  }

  .book-content {
    display: block;
  }
  .book-text {
    width: 100%;
    max-width: 100vw;
  }
  .book-title,
  .book-subtitle {
    width: 90vw;
    font-size: 10vw;
    -webkit-text-stroke: 0.17vw;
  }
}

@media (max-width: 768px) {
  .book-content {
    padding: 3vw;
  }

  .book-header {
    padding: 3vw;
  }

  .book .gallery-grid {
    margin-bottom: 0.5rem;
  }

  .book-text {
    margin-top: 0rem;
    font-size: 1.1rem;
  }
}
