.book-title-link { text-underline-offset: .16em; text-decoration-thickness: 1px; }
.book-title-link:hover { color: var(--forest-soft); }

.book-detail { background: linear-gradient(155deg, var(--cream) 0, var(--cream-light) 640px); }
.book-detail .section-inner { max-width: 1060px; padding-block: clamp(28px, 5vw, 64px) 72px; }
.book-back { display: inline-block; margin-bottom: 26px; color: var(--forest); font-weight: 750; text-underline-offset: .2em; }
.book-detail-intro { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(0, 1.2fr); align-items: center; gap: clamp(26px, 6vw, 72px); }
.detail-cover { display: grid; place-items: center; min-width: 0; min-height: 350px; padding: clamp(18px, 3vw, 32px); background: #e9e9d8; border: 1px solid rgba(40, 63, 46, .09); border-radius: var(--radius); }
.detail-cover img { width: auto; max-width: 100%; height: auto; max-height: 490px; box-shadow: 0 14px 26px rgba(40, 63, 46, .2); }
.book-detail h1 { margin: 0 0 16px; color: var(--forest); font-size: clamp(2.4rem, 5.6vw, 4.25rem); line-height: 1.03; letter-spacing: -.04em; }
.book-detail h2 { margin-bottom: 18px; color: var(--forest); font-size: clamp(1.65rem, 3.6vw, 2.4rem); line-height: 1.12; }
.book-byline { margin-bottom: 16px; color: var(--forest-soft); font-weight: 700; }
.book-byline a { text-underline-offset: .16em; }
.book-summary { max-width: 48ch; color: var(--muted); font-size: 1.1rem; }
.book-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 24px; color: var(--forest-soft); }
.book-facts div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.book-facts dt { font-weight: 800; }
.book-facts dd { margin: 0; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.book-detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 5vw, 56px); margin-top: clamp(42px, 8vw, 88px); }
.book-description p { max-width: 67ch; }
.book-description p:last-child { margin-bottom: 0; }
.book-theme { padding: 24px; background: var(--cream); border: 1px solid #e8dfcb; border-radius: 22px; }
.book-theme h2 { font-size: 1.5rem; }
.book-theme p { margin-bottom: 0; }
.book-preview-section, .book-testimonial, .related-books { margin-top: clamp(38px, 6vw, 66px); padding-top: clamp(25px, 4vw, 42px); border-top: 1px solid #e6ddc9; }
.book-preview-section .inside-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.book-preview-section .inside-page { height: clamp(210px, 27vw, 340px); }
.book-testimonial .reader-review-card { min-height: auto; max-width: 720px; margin: 0; }
.book-testimonial .reader-review-card blockquote { margin-bottom: 12px; }
.book-testimonial figcaption { color: var(--muted); }
.book-testimonial figcaption strong { color: var(--forest); }
.related-book-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.related-book-list a { display: flex; height: 100%; flex-direction: column; gap: 10px; padding: 14px; color: var(--forest); background: var(--white); border: 1px solid #e6ddc9; border-radius: 16px; font-weight: 750; text-underline-offset: .18em; }
.related-book-list a:hover { border-color: var(--forest-soft); }
.related-book-list img { width: 100%; height: 132px; object-fit: contain; }

@media (max-width: 760px) {
  .book-detail-intro, .book-detail-grid { grid-template-columns: 1fr; }
  .detail-cover { min-height: 0; width: min(100%, 390px); justify-self: center; }
  .detail-cover img { max-height: 340px; }
  .book-preview-section .inside-grid, .related-book-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 450px) {
  .book-preview-section .inside-page { height: 168px; padding: 9px; }
  .book-preview-section .inside-grid { gap: 12px; }
  .related-book-list img { height: 104px; }
}
