/*
Theme Name: SMUG JID
Theme URI: https://ultrasoundtraining.co.uk
Author: JID
Description: Custom theme for Sports Medicine Ultrasound Group — Doppler pulse design system. Replaces Oxygen rendering; all content stays DB-driven.
Version: 1.19.11
Requires PHP: 7.4
Text Domain: smug-jid
*/

/* ─── tokens ─────────────────────────────────────────────── */
:root{
  --ink:#0C2140;
  --ink-soft:#132E56;
  --royal:#2F5597;
  --sky:#3A72B8;
  --ice:#EAF1F9;
  --paperwhite:#FFFFFF;
  --doppler:#F4562C;
  --doppler-deep:#D8431C;
  --royal-deep:#24447A;
  --body:#1B2B45;
  --body-inverse:#D8E4F4;
  --line:#C9D8EC;
  --radius-lg:20px;
  --radius:14px;
  --radius-sm:10px;
  --radius-pill:99px;
  /* one vertical rhythm for every band, set by the trust-badges row */
  --sec-y:56px;
  --font-display:"Archivo",system-ui,sans-serif;
  --font-body:"Source Sans 3","Segoe UI",system-ui,sans-serif;
  --shadow-panel:0 20px 60px rgba(12,33,64,.16);
  --z-nav:100;--z-drawer:200;--z-modal:300;--z-toast:400;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);color:var(--body);background:var(--paperwhite);font-size:17px;line-height:1.6}
img{max-width:100%;height:auto}
a{color:var(--royal);text-decoration:none}
a:hover{color:var(--royal-deep)}
h1,h2,h3,h4{font-family:var(--font-display);line-height:1.12;text-wrap:balance;color:var(--ink)}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
:focus-visible{outline:3px solid var(--doppler);outline-offset:2px;border-radius:4px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ─── buttons ─── */
.btn{display:inline-block;font-family:var(--font-display);font-weight:700;font-size:16.5px;padding:15px 30px;border-radius:var(--radius-pill);transition:transform .18s cubic-bezier(.16,1,.3,1),background .18s;cursor:pointer;border:0;line-height:1.2}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--royal);color:#fff}
.btn-primary:hover{background:var(--royal-deep);color:#fff}
/* The hero CTA and the nav button stay orange (John, 26 Aug). On the other
   dark bands a royal button all but disappears, so those flip to white. */
.hero .btn-primary{background:var(--doppler);color:#fff}
.hero .btn-primary:hover{background:var(--doppler-deep);color:#fff}
.ctaband .btn-primary,.courses-band .btn-primary{background:#fff;color:var(--ink)}
.ctaband .btn-primary:hover,.courses-band .btn-primary:hover{background:var(--ice);color:var(--ink)}
/* orange survives only where it is the point: the YouTube membership push */
.btn-yt{background:var(--doppler);color:#fff}
.btn-yt:hover{background:var(--doppler-deep);color:#fff}
/* .btn-ghost is drawn for the dark bands (white text on ink). Used on a
   white page it renders as an empty outline with invisible text, which is
   what happened to "All faculty" on the profile pages. Default it to the
   light-background treatment and opt INTO the pale version on dark. */
.btn-ghost{border:1.5px solid var(--line);color:var(--ink);background:transparent}
.btn-ghost:hover{border-color:var(--royal);color:var(--royal-deep)}
.hero .btn-ghost,.courses-band .btn-ghost,.ctaband .btn-ghost,.quotes-band .btn-ghost{border-color:rgba(216,228,244,.45);color:#fff}
.hero .btn-ghost:hover,.courses-band .btn-ghost:hover,.ctaband .btn-ghost:hover,.quotes-band .btn-ghost:hover{border-color:#fff;color:#fff}
.btn-royal{border:1.5px solid var(--royal);color:var(--royal);background:#fff}
.btn-royal:hover{background:var(--royal);color:#fff}

/* ─── announcement + nav ─── */
.announce{background:var(--ice);color:var(--royal);font-size:14.5px;font-weight:600;text-align:center;padding:9px 16px}
.announce a{border-bottom:1.5px solid var(--royal);color:var(--ink);padding-bottom:1px}
.site-nav{position:sticky;top:0;z-index:var(--z-nav);background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.site-nav .wrap{display:flex;align-items:center;gap:30px;height:76px}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-weight:800;font-size:27px;color:var(--royal);letter-spacing:-.01em}
.logo:hover{color:var(--royal)}
.logo svg{width:34px;height:34px;flex:none}
.logo-img{height:64px;width:auto;display:block}
.logo small{display:block;font-size:8.5px;font-weight:700;letter-spacing:.14em;color:var(--sky);font-family:var(--font-body)}
.nav-links{display:flex;gap:24px;margin-left:auto;font-weight:600;font-size:15.5px;list-style:none;align-items:center}
.nav-links a{color:var(--ink)}
.nav-links a:hover{color:var(--royal-deep)}
.nav-links .sub-menu{display:none;position:absolute;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:10px 0;min-width:230px;box-shadow:var(--shadow-panel);list-style:none;margin-top:10px}
.nav-links li{position:relative}
.nav-links li:hover>.sub-menu,.nav-links li:focus-within>.sub-menu{display:block}
.nav-links .sub-menu a{display:block;padding:8px 18px;font-size:15px}
.nav-cta{background:var(--doppler);color:#fff!important;font-weight:700;font-size:15px;padding:11px 22px;border-radius:var(--radius-pill);font-family:var(--font-display);white-space:nowrap}
.nav-cta:hover{background:var(--doppler-deep)}
.nav-burger{display:none;margin-left:auto;background:none;border:0;cursor:pointer;padding:8px}
.nav-burger span{display:block;width:26px;height:3px;background:var(--ink);margin:5px 0;border-radius:2px}
/* drawer lives OUTSIDE the header (containing-block rule) */
.mobile-drawer{position:fixed;inset:0;background:var(--ink);z-index:var(--z-drawer);display:none;flex-direction:column;padding:90px 32px 40px;overflow-y:auto}
.mobile-drawer.open{display:flex}
.mobile-drawer a{color:#fff;font-family:var(--font-display);font-size:24px;font-weight:700;padding:12px 0;border-bottom:1px solid rgba(216,228,244,.12)}
.mobile-drawer .drawer-close{position:absolute;top:24px;right:24px;background:none;border:0;color:#fff;font-size:34px;cursor:pointer;line-height:1}

/* ─── hero (front page) ─── */
.hero{background:var(--ink);position:relative;overflow:hidden;color:var(--body-inverse)}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;padding:64px 24px 76px}
.hero h1{color:#fff;font-size:clamp(2.4rem,4.6vw,4.1rem);font-weight:750;font-stretch:105%;letter-spacing:-.02em;margin-bottom:22px}
.hero h1 em{font-style:normal;color:#8FC1F2}
.hero p{font-size:19.5px;max-width:33rem;margin-bottom:34px}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap}
.hero-trust{margin-top:38px;font-size:14px;letter-spacing:.03em;color:#9DB4D6}
.hero-photo{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-panel)}
.hero-photo img{width:100%;height:460px;object-fit:cover;object-position:center 22%;filter:saturate(.82) contrast(1.04);display:block}
.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(200deg,rgba(12,33,64,0) 55%,rgba(12,33,64,.55));mix-blend-mode:multiply}
.pulse{position:absolute;pointer-events:none;opacity:.5}
.pulse circle{fill:none;stroke:#3A72B8;stroke-width:1.5}
.pulse--hero{right:-160px;top:-160px;width:520px;height:520px;opacity:.35}
.arc-live{animation:arc-sweep 4.5s cubic-bezier(.16,1,.3,1) infinite;transform-origin:center}
@keyframes arc-sweep{0%{opacity:0;transform:scale(.55)}35%{opacity:.8}100%{opacity:0;transform:scale(1.25)}}
@media (prefers-reduced-motion:reduce){.arc-live{animation:none;opacity:.5}}
/* a scrolling strip is motion — stop it and let the set wrap instead */
@media (prefers-reduced-motion:reduce){
  .logo-track{animation:none;width:auto;flex-wrap:wrap;justify-content:center}
  .logo-set{flex-wrap:wrap;justify-content:center;padding-right:0}
  .logo-set[aria-hidden="true"]{display:none}
}

/* ─── page hero (inner pages) ─── */
/* the blue title band was eating too much of the first fold on every archive
   and page, not just the product pages (client, 25 Aug 2026) */
.page-hero{background:var(--ink);color:#fff;padding:36px 0 40px;position:relative;overflow:hidden}
.page-hero h1{color:#fff;font-size:clamp(1.75rem,3vw,2.5rem);font-weight:740;letter-spacing:-.018em}
.page-hero .crumbs{font-size:13.5px;color:#9DB4D6;margin-bottom:14px;letter-spacing:.03em}
.page-hero .crumbs a{color:#B9CCE8}


/* ─── sections ─── */
.sec-head{max-width:640px;margin-bottom:64px}
.sec-head h2{font-size:clamp(1.9rem,3.1vw,2.7rem);font-weight:730;letter-spacing:-.015em;margin-bottom:14px}
.sec-head p{font-size:18.5px;color:#3D5170}
.pathway{padding:var(--sec-y) 0;background:#fff;position:relative;overflow:hidden}
.path-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;position:relative}
.path-line{position:absolute;top:26px;left:6%;right:6%;height:2.5px;background:linear-gradient(90deg,var(--doppler) 0%,var(--doppler) 74%,var(--line) 74%);border-radius:2px}
.pstep{position:relative;padding-top:64px}
.pnum{position:absolute;top:0;left:0;width:52px;height:52px;border-radius:50%;background:#fff;border:2.5px solid var(--doppler);color:var(--doppler-deep);font-family:var(--font-display);font-weight:800;font-size:19px;display:grid;place-items:center}
.pstep:last-child .pnum{border-color:var(--line);color:#7C8FA9}
.pstep h3{font-size:19.5px;margin-bottom:8px}
.pstep p{font-size:15.5px;color:#4A5E7C}
.pstep a{font-weight:700;font-size:15px;display:inline-block;margin-top:10px}
.pstep a::after{content:" \2192"}

/* ─── course cards / drench ─── */
.courses-band{background:var(--ink);padding:var(--sec-y) 0;position:relative;overflow:hidden}
.courses-band .sec-head h2{color:#fff}
.courses-band .sec-head p{color:#9DB4D6}
.course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.ccard{background:#fff;border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;transition:transform .22s cubic-bezier(.16,1,.3,1)}
.ccard:hover{transform:translateY(-5px)}
.ccard-img{height:172px;overflow:hidden;position:relative}
.ccard-img img{width:100%;height:100%;object-fit:cover;filter:saturate(.85);display:block}
/* every course type shares the Introduction blue — the badge says the
   type, the colour is not doing a second job */
.pill.cad,.pill.adv,.pill.intro,.pill.mc,.pill.onsite,.pill.elearn{background:rgba(58,114,184,.94)}
.pill{position:absolute;top:14px;left:14px;background:rgba(12,33,64,.85);color:#fff;font-family:var(--font-display);font-size:12px;font-weight:700;letter-spacing:.05em;padding:6px 13px;border-radius:var(--radius-pill);backdrop-filter:blur(4px)}
.ccard-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.ccard h3{font-size:19px;margin-bottom:8px}
.ccard h3 a{color:var(--ink)}
.cmeta{font-size:14px;color:#5A6E8C;margin-bottom:14px}
.cfoot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.cprice{font-family:var(--font-display);font-weight:800;font-size:21px;color:var(--ink)}
.cprice span{font-size:12.5px;font-weight:600;color:#7C8FA9;display:block}
.cbook{font-family:var(--font-display);font-weight:700;font-size:14.5px;color:var(--royal);border:1.5px solid var(--royal);padding:9px 18px;border-radius:var(--radius-pill);white-space:nowrap}
.cbook:hover{background:var(--royal);color:#fff}
.courses-all{text-align:center;margin-top:44px}

/* ─── faculty ─── */
.faculty-band{padding:var(--sec-y) 0;background:var(--ice)}
.fac-grid{display:flex;gap:34px;align-items:flex-start;flex-wrap:wrap}
.fac-copy{flex:1 1 320px;max-width:420px}
.fac-copy h2{font-size:clamp(1.9rem,3vw,2.6rem);font-weight:730;margin-bottom:16px}
.fac-copy p{color:#3D5170;font-size:18px;margin-bottom:24px}
.fac-people{flex:2 1 480px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:26px}
.person{text-align:center}
.person img{width:100%;aspect-ratio:1/1;border-radius:var(--radius);object-fit:cover;margin:0 auto 12px;display:block;box-shadow:0 8px 24px rgba(12,33,64,.14);transition:transform .25s cubic-bezier(.16,1,.3,1)}
.person a:hover img{transform:translateY(-3px)}
.person b{display:block;font-family:var(--font-display);font-size:16px;color:var(--ink)}
.person b a{color:var(--ink)}
.person span{font-size:13.5px;color:#5A6E8C}
/* faculty archive grid */
.fac-archive{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:34px;padding:var(--sec-y) 0}

/* ─── trust wall ─── */
.trust-band{padding:var(--sec-y) 0;background:#fff}
.trust-band h2{text-align:center;font-size:21px;font-weight:700;color:#3D5170;margin-bottom:40px}
/* endless-loop carousel: the track holds the logo set twice and slides
   exactly -50%, so the second copy lands where the first began */
.logo-marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.logo-track{display:flex;width:max-content;animation:logo-scroll 34s linear infinite}
/* pause on hover only where hover exists: a phone leaves :hover stuck on the
   last thing tapped, which froze the carousel mid-logo (Helen, 30 Oct 2026) */
@media (hover:hover){.logo-marquee:hover .logo-track{animation-play-state:paused}}
.logo-set{display:flex;align-items:center;gap:64px;padding-right:64px;flex:none}
@keyframes logo-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* "Reduce motion" on: the global rule above collapses the animation to a
   frozen frame, so show the set once as a static wrapped wall instead */
@media (prefers-reduced-motion:reduce){
  .logo-marquee{-webkit-mask-image:none;mask-image:none}
  .logo-track{animation:none;width:auto}
  .logo-set{flex-wrap:wrap;justify-content:center;padding-right:0;gap:28px 40px}
  .logo-set[aria-hidden]{display:none}
}
.logo-wall{display:flex;gap:52px;align-items:center;justify-content:center;flex-wrap:wrap}
/* full colour, always — the client asked for the logos to read at a glance
   rather than only revealing on hover (22 Aug 2026) */
.logo-set img{height:70px;width:auto;flex:none;transition:transform .2s}
.logo-set img:hover{transform:scale(1.06)}
.logo-wall img{height:70px;width:auto;transition:transform .2s}
.logo-wall img:hover{transform:scale(1.05)}

/* ─── quotes + cta band + footer ─── */
.quotes-band{background:var(--ink);padding:var(--sec-y) 0;position:relative;overflow:hidden}
.quote-panel{background:#fff;border-radius:var(--radius-lg);padding:44px 48px;max-width:760px;margin:0 auto;text-align:center;position:relative;z-index:1}
.quote-panel blockquote{font-family:var(--font-display);font-size:clamp(1.2rem,2vw,1.55rem);font-weight:600;line-height:1.4;color:var(--ink);margin-bottom:18px}
.quote-panel cite{font-style:normal;font-size:15px;color:#5A6E8C;font-weight:600}
.stars{color:var(--doppler);letter-spacing:3px;font-size:18px;margin-bottom:14px}
.ctaband{background:linear-gradient(135deg,var(--royal),var(--ink) 78%);padding:var(--sec-y) 0;text-align:center;position:relative;overflow:hidden}
.ctaband h2{color:#fff;font-size:clamp(1.9rem,3.4vw,2.8rem);font-weight:750;margin-bottom:14px}
.ctaband p{color:#B9CCE8;font-size:18.5px;margin-bottom:32px}
.site-footer{background:var(--ink);color:#8FA5C6;padding:var(--sec-y) 0 32px;font-size:15px}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:44px;margin-bottom:44px}
.site-footer h4{color:#fff;font-size:15px;letter-spacing:.05em;margin-bottom:16px}
.site-footer a{color:#8FA5C6;display:block;margin-bottom:9px}
.site-footer a:hover{color:#fff}
.site-footer ul{list-style:none}
.foot-fold{border:0;margin:0;padding:0;background:transparent}
.foot-fold>summary{list-style:none;cursor:pointer;color:#fff;font-family:var(--font-display);font-weight:700;font-size:15px;letter-spacing:.05em;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.foot-fold>summary::-webkit-details-marker{display:none}
.foot-fold>summary::after{content:"+";font-size:20px;font-weight:600;color:#fff;line-height:1}
.foot-fold[open]>summary::after{content:"\2212"}
.foot-fold-body{padding:0 0 6px}
.foot-fold-body a{display:block;margin-bottom:9px}
.foot-logo{font-family:var(--font-display);font-weight:800;font-size:24px;color:#fff;margin-bottom:12px}
.foot-base{border-top:1px solid rgba(143,165,198,.2);padding-top:22px;font-size:13.5px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}

/* ─── generic content (pages + posts) ─── */
.content-shell{padding:var(--sec-y) 0}
.entry{max-width:820px;margin:0 auto}
.entry h2{font-size:clamp(1.5rem,2.4vw,2rem);margin:44px 0 16px}
.entry h3{font-size:1.35rem;margin:34px 0 12px}
.entry p{margin-bottom:18px;text-wrap:pretty}
.entry ul,.entry ol{margin:0 0 18px 24px}
.entry li{margin-bottom:8px}
.entry img{border-radius:var(--radius);margin:26px 0}
.entry iframe{max-width:100%;border-radius:var(--radius)}
.entry blockquote{border-left:0;background:var(--ice);border-radius:var(--radius);padding:22px 26px;margin:26px 0;font-weight:600}
.entry a{font-weight:600;text-decoration:underline;text-underline-offset:3px}
.entry .wp-block-button__link,.entry .button{text-decoration:none}

/* ─── blog ─── */
.post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px;padding:var(--sec-y) 0}
.pcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s cubic-bezier(.16,1,.3,1)}
.pcard:hover{transform:translateY(-4px)}
.pcard-img{height:190px;overflow:hidden}
.pcard-img img{width:100%;height:100%;object-fit:cover;display:block}
.pcard-body{padding:22px 24px 26px;display:flex;flex-direction:column;flex:1}
.pcard h3{font-size:19px;margin-bottom:10px}
.pcard h3 a{color:var(--ink)}
.pcard time{font-size:13.5px;color:#7C8FA9;margin-bottom:10px;display:block}
.pcard p{font-size:15px;color:#4A5E7C}
.pagination{display:flex;gap:8px;justify-content:center;padding-bottom:70px;font-family:var(--font-display);font-weight:700}
.pagination .page-numbers{padding:9px 16px;border:1.5px solid var(--line);border-radius:var(--radius-sm);color:var(--royal)}
.pagination .current{background:var(--royal);color:#fff;border-color:var(--royal)}

/* ─── WooCommerce reskin ─── */
.woocommerce-shell{padding:var(--sec-y) 0}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;list-style:none;margin:0!important;padding:0!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;margin:0!important;width:auto!important;float:none!important;transition:transform .2s}
.woocommerce ul.products li.product:hover{transform:translateY(-4px)}
.woocommerce ul.products li.product img{width:100%;height:186px;object-fit:cover;margin:0!important;filter:saturate(.85)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--font-display);font-size:19px;color:var(--ink);padding:20px 22px 8px}
.woocommerce ul.products li.product .price{padding:0 22px;font-family:var(--font-display);font-weight:800;font-size:19px;color:var(--ink)!important}
.woocommerce ul.products li.product .button{margin:16px 22px 22px;background:var(--royal);color:#fff;border-radius:var(--radius-pill);font-family:var(--font-display);font-weight:700;text-align:center}
.woocommerce ul.products li.product .button:hover{background:var(--royal-deep)}
.woocommerce ul.products li.product .onsale{background:var(--royal);border-radius:var(--radius-pill);font-family:var(--font-display)}
.woocommerce div.product .product_title{font-size:clamp(1.7rem,2.8vw,2.4rem);font-weight:740}
.woocommerce div.product p.price{font-family:var(--font-display);font-weight:800;font-size:26px;color:var(--ink)}
.woocommerce div.product form.cart .button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--royal);border-radius:var(--radius-pill);font-family:var(--font-display);font-weight:700;padding:14px 30px}
.woocommerce div.product form.cart .button:hover,.woocommerce a.button.alt:hover{background:var(--royal-deep)}
.woocommerce div.product form.cart{background:var(--ice);border-radius:var(--radius-lg);padding:26px}
.woocommerce div.product form.cart .variations select{border-radius:var(--radius-sm);padding:10px 14px;border:1.5px solid var(--line)}
.woocommerce nav.woocommerce-breadcrumb{font-size:13.5px;color:#7C8FA9}
.woocommerce .woocommerce-tabs ul.tabs{border:0}
.woocommerce .woocommerce-tabs ul.tabs li{background:var(--ice);border:0;border-radius:var(--radius-pill);margin-right:8px}
.woocommerce .woocommerce-tabs ul.tabs li.active{background:var(--royal)}
.woocommerce .woocommerce-tabs ul.tabs li.active a{color:#fff}
.woocommerce .related.products>h2,.woocommerce .woocommerce-tabs h2{font-size:1.5rem;margin-bottom:18px}
.woocommerce-message,.woocommerce-info{border-top-color:var(--royal)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--royal)}

/* ─── legacy extracted content ─── */
.entry .legacy-sec{margin:0 0 44px}
.entry .legacy-sec .legacy-sec{margin:0}
.legacy-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px;align-items:start}
.entry .legacy-sec h2{margin-top:0}
.entry .legacy-sec h4{font-size:14px;letter-spacing:.09em;text-transform:uppercase;color:var(--sky);margin:40px 0 18px}
.entry .legacy-sec div>h2{font-size:1.25rem;margin:26px 0 8px}
/* Forminator reskin */
.forminator-custom-form{background:var(--ice);border-radius:var(--radius-lg);padding:30px 32px!important}
.forminator-custom-form .forminator-input,.forminator-custom-form .forminator-textarea,.forminator-custom-form select{border-radius:var(--radius-sm)!important;border:1.5px solid var(--line)!important;padding:12px 14px!important;font-family:var(--font-body)!important}
.forminator-custom-form .forminator-button-submit,.forminator-custom-form button[type=submit]{background:var(--royal)!important;border-radius:var(--radius-pill)!important;font-family:var(--font-display)!important;font-weight:700!important;padding:13px 30px!important;border:0!important;color:#fff!important}
.forminator-custom-form .forminator-button-submit:hover{background:var(--royal-deep)!important}
.forminator-custom-form .forminator-label{font-weight:600!important;color:var(--ink)!important}

/* ─── single course (product) ─── */
/* the course photo is the hero background now, so the block can be tighter
   and the title smaller — it no longer competes with a slab image below */
.smug-product-hero{padding:36px 0 40px}
.smug-product-hero--photo{background-size:cover;background-position:center 30%}
.smug-product-hero h1{font-size:clamp(1.65rem,2.9vw,2.35rem);max-width:22ch}
.crumbs-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:10px}
.crumbs-row .crumbs{margin-bottom:0}
.smug-product-hero .pill{position:static;display:inline-block}
.smug-product-grid{display:grid;grid-template-columns:1fr 380px;gap:44px;align-items:start;padding:var(--sec-y) 24px}
.smug-product-photo{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-panel);margin-bottom:40px}
.smug-product-photo img{width:100%;max-height:440px;object-fit:cover;display:block;filter:saturate(.88)}
.smug-product-sec{margin-bottom:44px;max-width:none}
.smug-product-sec h2{font-size:clamp(1.35rem,2.2vw,1.7rem);margin:0 0 16px;padding-bottom:10px;border-bottom:2.5px solid var(--ice)}
.smug-product-sec h2::first-letter{text-transform:uppercase}
.smug-book{position:sticky;top:100px}
.smug-book-card{background:var(--ice);border-radius:var(--radius-lg);padding:30px 30px 26px;box-shadow:0 12px 40px rgba(12,33,64,.10)}
.smug-book-card h3{font-size:20px;margin-bottom:10px}
.smug-book-price p.price{font-size:30px!important;margin:0 0 4px;font-family:var(--font-display);font-weight:800;color:var(--ink)!important}
.smug-book-price .woocommerce-price-suffix{font-size:14px;font-weight:600;color:#5A6E8C}
.smug-book-points{font-size:14.5px;color:#33456299;margin:14px 0 6px}
.smug-book-points ul{list-style:none;margin:0}
.smug-book-points li{position:relative;padding-left:24px;margin-bottom:9px;color:#334562}
.smug-book-points li::before{content:"";position:absolute;left:0;top:7px;width:9px;height:9px;border-radius:50%;border:2.5px solid var(--royal)}
.smug-book-points p{color:#334562;margin-bottom:10px}
.smug-book-form form.cart{background:transparent!important;padding:0!important;margin:14px 0 0}
.smug-book-form table.variations{width:100%;margin-bottom:12px}
.smug-book-form table.variations td,.smug-book-form table.variations th{padding:0 0 10px;border:0}
.smug-book-form .variations label{font-weight:700;color:var(--ink);font-size:14px;text-transform:capitalize}
.smug-book-form select{width:100%;border-radius:var(--radius-sm);padding:12px 14px;border:1.5px solid var(--line);background:#fff;font-family:var(--font-body);font-size:15px}
.smug-book-form .reset_variations{font-size:13px}
.smug-book-form .quantity{display:none}
.smug-book-form .single_add_to_cart_button,.smug-book-form .woocommerce-variation-add-to-cart .button{width:100%;background:var(--royal)!important;border-radius:var(--radius-pill)!important;font-family:var(--font-display)!important;font-weight:700!important;font-size:16.5px!important;padding:15px 24px!important;color:#fff!important;border:0!important}
.smug-book-form .single_add_to_cart_button:hover{background:var(--royal-deep)!important}
.smug-book-form .single_add_to_cart_button.disabled{opacity:.55}
.smug-book-form .woocommerce-variation-price{margin-bottom:12px;font-family:var(--font-display);font-weight:800;font-size:20px;color:var(--ink)}
.smug-book-form .woocommerce-variation-availability{font-size:14px}
.smug-book-form .stock.out-of-stock{color:var(--doppler-deep);font-weight:700}
.smug-book-note{font-size:13.5px;color:#5A6E8C;margin-top:16px}
.smug-book-note a{font-weight:700}
.smug-book-cancel{margin-top:18px;padding-top:16px;border-top:1px solid rgba(12,33,64,.14);font-size:13.5px;color:#5A6E8C}
.smug-book-cancel h4{font-size:14px;margin:0 0 8px;color:var(--ink)}
.smug-book-cancel ul{list-style:none;margin:0 0 8px;padding:0}
.smug-book-cancel li{margin-bottom:5px;line-height:1.45}
.smug-book-cancel li b{color:#334562}
.smug-book-cancel a{font-weight:700;text-decoration:underline;text-underline-offset:2px}
.smug-product .product_meta{display:none}
.smug-product .related.products{padding:24px 24px 60px;max-width:1180px;margin:0 auto}
.smug-product .related.products>h2{font-family:var(--font-display);font-size:clamp(1.5rem,2.6vw,2rem);margin-bottom:26px}
/* archive card polish */
.ccard{border:1px solid var(--line);box-shadow:0 6px 22px rgba(12,33,64,.06)}
.ccard:hover{box-shadow:0 18px 44px rgba(12,33,64,.14);border-color:#B4C8E4}
.ccard-img{height:auto;aspect-ratio:16/9}
.ccard h3{min-height:2.35em}
/* price on ONE line, always */
.cprice{display:flex;align-items:baseline;gap:7px;white-space:nowrap;flex-wrap:nowrap}
.cprice>span:first-child{display:inline;font-size:13px}
.cprice .woocommerce-Price-amount,.cprice bdi{white-space:nowrap;font-size:21px;font-weight:800;color:var(--ink);font-family:var(--font-display)}
/* minimal product page */
.smug-product-photo--slim img{max-height:260px}
.smug-fold{border:1.5px solid var(--line);border-radius:var(--radius);margin-bottom:16px;background:#fff}
.smug-fold summary{cursor:pointer;font-family:var(--font-display);font-weight:700;font-size:17px;color:var(--ink);padding:18px 22px;list-style:none;display:flex;align-items:center;justify-content:space-between}
.smug-fold summary::-webkit-details-marker{display:none}
.smug-fold summary::after{content:"+";font-size:22px;color:var(--royal);font-weight:600;line-height:1}
.smug-fold[open] summary::after{content:"\2212"}
.smug-fold .fold-body{padding:0 22px 22px}
.fold-body>h2:first-child{display:none}
.smug-book-points li:nth-child(n+4){display:none}
.smug-book-points{font-size:14px}
.smug-book-card h3{font-size:18px}

/* ─── YouTube announce bar ─── */
.announce--yt{background:var(--ink);color:#fff;padding:0}
.announce--yt a{display:flex;align-items:center;justify-content:center;gap:12px;padding:11px 16px;color:#fff;border:0;flex-wrap:wrap}
.announce--yt a:hover{color:#fff}
.announce--yt a:hover .announce-go{background:var(--doppler-deep)}
.announce--yt strong{font-weight:700;font-size:15px}
.yt-mark{width:26px;height:26px;color:#FF0033;flex:none}
.announce-go{background:var(--doppler);color:#fff;font-family:var(--font-display);font-weight:700;font-size:13px;padding:5px 14px;border-radius:var(--radius-pill);transition:background .2s}

/* ─── nav dropdown affordance ─── */
.nav-links li.has-sub>a::after{content:"";display:inline-block;width:6px;height:6px;margin-left:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.55}
.nav-links li.has-sub{padding-bottom:14px;margin-bottom:-14px}
.nav-links .sub-menu a:hover{background:var(--ice);color:var(--royal-deep)}

/* ─── mobile drawer submenus ─── */
.drawer-group{border-bottom:1px solid rgba(216,228,244,.12)}
.drawer-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;color:#fff;font-family:var(--font-display);font-size:24px;font-weight:700;padding:12px 0;cursor:pointer;text-align:left}
.drawer-sub{display:none;padding:0 0 10px 14px}
.drawer-group.open .drawer-sub{display:block}
.drawer-group.open .drawer-toggle span{transform:rotate(45deg)}
.drawer-toggle span{transition:transform .18s;display:inline-block;font-weight:400;opacity:.7}
.drawer-sub a{font-size:18px;font-weight:600;padding:9px 0;border-bottom:0;opacity:.86}
.drawer-yt{color:var(--doppler)!important;font-size:19px!important}

/* ─── homepage trust badges ─── */
.badges-band{background:var(--ice);padding:var(--sec-y) 0}
.badge-row{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.tbadge{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:26px 22px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
.tbadge-ico{width:52px;height:52px;border-radius:50%;background:var(--ice);color:var(--royal);display:grid;place-items:center;flex:none}
.tbadge-ico svg{width:27px;height:27px}
.tbadge b{font-family:var(--font-display);font-size:16.5px;color:var(--ink);line-height:1.25}
.tbadge-sub{font-size:14.5px;color:#5A6E8C;line-height:1.45}

/* ─── pathway → YouTube membership CTA ─── */
.path-yt{margin-top:56px;background:var(--ink);border-radius:var(--radius-lg);padding:34px 38px;display:flex;align-items:center;gap:30px;flex-wrap:wrap;justify-content:space-between}
.path-yt-eyebrow{font-family:var(--font-display);font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--doppler)}
.path-yt h3{color:#fff;font-size:25px;margin:6px 0 8px}
.path-yt p{color:#9DB4D6;font-size:16.5px;max-width:640px}
.path-yt .btn{flex:none}

/* ─── course toolbar: filter + search + chips ─── */
.course-toolbar{padding:34px 0 4px}
.course-filter{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;background:var(--ice);border:1px solid var(--line);border-radius:var(--radius-lg);padding:20px 22px}
.cf-label{display:block;font-family:var(--font-display);font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#5A6E8C;margin-bottom:6px}
.cf-select,.cf-search{display:block}
.cf-search{flex:1 1 260px}
.course-filter select,.course-filter input[type=search]{font-family:var(--font-body);font-size:16px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:var(--radius-pill);padding:11px 18px;width:100%;min-width:200px}
.course-filter select:focus,.course-filter input:focus{outline:3px solid var(--doppler);outline-offset:1px}
.cf-go{flex:none}
.cf-clear{align-self:center;font-size:15px;font-weight:600;color:#5A6E8C;border-bottom:1.5px solid var(--line)}
.course-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
.chip{font-family:var(--font-display);font-size:14px;font-weight:700;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:var(--radius-pill);padding:8px 16px;transition:background .18s,border-color .18s,color .18s}
.chip:hover{border-color:var(--royal);color:var(--royal-deep)}
.chip--on{background:var(--ink);border-color:var(--ink);color:#fff}
.chip--on:hover{color:#fff;border-color:var(--ink)}
.course-empty{grid-column:1/-1;text-align:center;color:#5A6E8C;font-size:17px;padding:40px 0}

/* compact grid — roughly half the previous tile size so more scan at once */
.course-grid--compact{grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:20px}
.course-grid--compact .ccard-img{height:126px}
.course-grid--compact .ccard-body{padding:16px 17px 18px}
.course-grid--compact .ccard h3{font-size:16.5px;line-height:1.22}
.course-grid--compact .cmeta{font-size:13px;margin-bottom:11px}
.course-grid--compact .cprice{font-size:18px}
.course-grid--compact .cbook{font-size:13.5px;padding:8px 15px}
.course-grid--compact .pill{font-size:10.5px;padding:5px 10px;top:11px;left:11px}

/* ─── faculty: square cards ─── */
.fac-archive--square{grid-template-columns:repeat(auto-fill,minmax(216px,1fr));gap:26px}
.fcard{display:block;text-align:left}
.fcard-img{position:relative;display:block;aspect-ratio:1/1;border-radius:var(--radius);overflow:hidden;background:var(--ice);margin-bottom:12px}
.fcard-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.fcard-blank{width:100%;height:100%;display:grid;place-items:center;font-family:var(--font-display);font-size:54px;font-weight:800;color:var(--royal);opacity:.35}
.fcard-veil{position:absolute;inset:0;background:linear-gradient(to top,rgba(12,33,64,.86),rgba(12,33,64,0) 62%);opacity:0;transition:opacity .25s;display:flex;align-items:flex-end;padding:16px}
.fcard-veil span{font-family:var(--font-display);font-weight:700;font-size:14.5px;color:#fff;border-bottom:2px solid var(--sky);padding-bottom:2px}
.fcard:hover .fcard-veil,.fcard:focus-visible .fcard-veil{opacity:1}
.fcard:hover .fcard-img img{transform:scale(1.06)}
.fcard-name{display:block;font-family:var(--font-display);font-size:17px;color:var(--ink);line-height:1.25}
.fcard:hover .fcard-name{color:var(--royal-deep)}
.fcard-role{display:block;font-size:14px;color:#5A6E8C;margin-top:4px;line-height:1.4}

/* ─── faculty profile (CPh Meet the Team pattern) ─── */
.page-hero--profile{padding-bottom:26px}
.profile-shell{display:grid;grid-template-columns:300px 1fr;gap:46px;padding:44px 0 84px;align-items:start}
.profile-photo{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--radius-lg);display:block}
.profile-ctas{display:flex;flex-direction:column;gap:12px;margin-top:20px}
.profile-ctas .btn{text-align:center}
.profile-yt{font-size:15px;font-weight:600;color:var(--royal);text-align:center;border-bottom:1.5px solid var(--line);padding-bottom:3px}
.profile-main h1{font-size:clamp(2rem,3.4vw,2.7rem);margin-bottom:8px}
.profile-role{font-family:var(--font-display);font-size:17px;font-weight:600;color:var(--royal-deep);line-height:1.45;margin-bottom:22px}
.profile-bio p{margin-bottom:16px}

/* ─── resources hubs ─── */
.hub-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:var(--sec-y) 0 10px}
.hub{display:flex;flex-direction:column;gap:9px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:26px 26px 24px;transition:transform .22s cubic-bezier(.16,1,.3,1),border-color .22s}
.hub:hover{transform:translateY(-4px);border-color:var(--royal)}
.hub h2{font-size:23px}
.hub p{font-size:15.5px;color:#5A6E8C;flex:1}
.hub-tag{align-self:flex-start;font-family:var(--font-display);font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:var(--ice);color:var(--royal);padding:5px 12px;border-radius:var(--radius-pill)}
.hub-tag--paid{background:rgba(244,86,44,.13);color:var(--doppler-deep)}
.hub-tag--yt{background:rgba(255,0,51,.11);color:#C8102E}
.hub-go{font-family:var(--font-display);font-weight:700;font-size:15px;color:var(--royal-deep)}
.hub-go::after{content:" →"}
.blog-toolbar{padding:34px 0 0}

/* ─── FAQ accordions ─── */
.faq-shell{padding:var(--sec-y) 0;max-width:840px}
.faq-search{margin-bottom:34px}
.faq-search .cf-search{display:block}
.faq-search input[type=search]{font-family:var(--font-body);font-size:16.5px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:var(--radius-pill);padding:13px 20px;width:100%}
.faq-search input:focus{outline:3px solid var(--doppler);outline-offset:1px}
.faq-count{font-size:14px;color:#5A6E8C;margin-top:9px}
.faq-group{margin-bottom:38px}
.faq-cat{font-size:14px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--royal);margin-bottom:14px}
.faq-item{border:1px solid var(--line);border-radius:var(--radius);margin-bottom:10px;background:#fff;overflow:hidden}
.faq-item[open]{border-color:var(--royal);box-shadow:0 6px 20px rgba(12,33,64,.07)}
.faq-item summary{cursor:pointer;list-style:none;padding:17px 52px 17px 20px;font-family:var(--font-display);font-weight:700;font-size:17px;color:var(--ink);position:relative;line-height:1.35}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"";position:absolute;right:22px;top:50%;width:9px;height:9px;border-right:2.5px solid var(--royal);border-bottom:2.5px solid var(--royal);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
.faq-item[open] summary::after{transform:translateY(-30%) rotate(225deg);border-color:var(--royal-deep)}
.faq-item summary:hover{color:var(--royal-deep)}
.faq-a{padding:0 20px 19px;color:#3D5170;font-size:16.5px;line-height:1.6}
.faq-a a{border-bottom:1.5px solid var(--line)}
.faq-a p,.faq-a ul{margin:0 0 12px}.faq-a ul{padding-left:20px}.faq-a li{margin-bottom:4px}.faq-a>:last-child{margin-bottom:0}
.faq-none{text-align:center;color:#5A6E8C;padding:30px 0}

/* ─── responsive: tablet ─── */
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;padding:48px 24px 56px}
  .hero-photo img{height:320px}
  .path-steps{grid-template-columns:1fr 1fr;gap:34px}
  .path-line{display:none}
  .foot-grid{grid-template-columns:1fr 1fr}
  .nav-links{display:none}
  .nav-burger{display:block}
  .smug-product-grid{grid-template-columns:1fr;gap:30px}
  .smug-book{position:static;max-width:560px}
}

/* ─── responsive: mobile — centred, breathing edges, card-soft ─── */
@media (max-width:560px){
  :root{--edge:22px;--sec-y:42px}
  body{font-size:16px}
  .wrap{padding-left:var(--edge);padding-right:var(--edge)}

  /* nav + announce */
  .announce{font-size:13px;padding:8px var(--edge)}
  .site-nav .wrap{height:64px;gap:16px}
  .logo{font-size:22px}
  .logo svg{width:28px;height:28px}
  .logo-img{height:38px}
  .nav-cta{display:none}

  /* hero — centred composition, photo as a framed card */
  .hero-grid{padding:44px var(--edge) 52px;gap:30px;text-align:center;justify-items:center}
  .hero h1{font-size:clamp(2.05rem,8.6vw,2.5rem);letter-spacing:-.015em}
  .hero p{font-size:17.5px;margin-left:auto;margin-right:auto}
  .hero-ctas{justify-content:center;width:100%}
  .hero-ctas .btn{flex:1 1 auto;max-width:320px;text-align:center}
  .hero-trust{margin-top:30px;font-size:13.5px}
  .hero-photo{width:100%;border-radius:var(--radius-lg)}
  .hero-photo img{height:240px}
  .pulse--hero{right:-200px;top:-200px}


  /* sections — centred heads, tighter rhythm */
  .sec-head{margin-bottom:38px;text-align:center;margin-left:auto;margin-right:auto}
  .sec-head p{font-size:17px}
  .path-steps{grid-template-columns:1fr;gap:30px;max-width:340px;margin:0 auto}
  .pstep{padding-top:66px;text-align:center}
  .pnum{left:50%;transform:translateX(-50%)}

  .course-grid{gap:18px;max-width:400px;margin:0 auto}
  .ccard{border-radius:var(--radius-lg)}
  .ccard-img{height:158px}
  .ccard-body{text-align:center}
  .cfoot{flex-direction:column;gap:12px}
  .cfoot .cbook{width:100%;max-width:260px;text-align:center;padding:11px 18px}
  .cprice span{display:inline;margin-right:4px}
  .courses-all{margin-top:30px}
  .courses-all .btn{width:100%;max-width:320px}

  .fac-grid{text-align:center;justify-content:center}
  .fac-copy{margin:0 auto}
  .fac-people{grid-template-columns:repeat(2,1fr);gap:20px}
  .person img{width:100%}

  .logo-set{gap:38px;padding-right:38px}
  .logo-set img{height:48px}
  .logo-track{animation-duration:22s}
  /* a narrower edge fade on phones: 8% of a 390px screen hid half a logo */
  .logo-marquee{-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
  .logo-wall{gap:26px 34px}
  .logo-wall img{height:48px}

  .quote-panel{padding:30px 22px;border-radius:var(--radius-lg)}

  .ctaband .btn{width:calc(100% - 2*var(--edge));max-width:320px}

  /* inner pages */
  .page-hero{padding:28px 0 32px;text-align:center}
  .page-hero .crumbs{font-size:12.5px}
  .entry{text-align:left}
  .entry img,.entry iframe{border-radius:var(--radius-sm)}
  .entry iframe{height:auto;aspect-ratio:16/9;width:100%}
  .entry table{display:block;overflow-x:auto;border-radius:var(--radius-sm)}
  .legacy-cols{gap:22px}
  .entry .legacy-sec{margin-bottom:34px}
  .entry .legacy-sec h4{text-align:center}

  /* blog cards */
  .post-grid{gap:18px;max-width:400px;margin:0 auto}
  .pcard{border-radius:var(--radius-lg)}
  .pcard-body{text-align:center}

  /* footer — single centred column */
  .site-footer{padding:52px 0 30px;text-align:center}
  .foot-grid{grid-template-columns:1fr;gap:34px}
  .foot-base{justify-content:center;text-align:center}

  /* single course */
  .smug-product-grid{grid-template-columns:1fr;gap:26px;padding:var(--sec-y) var(--edge)}
  .smug-book{position:static;order:-1}
  .smug-book-card{padding:24px var(--edge) 22px;border-radius:var(--radius-lg)}
  .smug-product-photo{margin-bottom:28px;border-radius:var(--radius-lg)}
  .smug-product-photo img{max-height:260px}
  .smug-product-sec h2{text-align:left}
  .smug-product .related.products{padding:10px var(--edge) 46px}
  .crumbs-row{justify-content:center}
  .smug-product-hero h1{max-width:none}

  /* woo */
  .woocommerce ul.products{max-width:400px;margin:0 auto!important}
  .woocommerce div.product form.cart{padding:18px;border-radius:var(--radius)}
  .woocommerce div.product .product_title{text-align:center}
  .woocommerce div.product p.price{text-align:center}
  .woocommerce div.product form.cart .button{width:100%}
  .woocommerce-breadcrumb{text-align:center}

  /* forms */
  .forminator-custom-form{padding:22px var(--edge)!important;border-radius:var(--radius)!important}

  .btn{padding:13px 24px;font-size:15.5px}
  .pagination{padding-bottom:50px}
}

/* ─── responsive: new components (tablet) ─── */
@media (max-width:900px){
  .badge-row{grid-template-columns:1fr 1fr;gap:16px}
  .hub-row{grid-template-columns:1fr;gap:16px;padding:var(--sec-y) 0 6px}
  .profile-shell{grid-template-columns:1fr;gap:30px;padding:34px 0 66px}
  .profile-side{max-width:320px}
  .path-yt{padding:28px 26px;gap:22px}
  .fac-archive--square{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:22px}
  .course-grid--compact{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
}

/* ─── responsive: new components (mobile) ─── */
@media (max-width:560px){
  /* logo tracks the larger desktop mark without crowding a 360px bar */
  .logo-img{height:46px}

  .announce--yt a{gap:8px;padding:9px var(--edge);font-size:13px}
  .announce--yt strong{font-size:13.5px}
  .yt-mark{width:21px;height:21px}
  .announce-go{font-size:12px;padding:4px 11px}

  .badge-row{grid-template-columns:1fr;gap:12px;max-width:400px;margin:0 auto}
  .tbadge{flex-direction:row;text-align:left;align-items:flex-start;gap:14px;padding:18px 18px 17px;border-radius:var(--radius)}
  .tbadge-ico{width:44px;height:44px}
  .tbadge-ico svg{width:23px;height:23px}
  .tbadge b{font-size:15.5px}
  .tbadge-sub{font-size:14px}

  .path-yt{margin-top:38px;padding:26px var(--edge);text-align:center;justify-content:center;border-radius:var(--radius-lg)}
  .path-yt h3{font-size:22px}
  .path-yt p{font-size:15.5px}
  .path-yt .btn{width:100%;max-width:320px}

  .course-toolbar{padding:26px 0 2px}
  .course-filter{padding:16px var(--edge);gap:12px;border-radius:var(--radius)}
  .cf-search,.cf-select{flex:1 1 100%;width:100%}
  .cf-go{width:100%}
  .cf-clear{align-self:flex-start}
  .course-chips{justify-content:center;margin-top:14px}
  .chip{font-size:13px;padding:7px 13px}
  .course-grid--compact{grid-template-columns:1fr 1fr;gap:12px;max-width:none}
  .course-grid--compact .ccard-img{height:104px}
  .course-grid--compact .ccard-body{padding:12px 12px 14px;text-align:left}
  .course-grid--compact .ccard h3{font-size:14.5px}
  .course-grid--compact .cmeta{display:none}
  .course-grid--compact .cfoot{flex-direction:column;align-items:flex-start;gap:9px}
  .course-grid--compact .cfoot .cbook{width:100%;max-width:none;text-align:center;font-size:13px;padding:8px 10px}
  .course-grid--compact .cprice{font-size:16.5px}
  .course-grid--compact .cprice span{display:inline;margin-right:3px}

  .fac-archive--square{grid-template-columns:1fr 1fr;gap:16px}
  .fcard-name{font-size:15px}
  .fcard-role{font-size:12.5px}
  .fcard-veil{display:none}

  .profile-shell{padding:28px 0 56px;gap:24px;text-align:center;justify-items:center}
  .profile-side{max-width:260px;width:100%}
  .profile-main h1{font-size:clamp(1.85rem,7.4vw,2.2rem)}
  .profile-role{font-size:15.5px}
  .profile-bio{text-align:left}

  .hub{padding:22px var(--edge) 20px;border-radius:var(--radius-lg)}
  .hub h2{font-size:21px}
  .blog-toolbar{padding:26px 0 0}

  .faq-search{margin-bottom:26px}
  .faq-item summary{font-size:15.5px;padding:15px 44px 15px 16px}
  .faq-a{font-size:15.5px;padding:0 16px 17px}
  .faq-cat{text-align:center}
}

/* ─── contact: two columns, form left ─── */
.contact-shell{display:grid;grid-template-columns:1fr 340px;gap:40px;align-items:start;padding:var(--sec-y) 0}
.contact-form h2{font-size:24px;margin-bottom:20px}
.contact-side{display:flex;flex-direction:column;gap:16px}
.contact-card{background:var(--ice);border:1px solid var(--line);border-radius:var(--radius-lg);padding:24px 24px 22px}
.contact-card h3{font-size:17px;margin-bottom:10px}
.contact-card p{font-size:15px;color:#3D5170}
.contact-email{font-family:var(--font-display);font-weight:700;font-size:17px;color:var(--royal);word-break:break-word}
.contact-note{font-size:14px;color:#5A6E8C;margin-top:8px}
.contact-socials{list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.contact-socials a{display:inline-block;background:#fff;border:1px solid var(--line);border-radius:var(--radius-pill);padding:7px 15px;font-size:14.5px;font-weight:600;color:var(--ink)}
.contact-socials a:hover{border-color:var(--royal);color:var(--royal-deep)}
.contact-card--yt{background:var(--ink);border-color:var(--ink)}
.contact-card--yt h3{color:#fff}
.contact-card--yt p{color:#9DB4D6;margin-bottom:16px}
.contact-card--yt .btn{width:100%;text-align:center;font-size:15.5px;padding:12px 20px}

@media (max-width:900px){
  .contact-shell{grid-template-columns:1fr;gap:28px}
  .contact-side{max-width:520px}
}
@media (max-width:560px){
  .contact-card{padding:20px var(--edge) 18px;border-radius:var(--radius)}
  .contact-form h2{text-align:center}
}

/* ─── course archive: clickable cards + level controls ─── */
/* the title link is stretched over the whole card, so the card is clickable
   without nesting links (which is invalid) — Book now sits above it */
.ccard{position:relative}
.ccard h3 a::after{content:"";position:absolute;inset:0;z-index:1}
.ccard .cbook{position:relative;z-index:2}
.ccard:hover{box-shadow:0 14px 34px rgba(12,33,64,.13)}
.ccard:focus-within{outline:3px solid var(--doppler);outline-offset:3px}

/* one control height across the toolbar */
.course-filter select,.course-filter input[type=search],.course-filter .cf-go{height:46px}
.course-filter .cf-go{padding-top:0;padding-bottom:0}
.course-count{font-size:14px;color:#5A6E8C;margin-top:12px}
.ccard[hidden],.course-empty[hidden],.cf-clear[hidden]{display:none}

/* the product hero runs full-bleed; the grid inside supplies its own .wrap */
.woocommerce-shell--product{padding:0}
.smug-product-hero{min-height:200px;display:flex;align-items:center}
/* the wrap is a flex item here, so it must be told to fill the row or it
   shrinks to its content and the title drifts to the centre */
.smug-product-hero>.wrap{width:100%}

/* ─── course archive: ONE dropdown (search + pills removed 26 Aug) ─── */
.course-filter--single{justify-content:flex-start;gap:18px;align-items:center}
.cf-select--hero{flex:0 1 340px}
.cf-select--hero .cf-label{margin-bottom:7px}
.cf-select--hero select{height:52px;font-size:17px;font-family:var(--font-display);font-weight:600;
  padding:0 46px 0 20px;appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,var(--royal) 50%),linear-gradient(135deg,var(--royal) 50%,transparent 50%);
  background-position:calc(100% - 22px) 23px,calc(100% - 16px) 23px;background-size:6px 6px,6px 6px;background-repeat:no-repeat}
.cf-select--hero select:hover{border-color:var(--royal)}
.course-filter--single .course-count{margin:22px 0 0 auto;align-self:center}
@media (max-width:560px){
  .course-filter--single{flex-direction:column;align-items:stretch}
  .cf-select--hero{flex:1 1 auto}
  .course-filter--single .course-count{margin:4px 0 0;text-align:center}
}

/* ─── course timetable as a day plan ─── */
/* The stored content is a plain 3-column table (Time | Summary | Details).
   No column headers — a day plan does not have them (client, 25 Aug 2026). */
.smug-fold .fold-body table{width:100%;border-collapse:collapse;display:table}
.smug-fold .fold-body thead{display:none}
.smug-fold .fold-body h3{font-family:var(--font-display);font-size:15px;letter-spacing:.06em;
  text-transform:uppercase;color:var(--royal);margin:26px 0 12px}
.smug-fold .fold-body h3:first-child{margin-top:4px}
.smug-fold .fold-body tr{display:grid;grid-template-columns:118px 1fr;gap:4px 18px;
  padding:13px 16px;border-radius:var(--radius);border:1px solid transparent;
  border-bottom:1px solid var(--ice);align-items:baseline}
.smug-fold .fold-body tr:last-child{border-bottom:0}
.smug-fold .fold-body td{display:block;padding:0;border:0}
/* time */
.smug-fold .fold-body td:first-child{font-family:var(--font-display);font-weight:700;
  font-size:14.5px;color:var(--ink);white-space:nowrap}
/* what it is */
.smug-fold .fold-body td:nth-child(2){font-weight:700;color:var(--ink);font-size:16px}
/* the detail, tucked under the title */
.smug-fold .fold-body td:nth-child(3){grid-column:2;color:#3D5170;font-size:15px;line-height:1.55}
.smug-fold .fold-body td:nth-child(3):empty{display:none}
.smug-fold .fold-body td ul{margin:6px 0 0 18px}
.smug-fold .fold-body td li{margin-bottom:3px}
.smug-fold .fold-body td p{margin:0 0 7px}
.smug-fold .fold-body td p:last-child{margin-bottom:0}
/* breaks, lunch and drinks read as pauses, not sessions */
.smug-fold .fold-body tr.tt-break{background:var(--ice);border-color:var(--line);
  border-bottom-color:var(--line);margin:6px 0}
.smug-fold .fold-body tr.tt-break td:nth-child(2){font-weight:600;color:#5A6E8C}
@media (max-width:560px){
  .smug-fold .fold-body tr{grid-template-columns:1fr;gap:2px;padding:12px 14px}
  .smug-fold .fold-body td:nth-child(3){grid-column:1}
}

/* tighter title band on the blog/resources archive so the first row of posts
   clears the fold on a laptop (client, 25 Aug 2026) */
.page-hero--tight{padding:34px 0 36px}
.page-hero--tight h1{font-size:clamp(1.8rem,3vw,2.4rem)}
.page-hero--tight+.wrap .hub-row{padding-top:34px}


/* ─── the .wrap edge, re-asserted last ───────────────────────
   Several components are themselves a .wrap (hero-grid, contact-shell,
   faq-shell, course-toolbar, profile-shell, woocommerce-shell) and set the
   `padding` shorthand, which silently zeroes .wrap's horizontal padding.
   Above 1180px margin:auto hides the loss; below it the text sits on the
   viewport edge. Setting the inline axis on its own, last, means a component
   can choose its block padding without ever destroying the side margin. */
.wrap{padding-inline:24px}
@media (max-width:560px){.wrap{padding-inline:var(--edge)}}


/* The `hidden` attribute must always win. A class like .btn{display:inline-block}
   outranks the UA stylesheet's [hidden]{display:none}, so JS that sets
   el.hidden = true had no visible effect — the courses "Show courses" button
   stayed on screen after the instant filter took over. */
[hidden]{display:none!important}

/* ─── About: branded YouTube CTA card (replaces the plain text link) ─── */
.yt-cta{background:var(--ink);border-radius:var(--radius-lg);padding:34px 34px 32px;
  margin:38px 0 4px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.yt-cta-mark{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.08);
  display:grid;place-items:center;color:#FF0033}
.yt-cta-mark svg{width:32px;height:32px}
.yt-cta h3{color:#fff;font-size:24px;margin:0}
.yt-cta p{color:#9DB4D6;font-size:16.5px;max-width:52ch;margin:0}
.yt-cta .btn{margin-top:8px}
.yt-cta-alt{font-size:15px;color:#B9CCE8;border-bottom:1px solid rgba(185,204,232,.4);padding-bottom:2px}
.yt-cta-alt:hover{color:#fff;border-bottom-color:#fff}
@media (max-width:560px){
  .yt-cta{padding:26px var(--edge) 24px;border-radius:var(--radius);margin:30px 0 4px}
  .yt-cta h3{font-size:21px}
  .yt-cta p{font-size:15.5px}
  .yt-cta .btn{width:100%;max-width:300px}
}

/* WooCommerce's plain buttons (empty basket "Return to shop", etc.) were
   still rendering as the grey default */
.woocommerce .return-to-shop .button,.woocommerce a.button.wc-backward,
.woocommerce .cart .button,.woocommerce .woocommerce-message .button{
  background:var(--royal);color:#fff;border-radius:var(--radius-pill);
  font-family:var(--font-display);font-weight:700;padding:12px 26px}
.woocommerce .return-to-shop .button:hover,.woocommerce a.button.wc-backward:hover{
  background:var(--royal-deep);color:#fff}

/* the card is appended inside the_content, so the entry link styling was
   underlining the button */
.yt-cta .btn,.yt-cta .btn:hover{text-decoration:none;border-bottom:0}

/* a scaled headshot must be clipped by its frame, not spill out */
.fcard-img,.profile-photo{overflow:hidden}
.profile-photo{object-fit:cover}


/* ── Ticket Tailor: dates, venues, booking card (v1.16.0) ── */
.cnext{font-size:12.5px;color:var(--muted,#5b6b82);margin:2px 0 10px}
.tt-venue{margin:0 0 20px}
.tt-venue h3{font-size:16px;margin:0 0 8px}
.tt-venue h3 span{font-weight:500;font-size:13px;color:var(--muted,#5b6b82);margin-left:6px}
.tt-dates{list-style:none;margin:0;padding:0}
.tt-dates li{padding:9px 0;border-top:1px solid rgba(12,33,64,.1);display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
.tt-dates li:first-child{border-top:0}
.tt-when{font-weight:600}
.tt-times{color:var(--muted,#5b6b82);font-size:14px}
.tt-left{font-size:12px;font-weight:700;padding:2px 9px;border-radius:20px;border:1px solid currentColor;white-space:nowrap}
.tt-few{color:#b45309}
.tt-out{color:#b91c1c}
.tt-from{font-size:14px;font-weight:500;color:var(--muted,#5b6b82)}
.tt-sessions{list-style:none;margin:14px 0 4px;padding:0;display:grid;gap:10px}
.tt-sessions li{border:1px solid rgba(12,33,64,.14);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.tt-s-info{display:flex;flex-direction:column;gap:2px;font-size:14px}
.tt-s-info b{font-size:15px}
.tt-s-info span{color:var(--muted,#5b6b82)}
.tt-s-info .tt-left{align-self:flex-start;margin-top:4px}
.tt-book{text-align:center;width:100%;box-sizing:border-box}
.tt-soldout{font-weight:700;color:#b91c1c;font-size:14px}
.tt-draftnote{background:#fff7e6;border:1px solid #f0c36d;color:#7a4b00;border-radius:10px;padding:8px 12px;font-size:13px;margin:0 0 10px}
.tt-nodates{font-size:14px;margin:10px 0}

.fold-body .tt-venue h3{font-size:16px;font-weight:700;text-transform:none;letter-spacing:0;color:var(--ink,#0C2140);margin:0 0 6px}
.fold-body .tt-venue h3 span{font-weight:500;font-size:13px;color:var(--muted,#5b6b82)}
.fold-body .tt-dates{padding:0;margin:0;list-style:none}
.fold-body .tt-dates li::marker{content:""}

/* ─── cookie consent (inc/consent.php) ─── */
.smug-cc{position:fixed;left:20px;bottom:20px;z-index:var(--z-toast);width:min(460px,calc(100vw - 40px))}
.smug-cc[hidden]{display:none}
.smug-cc__card{background:var(--ink);color:var(--body-inverse);border-radius:var(--radius-lg);padding:22px 22px 20px;box-shadow:0 24px 70px rgba(3,10,24,.5);border:1px solid rgba(143,165,198,.28)}
.smug-cc__title{font-family:var(--font-display);font-size:19px;font-weight:700;color:#fff;margin:0 0 8px;letter-spacing:-.01em}
.smug-cc__text{font-size:15.5px;line-height:1.55;margin:0 0 16px}
.smug-cc__text a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.smug-cc__panel{margin:0 0 16px;border-top:1px solid rgba(143,165,198,.25)}
.smug-cc__panel[hidden]{display:none}
.smug-cc__row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid rgba(143,165,198,.25);cursor:pointer}
.smug-cc__row strong{display:block;color:#fff;font-size:15.5px}
.smug-cc__row small{display:block;font-size:13.5px;line-height:1.4;color:#B9CCE8;margin-top:2px}
.smug-cc__row input{width:22px;height:22px;flex:0 0 22px;accent-color:var(--doppler)}
.smug-cc__actions{display:flex;flex-wrap:wrap;gap:10px}
.smug-cc__btn{flex:1 1 0;min-width:140px;min-height:46px;padding:10px 16px;border-radius:var(--radius-pill);border:2px solid #fff;background:#fff;color:var(--ink);font:700 15.5px var(--font-body);cursor:pointer}
.smug-cc__btn[data-cc="reject"]{background:transparent;color:#fff}
.smug-cc__btn--ghost{flex:1 1 100%;min-height:40px;border-color:transparent;background:transparent;color:#B9CCE8;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.smug-cc__btn[hidden]{display:none}
.smug-cc__btn:hover{filter:brightness(.94)}
.smug-cc__btn[data-cc="reject"]:hover{background:rgba(255,255,255,.1);filter:none}
.smug-cc__btn:focus-visible,.smug-cc__row input:focus-visible,.smug-cc__text a:focus-visible{outline:3px solid var(--doppler);outline-offset:2px}
@media(max-width:640px){.smug-cc{left:12px;right:12px;bottom:12px;width:auto}.smug-cc__card{padding:18px}.smug-cc__btn{min-width:0}}
@media(prefers-reduced-motion:no-preference){.smug-cc:not([hidden]){animation:smugccIn .45s cubic-bezier(.16,1,.3,1)}}
@keyframes smugccIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

.smug-yt{position:relative;aspect-ratio:16/9;background:var(--ink);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:20px;text-align:center;margin:0 0 22px}
.smug-yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* the video's own still sits behind the Play button so the block reads as a
   video, not an empty panel (Helen, 30 Oct 2026) */
.smug-yt__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.62}
.smug-yt__btn,.smug-yt__note{position:relative;z-index:1}
.smug-yt__note{text-shadow:0 1px 3px rgba(0,0,0,.7)}
.smug-yt__btn::before{content:"\25B6";font-size:13px;margin-right:10px}
.smug-yt__btn{min-height:50px;padding:12px 30px;border-radius:var(--radius-pill);border:0;background:var(--doppler);color:#fff;font:700 17px var(--font-body);cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.35)}
.smug-yt__btn:hover{background:var(--doppler-deep)}
.smug-yt__btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.smug-yt__note{margin:0;max-width:440px;font-size:14px;line-height:1.5;color:#B9CCE8}
.smug-yt__note a{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* cookie policy tables */
.smug-ck-scroll{overflow-x:auto;margin:0 0 26px;-webkit-overflow-scrolling:touch}
.smug-ck-table{width:100%;min-width:560px;border-collapse:collapse;font-size:15.5px;line-height:1.5}
.smug-ck-table th{text-align:left;background:var(--ice);color:var(--ink);font-weight:700;padding:10px 14px;border-bottom:2px solid var(--line)}
.smug-ck-table td{padding:11px 14px;border-bottom:1px solid var(--line);vertical-align:top}
.smug-ck-table td:first-child{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;white-space:nowrap}

.foot-legal{display:flex;gap:18px;flex-wrap:wrap}
.foot-legal a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.foot-legal a:hover{color:#fff}

.smug-ck-table--plain td:first-child{font-family:inherit;font-size:inherit;white-space:normal;font-weight:700}

/* course dropdowns from Ticket Tailor: timetable rows (its h2 lines) and the price line */
.smug-fold .fold-body h4{font-family:var(--font-display);font-size:15px;font-weight:700;line-height:1.35;margin:18px 0 4px;padding-top:14px;border-top:1px solid rgba(0,0,0,.08)}
.smug-fold .fold-body h4:first-child{margin-top:4px;padding-top:0;border-top:0}
.smug-fold .fold-body h4+p{margin-top:0}
.smug-fold .tt-price{margin:0 0 16px}
.smug-fold .tt-price ul{margin:6px 0 0 18px}

/* on-site training: Enquire button in the side card */
.smug-book-enquire{display:block;text-align:center;margin:6px 0 14px}
