/* PilotTrain: the long description of a printed practice exam book (.ptbk). New file, child theme.
   Loaded with pt-book.js on a product page in the Print Practice Exams category whose description holds a .ptbk
   block (see the theme notes in build-book-mockup.py). Built by build-book-mockup.py; edit it there.

   The description sits in .pt-desc, under the theme's "About this book" heading, after pt-custom.css's rules for
   .pt-desc (which print later in the head). Every rule here starts .ptbk.ptbk.ptbk so it wins without !important
   whatever the order. Colours, type and corners follow the site's newer pages (Inter, navy #071320, ink #0a1a2b,
   blue #2f7bf0, lines #dde5ee). */

/* ---------- the page: a print book (body.pt-book-page, added by inc/pt-book.php) ---------- */
body.pt-book-page{
  --ink:#0a1a2b; --text:#3d4c60; --muted:#5f6f83; --line:#dde5ee; --blue:#2f7bf0; --blue-dk:#1f5fcc;
  --a:#5d8ce6; --b:#a9c8f5; --table:#eef2f7; --ok:#16a34a; --gold:#f5b301;
}
/* what pt-book.php prints under the summary spans the page, like the theme's own parts */
body.pt-book-page div.product > .ptbk-after, body.pt-book-page div.product > .ptbk-more{grid-column:1 / -1; min-width:0;}
/* the theme's strip of five facts gives way to the fuller specs (pt-book.php also switches it off with the theme's
   pt_product_show_specs filter, once that filter is in inc/pt-single-product.php) */
body.pt-book-page div.product > .pt-specs{display:none;}
/* "About this book": the theme's heading stays for screen readers and the page outline; the description's own
   panel says it on screen */
/* html and div.product > so it outranks pt-custom.css's body.single-product .pt-desc (same weight, printed later),
   whose border-top drew a line between the summary and the description */
html body.pt-book-page div.product > .pt-desc{margin-top:40px; padding-top:0; border-top:0;}
body.pt-book-page .pt-desc > h2{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0);
  clip-path:inset(50%); white-space:nowrap; border:0;
}

/* the gallery and the summary, in the div pt-book.php puts round them: the theme's two columns, now with room for
   the gallery to stay in view while the longer summary beside it is read */
body.pt-book-page div.product > .ptbk-top{
  grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:44px; align-items:stretch; min-width:0;
}
body.pt-book-page .ptbk-top > .onsale{position:absolute; top:16px; left:16px; z-index:2;}
@media (max-width:900px){
  body.pt-book-page div.product > .ptbk-top{grid-template-columns:minmax(0,1fr); gap:26px;}
}

/* ---------- the gallery: WooCommerce's own (flexslider, zoom, PhotoSwipe), restyled ---------- */
body.pt-book-page .woocommerce-product-gallery .flex-viewport{border-radius:10px;}
body.pt-book-page .woocommerce-product-gallery .woocommerce-product-gallery__image img{border-radius:8px;}
body.pt-book-page .woocommerce-product-gallery .flex-control-thumbs{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:18px 0 0; padding:0; list-style:none;
}
body.pt-book-page .woocommerce-product-gallery .flex-control-thumbs li{width:auto !important; float:none !important; margin:0 !important; padding:0; list-style:none;}
body.pt-book-page .woocommerce-product-gallery .flex-control-thumbs li img{
  display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; padding:5px; margin:0;
  background:var(--table); border:1px solid var(--line); border-radius:9px; opacity:.72; cursor:pointer;
  transition:opacity .16s ease, border-color .16s ease, box-shadow .16s ease;
}
body.pt-book-page .woocommerce-product-gallery .flex-control-thumbs li img:hover{opacity:1;}
body.pt-book-page .woocommerce-product-gallery .flex-control-thumbs li img.flex-active{opacity:1; border-color:var(--blue); box-shadow:0 0 0 2px rgba(47,123,240,.22);}
/* the full-screen button: the theme hides it (one picture had nothing to page through); a book's gallery has its
   spreads, so it comes back, drawn in the page's look. WooCommerce's PhotoSwipe opens from it. */
body.pt-book-page div.product div.images .woocommerce-product-gallery__trigger{
  display:grid; place-items:center; top:14px; right:14px; width:42px; height:42px; border-radius:50%; z-index:99; box-sizing:border-box;
  font-size:0; text-indent:-9999px; overflow:hidden; background:rgba(7,19,32,.86); box-shadow:0 4px 14px rgba(7,19,32,.25);
  transition:background .16s ease, transform .16s ease;
}
body.pt-book-page div.product div.images .woocommerce-product-gallery__trigger::before{
  content:""; position:static; display:block; width:19px; height:19px; margin:0; border:0; border-radius:0; transform:none;
  background:#fff; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.pt-book-page div.product div.images .woocommerce-product-gallery__trigger::after{content:none; display:none;}
body.pt-book-page div.product div.images .woocommerce-product-gallery__trigger:hover{background:var(--blue); transform:scale(1.06);}
body.pt-book-page div.product div.images .woocommerce-product-gallery__trigger img{display:none !important;}
/* WooCommerce's full-screen gallery opens over the site's sticky header (z-index 9990), not under it */
body.pt-book-page .pswp{z-index:100000;}

@media (min-width:901px){
  /* one row of eight thumbnails under the picture */
  body.pt-book-page .woocommerce-product-gallery .flex-control-thumbs{grid-template-columns:repeat(8,minmax(0,1fr)); gap:8px; margin-top:14px;}
  body.pt-book-page .woocommerce-product-gallery .flex-control-thumbs li img{padding:3px; border-radius:7px;}
  /* the picture keeps the cover's shape whichever page shows (every cover is 792:1073), so the gallery card, and
     the summary beside it, stay one height; a spread sits in the middle. flexslider still slides as it does. */
  body.pt-book-page .woocommerce-product-gallery .flex-viewport{height:auto !important; aspect-ratio:792 / 1073;}
  body.pt-book-page .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper{display:flex; align-items:center; height:100%;}
  body.pt-book-page .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image{flex:none;}
}

/* ---------- the summary: WooCommerce's title, excerpt, price and form, the theme's rows, pt-book.php's extras ---------- */
/* the summary is kept to the gallery's height: tighter spacing, the price beside the form, the shops last */
html body.pt-book-page #content div.product div.summary{display:flex; flex-direction:column; padding:24px 28px 22px;}
body.pt-book-page div.product div.summary > .pt-market{order:1;}
body.pt-book-page div.product div.summary > .pt-format{order:2;}
body.pt-book-page .pt-eyebrow{margin:0 0 8px;}
/* the category line and the addenda flag share one row (div.ptbk-sumhead, pt-book.php): side by side while both fit,
   the flag on its own line under the category when they do not, so the two never overlap at any width */
html body.pt-book-page #content div.product div.summary{position:relative;}
body.pt-book-page div.summary > .ptbk-sumhead{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 12px; margin:0 0 10px;}
body.pt-book-page .ptbk-sumhead > .pt-eyebrow, body.pt-book-page .ptbk-sumhead > .ptbk-flag{margin:0;}
body.pt-book-page .ptbk-flag{margin:0 0 10px;}
body.pt-book-page .ptbk-flag a{
  display:inline-flex; align-items:center; gap:7px; padding:4px 11px 4px 9px; border-radius:999px;
  font-size:12.5px; font-weight:700; line-height:1.35; color:#5c3d00; background:#fff3d6; border:1px solid #f0dcb8;
  text-decoration:none; transition:background .16s ease, border-color .16s ease;
}
body.pt-book-page .ptbk-flag a::before{content:""; flex:none; width:7px; height:7px; border-radius:50%; background:#b4820a; box-shadow:0 0 0 3px rgba(180,130,10,.18);}
body.pt-book-page .ptbk-flag a::after{content:"\2193"; font-weight:800; color:#b4820a;}
body.pt-book-page .ptbk-flag a:hover{background:#ffe9b8; border-color:#e3c48a; text-decoration:none;}
body.pt-book-page div.product .product_title{margin:0 0 8px;}
body.pt-book-page .ptbk-rating{display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; margin:0 0 10px; font-size:14px; line-height:1.4; color:#5b6b7c;}
body.pt-book-page .ptbk-rating-stars::before{content:"\2605\2605\2605\2605\2605"; font-size:16px; letter-spacing:1px; color:var(--gold);}
body.pt-book-page .ptbk-rating b{color:var(--ink); font-weight:700;}
body.pt-book-page .woocommerce-product-details__short-description{margin:0 0 12px; font-size:15.5px; line-height:1.6; color:var(--text);}
body.pt-book-page .woocommerce-product-details__short-description p{margin:0;}
body.pt-book-page ul.ptbk-facts-strip{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0 0 12px; padding:0; list-style:none;}
body.pt-book-page ul.ptbk-facts-strip li{margin:0; padding:9px 11px 10px; list-style:none; font-size:12.5px; line-height:1.3; color:#5b6b7c; background:#fff; border:1px solid var(--line); border-radius:11px;}
body.pt-book-page ul.ptbk-facts-strip b{display:block; margin-bottom:2px; font-size:20px; font-weight:800; line-height:1.1; letter-spacing:-.02em; color:var(--ink);}
/* the box round the price, the form and the notes under it (two empty divs from pt-book.php) */
body.pt-book-page .ptbk-buy-box{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin:0; padding:14px 18px; background:#fff;
  border:1px solid var(--line); border-radius:16px; box-shadow:0 1px 2px rgba(10,26,43,.04), 0 14px 34px rgba(10,26,43,.07);
}
body.pt-book-page .ptbk-buy-box > *{flex:1 1 100%; min-width:0; margin:0;}
body.pt-book-page div.product .ptbk-buy-box > p.price{flex:0 0 auto; margin:0;}
body.pt-book-page div.product .ptbk-buy-box > form.cart{flex:1 1 250px; margin:0;}
body.pt-book-page .ptbk-buy-box > .pt-trust{gap:6px 16px; margin:0;}
body.pt-book-page .ptbk-buy-box > .pt-trust li{font-size:13px;}
body.pt-book-page .ptbk-buy-box .ptbs{margin:0;}
/* the Book Shipping plugin's postage notes under the button (its "after" block, only ever the AusPost, PO box and
   overseas lines) are left out of the box: the trust row says "Posted by AusPost" and the page's own "Postage and
   returns" section has the rest. The plugin's notices (busy times, printed to order) are its "before" block, untouched. */
body.pt-book-page .ptbk-buy-box .ptbs--after{display:none;}

/* the pilot shops (the theme's "Also available from", only these two), with their logos */
body.pt-book-page div.product .pt-market{margin:14px 0 0; padding:0; border:0;}
body.pt-book-page .pt-market-head{margin:0 0 8px;}
body.pt-book-page .pt-market ul{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px;}
body.pt-book-page .pt-market li{flex:none; margin:0;}
body.pt-book-page .pt-market a{display:block; height:100%; padding:10px 14px 9px; text-align:center; background:#fff; border:1px solid var(--line); border-radius:12px;}
body.pt-book-page .pt-market a[href*="downunderpilotshop.com.au"]::before,
body.pt-book-page .pt-market a[href*="theaviatorstore.com.au"]::before{content:""; display:block; height:36px; margin:0 0 2px; background:center / contain no-repeat;}
body.pt-book-page .pt-market a[href*="downunderpilotshop.com.au"]::before{background-image:url("stores/downunder-pilot-shop.png");}
body.pt-book-page .pt-market a[href*="theaviatorstore.com.au"]::before{background-image:url("stores/the-aviator-store.png");}
body.pt-book-page .pt-market a[href*="downunderpilotshop.com.au"] strong,
body.pt-book-page .pt-market a[href*="theaviatorstore.com.au"] strong{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0;
}
body.pt-book-page .pt-market span{font-size:12.5px;}
/* "Print edition" and the way online, as one line under the shops */
body.pt-book-page div.product .pt-format{
  display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:2px 8px;
  margin:10px 0 0; padding:0; background:none; border:0; border-radius:0;
}
body.pt-book-page div.product .pt-format strong{display:none;}
body.pt-book-page div.product .pt-format span{font-size:13.5px;}
body.pt-book-page div.product .pt-format a{width:auto; padding:0; background:none; color:var(--blue-dk) !important; font-size:13.5px;}
body.pt-book-page div.product .pt-format a:hover{background:none; text-decoration:underline;}
/* the addenda notice: out of the summary (until the theme's pt_product_show_addenda filter is in, hidden there),
   under the description beside its questions instead (pt-book.php, 13) */
body.pt-book-page div.product div.summary > .pt-addenda{display:none;}
/* the addenda notice, under the description beside its questions (pt-book.php, 13) */
body.pt-book-page div.product > .ptbk-near{grid-column:1 / -1; min-width:0; margin-top:28px; scroll-margin-top:130px;}
body.pt-book-page div.product > .ptbk-near .pt-addenda{margin:0;}
/* the quantity: GeneratePress's own - and + (they appear when its script runs), drawn as one control */
body.pt-book-page div.product form.cart .quantity{border:1px solid #d5dde6; border-radius:10px; overflow:hidden; background:#fff;}
body.pt-book-page div.product form.cart .quantity input.qty,
body.pt-book-page div.product form.cart .quantity .minus,
body.pt-book-page div.product form.cart .quantity .plus,
body.pt-book-page.woocommerce div.product form.cart .quantity:not(.buttons-added)::before,
body.pt-book-page.woocommerce div.product form.cart .quantity:not(.buttons-added)::after{border:0; border-radius:0; min-height:54px; height:54px;}
body.pt-book-page div.product form.cart .quantity .minus, body.pt-book-page div.product form.cart .quantity .plus{width:44px; font-size:18px; color:var(--ink);}
body.pt-book-page div.product form.cart .quantity .minus:hover, body.pt-book-page div.product form.cart .quantity .plus:hover{background:#f2f6fb;}
body.pt-book-page div.product form.cart .quantity input.qty{width:46px; border-left:1px solid #e3e8ee; border-right:1px solid #e3e8ee;}

/* ---------- more printed exams: WooCommerce's related products, restyled ---------- */
body.pt-book-page div.product > .ptbk-more{margin-top:clamp(56px,7vw,88px); font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;}
body.pt-book-page .ptbk-more section.related{margin:0; padding:0; float:none; width:auto;}
body.pt-book-page .ptbk-more section.related > h2{
  margin:0 0 26px; font-size:clamp(27px,3.1vw,40px); font-weight:800; line-height:1.1; letter-spacing:-.03em; color:var(--ink);
}
body.pt-book-page .ptbk-more ul.products{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin:0; padding:0;}
body.pt-book-page .ptbk-more ul.products::before, body.pt-book-page .ptbk-more ul.products::after{content:none; display:none;}
body.pt-book-page .ptbk-more ul.products li.product{
  display:flex; flex-direction:column; width:auto !important; float:none !important; margin:0 !important; padding:16px 16px 18px;
  text-align:left; background:#fff; border:1px solid var(--line); border-radius:16px;
  transition:box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
body.pt-book-page .ptbk-more ul.products li.product:hover{border-color:#c9d6e6; box-shadow:0 14px 34px rgba(10,26,43,.10); transform:translateY(-2px);}
body.pt-book-page .ptbk-more .wc-product-image{margin:0 0 14px; padding:14px; background:var(--table); border-radius:11px;}
body.pt-book-page .ptbk-more .wc-product-image img{display:block; width:100%; height:auto; margin:0 auto; border-radius:0;}
body.pt-book-page .ptbk-more .woocommerce-loop-product__title{margin:0 0 6px; padding:0; font-size:16px; font-weight:700; line-height:1.35; color:var(--ink);}
body.pt-book-page .ptbk-more ul.products li.product .price{display:block; margin:0 0 14px; padding:0; border-radius:0; background:none; font-size:15px; font-weight:700; color:var(--ink);}
body.pt-book-page .ptbk-more ul.products li.product a.button{
  margin-top:auto; display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 16px;
  border-radius:10px; font-size:14.5px; font-weight:700; color:#fff; background:var(--ink);
}
body.pt-book-page .ptbk-more ul.products li.product a.button:hover{background:var(--blue-dk);}
body.pt-book-page .ptbk-more ul.products li.product a.added_to_cart{margin-top:8px; font-size:13.5px; font-weight:600; color:var(--blue-dk);}
body.pt-book-page .ptbk-more-all{margin:18px 0 0; font-size:15px;}
body.pt-book-page .ptbk-more-all a{font-weight:700; color:var(--blue-dk);}

@media (max-width:1100px){
  body.pt-book-page .ptbk-more ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:700px){
  /* on a phone the summary's panel and the box inside it would leave the form too narrow for the quantity and the
     button side by side: a slimmer panel, and the box becomes a plain group */
  html body.pt-book-page #content div.product div.summary{padding:22px 16px;}
  body.pt-book-page .ptbk-buy-box{padding:0; background:none; border:0; border-radius:0; box-shadow:none;}
  body.pt-book-page div.product form.cart button.single_add_to_cart_button{padding:0 18px;}
  .ptbk.ptbk.ptbk .ptbk-final .ptbk-kick::before{display:none;}
  body.pt-book-page ul.ptbk-facts-strip{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.pt-book-page .ptbk-more ul.products{gap:12px;}
  body.pt-book-page .ptbk-more ul.products li.product{padding:12px 12px 14px;}
  body.pt-book-page .ptbk-more .wc-product-image{padding:8px;}
}

/* "Buy the book" brings the reader back to the button (pt-book.js) */
@keyframes ptbk-pulse{0%,100%{box-shadow:0 0 0 0 rgba(47,123,240,0);}40%{box-shadow:0 0 0 8px rgba(47,123,240,.35);}}
body.single-product .single_add_to_cart_button.ptbk-pulse{animation:ptbk-pulse 1.4s ease-out 1;}

/* ---------- tokens and resets ---------- */
.ptbk.ptbk.ptbk{
  --ink:#0a1a2b; --text:#3d4c60; --muted:#5f6f83; --line:#dde5ee; --bg:#f6f8fb; --card:#fff;
  --blue:#2f7bf0; --blue-dk:#1f5fcc; --a:#5d8ce6; --b:#a9c8f5; --navy:#071320; --navy2:#0d2033;
  --dline:rgba(255,255,255,.12); --dtext:#cfdbe8; --ddim:#93a7bd; --table:#eef2f7; --ok:#16a34a; --gold:#f5b301;
  margin:0; min-width:0;
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px; line-height:1.6; color:var(--text); -webkit-font-smoothing:antialiased;
}
/* the description stacks its sections; what pt-book.php prints under it keeps the same rhythm */
.ptbk.ptbk.ptbk[data-ptbk]{display:grid; gap:clamp(64px,8vw,104px);}
.ptbk.ptbk.ptbk.ptbk-after{margin-top:clamp(64px,8vw,104px);}
.ptbk.ptbk.ptbk *, .ptbk.ptbk.ptbk *::before, .ptbk.ptbk.ptbk *::after{box-sizing:border-box;}
.ptbk.ptbk.ptbk :is(section,div,h2,h3,h4,p,ul,ol,li,dl,dt,dd,figure,figcaption,blockquote,details,summary){
  margin:0; padding:0; border:0; font:inherit; color:inherit; letter-spacing:normal; text-transform:none;
}
.ptbk.ptbk.ptbk :is(h2,h3,h4)::before, .ptbk.ptbk.ptbk :is(h2,h3,h4)::after{content:none; display:none;}
.ptbk.ptbk.ptbk :is(ul,ol,li){list-style:none;}
.ptbk.ptbk.ptbk b, .ptbk.ptbk.ptbk strong{font-weight:700; color:var(--ink);}
.ptbk.ptbk.ptbk em{font-style:normal;}
.ptbk.ptbk.ptbk a{color:var(--blue-dk); font-weight:600; text-decoration:none;}
.ptbk.ptbk.ptbk a:hover{text-decoration:underline; text-underline-offset:3px;}
.ptbk.ptbk.ptbk img{display:block; max-width:100%; height:auto; border-radius:0; box-shadow:none;}
.ptbk.ptbk.ptbk section{min-width:0;}
.ptbk.ptbk.ptbk [id]{scroll-margin-top:128px;}   /* clear of the sticky site header (about 110 px) */
.ptbk.ptbk.ptbk .ptbk-sr{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0);
  clip-path:inset(50%); white-space:nowrap;
}

/* ---------- headings, buttons ---------- */
.ptbk.ptbk.ptbk .ptbk-head{max-width:760px; margin:0 0 30px;}
.ptbk.ptbk.ptbk .ptbk-kick{
  display:flex; align-items:center; gap:9px; margin:0 0 12px;
  font-size:12px; font-weight:700; line-height:1.3; letter-spacing:.14em; text-transform:uppercase; color:var(--blue-dk);
}
.ptbk.ptbk.ptbk .ptbk-kick::before{content:""; flex:none; width:18px; height:2px; border-radius:2px; background:linear-gradient(90deg,var(--blue),var(--b));}
.ptbk.ptbk.ptbk .ptbk-h{
  font-size:clamp(27px,3.1vw,40px); font-weight:800; line-height:1.1; letter-spacing:-.03em; color:var(--ink); text-wrap:balance;
}
.ptbk.ptbk.ptbk .ptbk-h--sm{font-size:clamp(23px,2.3vw,28px); margin-bottom:20px;}
.ptbk.ptbk.ptbk .ptbk-intro{margin-top:12px; font-size:clamp(16px,1.5vw,18px); line-height:1.55; color:var(--muted); max-width:62ch;}
.ptbk.ptbk.ptbk .ptbk-grad{background:linear-gradient(90deg,var(--blue),var(--a)); -webkit-background-clip:text; background-clip:text; color:transparent;}
.ptbk.ptbk.ptbk .ptbk-label{margin:34px 0 14px; font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);}
.ptbk.ptbk.ptbk .ptbk-ctas{display:flex; flex-wrap:wrap; gap:10px; margin-top:22px;}
.ptbk.ptbk.ptbk a.ptbk-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:0 22px; border-radius:11px;
  font-size:15px; font-weight:700; line-height:1.2; text-align:center; text-decoration:none; color:#fff; background:var(--ink);
  border:1px solid transparent; transition:transform .16s ease, background .16s ease, border-color .16s ease;
}
.ptbk.ptbk.ptbk a.ptbk-btn::after{content:""; flex:none; width:15px; height:15px; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;}
.ptbk.ptbk.ptbk a.ptbk-btn:hover{background:var(--blue-dk); transform:translateY(-1px); text-decoration:none;}
.ptbk.ptbk.ptbk a.ptbk-btn--light{color:var(--ink); background:#fff;}
.ptbk.ptbk.ptbk a.ptbk-btn--light:hover{background:#e8f0fd;}
.ptbk.ptbk.ptbk a.ptbk-btn--ghost{color:var(--ink); background:transparent; border-color:#c9d5e2;}
.ptbk.ptbk.ptbk a.ptbk-btn--ghost:hover{background:#fff; border-color:var(--blue);}
.ptbk.ptbk.ptbk a.ptbk-btn--ghost::after{display:none;}

/* ---------- the spreads (a picture that opens full size) ---------- */
.ptbk.ptbk.ptbk .ptbk-shot a{
  position:relative; display:block; overflow:hidden; border-radius:14px; background:var(--table);
  box-shadow:0 1px 2px rgba(10,26,43,.06), 0 14px 34px rgba(10,26,43,.10); cursor:zoom-in;
}
.ptbk.ptbk.ptbk .ptbk-shot img{width:100%; transition:transform .5s cubic-bezier(.2,.7,.2,1);}
.ptbk.ptbk.ptbk .ptbk-shot a:hover img{transform:scale(1.025);}
.ptbk.ptbk.ptbk .ptbk-zoom-ic{
  position:absolute; right:12px; bottom:12px; display:grid; place-items:center; width:38px; height:38px; border-radius:50%;
  background:rgba(7,19,32,.82); box-shadow:0 4px 12px rgba(7,19,32,.25); transition:transform .16s ease, background .16s ease;
}
.ptbk.ptbk.ptbk .ptbk-zoom-ic::before{content:""; width:18px; height:18px; background:#fff; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center/contain no-repeat;}
.ptbk.ptbk.ptbk .ptbk-shot a:hover .ptbk-zoom-ic{transform:scale(1.08); background:var(--blue);}
.ptbk.ptbk.ptbk .ptbk-shot a:focus-visible{outline:3px solid var(--blue); outline-offset:3px;}

/* ---------- 1. the lead ---------- */
.ptbk.ptbk.ptbk .ptbk-lead{
  display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:clamp(28px,4vw,56px); align-items:center;
  padding:clamp(30px,4.2vw,56px); border-radius:22px; color:var(--dtext); overflow:hidden;
  background:radial-gradient(110% 120% at 100% 0%, rgba(47,123,240,.32), rgba(47,123,240,0) 58%), var(--navy);
}
.ptbk.ptbk.ptbk .ptbk-lead .ptbk-kick{color:var(--b);}
.ptbk.ptbk.ptbk .ptbk-lead .ptbk-grad, .ptbk.ptbk.ptbk .ptbk-final .ptbk-grad, .ptbk.ptbk.ptbk .ptbk-card--member .ptbk-grad{background-image:linear-gradient(90deg,#5d8ce6,#a9c8f5 70%);}
.ptbk.ptbk.ptbk .ptbk-h--lead{font-size:clamp(31px,3.7vw,48px); color:#fff;}
.ptbk.ptbk.ptbk .ptbk-sub{margin-top:16px; font-size:clamp(16px,1.5vw,18px); line-height:1.6; color:#b9c8d9;}
.ptbk.ptbk.ptbk .ptbk-atc{margin-top:14px; padding-left:12px; border-left:2px solid rgba(169,200,245,.45); font-size:14px; line-height:1.5; color:var(--ddim);}
.ptbk.ptbk.ptbk .ptbk-stats{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; margin-top:26px;
  background:var(--dline); border:1px solid var(--dline); border-radius:14px; overflow:hidden;
}
.ptbk.ptbk.ptbk .ptbk-stats li{padding:14px 14px 15px; background:#0a1a2c; font-size:12.5px; line-height:1.35; color:var(--ddim);}
.ptbk.ptbk.ptbk .ptbk-stats b{display:block; margin-bottom:3px; font-size:28px; font-weight:800; line-height:1.05; letter-spacing:-.03em; color:#fff;}
.ptbk.ptbk.ptbk .ptbk-jump{display:flex; flex-wrap:wrap; gap:8px; margin-top:22px;}
.ptbk.ptbk.ptbk .ptbk-jump a{
  display:inline-flex; align-items:center; min-height:36px; padding:0 13px; border-radius:999px; font-size:13.5px; font-weight:600;
  color:#dbe6f1; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16); text-decoration:none;
  transition:background .16s ease, border-color .16s ease;
}
.ptbk.ptbk.ptbk .ptbk-jump a:hover{background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.34); text-decoration:none;}
.ptbk.ptbk.ptbk .ptbk-hero figcaption{margin-top:12px; font-size:13.5px; line-height:1.45; color:var(--ddim);}
.ptbk.ptbk.ptbk .ptbk-hero .ptbk-shot a{box-shadow:0 24px 60px rgba(0,0,0,.45);}

/* ---------- 2. the gallery ---------- */
.ptbk.ptbk.ptbk .ptbk-gallery{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:34px 24px;}
.ptbk.ptbk.ptbk .ptbk-tile{display:flex; flex-direction:column; gap:14px; min-width:0;}
.ptbk.ptbk.ptbk .ptbk-tile figcaption{font-size:14.5px; line-height:1.5; color:var(--muted);}
.ptbk.ptbk.ptbk .ptbk-tile figcaption strong{display:block; margin:8px 0 3px; font-size:17px; font-weight:800; letter-spacing:-.015em; line-height:1.25;}
.ptbk.ptbk.ptbk .ptbk-tag{
  display:inline-block; padding:3px 9px; border-radius:6px; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  line-height:1.4; color:var(--blue-dk); background:#eef4ff; border:1px solid #d7e4fb;
}

/* ---------- 3. the exams and the subjects ---------- */
.ptbk.ptbk.ptbk .ptbk-exams{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:16px; overflow:hidden;
}
.ptbk.ptbk.ptbk .ptbk-exams li{display:flex; flex-direction:column; gap:2px; padding:20px 20px 22px; background:var(--card); font-size:14px; color:var(--muted);}
.ptbk.ptbk.ptbk .ptbk-exams b{font-size:21px; font-weight:800; letter-spacing:-.02em; line-height:1.2;}
.ptbk.ptbk.ptbk .ptbk-exams span{font-size:14px; font-weight:700; color:var(--blue-dk);}
.ptbk.ptbk.ptbk .ptbk-subjects{display:flex; flex-wrap:wrap; gap:8px;}
.ptbk.ptbk.ptbk .ptbk-subjects li{padding:7px 14px; background:var(--card); border:1px solid var(--line); border-radius:999px; font-size:14.5px; font-weight:600; line-height:1.35; color:var(--ink);}
.ptbk.ptbk.ptbk .ptbk-subjects-note{margin-top:14px; font-size:15px; color:var(--muted);}
.ptbk.ptbk.ptbk .ptbk-kit-lead{margin:-6px 0 14px; font-size:14.5px; line-height:1.55; color:var(--muted);}

/* ---------- 4. how the answers work ---------- */
.ptbk.ptbk.ptbk .ptbk-steps{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; counter-reset:ptbk-step;}
.ptbk.ptbk.ptbk .ptbk-steps li{
  position:relative; padding:24px 22px 24px; background:var(--card); border:1px solid var(--line); border-radius:16px;
  counter-increment:ptbk-step;
}
.ptbk.ptbk.ptbk .ptbk-steps li::before{
  content:counter(ptbk-step); display:grid; place-items:center; width:34px; height:34px; margin-bottom:16px; border-radius:50%;
  font-size:14px; font-weight:800; color:#fff; background:linear-gradient(135deg,var(--blue),var(--a));
}
.ptbk.ptbk.ptbk .ptbk-steps h4{margin-bottom:8px; font-size:17.5px; font-weight:800; letter-spacing:-.015em; line-height:1.25; color:var(--ink);}
.ptbk.ptbk.ptbk .ptbk-steps p{font-size:14.5px; line-height:1.55; color:var(--muted);}

/* ---------- 5. who it is for, when to use it ---------- */
.ptbk.ptbk.ptbk .ptbk-who{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px;}
.ptbk.ptbk.ptbk .ptbk-who-col{padding:28px 28px 30px; background:var(--card); border:1px solid var(--line); border-radius:18px;}
.ptbk.ptbk.ptbk .ptbk-who-col .ptbk-kick{margin-bottom:16px;}
.ptbk.ptbk.ptbk .ptbk-ticks li, .ptbk.ptbk.ptbk .ptbk-num li{position:relative; padding:0 0 0 32px; font-size:15.5px; line-height:1.5; color:var(--text);}
.ptbk.ptbk.ptbk .ptbk-ticks li + li, .ptbk.ptbk.ptbk .ptbk-num li + li{margin-top:12px;}
.ptbk.ptbk.ptbk .ptbk-ticks li::before{
  content:""; position:absolute; left:0; top:1px; width:21px; height:21px; border-radius:50%; background:rgba(22,163,74,.12);
}
.ptbk.ptbk.ptbk .ptbk-ticks li::after{
  content:""; position:absolute; left:5px; top:6px; width:11px; height:11px; background:var(--ok);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ptbk.ptbk.ptbk .ptbk-num{counter-reset:ptbk-num;}
.ptbk.ptbk.ptbk .ptbk-num li{counter-increment:ptbk-num;}
.ptbk.ptbk.ptbk .ptbk-num li::before{
  content:counter(ptbk-num); position:absolute; left:0; top:0; display:grid; place-items:center; width:22px; height:22px;
  border-radius:50%; font-size:12px; font-weight:800; color:var(--blue-dk); background:#eef4ff; border:1px solid #d7e4fb;
}

/* ---------- 6. the workbook ---------- */
.ptbk.ptbk.ptbk .ptbk-wb{display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:16px;}
.ptbk.ptbk.ptbk .ptbk-wb-main{
  display:flex; gap:clamp(20px,3vw,34px); align-items:center; padding:clamp(24px,3.4vw,40px); border-radius:18px;
  background:linear-gradient(160deg,#eef4ff,#f8fbff 70%); border:1px solid #d7e4fb;
}
.ptbk.ptbk.ptbk .ptbk-wb-cover{flex:0 0 clamp(96px,14vw,150px);}
.ptbk.ptbk.ptbk .ptbk-wb-cover img{width:100%; border-radius:6px; background:#fff; box-shadow:0 2px 4px rgba(10,26,43,.08), 0 18px 36px rgba(10,26,43,.18); transform:rotate(-2deg);}
.ptbk.ptbk.ptbk .ptbk-wb-copy{min-width:0;}
.ptbk.ptbk.ptbk .ptbk-wb-copy .ptbk-h{font-size:clamp(24px,2.5vw,32px);}
.ptbk.ptbk.ptbk .ptbk-wb-copy p:not([class]){margin-top:12px; font-size:15.5px; line-height:1.6; color:var(--text);}
.ptbk.ptbk.ptbk .ptbk-kit{padding:26px 26px 28px; background:var(--card); border:1px solid var(--line); border-radius:18px;}
.ptbk.ptbk.ptbk .ptbk-kit .ptbk-label{margin:0 0 14px; font-size:15px; font-weight:700; letter-spacing:0; text-transform:none; color:var(--ink);}
.ptbk.ptbk.ptbk .ptbk-kit li{position:relative; padding:9px 0 9px 18px; font-size:14.5px; line-height:1.45; color:var(--text); border-top:1px solid var(--line);}
.ptbk.ptbk.ptbk .ptbk-kit li:first-child{border-top:0; padding-top:0;}
.ptbk.ptbk.ptbk .ptbk-kit li::before{content:""; position:absolute; left:0; top:17px; width:6px; height:6px; border-radius:50%; background:var(--blue);}
.ptbk.ptbk.ptbk .ptbk-kit li:first-child::before{top:8px;}

/* ---------- 7. the book and the membership ---------- */
.ptbk.ptbk.ptbk .ptbk-pair{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px;}
.ptbk.ptbk.ptbk .ptbk-card{display:flex; flex-direction:column; padding:clamp(24px,3vw,36px); border-radius:20px; background:var(--card); border:1px solid var(--line);}
.ptbk.ptbk.ptbk .ptbk-card-k{font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--blue-dk);}
.ptbk.ptbk.ptbk .ptbk-price{margin:10px 0 22px; font-size:14.5px; line-height:1.45; color:var(--muted);}
.ptbk.ptbk.ptbk .ptbk-price b{display:block; margin-bottom:4px; font-size:34px; font-weight:800; letter-spacing:-.03em; line-height:1.05;}
.ptbk.ptbk.ptbk .ptbk-card .ptbk-ctas{margin-top:auto; padding-top:26px;}
.ptbk.ptbk.ptbk .ptbk-card--member{
  color:var(--dtext); border-color:transparent;
  background:radial-gradient(120% 120% at 100% 0%, rgba(47,123,240,.30), rgba(47,123,240,0) 58%), var(--navy);
}
.ptbk.ptbk.ptbk .ptbk-card--member .ptbk-card-k{color:var(--b);}
.ptbk.ptbk.ptbk .ptbk-card--member .ptbk-price{color:var(--ddim);}
.ptbk.ptbk.ptbk .ptbk-card--member b{color:#fff;}
.ptbk.ptbk.ptbk .ptbk-card--member .ptbk-ticks li{color:var(--dtext);}
.ptbk.ptbk.ptbk .ptbk-card--member .ptbk-ticks li::before{background:rgba(169,200,245,.16);}
.ptbk.ptbk.ptbk .ptbk-card--member .ptbk-ticks li::after{background:var(--b);}
.ptbk.ptbk.ptbk .ptbk-card--member a.ptbk-btn--ghost{color:#fff; border-color:rgba(255,255,255,.28);}
.ptbk.ptbk.ptbk .ptbk-card--member a.ptbk-btn--ghost:hover{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.5);}
.ptbk.ptbk.ptbk .ptbk-note{margin-top:16px; font-size:14.5px; color:var(--muted); text-align:center;}

/* ---------- 8. specs, postage and returns ---------- */
.ptbk.ptbk.ptbk .ptbk-facts{display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:16px;}
.ptbk.ptbk.ptbk .ptbk-specs, .ptbk.ptbk.ptbk .ptbk-post{padding:clamp(24px,3vw,34px); background:var(--card); border:1px solid var(--line); border-radius:18px;}
.ptbk.ptbk.ptbk .ptbk-specs dl > div{display:grid; grid-template-columns:150px minmax(0,1fr); gap:14px; padding:11px 0; border-top:1px solid var(--line);}
.ptbk.ptbk.ptbk .ptbk-specs dl > div:first-child{border-top:0; padding-top:0;}
.ptbk.ptbk.ptbk .ptbk-specs dt{font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; line-height:1.9; color:var(--muted);}
.ptbk.ptbk.ptbk .ptbk-specs dd{font-size:15px; font-weight:600; line-height:1.5; color:var(--ink); font-variant-numeric:tabular-nums;}
.ptbk.ptbk.ptbk .ptbk-post li{font-size:14.5px; line-height:1.55; color:var(--text); padding:11px 0; border-top:1px solid var(--line);}
.ptbk.ptbk.ptbk .ptbk-post li:first-child{border-top:0; padding-top:0;}

/* ---------- 9. questions ---------- */
.ptbk.ptbk.ptbk .ptbk-faq{max-width:860px; border-top:1px solid var(--line);}
.ptbk.ptbk.ptbk .ptbk-faq details{border-bottom:1px solid var(--line);}
.ptbk.ptbk.ptbk .ptbk-faq summary{
  position:relative; display:block; padding:20px 48px 20px 0; cursor:pointer; list-style:none;
  font-size:17px; font-weight:700; line-height:1.4; color:var(--ink);
}
.ptbk.ptbk.ptbk .ptbk-faq summary::-webkit-details-marker{display:none;}
.ptbk.ptbk.ptbk .ptbk-faq summary::after{
  content:""; position:absolute; right:6px; top:50%; width:20px; height:20px; margin-top:-10px; background:var(--blue-dk);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; transition:transform .2s ease;
}
.ptbk.ptbk.ptbk .ptbk-faq details[open] summary::after{transform:rotate(45deg);}
.ptbk.ptbk.ptbk .ptbk-faq summary:focus-visible{outline:3px solid var(--blue); outline-offset:2px;}
.ptbk.ptbk.ptbk .ptbk-faq details p{padding:0 48px 22px 0; font-size:15.5px; line-height:1.65; color:var(--text);}

/* ---------- 10. trust and the last call ---------- */
.ptbk.ptbk.ptbk .ptbk-trust{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1.5fr); gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:18px; overflow:hidden;
}
.ptbk.ptbk.ptbk .ptbk-trust > *{padding:24px 26px; background:var(--card); font-size:14.5px; line-height:1.5; color:var(--muted);}
.ptbk.ptbk.ptbk .ptbk-trust b{display:block; margin-bottom:2px; font-size:16px;}
.ptbk.ptbk.ptbk .ptbk-stars{margin-bottom:6px;}
.ptbk.ptbk.ptbk .ptbk-stars::before{content:"\2605\2605\2605\2605\2605"; font-size:18px; letter-spacing:2px; color:var(--gold);}
.ptbk.ptbk.ptbk .ptbk-trust-atc{position:relative;}
.ptbk.ptbk.ptbk .ptbk-quote p:first-child{font-size:15.5px; line-height:1.55; color:var(--ink);}
.ptbk.ptbk.ptbk .ptbk-quote-by{margin-top:8px; font-size:13px; font-weight:600; color:var(--muted);}
.ptbk.ptbk.ptbk .ptbk-final{
  padding:clamp(40px,6vw,72px) clamp(24px,4vw,48px); border-radius:22px; text-align:center; color:var(--dtext);
  background:radial-gradient(90% 140% at 50% 0%, rgba(47,123,240,.30), rgba(47,123,240,0) 62%), var(--navy);
}
.ptbk.ptbk.ptbk .ptbk-final .ptbk-kick{justify-content:center; color:var(--b);}
.ptbk.ptbk.ptbk .ptbk-final .ptbk-h{color:#fff; font-size:clamp(28px,3.6vw,46px);}
.ptbk.ptbk.ptbk .ptbk-final .ptbk-sub{color:#b9c8d9;}
.ptbk.ptbk.ptbk .ptbk-final .ptbk-ctas{justify-content:center; margin-top:26px;}
.ptbk.ptbk.ptbk .ptbk-final a.ptbk-btn{color:var(--ink); background:#fff; min-height:52px; padding:0 28px; font-size:16px;}
.ptbk.ptbk.ptbk .ptbk-final a.ptbk-btn:hover{background:#e8f0fd;}
.ptbk.ptbk.ptbk .ptbk-final a.ptbk-btn--ghost{color:#fff; background:transparent; border-color:rgba(255,255,255,.28);}
.ptbk.ptbk.ptbk .ptbk-final a.ptbk-btn--ghost:hover{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.5);}

/* ---------- narrower screens ---------- */
@media (max-width:1100px){
  .ptbk.ptbk.ptbk .ptbk-gallery{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ptbk.ptbk.ptbk .ptbk-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ptbk.ptbk.ptbk .ptbk-exams{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ptbk.ptbk.ptbk .ptbk-trust{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ptbk.ptbk.ptbk .ptbk-quote{grid-column:1 / -1;}
}
@media (max-width:1000px){
  .ptbk.ptbk.ptbk .ptbk-lead{grid-template-columns:minmax(0,1fr);}
  .ptbk.ptbk.ptbk .ptbk-wb, .ptbk.ptbk.ptbk .ptbk-facts, .ptbk.ptbk.ptbk .ptbk-pair{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:700px){
  .ptbk.ptbk.ptbk[data-ptbk]{gap:60px;}
  .ptbk.ptbk.ptbk.ptbk-after{margin-top:60px;}
  .ptbk.ptbk.ptbk .ptbk-lead{padding:26px 20px 22px; border-radius:18px;}
  .ptbk.ptbk.ptbk .ptbk-atc{margin-top:14px; padding-left:12px; border-left:2px solid rgba(169,200,245,.45); font-size:14px; line-height:1.5; color:var(--ddim);}
.ptbk.ptbk.ptbk .ptbk-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ptbk.ptbk.ptbk .ptbk-stats b{font-size:25px;}
  /* the spreads become a row to swipe through */
  .ptbk.ptbk.ptbk .ptbk-gallery{
    grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:86%; gap:14px; overflow-x:auto;
    scroll-snap-type:x mandatory; overscroll-behavior-x:contain; padding:6px 4px 14px; scrollbar-width:thin;
  }
  .ptbk.ptbk.ptbk .ptbk-tile{scroll-snap-align:start;}
  .ptbk.ptbk.ptbk .ptbk-steps, .ptbk.ptbk.ptbk .ptbk-who,
  .ptbk.ptbk.ptbk .ptbk-trust{grid-template-columns:minmax(0,1fr);}
  .ptbk.ptbk.ptbk .ptbk-exams{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ptbk.ptbk.ptbk .ptbk-exams li{padding:16px 15px 18px;}
  .ptbk.ptbk.ptbk .ptbk-steps li{display:grid; grid-template-columns:34px minmax(0,1fr); column-gap:14px; padding:20px 18px;}
  .ptbk.ptbk.ptbk .ptbk-steps li::before{grid-row:1 / span 2; margin:0;}
  .ptbk.ptbk.ptbk .ptbk-who-col, .ptbk.ptbk.ptbk .ptbk-kit{padding:22px 20px 24px;}
  .ptbk.ptbk.ptbk .ptbk-wb-main{flex-direction:column; align-items:flex-start;}
  .ptbk.ptbk.ptbk .ptbk-wb-cover{flex-basis:auto; width:110px;}
  .ptbk.ptbk.ptbk .ptbk-specs dl > div{grid-template-columns:minmax(0,1fr); gap:2px;}
  .ptbk.ptbk.ptbk .ptbk-faq summary{font-size:16px; padding-right:40px;}
  .ptbk.ptbk.ptbk .ptbk-faq details p{padding-right:0;}
  .ptbk.ptbk.ptbk .ptbk-ctas a.ptbk-btn{flex:1 1 100%;}
}
@media (prefers-reduced-motion:reduce){
  .ptbk.ptbk.ptbk *, dialog.ptbk-lb *{transition:none !important; animation:none !important;}
}

/* ---------- the lightbox (pt-book.js puts it at the end of the page) ---------- */
dialog.ptbk-lb{
  position:fixed; inset:0; width:auto; height:auto; max-width:none; max-height:none; margin:0; padding:0; border:0;
  overflow:hidden; color:#dbe6f1; background:rgba(4,10,18,.95);
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif; font-size:15px; line-height:1.5;
}
dialog.ptbk-lb[open]{display:block;}
dialog.ptbk-lb::backdrop{background:rgba(4,10,18,.6);}
dialog.ptbk-lb button{
  display:grid; place-items:center; width:46px; height:46px; margin:0; padding:0; border:1px solid rgba(255,255,255,.2);
  border-radius:50%; color:#fff; background:rgba(255,255,255,.08); cursor:pointer; font:inherit; box-shadow:none;
}
dialog.ptbk-lb button:hover{background:rgba(255,255,255,.18);}
dialog.ptbk-lb button:focus-visible{outline:3px solid #2f7bf0; outline-offset:2px;}
dialog.ptbk-lb button svg{width:22px; height:22px;}
.ptbk-lb-top{position:absolute; top:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; gap:12px; height:64px; padding:0 14px 0 20px;}
.ptbk-lb-count{font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#93a7bd;}
.ptbk-lb-stage{position:absolute; top:64px; bottom:84px; left:0; right:0; display:flex; align-items:center; justify-content:center; overflow:hidden; touch-action:pan-y pinch-zoom;}
.ptbk-lb-stage picture{display:contents;}
.ptbk-lb-stage img{display:block; max-width:calc(100% - 140px); max-height:100%; width:auto; height:auto; border-radius:10px; cursor:zoom-in; user-select:none; -webkit-user-drag:none;}
dialog.ptbk-lb.is-zoom .ptbk-lb-stage{display:block; overflow:auto; touch-action:auto;}
dialog.ptbk-lb.is-zoom .ptbk-lb-stage img{max-width:none; max-height:none; margin:0 auto; border-radius:0; cursor:zoom-out;}
.ptbk-lb-prev, .ptbk-lb-next{position:absolute; top:50%; margin-top:-23px !important;}
.ptbk-lb-prev{left:16px;}
.ptbk-lb-next{right:16px;}
dialog.ptbk-lb.is-zoom .ptbk-lb-prev, dialog.ptbk-lb.is-zoom .ptbk-lb-next{display:none;}
.ptbk-lb-cap{position:absolute; left:0; right:0; bottom:0; display:flex; align-items:center; justify-content:center; min-height:84px; padding:10px 20px 18px; margin:0; text-align:center; color:#cfdbe8; font-size:14.5px;}
@media (max-width:700px){
  .ptbk-lb-stage{bottom:96px;}
  .ptbk-lb-stage img{max-width:100%; border-radius:4px;}
  .ptbk-lb-prev, .ptbk-lb-next{top:auto; bottom:22px; margin-top:0 !important;}
  .ptbk-lb-cap{padding:10px 76px 18px; min-height:96px; font-size:13.5px;}
}
