/* PETS Digital Library. Everything is scoped under .pdl so it cannot touch the rest of the site. */
.pdl{--navy:#01075f;--deep:#00053f;--night:#14151c;--blue:#415BD2;--pink:#E544BF;--paper:#fff;--ink:#14151c;--body:#3c3e4c;--mute:#6d7084;--line:#e3e5f1;--tint:#ebedf8;
 color:var(--body);font:400 17px/1.6 "Nunito Sans","Helvetica Neue",Arial,sans-serif;background:var(--paper);overflow-x:clip}
.pdl *{box-sizing:border-box}
.pdl h1,.pdl h2,.pdl h3,.pdl p,.pdl ul,.pdl ol{margin:0;padding:0}
.pdl h1,.pdl h2,.pdl h3{font-family:inherit;color:var(--ink);line-height:1.08;text-wrap:balance}
.pdl ul,.pdl ol{list-style:none}
.pdl a{color:inherit}
.pdl img{max-width:100%;height:auto;display:block}
.pdl :focus-visible{outline:3px solid var(--pink);outline-offset:3px}
.pdl-w{max-width:1280px;margin-inline:auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
@media(min-width:900px){.pdl-w{padding-left:40px;padding-right:40px}}

.pdl-stage{position:relative;overflow:hidden;color:#fff;background:repeating-linear-gradient(118deg,rgba(255,255,255,.022) 0 90px,transparent 90px 230px),linear-gradient(172deg,var(--navy) 0%,var(--deep) 62%,var(--night) 100%)}
.pdl-stage h1,.pdl-stage h2,.pdl-stage h3{color:#fff}
.pdl-stage>.pdl-w{position:relative}

.pdl-lead{position:relative;z-index:0;text-align:center;padding-block:clamp(36px,4vw,56px) clamp(32px,4vw,52px)}
.pdl-burst{width:clamp(150px,15vw,210px);margin:0 auto 10px;animation:pdl-ignite 1.1s cubic-bezier(.12,.72,.2,1) backwards,pdl-breathe 8s ease-in-out 1.1s infinite}
@keyframes pdl-breathe{50%{transform:scale(1.06) rotate(5deg)}}
.pdl-kick{font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);font-weight:700}
.pdl-lead h1{font-size:clamp(38px,5.4vw,72px);font-weight:900;margin-block:12px 20px;letter-spacing:-.012em}
.pdl-byline{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
.pdl-byline img{width:56px;height:56px;border-radius:50%;border:2px solid rgba(255,255,255,.65);flex:none}
.pdl-byline p{font-size:clamp(17px,1.5vw,20px);font-weight:300;min-width:0}
.pdl-note{font-size:15px;font-weight:300;margin-top:12px!important;opacity:.85}

.pdl-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:860px;margin-inline:auto;padding-bottom:clamp(52px,6vw,84px)}
.pdl-offer{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding:40px 32px 32px;background:#fff;color:var(--body);border-radius:10px;transition:background .28s,color .28s}
@media(hover:hover){.pdl-offer:hover{background:var(--tint)}}
.pdl-offer .pdl-book{width:min(195px,62%);margin-bottom:34px;display:block;text-decoration:none}
.pdl-lib .pdl-offer h2{font-size:clamp(21px,2vw,26px);font-weight:900;color:var(--navy);transition:color .28s}
.pdl .pdl-offer .pdl-cost{color:var(--navy);margin-bottom:22px;transition:color .28s}
.pdl .pdl-offer .pdl-lookl,.pdl .pdl-offer .pdl-lookl:focus{color:var(--navy);margin-top:18px}
.pdl-offer h2 a{text-decoration:none}
.pdl .pdl-desc{font-weight:400;font-size:16px;line-height:1.55;margin-block:16px 22px;flex:1 1 auto}
.pdl-cost{font-size:20px;font-weight:800;margin-bottom:14px}
.pdl-cost .amount,.pdl-cost bdi{color:inherit}

.pdl .pdl-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:10px 14px;border:0;border-radius:5px;font:800 17px/1.2 "Nunito Sans",Arial,sans-serif;text-decoration:none;cursor:pointer;transition:transform .16s,background .16s;color:#fff}
.pdl .pdl-btn:active{transform:scale(.97)}
.pdl .pdl-buy,.pdl .pdl-buy:focus{background:var(--pink);color:#fff}
.pdl .pdl-buy:hover{background:#cf2fa9;color:#fff}
.pdl .pdl-buy.is-done,.pdl .pdl-buy.is-done:hover{background:var(--blue);color:#fff}
.pdl .pdl-buy[aria-busy=true]{opacity:.7;cursor:progress}
.pdl-status{font-size:14px;min-height:0;margin-top:6px}
.pdl-status:empty{display:none}
.pdl .pdl-lookl,.pdl .pdl-lookl:hover,.pdl .pdl-lookl:focus{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:0;margin-top:14px;color:#fff;font:700 16px/1.3 "Nunito Sans",Arial,sans-serif;cursor:pointer}
.pdl-lookl svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
.pdl-lookl span{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1.5px}
.pdl .pdl-lookl span{transition:text-underline-offset .2s}
.pdl .pdl-lookl:hover{color:var(--pink)}
.pdl .pdl-lookl:hover span{text-underline-offset:7px}

/* one 3D book, the same at any size */
.pdl-book{perspective:1500px;container-type:inline-size}
.pdl-bk3{position:relative;aspect-ratio:8.5/11;transform-style:preserve-3d;transform:translateY(var(--ly,0px)) rotateY(var(--ry,20deg)) rotateX(var(--rx,1deg));transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.pdl-bk3.is-track{transition:transform .16s ease-out}
a.pdl-book:hover .pdl-bk3{--ry:7deg}
.pdl-offer:hover .pdl-bk3,.pdl-other:hover .pdl-bk3{--ly:-2.5cqw}
.pdl-front,.pdl-spine,.pdl-edge{position:absolute;top:0;bottom:0}
.pdl-front{inset:0;transform:translateZ(3.4cqw);border-radius:0 1cqw 1cqw 0;overflow:hidden;box-shadow:0 5cqw 11cqw rgba(0,0,0,.5);transition:box-shadow .35s}
.pdl-offer:hover .pdl-front,.pdl-other:hover .pdl-front{box-shadow:0 9cqw 18cqw rgba(0,0,0,.6)}
.pdl-front::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 34%,rgba(255,255,255,.26) 50%,transparent 66%);opacity:0;transform:translateX(calc(var(--sx,0)*38%));transition:opacity .3s;pointer-events:none}
.pdl-bk3.is-track .pdl-front::after{opacity:1}
.pdl-cvimg{width:100%;height:100%;object-fit:cover}
.pdl-spine{left:-3.4cqw;width:6.8cqw;transform:rotateY(-90deg);display:flex;align-items:center;justify-content:center;overflow:hidden}
.pdl-spine span{writing-mode:vertical-rl;font-weight:900;font-size:2.7cqw;white-space:nowrap}
.pdl-edge{right:-3.4cqw;width:6.8cqw;top:.8%;bottom:.8%;transform:rotateY(90deg);background:repeating-linear-gradient(90deg,#fff 0 1px,#d9dbe6 1px 2px)}
.pdl-s-regs{background:#eceef6;color:var(--navy)}.pdl-s-img{background:#2f46b5;color:#fff}
.pdl-cv{position:absolute;inset:0;display:flex;flex-direction:column;padding:7.5cqw 7.5cqw 6.5cqw;text-align:left}
.pdl-cv small{font-size:2.7cqw;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.pdl-cv b{display:block;font-weight:900;font-size:11.8cqw;line-height:1.02;letter-spacing:-.01em;margin-top:5cqw}
.pdl-cv i{font-style:normal;font-weight:700;font-size:3.5cqw}
.pdl-cv-regs{background:#fff;color:var(--navy)}
.pdl-cv-regs small{color:var(--pink)}
.pdl-cv-regs svg{display:block;width:100%;margin-top:auto;margin-bottom:5cqw;overflow:visible}
.pdl-cv-img{background:var(--blue);color:#fff}
.pdl-frames{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1cqw;margin-top:auto;margin-bottom:5cqw}
.pdl-frames div{position:relative;aspect-ratio:1/1;background:var(--deep) url(fireball.png) center no-repeat}
.pdl-frames span{position:absolute;left:1.2cqw;bottom:.8cqw;font-size:2.1cqw;font-weight:700}

.pdl-yours{background:var(--pink);color:var(--navy);overflow:hidden}
.pdl-yours .pdl-w{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(32px,6vw,90px);align-items:center;padding-block:clamp(56px,7vw,100px)}
.pdl-yours h2{color:var(--navy);font-size:clamp(38px,5vw,68px);font-weight:900}
.pdl-yl{font-size:20px;font-weight:600;margin-block:18px 30px!important;max-width:40ch}
.pdl-facts li{border-top:2px solid var(--navy);padding-block:13px;display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;font-weight:600}
.pdl-facts b{font-weight:900}
.pdl-sheet{background:#fff;color:var(--ink);padding:clamp(22px,3vw,40px);box-shadow:0 30px 70px rgba(1,7,95,.35);min-width:0}
.pdl-sheet h3{font-size:22px;font-weight:900;margin-bottom:16px}
.pdl-ln{height:9px;background:var(--tint);margin-bottom:11px}
.pdl-lic{margin-top:22px;border-top:2px solid var(--navy);padding-top:12px;font-size:clamp(14px,1.3vw,17px);line-height:1.45;color:var(--navy);font-weight:600}
.pdl-lic strong{font-weight:900;color:var(--pink)}

.pdl-next{padding-block:clamp(56px,7vw,100px)}
.pdl-next h2{font-size:clamp(34px,4vw,54px);font-weight:900;margin-bottom:12px}
.pdl-next .pdl-w>p{max-width:56ch;margin-bottom:36px}
.pdl-soon{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(24px,4vw,56px)}
.pdl-soon li{border-top:2px solid var(--navy);padding-block:16px 34px;color:var(--navy);font-size:clamp(21px,2.1vw,29px);font-weight:800;line-height:1.15;min-width:0}

.pdl-fire{position:absolute;left:-14%;top:-22%;width:min(980px,110vw);pointer-events:none;animation:pdl-ignite 1.25s cubic-bezier(.12,.72,.2,1) backwards,pdl-breathe 9s ease-in-out 1.25s infinite}
.pdl-bphero{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(32px,7vw,110px);align-items:center;padding-block:clamp(46px,6vw,84px)}
.pdl-bphero .pdl-book{width:min(400px,90%);margin-inline:auto}
.pdl-crumb{font-size:15px;margin-bottom:20px;display:flex;flex-wrap:wrap;gap:6px 10px;opacity:.85}
.pdl-crumb a{text-decoration:none}.pdl-crumb a:hover{text-decoration:underline}
.pdl-bp h1{font-size:clamp(38px,5.2vw,72px);font-weight:900;letter-spacing:-.012em}
.pdl-by{font-size:19px;font-weight:700;margin-block:14px 18px!important}
.pdl-sum{font-size:clamp(18px,1.6vw,21px);font-weight:300;max-width:48ch}
.pdl-bphero .pdl-cost{font-size:26px;margin-block:22px 14px}
.pdl-act{display:flex;flex-direction:column;align-items:center;max-width:400px}

.pdl-detail{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:clamp(32px,6vw,84px);align-items:start;padding-block:clamp(52px,6vw,88px)}
.pdl-detail h2,.pdl-peek h2,.pdl-other h2{font-size:clamp(30px,3.4vw,44px);font-weight:900}
.pdl-chap{margin-top:24px!important}
.pdl-chap li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:baseline;border-top:1px solid var(--line);padding-block:17px}
.pdl-chap li:last-child{border-bottom:1px solid var(--line)}
.pdl-chap span{color:var(--pink);font-weight:900;font-size:24px;font-variant-numeric:tabular-nums}
.pdl-chap b{display:block;color:var(--ink);font-size:21px;font-weight:800;line-height:1.25}
.pdl-who{margin-top:56px}.pdl-who p{margin-top:14px;font-size:19px;max-width:58ch}
.pdl-panel{position:sticky;top:104px;background:var(--navy);color:#fff;padding:30px;border-radius:8px}
.pdl-ptop{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:18px}
.pdl-panel h3{color:#fff;font-size:21px;font-weight:800}
.pdl-panel .pdl-cost{margin:0}
.pdl-inc{margin-block:0 22px!important;display:grid;gap:10px;font-size:16px}
.pdl-inc li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px}
.pdl-inc svg{width:18px;height:18px;margin-top:4px;fill:none;stroke:var(--pink);stroke-width:2.6}

.pdl-peek{background:var(--tint);padding-block:clamp(52px,6vw,84px)}
.pdl-hd{margin-bottom:26px}
.pdl-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(8px,1.5vw,20px)}
.pdl .pdl-thumb,.pdl .pdl-thumb:hover,.pdl .pdl-thumb:focus{background:#fff;border:0;padding:0;border-radius:0;box-shadow:0 12px 26px rgba(1,7,95,.14);transition:transform .25s cubic-bezier(.2,.8,.2,1);min-width:0;text-align:start;cursor:pointer;color:inherit}
.pdl .pdl-thumb:hover{transform:translateY(-8px)}
.pdl-pg{aspect-ratio:8.5/11;padding:9%;display:flex;flex-direction:column;container-type:inline-size;overflow:hidden;background:#fff;color:var(--ink)}
.pdl-pg h4{margin:0 0 7cqw;font:900 clamp(9px,7cqw,24px)/1.1 "Nunito Sans",Arial,sans-serif;color:var(--ink)}
.pdl-pg .l{height:2.3cqw;background:var(--tint);margin-bottom:3.2cqw;flex:none}
.pdl-pg .fg{flex:none;height:32cqw;margin-block:2cqw 6cqw;background:var(--deep) center/62% no-repeat}
.pdl-pg .wm{margin-top:auto;border-top:1px solid var(--line);padding-top:2.5cqw;font-size:clamp(6px,2.25cqw,11px);line-height:1.35;color:var(--mute)}

.pdl-author{padding-block:clamp(44px,5vw,70px)}
.pdl-author .pdl-w{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.pdl-author img{width:92px;height:92px;border-radius:50%;flex:none}
.pdl-author b{display:block;color:var(--ink);font-size:26px;font-weight:900}

.pdl-other .pdl-w{display:grid;grid-template-columns:200px minmax(0,1fr);gap:clamp(28px,6vw,80px);align-items:center;padding-block:clamp(48px,6vw,76px)}
.pdl-other p{font-weight:300;max-width:50ch;margin-block:12px 18px!important}
.pdl-other .pdl-book{display:block;width:100%}
.pdl .pdl-more{color:#fff;font-size:18px;font-weight:700;text-decoration:none;border-bottom:2px solid var(--pink);padding-bottom:2px}

.pdl-modal{position:fixed;inset:0;z-index:99999;background:rgba(0,5,63,.92);display:flex;align-items:center;justify-content:center;padding:max(14px,env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) max(14px,env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px))}
.pdl-reader{width:min(520px,100%);max-height:100%;display:flex;flex-direction:column;gap:12px;color:#fff}
.pdl-rhead{display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:800;font-size:17px}
.pdl .pdl-x,.pdl .pdl-x:hover,.pdl .pdl-x:focus{background:none;border:0;color:#fff;font-size:32px;line-height:1;padding:0 6px;cursor:pointer}
.pdl-bar{height:4px;background:rgba(255,255,255,.2)}.pdl-bar i{display:block;height:100%;background:var(--pink);transition:width .25s}
.pdl-leaf{flex:1 1 auto;min-height:0;display:flex;justify-content:center}
.pdl-spread{position:relative;height:min(66vh,620px);aspect-ratio:8.5/11;max-width:100%;perspective:3200px;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.pdl-cur{position:absolute;inset:0;background:#fff}
.pdl-leaf .pdl-pg,.pdl-leaf img{width:100%;height:100%;max-width:none}
.pdl-flip{transform-origin:left center;box-shadow:6px 0 24px rgba(0,0,0,.35);pointer-events:none;will-change:transform}
.pdl-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,5,63,.55),rgba(0,5,63,.1));opacity:0;pointer-events:none}
.pdl-leaf .pdl-end{background:var(--navy);color:#fff;justify-content:center;align-items:center;text-align:center;gap:18px;padding:8%}
.pdl-end h3{color:#fff;font-size:30px;font-weight:900}.pdl-end .pdl-btn{max-width:300px}
.pdl-pager{display:grid;grid-template-columns:130px 1fr 130px;align-items:center;gap:10px;text-align:center;font-variant-numeric:tabular-nums}
.pdl .pdl-nav,.pdl .pdl-nav:hover,.pdl .pdl-nav:focus{min-height:44px;width:100%;background:transparent;color:#fff;border:2px solid rgba(255,255,255,.75);border-radius:5px;font:800 16px/1.2 "Nunito Sans",Arial,sans-serif;cursor:pointer}
.pdl .pdl-nav:disabled{opacity:.35;cursor:default}

.pdl-mbar{display:none}
@media(max-width:820px){
.pdl-offers{grid-template-columns:minmax(0,1fr);max-width:440px}
.pdl-yours .pdl-w,.pdl-bphero,.pdl-other .pdl-w{grid-template-columns:minmax(0,1fr)}
.pdl-facts li{grid-template-columns:minmax(0,1fr);gap:0}
.pdl-soon{grid-template-columns:minmax(0,1fr)}.pdl-soon li{padding-block:13px 18px}
.pdl-bphero .pdl-book{width:min(270px,70%)}.pdl-fire{left:-30%;top:-8%;width:170vw}
.pdl-detail{display:flex;flex-direction:column}
.pdl-detail>div:first-child{order:2}.pdl-panel{position:static;order:1;width:100%}
.pdl-thumbs{grid-template-columns:repeat(5,minmax(112px,1fr));overflow-x:auto;padding-bottom:18px}
.pdl-other .pdl-book{width:170px}
.pdl-mbar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--navy);color:#fff;padding:10px max(16px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
.pdl-mbar .pdl-cost{margin:0}
.pdl-bp{padding-bottom:72px}
.pdl-pager{grid-template-columns:96px 1fr 96px}
.pdl-spread{height:auto;width:100%}
}

/* motion. Hero entrances are CSS and end visible with or without JS; .pdl-rv is only ever added by library.js. */
@keyframes pdl-ignite{0%{transform:scale(.08);opacity:0;filter:brightness(3)}12%{opacity:1}60%{transform:scale(1.14);filter:brightness(1.25)}100%{transform:none;opacity:1;filter:none}}
@keyframes pdl-flash{0%{opacity:0;transform:translate(-50%,-50%) scale(.08)}18%{opacity:.95}100%{opacity:0;transform:translate(-50%,-50%) scale(1.3)}}
@keyframes pdl-up{from{opacity:.01;transform:translateY(26px)}}
@keyframes pdl-swing{from{transform:rotateY(76deg) rotateX(1deg) translateZ(-90px)}}
@keyframes pdl-draw{from{transform:scaleX(0)}}
@keyframes pdl-fade{from{opacity:0}}
@keyframes pdl-lift{from{opacity:0;transform:translateY(18px) scale(.97)}}
.pdl-lead::before{content:"";position:absolute;z-index:-1;left:50%;top:calc(clamp(36px,4vw,56px) + clamp(150px,15vw,210px)/2);width:min(620px,130vw);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,244,220,.95) 0,rgba(255,190,110,.5) 24%,rgba(229,68,191,.22) 46%,transparent 68%);opacity:0;pointer-events:none;animation:pdl-flash 1s cubic-bezier(.1,.6,.3,1) backwards}
.pdl-kick,.pdl-lead h1,.pdl-byline,.pdl-note,.pdl-offer,.pdl-crumb,.pdl-bp h1,.pdl-by,.pdl-sum,.pdl-bphero .pdl-cost,.pdl-act{animation:pdl-up .8s cubic-bezier(.2,.8,.2,1) backwards}
.pdl-kick{animation-delay:.34s}.pdl-lead h1{animation-delay:.42s}.pdl-byline{animation-delay:.54s}.pdl-note{animation-delay:.58s}
.pdl-offer{animation-delay:.62s}.pdl-offer:nth-child(2){animation-delay:.74s}
.pdl-offer .pdl-bk3{animation:pdl-swing 1.05s cubic-bezier(.16,.84,.24,1) .72s backwards}
.pdl-offer:nth-child(2) .pdl-bk3{animation-delay:.84s}
.pdl-bphero .pdl-bk3{animation:pdl-swing 1.15s cubic-bezier(.16,.84,.24,1) .15s backwards}
.pdl-crumb{animation-delay:.3s}.pdl-bp h1{animation-delay:.38s}.pdl-by{animation-delay:.48s}.pdl-sum{animation-delay:.56s}.pdl-bphero .pdl-cost{animation-delay:.64s}.pdl-act{animation-delay:.72s}
.pdl-rv{opacity:0}
.pdl-in{animation:pdl-up .75s cubic-bezier(.2,.8,.2,1) var(--rd,0s) backwards}
.pdl-sheet.pdl-in .pdl-ln{transform-origin:left;animation:pdl-draw .7s cubic-bezier(.2,.8,.2,1) .25s backwards}
.pdl-sheet.pdl-in .pdl-ln:nth-of-type(n+3){animation-delay:.33s}
.pdl-modal{animation:pdl-fade .2s ease-out backwards}
.pdl-reader{animation:pdl-lift .32s cubic-bezier(.2,.8,.2,1) backwards}
@media print{.pdl-rv{opacity:1!important}}
@media(prefers-reduced-motion:reduce){.pdl *,.pdl *::before,.pdl *::after{animation:none!important;transition:none!important}.pdl-rv{opacity:1!important}}

/* The white cover needs an edge on the white card. */
.pdl-offer .pdl-cv-regs{box-shadow:inset 0 0 0 1px rgba(1,7,95,.12)}
.pdl-offer .pdl-front{box-shadow:0 4cqw 9cqw rgba(1,7,95,.28)}

/* "Your name on every page" band: site frame grey-purple with pink text. */
.pdl-yours{background:var(--tint);color:var(--pink)}
.pdl .pdl-yours h2{color:var(--pink)}
.pdl-facts li{border-top-color:var(--pink)}

/* Library cards: text on the left, book on the right, two in a row. */
@media(min-width:561px){
.pdl-offer{display:grid;grid-template-columns:minmax(0,1fr) 180px;grid-template-rows:auto 1fr auto auto auto auto;column-gap:32px;align-items:start;justify-items:start;text-align:left;padding:36px}
.pdl-offer>*{grid-column:1}
.pdl-offer .pdl-book{grid-column:2;grid-row:1/-1;width:100%;margin:0;align-self:center}
.pdl .pdl-offer .pdl-buy{width:100%}
}
@media(min-width:1001px){.pdl-offers{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1140px;gap:24px}}
@media(max-width:1000px){.pdl-offers{grid-template-columns:minmax(0,1fr);max-width:640px}}
@media(max-width:560px){.pdl-offers{max-width:440px}}

/* Wider cards, with Buy now and Look inside on one line. */
@media(min-width:561px){
.pdl-offer{grid-template-columns:minmax(0,1fr) auto 180px;grid-template-rows:auto 1fr auto auto auto;column-gap:0}
.pdl-offer>h2,.pdl-offer>.pdl-desc,.pdl-offer>.pdl-cost,.pdl-offer>.pdl-status{grid-column:1/3;padding-right:32px}
.pdl-offer>h2{grid-row:1}.pdl-offer>.pdl-desc{grid-row:2}.pdl-offer>.pdl-cost{grid-row:3}.pdl-offer>.pdl-status{grid-row:5}
.pdl-offer>.pdl-buy{grid-column:1;grid-row:4}
.pdl .pdl-offer>.pdl-lookl,.pdl .pdl-offer>.pdl-lookl:hover,.pdl .pdl-offer>.pdl-lookl:focus{grid-column:2;grid-row:4;margin:0 32px 0 20px;align-self:center;white-space:nowrap}
.pdl-offer .pdl-book{grid-column:3;grid-row:1/-1}
}
@media(min-width:1200px){.pdl-offers{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1200px}}
@media(max-width:1199px){.pdl-offers{grid-template-columns:minmax(0,1fr);max-width:680px}}
@media(max-width:560px){.pdl-offers{max-width:440px}}

/* Shop layout: a short hero like the course pages, Dr. Petr's photo on its edge, the books on white. */
.pdl-shop-hero{display:flex;align-items:center;min-height:450px}
.pdl-shop-hero>.pdl-w{width:100%}
.pdl-shop-hero .pdl-lead{padding-block:48px 96px;max-width:980px;margin-inline:auto}
.pdl-shop-hero .pdl-burst{--f:clamp(300px,31vw,470px);position:absolute;right:calc(var(--f)*-.28);top:calc(50% - var(--f)/2);width:var(--f);margin:0;pointer-events:none}
.pdl-shop-hero .pdl-kick{display:flex;align-items:center;justify-content:center;gap:10px;font-size:16px;font-weight:400;letter-spacing:0;text-transform:none;color:#fff}
.pdl-shop-hero .pdl-kick svg{flex:none;width:14px;height:14px}
.pdl-shop-hero .pdl-lead h1{font-size:clamp(36px,4.5vw,65px);font-weight:900;margin-block:16px 18px}
.pdl-intro{font-size:clamp(17px,1.4vw,20px);font-weight:300;line-height:1.55;max-width:44em;margin-inline:auto!important}
.pdl-badge{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:-85px}
.pdl-badge img{width:170px;height:170px;border-radius:50%;object-fit:cover;border:8px solid #fff;background:#fff}
.pdl-badge b{margin-top:14px;color:var(--navy);font-size:24px;font-weight:900;line-height:1.2}
.pdl-badge span{margin-top:4px;font-size:16px}
.pdl-shelf{padding-block:48px clamp(64px,7vw,100px)}
.pdl-lib .pdl-offers{padding-bottom:0}
.pdl-lib .pdl-offer{border:1px solid var(--tint);transition:background .28s,color .28s,border-color .28s}
@media(max-width:767px){
.pdl-shop-hero{min-height:0}
.pdl-shop-hero .pdl-lead{padding-block:44px 92px}
.pdl-shop-hero .pdl-burst{--f:210px;right:-74px;top:-48px;opacity:.9}
.pdl-badge{margin-top:-65px}
.pdl-badge img{width:130px;height:130px;border-width:6px}
.pdl-shelf{padding-top:36px}
}

/* Dr. Petr sits on the left edge of the product cards: name, then photo. */
.pdl-shelf{padding-top:0}
.pdl-shop-hero .pdl-lead{padding-block:48px 72px}
.pdl-badge{flex-direction:row;align-items:flex-end;justify-content:flex-start;gap:20px;text-align:left;width:100%;max-width:1200px;margin:-45px auto 36px}
.pdl-badge-t{display:flex;flex-direction:column;padding-bottom:10px}
.pdl-badge b{margin-top:0}
.pdl-badge img{width:130px;height:130px;border-width:6px}
@media(max-width:1199px){.pdl-badge{max-width:680px}}
@media(max-width:767px){.pdl-shop-hero .pdl-lead{padding-block:44px 60px}.pdl-badge{margin:-36px auto 28px;gap:14px}.pdl-badge img{width:104px;height:104px;border-width:5px}.pdl-badge b{font-size:20px}.pdl-badge span{font-size:14px}.pdl-shelf{padding-top:0}}
@media(max-width:560px){.pdl-badge{max-width:440px}}
.pdl-badge-t{order:2}

/* The library sends people to the book page: one button, equal space above and below the cards. */
@media(min-width:561px){.pdl-offer>.pdl-buy{grid-column:1/3}.pdl .pdl-offer>.pdl-buy{width:calc(100% - 32px)}}
.pdl-badge{margin-bottom:clamp(64px,7vw,100px)}
@media(max-width:767px){.pdl-badge{margin-bottom:64px}}

/* Cards lift on a soft shadow instead of an outline; hover turns them grey. */
.pdl-lib .pdl-offer{border:0;box-shadow:0 10px 36px rgba(1,7,95,.1);transition:background .28s,box-shadow .28s}
@media(hover:hover){.pdl-lib .pdl-offer:hover{background:#f1f2f5;box-shadow:0 18px 48px rgba(1,7,95,.16)}}

/* Dr. Petr on a grey-purple strip under the hero; a two-column heading in Login blue above the books. */
.pdl-strip{display:flow-root;background:var(--tint);padding-bottom:18px}
.pdl-badge{margin:-45px auto 0}
.pdl-shelf{padding-top:clamp(56px,6vw,84px)}
.pdl-shelf-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center;max-width:1200px;margin:0 auto 40px;color:var(--blue)}
.pdl .pdl-shelf-head h2{color:var(--blue);font-size:clamp(30px,3.4vw,44px);font-weight:900}
.pdl-shelf-head p{font-size:17px;line-height:1.55}
@media(max-width:1199px){.pdl-shelf-head{max-width:680px}}
@media(max-width:767px){.pdl-badge{margin:-36px auto 0}.pdl-shelf{padding-top:48px}.pdl-shelf-head{grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:28px}}
@media(max-width:560px){.pdl-shelf-head{max-width:440px}}
.pdl-lib .pdl-offer{border:1px solid var(--tint)}

/* Photo ring matches the strip; heading centred with its text underneath. */
.pdl-badge img{border-color:var(--tint);background:var(--tint)}
.pdl-shelf-head{grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;text-align:center}
.pdl-shelf-head p{max-width:46em}

/* Hover: the card stays white and lifts on a deeper shadow. View button carries an eye. */
@media(hover:hover){.pdl-lib .pdl-offer:hover{background:#fff;box-shadow:0 24px 60px rgba(1,7,95,.26)}}
.pdl-offer .pdl-buy{gap:10px}
.pdl-eye{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;flex:none}
.pdl .pdl-shelf-head p{color:var(--navy)}

/* Coming next: real shelf cards with an unreleased book and a corner ribbon. */
.pdl-next .pdl-w{text-align:center}
.pdl-next .pdl-w>p{margin-inline:auto}
.pdl-soon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1200px;margin-inline:auto;text-align:center}
.pdl-soon-card{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 124px;gap:18px;align-items:center;min-height:236px;padding:32px 30px 32px 34px;background:#fff;border:1px solid var(--tint);border-radius:10px;box-shadow:0 10px 36px rgba(1,7,95,.1);transition:box-shadow .28s}
@media(hover:hover){.pdl-soon-card:hover{box-shadow:0 24px 60px rgba(1,7,95,.26)}}
.pdl .pdl-soon-card h3{color:var(--navy);font-size:clamp(20px,1.7vw,24px);font-weight:900;line-height:1.2;padding-top:18px}
.pdl-ribbon{position:absolute;top:24px;left:-46px;width:176px;padding:6px 0;background:var(--pink);color:#fff;font-size:12px;font-weight:800;letter-spacing:.06em;text-align:center;text-transform:uppercase;transform:rotate(-45deg);z-index:2}
.pdl-cv-soon{background:repeating-linear-gradient(118deg,rgba(255,255,255,.05) 0 16cqw,transparent 16cqw 40cqw),linear-gradient(172deg,var(--navy),var(--deep));color:#fff}
.pdl-cv-soon b{font-size:12.5cqw}
.pdl-cv-gap{margin-top:auto}
.pdl-s-soon{background:var(--deep);color:#fff}
.pdl-soon-card .pdl-front{box-shadow:0 4cqw 9cqw rgba(1,7,95,.28)}
@media(max-width:1099px){.pdl-soon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pdl-soon-grid{grid-template-columns:minmax(0,1fr);max-width:440px}}

/* Colour round: Available now navy, Coming next and ribbons in Login blue, licence band in Login blue with white text. */
.pdl .pdl-shelf-head h2{color:var(--navy)}
.pdl .pdl-next h2{color:var(--blue)}
.pdl-ribbon{background:var(--blue)}
.pdl-yours{background:var(--blue);color:#fff}
.pdl .pdl-yours h2{color:#fff}
.pdl-facts li{border-top-color:rgba(255,255,255,.55)}

/* Available now in Login blue; Coming next and ribbons pink; upcoming titles aligned left. */
.pdl .pdl-shelf-head h2{color:var(--blue)}
.pdl .pdl-next h2{color:var(--pink)}
.pdl-ribbon{background:var(--pink)}
.pdl .pdl-soon-card h3{text-align:left;padding-top:34px}

/* Colours per latest notes; the licence band lists what the buyer gets, with a drawn PDF on a taller sheet. */
.pdl .pdl-shelf-head h2{color:var(--pink)}
.pdl .pdl-next h2{color:var(--blue)}
.pdl-ribbon{background:var(--tint);color:var(--navy)}
.pdl-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 34px}
.pdl-facts li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start;border:0;padding:0;font-weight:400}
.pdl-gi{width:48px;height:48px;padding:11px;border-radius:10px;background:rgba(255,255,255,.16);fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pdl-facts b{display:block;font-size:19px;font-weight:900;line-height:1.25;margin-bottom:3px}
.pdl-facts span{display:block;font-size:16px;line-height:1.45}
.pdl-sheet{display:flex;flex-direction:column;justify-content:center;min-height:560px;padding:clamp(26px,3vw,44px)}
.pdl-pdfart{display:block;width:min(340px,100%);height:auto;margin:0 auto}
@media(max-width:560px){.pdl-facts{grid-template-columns:minmax(0,1fr)}.pdl-sheet{min-height:0}}

/* Book page: text left, book and fireball right; below it the same boxed layout as the course pages. */
.pdl-bp .pdl-shop-hero{align-items:stretch}
.pdl-bp .pdl-bphero{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(24px,5vw,80px);padding-block:40px;min-height:450px}
.pdl-bp .pdl-bphero h1{font-size:clamp(34px,4.2vw,58px)}
.pdl-bp .pdl-bptext{position:relative;z-index:1}
.pdl-bp .pdl-byline{justify-content:flex-start;margin-block:18px}
.pdl-bp .pdl-byline p{font-weight:700;font-size:19px}
.pdl-bp .pdl-bphero .pdl-book{width:min(290px,80%)}
.pdl-bp .pdl-fire{left:auto;right:-8%;top:-14%;width:min(640px,50vw)}
.pdl-bp .pdl-sum{margin-bottom:0!important}
.pdl-bp .pdl-bphero .pdl-cost{font-size:24px;margin:18px 0 0}
.pdl-page{background:#f5f5f7;padding:20px max(16px,env(safe-area-inset-right,0px)) 44px max(16px,env(safe-area-inset-left,0px))}
.pdl-cols{max-width:1240px;margin:auto;display:grid;grid-template-columns:minmax(0,2.33fr) minmax(0,1fr);gap:20px;align-items:start}
.pdl-box{background:#fff;border-radius:6px;margin-bottom:20px;min-width:0}
.pdl-band{padding:20px 50px;border-bottom:1px solid var(--line)}
.pdl-pill{display:inline-block;background:var(--tint);border:1px solid var(--blue);color:var(--blue);border-radius:4px;padding:3px 22px;font-size:15px}
.pdl-box-main{padding:36px 50px}
.pdl .pdl-box-main h2{font-size:clamp(28px,3vw,40px);font-weight:800;margin-bottom:12px}
.pdl .pdl-ghost,.pdl .pdl-ghost:hover,.pdl .pdl-ghost:focus{display:inline-flex;align-items:center;gap:8px;margin-top:22px;padding:9px 22px;background:#fff;color:var(--blue);border:1px solid var(--blue);border-radius:999px;font:700 16px/1.4 "Nunito Sans",Arial,sans-serif;cursor:pointer}
.pdl .pdl-ghost:hover{background:var(--blue);color:#fff}
.pdl-bi{width:16px;height:16px;fill:var(--blue);flex:none}
.pdl .pdl-ghost:hover .pdl-bi{fill:#fff}
.pdl-head{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:22px;font-weight:700}
.pdl-row{display:flex;justify-content:space-between;gap:16px;margin-top:12px;padding:15px 22px;border:1px solid var(--line);border-radius:6px;color:var(--ink);font-size:17px}
.pdl-row small{color:var(--mute);font-size:14px;text-align:right}
.pdl-box-main .pdl-thumbs{margin-top:16px;gap:10px}
.pdl .pdl-thumb,.pdl .pdl-thumb:hover,.pdl .pdl-thumb:focus{border:1px solid var(--line);box-shadow:none}
.pdl-thumb img{display:block;width:100%}
.pdl-whotext{margin-top:12px!important}
.pdl-side{padding:30px}
.pdl-sidecover{position:relative;container-type:inline-size;aspect-ratio:8.5/11;overflow:hidden;border-radius:4px;background:var(--tint)}
.pdl-sidecover .pdl-cvimg{display:block;width:100%;height:100%;object-fit:cover}
.pdl-side .pdl-head{margin-top:22px;font-size:21px}
.pdl-who2{display:flex;align-items:center;gap:18px;margin-block:16px 22px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.pdl-who2 img{width:60px;height:60px;border-radius:50%;object-fit:cover;flex:none}
.pdl-who2 b{display:block;color:var(--ink);font-size:18px}
.pdl-who2 span{display:block;font-size:15px;line-height:1.4}
.pdl-buyrow{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.pdl .pdl-buyrow .pdl-btn{flex:1 1 150px;width:auto;border-radius:999px;min-height:48px}
.pdl .pdl-buyrow .pdl-cost,.pdl .pdl-buyrow .pdl-cost bdi{margin:0;color:var(--pink);font-size:21px;font-weight:700}
.pdl-side h3{font-size:21px;font-weight:700;color:var(--ink)!important}
.pdl-side .pdl-inc{margin:12px 0 0!important;color:var(--ink);font-size:15px}
.pdl-side .pdl-inc svg{stroke:var(--blue)}
@media(min-height:860px) and (min-width:821px){.pdl-colside{position:sticky;top:104px}}
@media(max-width:820px){
.pdl-cols{grid-template-columns:minmax(0,1fr)}
.pdl-colside{order:-1}
.pdl-bp .pdl-bphero{grid-template-columns:minmax(0,1fr);min-height:0}
.pdl-bp .pdl-bphero .pdl-book{width:min(230px,62%);order:-1}
.pdl-bp .pdl-fire{right:-30%;top:-6%;width:130vw}
.pdl-band{padding:14px 18px}.pdl-box-main{padding:22px 18px}.pdl-side{padding:18px}
.pdl-row{flex-direction:column;gap:2px;padding:12px 16px}.pdl-row small{text-align:left}
.pdl-box-main .pdl-thumbs{grid-template-columns:repeat(5,minmax(104px,1fr));overflow-x:auto;padding-bottom:10px}
.pdl-page{padding-bottom:88px}
}

/* Larger books in the library cards; licence band in the footer navy with one benefit per row. */
@media(min-width:561px){.pdl-offer{grid-template-columns:minmax(0,1fr) auto 235px}}
@media(min-width:561px) and (max-width:680px){.pdl-offer{grid-template-columns:minmax(0,1fr) auto 170px}}
.pdl-yours{background:var(--navy)}
.pdl-facts{grid-template-columns:minmax(0,1fr);gap:22px}

/* Dividers between the benefits: white, 90% transparent. */
.pdl-facts{gap:0}
.pdl-facts li{padding-block:18px}
.pdl-facts li:first-child{padding-top:0}
.pdl-facts li+li{border-top:1px solid rgba(255,255,255,.1)}

/* Lighter product titles. */
.pdl-lib .pdl-offer h2,.pdl .pdl-soon-card h3{font-weight:700}

/* Book page hero centred like the other pages; boxes use the same full-width layout as the course pages. */
.pdl-bp .pdl-bphero{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;padding-block:48px;min-height:450px;align-content:center}
.pdl-bp .pdl-bphero h1{font-size:clamp(36px,4.5vw,65px)}
.pdl-bp .pdl-bptext{max-width:980px}
.pdl-bp .pdl-byline{justify-content:center}
.pdl-bp .pdl-sum{margin-inline:auto}
.pdl-bp .pdl-fire{--f:clamp(300px,31vw,470px);left:auto;right:calc(var(--f)*-.28);top:calc(50% - var(--f)/2);width:var(--f)}
.pdl-page{padding:14.4px 28.8px 44px}
.pdl-cols{max-width:none;gap:14px}
.pdl-box{margin-bottom:14px}
.pdl-crumb2{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:17px;color:var(--mute)}
.pdl-crumb2 a{text-decoration:none}.pdl-crumb2 a:hover{color:var(--blue)}
.pdl-crumb2 b{color:var(--ink);font-weight:600}
@media(max-width:820px){.pdl-page{padding:14px max(16px,env(safe-area-inset-right,0px)) 88px max(16px,env(safe-area-inset-left,0px))}.pdl-bp .pdl-bphero{min-height:0;padding-block:40px}.pdl-bp .pdl-fire{--f:200px;right:-70px;top:-44px;opacity:.85}}

/* Library cards: lighter, smaller price; product titles held to two lines. */
.pdl .pdl-offer .pdl-cost{font-size:18px;font-weight:700}
@media(min-width:561px){.pdl-lib .pdl-offer>h2{font-size:24px;padding-right:10px}}
@media(min-width:1200px) and (max-width:1399px){.pdl-offer{grid-template-columns:minmax(0,1fr) auto 195px}.pdl-lib .pdl-offer>h2{font-size:22px}}

/* Phone: smaller author photo; each book is one edge-to-edge row, text left and cover right. */
@media(max-width:767px){.pdl-badge img{width:72px;height:72px;border-width:4px}.pdl-badge{margin-top:-26px;gap:12px}.pdl-badge-t{padding-bottom:6px}.pdl-badge b{font-size:18px}}
@media(max-width:560px){
.pdl-lib .pdl-offers{max-width:none;width:auto;margin-inline:calc(-1*max(16px,env(safe-area-inset-left,0px))) calc(-1*max(16px,env(safe-area-inset-right,0px)));gap:0}
.pdl-lib .pdl-offer{display:grid;grid-template-columns:minmax(0,1fr) 118px;column-gap:16px;justify-items:start;align-items:start;text-align:left;padding:22px 16px;border-width:1px 0 0;border-radius:0;box-shadow:none}
.pdl-lib .pdl-offer:last-child{border-bottom-width:1px}
.pdl-lib .pdl-offer>*{grid-column:1}
.pdl-lib .pdl-offer .pdl-book{grid-column:2;grid-row:1/span 5;width:100%;margin:0;align-self:center}
.pdl-lib .pdl-offer>h2{font-size:19px}
.pdl .pdl-offer .pdl-desc{font-size:15px;line-height:1.45;margin-block:8px 10px}
.pdl .pdl-offer .pdl-cost{font-size:17px;margin-bottom:12px}
.pdl .pdl-offer>.pdl-buy{width:100%;min-height:46px;font-size:15px}
.pdl-eye{width:18px;height:18px}
.pdl-shelf-head{margin-bottom:22px}
}

/* Phone refinements: name clear of the hero edge, fireball clear of the title, compact upcoming books. */
@media(max-width:767px){.pdl-badge{margin-top:-18px}.pdl-badge-t{padding-bottom:2px}.pdl-shop-hero .pdl-burst{--f:150px;right:-56px;top:-46px}}
@media(max-width:700px){
.pdl-soon-grid{gap:14px}
.pdl-soon-card{grid-template-columns:minmax(0,1fr) 92px;min-height:0;padding:26px 20px 26px 22px}
.pdl .pdl-soon-card h3{font-size:19px;padding-top:30px}
}

/* Mobile: name centred in the strip, PDF band opens with just the file */
@media(max-width:767px){.pdl-badge{align-items:flex-start}.pdl-badge-t{padding:30px 0 0}.pdl-strip{padding-bottom:14px}}
@media(max-width:820px){.pdl-yours .pdl-w{gap:22px}.pdl-sheet{order:-1;min-height:0;padding:0;background:none;box-shadow:none;width:112px}.pdl-sheet .pdl-pdfart{display:block;width:100%;max-width:none;height:auto;margin:0}.pdl-sheet .pdl-lic{display:none}}

/* Book page: smaller cover, square-ish buttons like the site's Login */
.pdl-sidecover{width:min(220px,100%);margin-inline:auto}
@media(max-width:767px){.pdl-sidecover{width:min(180px,100%)}}
.pdl .pdl-ghost,.pdl .pdl-ghost:hover,.pdl .pdl-ghost:focus,.pdl .pdl-buyrow .pdl-btn{border-radius:5px}

/* Book page: About block and chapter accordion, after the course content list */
.pdl-about{margin-top:16px;color:var(--ink);font-size:17px;line-height:1.65}
.pdl-about p{margin:0;color:inherit}
.pdl-chpart,.pdl .pdl-chpart{margin:22px 0 2px;color:#5f6468;font-size:16px;font-weight:700;line-height:1.3}
.pdl-ch{margin-top:10px;background:#fff;border:1px solid #e3e6f3;border-radius:6px;transition:border-color .2s}
.pdl-ch summary{display:flex;align-items:center;gap:12px;padding:12px 18px;color:var(--ink);font-size:16px;font-weight:500;line-height:1.35;cursor:pointer;list-style:none}
.pdl-ch summary::-webkit-details-marker{display:none}
.pdl-ch summary::before{content:"";flex:none;width:18px;height:18px;border:3px solid #e3e6f3;border-radius:50%}
.pdl-ch summary span{flex:1;min-width:0}
.pdl-ch summary::after{content:"";flex:none;width:9px;height:9px;margin:-4px 3px 0 8px;border:solid var(--ink);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);transition:transform .2s}
.pdl-ch[open] summary::after{margin-top:4px;transform:rotate(-135deg)}
.pdl-ch[open]{border-color:var(--blue)}
.pdl-ch[open] summary::before{border-color:var(--blue)}
@media(hover:hover){.pdl-ch:hover{border-color:var(--blue)}}
.pdl-ch summary:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:6px}
.pdl .pdl-ch p{margin:0;padding:0 18px 14px 48px;color:var(--mute);font-size:15px;line-height:1.5}
@media(max-width:767px){.pdl-about{font-size:16px}.pdl-ch summary{padding:11px 14px;font-size:15px;gap:10px}.pdl .pdl-ch p{padding:0 14px 12px 42px;font-size:14px}}

/* Look inside: page fills the reader width and scrolls inside it, so the text is readable */
.pdl-modal{align-items:stretch}
.pdl-reader{width:min(860px,100%);height:100%;max-height:none;margin-inline:auto}
.pdl-leaf{display:block;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.pdl-spread{width:100%;height:auto;max-width:none;aspect-ratio:8.5/11;margin:0}
.pdl-pager{flex:none}.pdl-rhead,.pdl-bar{flex:none}
.pdl-modal{background:rgba(0,5,63,.97)}

/* Book page: parts as dropdowns (one open at a time), chapters listed inside */
.pdl-ch summary b{display:block;font-weight:500}
.pdl-ch summary small{display:block;margin-top:2px;color:var(--mute);font-size:14px;font-weight:400}
.pdl-ch{margin-top:12px}
.pdl-ch summary{padding-block:14px}
.pdl-chlist{padding:0 18px 6px 48px}
.pdl-chrow{padding:11px 0;border-top:1px solid #e3e6f3}
.pdl-chrow b{display:block;color:var(--ink);font-size:15.5px;font-weight:500;line-height:1.35}
.pdl-chrow small{display:block;margin-top:2px;color:var(--mute);font-size:14px;line-height:1.45}
.pdl-pill{display:inline-flex;align-items:center;gap:8px}
.pdl-pill svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:767px){.pdl-chlist{padding:0 14px 4px 14px}.pdl-chrow b{font-size:15px}}

/* Book page: More handbooks, built for a growing library */
.pdl-morebox{margin-top:0}
.pdl-morehead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.pdl .pdl-morehead h2{margin:0;color:var(--ink);font-size:22px;font-weight:700;line-height:1.3}
.pdl .pdl-morelink,.pdl .pdl-morelink:hover,.pdl .pdl-morelink:focus{color:var(--blue);font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:4px}

/* Book page: bold part titles, chevron and colour follow the closing animation */
.pdl-ch summary b{font-weight:700}
.pdl-chlist{padding-bottom:0;box-sizing:border-box}
.pdl-chrow:last-child{padding-bottom:17px}
.pdl-ch summary::after{transition:transform .24s,margin-top .24s}
.pdl-ch.pdl-closing{border-color:#e3e6f3}
.pdl-ch.pdl-closing summary::before{border-color:#e3e6f3}
.pdl-ch.pdl-closing summary::after{margin-top:-4px;transform:rotate(45deg)}

/* More handbooks: the same cards as the library page, text left and book right */
.pdl-moregrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:20px}
.pdl-morebox .pdl-offer{border:1px solid var(--tint);border-radius:10px;box-shadow:0 10px 36px rgba(1,7,95,.1);animation:none}
.pdl .pdl-morebox .pdl-offer h2{margin:0 0 8px;color:var(--navy);font-size:24px;font-weight:700;line-height:1.25}
@media(max-width:1000px){.pdl-moregrid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.pdl-moregrid{gap:14px}.pdl-morebox .pdl-offer{padding:22px 16px;border-width:1px;border-radius:10px;box-shadow:0 10px 36px rgba(1,7,95,.1)}.pdl .pdl-morebox .pdl-offer h2{font-size:19px}}
.pdl-ch summary b{font-size:18px}
@media(max-width:767px){.pdl-ch summary b{font-size:17px}}
@media(max-width:560px){.pdl .pdl-morebox .pdl-offer>.pdl-buy{padding-inline:8px;gap:7px;white-space:nowrap}}

/* More handbooks: three in a row */
.pdl-moregrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media(max-width:1199px){.pdl-moregrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pdl-moregrid{grid-template-columns:minmax(0,1fr)}}
@media(min-width:561px){
.pdl-morebox .pdl-offer{grid-template-columns:minmax(0,1fr) auto 124px;padding:28px 24px}
.pdl-morebox .pdl-offer>h2,.pdl-morebox .pdl-offer>.pdl-desc,.pdl-morebox .pdl-offer>.pdl-cost{padding-right:16px}
.pdl .pdl-morebox .pdl-offer h2{font-size:20px}
.pdl .pdl-morebox .pdl-offer .pdl-desc{font-size:15px;line-height:1.45}
.pdl .pdl-morebox .pdl-offer>.pdl-buy{width:calc(100% - 16px);min-height:46px;padding-inline:8px;gap:7px;font-size:15px;white-space:nowrap}
.pdl-morebox .pdl-soon-card{min-height:0;padding:28px 24px}
.pdl .pdl-morebox .pdl-soon-card h3{font-size:20px}
}

/* Book page on phones: cover and author, then the content, Includes last; one Buy button (the fixed bar) */
@media(max-width:820px){
.pdl-cols{display:flex;flex-direction:column;gap:0}
.pdl-colmain,.pdl-colside{display:contents}
.pdl-colside>.pdl-box:first-child{order:1}
.pdl-colmain>.pdl-box{order:2}
.pdl-colside>.pdl-box:last-child{order:3}
.pdl-colside .pdl-buyrow{display:none}
.pdl-bp .pdl-fire{--f:120px;right:-50px;top:-40px}
.pdl-bp .pdl-bptext h1{margin-bottom:12px}
}
@media(max-width:560px){.pdl-bp .pdl-sum{font-size:15.5px;line-height:1.5}}
@media(max-width:820px){.pdl-cols{align-items:stretch}.pdl-colside .pdl-who2{border-bottom:0;padding-bottom:0;margin-bottom:0}.pdl-colside .pdl-status:empty{display:none}}

/* Book page on phones: book in the hero, Author box without cover, compact More handbooks */
.pdl-herocover{display:none}
@media(max-width:820px){
.pdl-herocover{display:block;position:relative;width:150px;aspect-ratio:8.5/11;margin:0 auto 22px;container-type:inline-size;overflow:hidden;border-radius:3px;box-shadow:0 16px 36px rgba(0,0,0,.45)}
.pdl-herocover .pdl-cvimg{display:block;width:100%;height:100%;object-fit:cover}
.pdl-colside .pdl-sidecover{display:none}
.pdl-colside .pdl-side .pdl-head{margin-top:0}
.pdl-page{padding-bottom:14px!important}
body:has(.pdl-mbar){padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
.pdl-morebox{display:flex;flex-direction:column}
.pdl-morehead{display:contents}
.pdl .pdl-morehead h2{order:1}
.pdl-moregrid{order:2;margin-top:16px}
.pdl-morebox .pdl-desc{display:none}
.pdl-morebox .pdl-offer .pdl-cost{margin-top:8px}
.pdl .pdl-morelink,.pdl .pdl-morelink:hover,.pdl .pdl-morelink:focus{order:3;display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:16px;border:1px solid var(--blue);border-radius:5px;text-decoration:none}
}
@media(max-width:820px){main.pdl.pdl-bp{padding-bottom:0!important}.pdl-morebox{margin-bottom:0}}
