/* Bibles.uk polish (1 Dec 2026): layout, hero, card and banner refinements for the inner pages
   (Stories, Chapters, a chapter, For churches, Shop, product pages, basket).
   Loaded last (after watercolour.css). Remove this one file to roll back. Uses the colour roles, so Bedtime works. */

/* ---------- Motion: quicker, calmer reveals (cards no longer sit faded while you scroll) ---------- */
html.wc-motion .wc-reveal.is-in{animation-duration:560ms}
html.wc-motion .wc-paint.is-in{animation-duration:900ms}

/* ---------- Shared ---------- */
.section-head .h2{letter-spacing:-.01em}
.pill-count{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font:600 13px var(--sans);color:var(--ink2)}

/* ---------- Stories ---------- */
/* Collection links as calm pill chips */
.hero--stories .collections-nav{gap:10px;max-width:980px;margin:26px auto 0}
.hero--stories .collections-nav a{display:inline-flex;align-items:center;min-height:42px;padding:0 18px;border-radius:999px;border:1px solid rgba(122,84,34,.22);background:rgba(255,253,248,.62);color:var(--gold-ink);font:600 14px var(--sans);backdrop-filter:blur(2px);transition:background 200ms,border-color 200ms,transform 200ms}
.hero--stories .collections-nav a:hover,.hero--stories .collections-nav a:focus-visible{background:var(--surface);border-color:var(--gold);transform:translateY(-1px)}
html.theme-dark .hero--stories .collections-nav a{background:rgba(27,35,51,.7);border-color:var(--line)}
.hero--stories:has(.collections-nav){padding-bottom:88px}

/* The finder floats as a card over the hero's bottom edge */
.finder-bar{position:relative;z-index:2;background:transparent;border:0;padding:0;margin-top:-64px}
.finder-bar .wrap > .finder,.finder-bar .finder__status{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:18px 20px;box-shadow:var(--shadow-warm)}
.finder-bar .finder__status{margin-top:12px}
.finder input,.finder select{border-color:var(--line);background:var(--paper)}
.start-here{padding-top:64px}

/* Collections: four smaller cards a row on wide screens, so no lonely last card and half the scrolling */
.collection{padding:64px 0}
.collection .section-head{margin-bottom:22px}
.collection__count{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font:600 13px var(--sans);color:var(--ink2)}
@media (min-width:1100px){
  .collection .story-grid{grid-template-columns:repeat(4,1fr);gap:18px}
  .collection .story-card{border-radius:22px}
  .collection .story-card__body{padding:16px 18px 20px;gap:6px}
  .collection .story-card__title{font-size:25px;line-height:1.08}
  .collection .story-card__summary{font-size:14.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .collection .story-card__kicker{font-size:11px}
  .collection .story-card__meta{font-size:12.5px}
}
.story-card__meta{margin-top:auto;padding-top:6px;color:var(--ink2)}
.start-here .story-card__title{font-size:30px}

/* Journey strip cards: title sits on the card, not under it */
.journeys-strip__list a{border-radius:20px}

/* ---------- Chapters (/read/) ---------- */
.read-books{padding-top:0}
.read-books .wrap--text{max-width:880px}
.read-pick-card{position:relative;z-index:2;margin:-56px 0 8px;padding:22px 24px 18px;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-warm)}
.read-pick-card .h3{margin:0 0 4px}
.read-pick{align-items:start;margin:10px 0 0}
.read-pick p:last-child{padding-top:28px}
.read-pick select,.read-pick input{border-color:var(--line);background:var(--paper)}
.read-books__h{display:flex;align-items:baseline;gap:12px;margin:40px 0 14px}
.read-books__h small{font:500 14px var(--sans)}
.read-books__list{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:10px}
.read-books__list a{justify-content:space-between;gap:10px;min-height:50px;padding:0 14px 0 16px;border-radius:14px;transition:border-color 180ms,transform 180ms,box-shadow 180ms}
.read-books__list a:hover{transform:translateY(-2px);box-shadow:0 10px 22px -14px rgba(92,64,36,.5)}
.read-books__list small{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:24px;padding:0 7px;border-radius:999px;background:var(--paper);font:600 12px var(--sans);color:var(--ink2)}
.hero--short:has(+ .read-books){padding-bottom:96px}

/* One chapter: a quiet reading page with a chapter bar */
.chapter .wrap--text{max-width:780px}
.chapter .h1{margin-bottom:6px}
.chapter__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 0 14px;border-bottom:1px solid var(--line)}
.chapter__bar p{margin:0}
.chapter__step{display:flex;align-items:center;gap:8px}
.chapter__step > a,.chapter-jump summary{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink-strong);font:600 15px var(--sans);text-decoration:none;cursor:pointer}
.chapter__step > a:hover,.chapter-jump summary:hover{border-color:var(--gold)}
.chapter-jump{position:relative}
.chapter-jump summary{list-style:none}
.chapter-jump summary::-webkit-details-marker{display:none}
.chapter-jump summary::after{content:"";width:7px;height:7px;margin-left:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.chapter-jump[open] summary{border-color:var(--gold)}
.chapter-jump__grid{position:absolute;right:0;top:calc(100% + 8px);z-index:20;display:grid;grid-template-columns:repeat(6,44px);gap:6px;max-height:320px;overflow:auto;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-warm)}
.chapter-jump__grid a{display:flex;align-items:center;justify-content:center;height:44px;border-radius:12px;color:var(--ink-strong);font:600 14px var(--sans);text-decoration:none}
.chapter-jump__grid a:hover{background:var(--paper)}
.chapter-jump__grid a[aria-current="page"]{background:var(--gold);color:#2C241F}
.chapter__text{margin-top:28px;font-size:20px;line-height:1.85;color:var(--ink-strong)}
.chapter__text .v sup{color:var(--gold-ink)}
.chapter__nav .button{min-height:48px}
@media (max-width:640px){.chapter-jump__grid{grid-template-columns:repeat(5,44px);right:-56px}.chapter__text{font-size:18.5px}}

/* ---------- For churches ---------- */
.split .actions{justify-content:flex-start}
.loop__art{aspect-ratio:16/9;object-fit:cover}
.loop li{padding-bottom:20px}
.sample-sheet{transform:rotate(1.2deg)}

/* ---------- Shop ---------- */
.shop-wrap{max-width:1120px}
.section--shop{padding-top:0}
.woocommerce .woocommerce-breadcrumb{padding-top:28px}
/* Shop front and category headers become a painted banner */
.woocommerce-products-header{position:relative;margin:0 0 28px;padding:44px 40px 38px;border-radius:28px;overflow:hidden;isolation:isolate;
  background:radial-gradient(60% 80% at 92% 0%,rgba(244,224,176,.85),rgba(244,224,176,0) 62%),radial-gradient(55% 70% at 0% 0%,rgba(157,186,211,.35),rgba(157,186,211,0) 60%),radial-gradient(70% 60% at 60% 120%,rgba(142,154,106,.22),rgba(142,154,106,0) 62%),var(--grain),var(--parchment);border:1px solid var(--line)}
html.theme-dark .woocommerce-products-header{background:var(--dusk)}
.woocommerce-products-header__title.page-title{margin:0 0 8px;font:500 clamp(40px,5vw,60px)/1.02 var(--serif);color:var(--ink-strong)}
.woocommerce-products-header .term-description,.bibles-shop-intro__lead{max-width:640px;margin:0;font-size:18px;color:var(--ink2)}
.woocommerce-products-header .term-description p{margin:0}
.bibles-shop-intro{display:contents}
.bibles-shop-intro--tiles{display:block;margin:0 0 40px}
.bibles-shop-intro--tiles .bibles-shop-lines{margin-top:0!important}
/* Six product lines, three a row */
.bibles-shop-lines{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:16px!important;margin:28px 0 0!important;padding:0;list-style:none}
.bibles-shop-line{display:flex;flex-direction:column;height:100%;border-radius:22px;overflow:hidden;background:var(--surface);border:1px solid var(--line);text-decoration:none;transition:transform 260ms cubic-bezier(.2,.7,.2,1),box-shadow 260ms}
.bibles-shop-line:hover{transform:translateY(-4px);box-shadow:var(--shadow-warm)}
.bibles-shop-line__img{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--paper)}
.bibles-shop-line__img img{width:100%;height:100%;object-fit:cover;transform:scale(1.12);transition:transform 500ms}
.bibles-shop-line:hover .bibles-shop-line__img img{transform:scale(1.17)}
.bibles-shop-line__name{padding:14px 18px 2px;font:500 25px/1.1 var(--serif);color:var(--ink-strong)}
.bibles-shop-line__blurb{padding:0 18px 18px;font-size:14.5px;color:var(--ink2)}
.bibles-shop-makers{margin:18px 0 0}
.bibles-shop-makers a{font-weight:600}
/* Count + sorting on one tidy row */
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin:8px 0 22px}
.woocommerce .woocommerce-result-count{line-height:48px;color:var(--ink2);font-size:14px}
/* Product cards */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px;margin:0 0 32px!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{display:flex;flex-direction:column;width:auto!important;margin:0!important;float:none!important;padding:0 0 16px!important;border-radius:22px;overflow:hidden;background:var(--surface);border:1px solid var(--line);transition:transform 260ms cubic-bezier(.2,.7,.2,1),box-shadow 260ms}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:var(--shadow-warm)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;text-decoration:none}
.woocommerce ul.products li.product a img{margin:0 0 12px!important;border-radius:0!important;aspect-ratio:1/1;object-fit:cover;background:var(--paper)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 16px!important;margin:0 0 6px!important;font:500 21px/1.15 var(--serif)!important;color:var(--ink-strong)!important}
.woocommerce ul.products li.product .price{display:block;margin:auto 0 0!important;padding:0 16px;font:600 14px var(--sans)!important;color:var(--ink2)!important}
.woocommerce #main ul.products li.product a.button,.woocommerce ul.products li.product .button{align-self:flex-start;margin:12px 16px 0!important;min-height:40px!important;padding:0 16px!important;background:transparent!important;color:var(--ink-strong)!important;border:1px solid var(--line)!important;font:600 13.5px/1 var(--sans)!important}
.woocommerce #main ul.products li.product a.button:hover,.woocommerce ul.products li.product .button:hover{background:var(--paper)!important;border-color:var(--gold)!important;transform:none;box-shadow:none}
@media (max-width:1000px){.woocommerce ul.products{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){
  .woocommerce-products-header{padding:30px 22px 26px;border-radius:22px}
  .bibles-shop-lines{grid-template-columns:1fr 1fr!important;gap:12px!important}
  .bibles-shop-line__name{font-size:20px;padding:12px 14px 2px}
  .bibles-shop-line__blurb{font-size:13px;padding:0 14px 14px}
  .woocommerce ul.products{grid-template-columns:1fr 1fr;gap:12px}
  .woocommerce ul.products li.product{border-radius:18px;padding-bottom:12px!important}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px!important;padding:0 12px!important}
  .woocommerce ul.products li.product .price{padding:0 12px;font-size:13px!important}
  .woocommerce #main ul.products li.product a.button,.woocommerce ul.products li.product .button{margin:10px 12px 0!important;min-height:40px!important;padding:0 12px!important;font-size:12.5px!important;white-space:normal;text-align:center;line-height:1.15!important}
  .woocommerce .woocommerce-ordering{float:none;width:100%;margin-top:0}
  .woocommerce .woocommerce-ordering select{width:100%}
  .woocommerce .woocommerce-result-count{float:none;line-height:1.4;margin-bottom:10px}
}
/* Product page */
.woocommerce div.product div.images .woocommerce-product-gallery__image img{border-radius:24px}
.woocommerce div.product div.images .flex-viewport{border-radius:24px;box-shadow:var(--shadow-warm)}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:10px;margin-top:12px!important}
.woocommerce div.product div.images .flex-control-thumbs li{width:88px!important;float:none!important}
.woocommerce div.product div.images .flex-control-thumbs img{border-radius:12px;opacity:.7}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,.woocommerce div.product div.images .flex-control-thumbs img:hover{opacity:1}
.woocommerce div.product p.price,.woocommerce div.product span.price{font:600 24px var(--sans)!important;color:var(--ink-strong)!important}
.woocommerce .related > h2,.woocommerce .upsells > h2{font:500 clamp(30px,3.4vw,40px)/1.1 var(--serif)!important;color:var(--ink-strong);margin:24px 0 18px}
.woocommerce .related ul.products{grid-template-columns:repeat(4,1fr)}
.woocommerce .product_meta{font-size:14px;color:var(--ink2)}
.woocommerce div.product form.cart .variations{margin:0}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{padding:0 12px 0 0;vertical-align:middle}
@media (max-width:760px){.woocommerce .related ul.products{grid-template-columns:1fr 1fr}}

/* ---------- Shop front (plugin includes/shop-front.php) ---------- */
/* Cards: title + small kind line, "From £8.00" */
.woocommerce ul.products li.product .bibles-card-kind{margin:0 0 10px;padding:0 16px;font:600 12px/1.3 var(--sans);letter-spacing:.04em;text-transform:uppercase;color:var(--gold-ink,#8a6a2c)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{margin:0 0 4px!important}
.bibles-from{font-weight:500;color:var(--ink2)}
.woocommerce ul.products li.product .price{color:var(--ink-strong)!important;font-size:15px!important}
.woocommerce ul.products li.product a img{transition:transform 600ms cubic-bezier(.2,.7,.2,1)}
.woocommerce ul.products li.product:hover a img{transform:scale(1.04)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{overflow:hidden}
/* Hero */
.shop-front .woocommerce-products-header{padding:0;margin-bottom:56px}
.shop-hero{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:24px;padding:56px 0 40px 52px;min-height:420px}
.shop-hero>*{min-width:0}
.shop-hero__title{margin:6px 0 16px;font:500 clamp(40px,5vw,64px)/1.02 var(--serif);color:var(--ink-strong);text-wrap:balance}
.shop-hero__lead{max-width:520px;margin:0 0 24px;font-size:18px;line-height:1.55;color:var(--ink2)}
.shop-hero__lines{display:flex;flex-wrap:wrap;gap:8px}
.shop-hero__lines a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 82%,transparent);color:var(--ink-strong);font:600 14px var(--sans);text-decoration:none;transition:border-color 200ms,transform 200ms}
.shop-hero__lines a:hover{border-color:var(--gold);transform:translateY(-1px)}
.shop-hero__fan{position:relative;height:380px}
.shop-hero__fan span{position:absolute;top:50%;left:50%;width:56%;aspect-ratio:1;border-radius:20px;overflow:hidden;box-shadow:0 24px 48px -18px rgba(60,40,10,.38),0 2px 6px rgba(60,40,10,.12);background:var(--paper);transition:transform 500ms cubic-bezier(.2,.7,.2,1)}
.shop-hero__fan img{display:block;width:100%;height:100%;object-fit:cover}
.shop-hero__fan span:nth-child(1){z-index:3;transform:translate(-50%,-50%) rotate(-2deg)}
.shop-hero__fan span:nth-child(2){z-index:2;transform:translate(-100%,-46%) rotate(-9deg) scale(.86)}
.shop-hero__fan span:nth-child(3){z-index:1;transform:translate(-4%,-52%) rotate(8deg) scale(.86)}
.shop-hero:hover .shop-hero__fan span:nth-child(2){transform:translate(-108%,-48%) rotate(-12deg) scale(.86)}
.shop-hero:hover .shop-hero__fan span:nth-child(3){transform:translate(2%,-54%) rotate(11deg) scale(.86)}
.shop-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;padding:0;list-style:none;border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface) 55%,transparent)}
.shop-trust li{padding:20px 28px;font-size:14.5px;line-height:1.45;color:var(--ink2)}
.shop-trust li+li{border-left:1px solid var(--line)}
.shop-trust b{display:block;margin-bottom:2px;font:500 19px/1.2 var(--serif);color:var(--ink-strong)}
/* Shelves */
.shop-shelf{margin:0 0 56px;scroll-margin-top:90px}
.shop-shelf__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px}
.shop-shelf__title{margin:0;font:500 clamp(28px,3vw,38px)/1.1 var(--serif);color:var(--ink-strong)}
.shop-shelf__blurb{margin:4px 0 0;color:var(--ink2);font-size:15.5px}
.shop-shelf__all{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink-strong);font:600 14px var(--sans);text-decoration:none}
.shop-shelf__all:hover{border-color:var(--gold)}
.woocommerce ul.products.shop-shelf__row{margin:0!important}
.shop-all__title{margin:24px 0 4px;padding-top:40px;border-top:1px solid var(--line);font:500 clamp(28px,3vw,38px)/1.1 var(--serif);color:var(--ink-strong)}
.shop-front .bibles-shop-makers{margin:-24px 0 40px}
@media (max-width:1000px){
  .shop-hero{grid-template-columns:1fr;padding:40px 32px 8px;min-height:0}
  .shop-hero__fan{height:300px;max-width:520px;width:100%;margin:0 auto}
  .woocommerce ul.products.shop-shelf__row li.product:nth-child(4){display:none}
}
@media (max-width:760px){
  .shop-front .woocommerce-products-header{margin-bottom:36px}
  .shop-hero{padding:30px 22px 0;gap:8px}
  .shop-hero__lead{font-size:16.5px}
  .shop-hero__lines{flex-wrap:nowrap;overflow-x:auto;margin:0 -22px;padding:0 22px 4px;scrollbar-width:none}
  .shop-hero__lines::-webkit-scrollbar{display:none}
  .shop-hero__lines a{flex:none}
  .shop-hero__fan{height:230px;overflow:visible}
  .shop-hero__fan span{width:46%}
  .shop-trust{grid-template-columns:1fr}
  .shop-trust li{padding:14px 22px}
  .shop-trust li+li{border-left:0;border-top:1px solid var(--line)}
  .shop-shelf{margin-bottom:40px}
  .shop-shelf__head{align-items:center}
  .shop-shelf__blurb{font-size:14px}
  .shop-shelf__all{padding:0 14px;font-size:13px}
  /* Each shelf is a swipe row on phones */
  .woocommerce ul.products.shop-shelf__row{display:flex!important;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -20px!important;padding:2px 20px 8px!important;scrollbar-width:none}
  .woocommerce ul.products.shop-shelf__row::-webkit-scrollbar{display:none}
  .woocommerce ul.products.shop-shelf__row li.product,.woocommerce ul.products.shop-shelf__row li.product:nth-child(4){display:flex;flex:0 0 62%;scroll-snap-align:start}
  .woocommerce ul.products li.product .bibles-card-kind{padding:0 12px;font-size:11px}
}
@media (prefers-reduced-motion:reduce){.shop-hero__fan span,.woocommerce ul.products li.product a img{transition:none}}

/* ---------- Product page: title line + licence cards (shop.php, shop-front.php) ---------- */
.woocommerce div.product .bibles-card-kind--page{margin:0 0 6px;font:700 12px/1.3 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--gold-ink)}
.bibles-licences.bibles-pick{margin:20px 0 8px;padding:0;border:0;border-radius:0;background:none;min-width:0}
.bibles-pick legend.bibles-licences__h{padding:0;margin:0 0 10px;font:700 17px/1.3 var(--sans);color:var(--ink-strong)}
.bibles-pick__card{position:relative;display:block;margin:0 0 10px;padding:14px 16px 14px 48px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer;transition:border-color .15s,box-shadow .15s}
.bibles-pick__card:hover{border-color:var(--gold)}
.bibles-pick__card input{position:absolute;left:16px;top:17px;width:20px;height:20px;margin:0;accent-color:var(--blue)}
.bibles-pick__card:has(input:checked){border-color:var(--blue);box-shadow:0 0 0 1px var(--blue),0 6px 18px rgba(16,27,45,.08)}
.bibles-pick__card:has(input:focus-visible){outline:3px solid var(--royal);outline-offset:2px}
.bibles-pick__top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.bibles-pick__name{font:700 16px/1.3 var(--sans);color:var(--ink-strong)}
.bibles-pick__price{font:700 16px/1.3 var(--sans);color:var(--ink-strong);white-space:nowrap}
.bibles-pick__sum{display:block;margin-top:4px;font-size:14.5px;line-height:1.5;color:var(--ink2)}
.bibles-pick__more{margin:4px 0 0;font-size:14px}
.bibles-pick__more a{display:inline-flex;align-items:center;min-height:44px;color:var(--blue);font-weight:600}
.woocommerce div.product form.cart.has-pick .variations{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.woocommerce div.product form.cart.has-pick .reset_variations{display:none!important}
.woocommerce div.product form.cart.has-pick .single_variation_wrap .bibles-licence-now{display:none}
.woocommerce div.product form.cart.has-pick .single_add_to_cart_button{min-width:220px}
@media (prefers-reduced-motion:reduce){.bibles-pick__card{transition:none}}

/* ---------- Basket and checkout (WooCommerce blocks) ---------- */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{font-family:var(--sans);color:var(--charcoal)}
.basket-empty__title{margin:24px 0 18px!important;font:500 clamp(30px,3.6vw,40px)/1.1 var(--serif)!important;color:var(--ink-strong)}
.wp-block-button__link{display:inline-flex;align-items:center;min-height:48px;padding:0 26px!important;border-radius:999px!important;background:var(--midnight)!important;color:var(--ivory)!important;font:700 15px/1 var(--sans)!important;text-decoration:none}
.wp-block-button__link:hover{background:var(--blue)!important}
.wc-block-components-product-price,.wc-block-formatted-money-amount,.wc-block-components-totals-item__value{font-family:var(--sans)!important;font-size:inherit}
.wc-block-cart-items,.wc-block-components-sidebar .wc-block-components-panel,.wc-block-components-totals-wrapper{border-color:var(--line)!important}
.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{border-radius:999px!important;background:var(--gold)!important;color:#2C241F!important;font:700 16px var(--sans)!important;min-height:52px}

/* ---------- Phones: less empty sky above the floating cards ---------- */
@media (max-width:760px){
  .hero--stories:has(.collections-nav),.hero--short:has(+ .read-books){padding-bottom:64px}
  .finder-bar{margin-top:-44px}
  .finder-bar .wrap > .finder{padding:14px 16px;border-radius:20px}
  .read-pick-card{margin-top:-40px;padding:18px 18px 14px;border-radius:20px}
  .read-pick p:last-child{padding-top:30px}
  .collection{padding:44px 0}
}

/* ---------- Ordinary pages (Safeguarding, Privacy, licences, basket, account, makers, 404): short painted banner ---------- */
.hero--page .hero__in{padding-top:56px;padding-bottom:40px}
.hero--page .hero__title{font-size:clamp(40px,6vw,66px);margin-bottom:8px}
.hero--page .hero__lead{max-width:640px}
.section--page{padding-top:48px}
.hero--page + .section--shop{padding-top:40px}
.page-art{margin:0 0 28px}
.prose h2{font:500 clamp(28px,3vw,36px)/1.15 var(--serif);color:var(--ink-strong);margin:40px 0 12px}
.prose li{margin:6px 0}
@media (max-width:760px){.hero--page .hero__in{padding-top:36px;padding-bottom:28px}.hero--page .hero__title{font-size:38px}.section--page{padding-top:32px}}

/* My account: sign in and register as two calm cards */
.woocommerce-account .u-columns.col2-set{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:880px;margin:0 auto}
.woocommerce-account .u-columns.col2-set::before,.woocommerce-account .u-columns.col2-set::after{display:none}
.woocommerce-account .u-columns .u-column1,.woocommerce-account .u-columns .u-column2{float:none!important;width:auto!important}
.woocommerce-account h2{font:500 30px/1.1 var(--serif);color:var(--ink-strong);margin:0 0 12px}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.lost_reset_password{margin:0!important;padding:24px!important;border:1px solid var(--line)!important;border-radius:22px!important;background:var(--surface);box-shadow:var(--shadow-warm)}
.woocommerce form .form-row input.input-text{border:1px solid var(--line);border-radius:12px;background:var(--paper);min-height:48px}
.woocommerce form .form-row label{font-weight:600;color:var(--ink-strong)}
.woocommerce .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:8px;margin-left:12px}
@media (max-width:760px){.woocommerce-account .u-columns.col2-set{grid-template-columns:1fr}}

/* Makers list: an empty list is a calm note, not a red error */
.dokan-store-wrap .dokan-error,#dokan-seller-listing-wrap .dokan-error{border:1px solid var(--line)!important;border-radius:18px;background:var(--surface)!important;color:var(--ink2)!important;padding:18px 20px!important}
.dokan-store-wrap .dokan-error::before,#dokan-seller-listing-wrap .dokan-error::before{display:none!important}
.woocommerce form .show-password-input{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;top:50%!important;transform:translateY(-50%)}

/* Bedtime: the header "Leaders' app" button stays an outlined pill on every page (it had a light fill, and on shop pages light text too) */
html.theme-dark .site-header a.site-cta,html.theme-dark .woocommerce .site-header a.site-cta,html.theme-dark .woocommerce-page .site-header a.site-cta{background:transparent!important;color:var(--ink-strong)!important;box-shadow:inset 0 0 0 1.5px rgba(244,237,225,.5)!important}
html.theme-dark .site-header a.site-cta:hover{background:rgba(203,154,69,.16)!important;box-shadow:inset 0 0 0 1.5px var(--gold)!important}

/* No line under the header, on any page, light or Bedtime (owner, 1 Dec 2026) */
.site-header,.site-header--dark,html.theme-dark .site-header:not(.site-header--dark),html.hdr-solid .site-header.site-header--float,.site-header.site-header--float{border-bottom:0!important}

/* ---------- Topics: /topics/ and /topics/<slug>/ (1 Dec 2026) ---------- */
.topic-group__intro{margin:6px 0 0;color:var(--ink2);max-width:620px}
.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.topic-grid--small{grid-template-columns:repeat(4,1fr)}
.topic-card{display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:var(--surface);border:1px solid var(--line);color:var(--charcoal);text-decoration:none;transition:transform 260ms cubic-bezier(.2,.7,.2,1),box-shadow 260ms}
.topic-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-warm)}
.topic-card[hidden]{display:none}
.topic-card__art{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--paper)}
.topic-card__art img{width:100%;height:100%;object-fit:cover;transition:transform 500ms}
.topic-card:hover .topic-card__art img{transform:scale(1.05)}
.topic-card__body{display:flex;flex-direction:column;gap:6px;padding:14px 18px 18px;flex:1}
.topic-card__title{font:500 26px/1.08 var(--serif);color:var(--ink-strong)}
.topic-card__summary{font-size:14.5px;color:var(--ink2);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.topic-card__ref{margin-top:auto;padding-top:4px;font:600 12.5px var(--sans);color:var(--gold-ink)}
.topic-group[hidden]{display:none}
.topic-find__none{margin:14px 0 0}
.hero--topics .hero__title{font-size:clamp(42px,6.4vw,76px)}

/* One topic */
.topic-hero .hero__title{font-size:clamp(46px,7vw,84px);margin-bottom:10px}
.topic-hero__in{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;padding-top:48px;padding-bottom:56px;text-align:left}
.topic-hero__text .hero__lead{margin:0;max-width:560px;text-align:left}
.topic-hero .crumb{margin:0 0 14px}.topic-hero .crumb a{font-weight:600;text-decoration:none}
.topic-hero__art img{display:block;width:100%;height:auto;aspect-ratio:16/11;object-fit:cover;border-radius:24px;box-shadow:var(--shadow-warm);-webkit-mask:var(--deckle-mask,none)}
.topic-key{padding-top:56px;padding-bottom:40px}
.topic-key__verse .locked-verse blockquote{font-size:clamp(26px,3vw,34px)}
.topic-key__why{margin:14px 0 0;font:500 16px/1.5 var(--sans);color:var(--ink)}
.topic-key__why a{font-weight:600;white-space:nowrap}
.topic-toc{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}
.topic-toc a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink-strong);font:600 14px var(--sans);text-decoration:none}
.topic-toc a:hover{border-color:var(--gold)}
.topic-verses__list{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:26px;counter-reset:v}
.topic-verses__list li{position:relative;padding-left:48px;counter-increment:v}
.topic-verses__list li::before{content:counter(v);position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font:700 13px var(--sans);color:var(--gold-ink)}
.topic-verses__why{margin:4px 0 10px;font-weight:600;color:var(--ink-strong)}
.topic-verses__ch{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;font:600 14px var(--sans)}
.topic-meaning p{font-size:18px;line-height:1.75}
.topic-meaning__label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px!important;color:var(--ink2);margin:6px 0 18px}
.topic-debate{margin:26px 0 0;padding:18px 20px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.topic-debate p{margin:10px 0 0;font-size:16px!important}
.topic-examples__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:22px}
.topic-example{display:flex;gap:18px;padding:16px;border-radius:22px;background:var(--surface);border:1px solid var(--line)}
.topic-example__art{flex:0 0 150px;border-radius:14px;overflow:hidden}
.topic-example__art img{width:100%;height:100%;object-fit:cover}
.topic-example__title{margin:0;font:500 24px/1.15 var(--serif);color:var(--ink-strong)}
.topic-example__ref{margin:4px 0 8px;font:600 13px var(--sans);color:var(--gold-ink)}
.topic-example p:not(.topic-example__ref){margin:0 0 10px;font-size:15.5px}
.topic-example__go{font:600 14px var(--sans)}
.topic-mentions__list{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:0}
.topic-mentions__list li{display:grid;grid-template-columns:200px 1fr;gap:16px;align-items:baseline;padding:14px 0;border-bottom:1px solid var(--line)}
.topic-mentions__list a{text-decoration:none}
.topic-mentions__list b{font:600 15px var(--sans);color:var(--royal)}
.topic-related .topic-grid{margin-top:20px}
.topic-note{margin-top:28px}
@media (max-width:1000px){.topic-grid,.topic-grid--small{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){
  .topic-grid,.topic-grid--small{grid-template-columns:1fr 1fr;gap:12px}
  .topic-card__title{font-size:21px}.topic-card__body{padding:12px 14px 14px}.topic-card__summary{font-size:13.5px}
  .topic-hero__in{grid-template-columns:1fr;gap:22px;padding-top:28px;padding-bottom:36px}
  .topic-hero__art{order:-1}
  .topic-examples__grid{grid-template-columns:1fr}
  .topic-example{flex-direction:column}.topic-example__art{flex-basis:auto;aspect-ratio:16/9}
  .topic-mentions__list li{grid-template-columns:1fr;gap:4px}
  .topic-verses__list li{padding-left:0}.topic-verses__list li::before{position:static;margin-bottom:8px}
}
.finder--topics{grid-template-columns:1fr!important}
.topic-grid{grid-template-columns:repeat(3,1fr)}@media (max-width:760px){.topic-grid{grid-template-columns:1fr 1fr}}

/* Topics on the home page and on story pages */
.home-topics .topic-grid{margin-top:4px}
.story-topics__list{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.story-topics__chip{min-height:44px;padding:0 18px;font-size:15px}
