/* BOOK PAGE -----------------------------------*/

.book-page {
  padding-top: 10px;
}

.book-hero {
  display: block;
}

.book-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.book-gallery-section {
  margin: 22px 0 30px;
}

.book-page h3 {
  margin: 0 0 8px;
  border-bottom: none;
  font-family: "Caveat Brush", cursive;
  font-size: 2.5rem;
  font-weight: 500;
}

.book-page .book-main-heading {
  margin: 0 0 12px;
  padding-bottom: 4px;
  border-bottom: 2px dashed #b8b792;
  font-size: 3.5rem;
}

.book-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.book-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

/* Keep the three journal product images equal in height while allowing the
   gallery to use the same full text width as the book-page galleries. */
.journal-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.book-closing {
  margin-top: 34px;
}

.content-wrapper-materials-body .book-amazon-link {
  margin-top: 4px;
  padding: 11px 16px;
  background: #363f15;
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: none;
}

.content-wrapper-materials-body .book-amazon-link:hover {
  background: #5C5739;
  color: white;
}

@media screen and (max-width: 700px) {
  .book-page {
    padding-top: 20px;
  }

  .book-page h3 {
    font-size: 2rem;
  }

  .book-page .book-main-heading {
    font-size: 2.5rem;
  }

  .book-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media screen and (max-width: 450px) {
  .book-page .book-main-heading {
    font-size: 2rem;
  }

  .book-gallery {
    grid-template-columns: 1fr;
  }
}

/* Visual refresh: aligned with the site and standalone promotion page. */
.book-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.book-page .book-main-heading {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(52, 67, 47, 0.16);
}

.book-hero img {
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(35, 40, 30, 0.14);
}

.book-gallery {
  gap: 20px;
}

.book-gallery img {
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(35, 40, 30, 0.12);
}

.book-closing {
  padding: 22px;
  background: #f8f4eb;
  border: 1px solid rgba(52, 67, 47, 0.1);
  border-radius: 14px;
}

.book-closing.book-closing-plain {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.content-wrapper-materials-body .book-amazon-link {
  padding: 12px 18px;
  background: #34432f;
  font-weight: 700;
}

.content-wrapper-materials-body .book-amazon-link:hover {
  background: #52624a;
}

@media screen and (max-width: 700px) {
  .book-gallery {
    gap: 14px;
  }
}
