/* Books: readable portrait covers and individual book pages. */
.book-cover{display:block;width:100%;aspect-ratio:9/16;overflow:hidden;background:#d5c8a2}
.book-cover img,.book-carousel-card .book-cover img,.book-detail .book-cover img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;background:#d5c8a2}
.book-cover-contain,.book-cover-contain img{background:#304336!important}
.stage-track.books-track{align-items:center}
.book-carousel-card{align-self:center;overflow:visible;border:3px solid #c49b55;background:transparent;box-shadow:0 0 0 1px #6d4b25,11px 17px 23px rgba(0,0,0,.35)}
.book-carousel-card .book-cover{display:block;width:100%;height:auto;aspect-ratio:auto;min-height:0;padding:0;overflow:visible;background:transparent}
.book-carousel-card .book-cover img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:fill;background:transparent;filter:none}
.book-carousel-card .book-cover-contain,.book-carousel-card .book-cover-contain img{background:transparent!important}
.stage-track.books-track>.is-active,.stage-track.books-track>.is-active:hover{box-shadow:0 0 0 1px #6d4b25,22px 34px 38px rgba(0,0,0,.48),7px 9px 0 rgba(5,23,17,.26)}
.book-page-hero,.book-story,.book-story h2,.book-story p,.book-story li{font-family:OpenDyslexic,Arial,sans-serif}
.books-catalog{display:grid;gap:1.2rem}
.books-catalog .book-detail{grid-template-columns:clamp(110px,17vw,200px) minmax(0,1fr)}
.book-detail>a{display:block;align-self:start}
.book-detail .book-cover{box-shadow:3px 5px 10px rgba(0,0,0,.16)}
.book-detail p{max-width:55ch;line-height:1.65;margin:0 0 1.3rem}
.book-detail .btn{display:inline-flex}
.book-page-hero .back{display:inline-block;margin-bottom:1.4rem}
.book-story,.book-info{background:repeating-radial-gradient(circle at 17% 38%,transparent 0 71px,rgba(206,165,82,.075) 72px 74px,transparent 75px 142px),radial-gradient(circle at 75% 8%,rgba(180,133,56,.13),transparent 34%),repeating-linear-gradient(25deg,rgba(227,208,145,.025) 0 1px,transparent 1px 15px),#203b2f;color:#f5efda}
.book-story .eyebrow.dark{color:#e3bc75}
.book-story{padding-block:clamp(2.5rem,6vw,5.5rem)}
.book-coming-soon{max-width:720px;margin:0 auto 1.5rem;text-align:center}
.book-coming-soon span{display:inline-block;padding:.65rem 1.25rem;border:2px solid #c69d53;background:#244133;color:#f8dfaa;box-shadow:5px 7px 0 rgba(43,58,36,.16);font-family:OpenDyslexic,Arial,sans-serif;font-size:clamp(1.35rem,3vw,2.1rem);font-weight:700;line-height:1.3;text-transform:uppercase;letter-spacing:.04em}
.book-story-intro{display:grid;grid-template-columns:minmax(225px,360px) minmax(0,1fr);gap:clamp(2rem,6vw,5rem);align-items:center;max-width:1050px;margin:0 auto 4rem}
.book-page-cover{width:100%;max-width:390px;aspect-ratio:9/16;overflow:hidden;background:#d5c8a2;border:7px solid #e8ddbd;box-shadow:12px 16px 0 rgba(48,60,35,.14)}
.book-page-cover img{display:block;width:100%;height:100%;object-fit:contain}
.book-story-intro h2{font-size:clamp(2.2rem,4.8vw,4.5rem);line-height:1.05;margin:.6rem 0 1.1rem;color:#f2d083}
.book-story-intro p{font-size:clamp(1.05rem,1.5vw,1.28rem);line-height:1.75;max-width:55ch;margin:0 0 1.6rem;color:#f0eddd}
.child-book-actions{max-width:560px;margin:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.child-book-actions .offer-btn{min-width:0;min-height:90px;padding:1rem;line-height:1.35;text-wrap:balance}
.child-book-actions .offer-btn strong{font-size:1rem;overflow-wrap:anywhere}
.child-book-actions .offer-btn b{font-size:1.15rem}
@media(max-width:700px){.child-book-actions{grid-template-columns:1fr}}
.book-infographic{max-width:720px;margin:0 auto 3rem;text-align:center}
.book-infographic img{display:block;width:100%;height:auto;border:8px solid #e6d9b7;box-shadow:10px 14px 35px rgba(29,53,36,.2)}
.book-infographic figcaption{margin-top:.9rem;font-size:.82rem;letter-spacing:.11em;text-transform:uppercase;color:#f2d083}
.book-overview-panel{max-width:850px;margin:0 auto;padding:clamp(1.5rem,4vw,3.5rem);background:linear-gradient(145deg,#315441,#1c382c);color:#f5efda;border:1px solid #c49b55;box-shadow:8px 10px 20px rgba(0,0,0,.24)}
.book-overview-panel h2{font-size:clamp(1.7rem,3vw,2.7rem);line-height:1.15;margin:.65rem 0;color:#f2d083}
.book-overview-panel p{max-width:68ch;line-height:1.75;margin-bottom:1.5rem}
.book-overview-panel ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;list-style:none;padding:0;margin:0;counter-reset:book-points}
.book-overview-panel li{counter-increment:book-points;min-height:130px;padding:1.25rem;background:#244133;color:#f5edce;line-height:1.5;font-weight:650}
.book-overview-panel li::before{content:counter(book-points,decimal-leading-zero);display:block;font-size:1.7rem;line-height:1;margin-bottom:.8rem;color:#e7ba73}
.book-back{text-align:center;margin:3rem 0 0}
.book-info-grid .book-page-cover{max-width:420px}
.book-info-grid h2{color:#f2d083}
.book-info-grid p{color:#f0eddd}
.book-offer-actions,.subscriber-promo .book-offer-actions{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1160px;gap:16px;margin:1.8rem auto 0;align-items:stretch}
.book-offer-actions .offer-btn{min-width:0;min-height:150px;padding:1rem;gap:.55rem;text-wrap:balance}
.book-offer-actions .offer-btn strong{font-size:clamp(.9rem,1.25vw,1.13rem);line-height:1.35;overflow-wrap:anywhere}
.book-offer-actions .offer-btn small,.offer-subscribe small{font-size:clamp(.84rem,1vw,.98rem);line-height:1.4}
.book-offer-actions .offer-btn>b,.offer-subscribe>b{font-size:clamp(1.1rem,1.5vw,1.35rem);line-height:1.2}
.offer-subscribe{background:linear-gradient(155deg,#3e8052,#266345 68%,#174e36);color:#fff7db;border-color:#89ab78}
.offer-special{background:linear-gradient(150deg,#f8d45e,#e4b455 65%,#cda23a);color:#1d2b1e;border-color:#f4df91}
.offer-amazon{background:linear-gradient(150deg,#bd4a31,#a53325 70%,#7b251d);color:#fff6df;border-color:#e39c79}
.amazon-format-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;width:100%}
.amazon-format-links a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;min-height:56px;padding:.45rem .25rem;border:1px solid rgba(255,238,203,.75);background:rgba(30,12,9,.16);color:#fffaf0;font-size:.83rem;font-weight:750;line-height:1.25;text-decoration:none}
.amazon-format-links a b{font-size:1rem}
.amazon-format-links a span{display:none}
.amazon-format-links a:hover,.amazon-format-links a:focus-visible{background:rgba(255,244,214,.18);outline:2px solid #fff3d2;outline-offset:2px}
.book-info .book-offer-actions{margin-top:2.5rem}
@media(max-width:900px) and (min-width:701px){.book-offer-actions{gap:10px}.book-offer-actions .offer-btn{padding:.8rem}}
@media(max-width:700px){
  .books-catalog .book-detail{grid-template-columns:105px minmax(0,1fr);gap:1rem;padding:1rem}
  .book-detail p{font-size:.85rem;line-height:1.45}
  .book-detail h2{font-size:1.18rem}
  .book-story-intro{grid-template-columns:1fr;gap:2rem;margin-bottom:2.5rem}
  .book-story-intro .book-page-cover{max-width:min(70vw,310px);margin:auto}
  .book-overview-panel ul{grid-template-columns:1fr}
  .book-overview-panel li{min-height:0}
  .book-infographic img{border-width:4px}
  .book-offer-actions,.subscriber-promo .book-offer-actions{grid-template-columns:1fr;max-width:430px;gap:14px}
  .book-offer-actions .offer-btn{min-height:120px;padding:1.1rem}
  .amazon-format-links a{min-height:52px}
}
