/* ============================================================
   THE MIND PROJECT  ·  SHARED THEME
   One file controls colour, type, and shared components
   for every page. Edit a token below and the whole site
   updates. No green anywhere. Light surfaces only.
   ============================================================ */

/* ---- 1. DESIGN TOKENS (edit these) ------------------------ */
:root{
  /* brand */
  --burnt:#F15549;        /* primary accent, used sparingly   */
  --burnt-deep:#C93A30;   /* darker accent for text on light  */
  --ochre:#C98A3A;        /* warm secondary (replaces green)  */

  /* ink + neutrals */
  --ink:#1C1C1A;          /* primary text                     */
  --muted:#595755;        /* secondary text                   */
  --warm-line:#E4DED6;    /* hairline borders                 */

  /* warm light surfaces (no dark panels) */
  --paper:#FFFDFB;        /* page background                  */
  --stone:#F6F3EF;        /* soft card background             */
  --sand:#FBEEE0;         /* warm callout background          */
  --sand-line:#F3D9C4;    /* warm callout border              */

  /* type */
  --display:'Fraunces',Georgia,serif;
  --body:'Inter',system-ui,sans-serif;

  /* spacing / shape — unified content column (medication-guide standard) */
  --wrap:1100px;
  --content-max:1100px;
  --content-pad:2.5rem;
  --read-col:1100px;
  --policy-col:760px;
  --aside-col:280px;
  --content-aside-gap:3rem;
  --route-col:1100px;
  --dir-col:1100px;
  --radius:16px;

  /* type scale — editorial rhythm (NHS / health-site balance) */
  --fs-hero:clamp(2.15rem,4.2vw,3rem);
  --fs-title:clamp(2rem,3.8vw,2.75rem);
  --fs-lead:1.05rem;
  --fs-body:1rem;
  --fs-small:0.875rem;
  --fs-meta:0.8125rem;
}

/* ---- 2. BASE --------------------------------------------- */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--body);color:var(--ink);background:var(--paper);line-height:1.75;font-weight:300;-webkit-font-smoothing:antialiased}
a{color:inherit}
.serif{font-family:var(--display)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--content-pad)}
.container{max-width:var(--content-max);margin:0 auto;padding:0 var(--content-pad);width:100%}
img{max-width:100%;display:block}

/* scroll progress bar */
#progress{position:fixed;top:0;left:0;height:3px;background:var(--burnt);width:0;z-index:200;transition:width .1s linear}

/* ---- 3. NAV (shared, injected by site.js) ---------------- */
nav.site{position:sticky;top:0;background:rgba(255,253,251,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--warm-line);z-index:100}

/* Sticky site header: crisis strip + nav (injected via site.js) */
.site-header-sticky{position:sticky;top:0;z-index:100}
.crisis-strip{background:var(--burnt-wash);border-bottom:1px solid var(--burnt-pale)}
.crisis-strip-in{max-width:var(--content-max,var(--wrap));margin:0 auto;padding:.55rem var(--content-pad,2.5rem);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.35rem .85rem;font-size:.78rem;color:var(--muted);line-height:1.45;text-align:center}
.cs-label{font-weight:600;color:var(--burnt-deep);white-space:nowrap}
.cs-phone{color:var(--burnt);font-weight:600;text-decoration:none;white-space:nowrap}
.cs-phone:hover{text-decoration:underline}
.cs-hours{font-size:.85em;opacity:.75;white-space:nowrap}
.cs-link{color:var(--burnt);text-decoration:none;border-bottom:1px solid var(--burnt-pale);font-weight:600;white-space:nowrap}
.cs-sep{opacity:.45}
.cs-emergency{white-space:nowrap}
.cs-emergency strong{color:var(--burnt-deep);font-weight:600}
.site-header-sticky nav.site{position:relative;top:auto;border-bottom:1px solid var(--warm-line)}
@media(max-width:620px){
  .crisis-strip-in{padding-left:1.5rem;padding-right:1.5rem;font-size:.74rem;gap:.3rem .6rem}
  .cs-hours{display:none}
  .cs-sep{display:none}
}
.nav-in{max-width:var(--wrap);margin:0 auto;padding:1rem var(--content-pad);display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{font-family:var(--display);font-weight:700;font-size:1.15rem;text-decoration:none;letter-spacing:-.01em;color:var(--ink)}
.logo span{color:var(--burnt)}
.nav-links{display:flex;align-items:center;gap:1.5rem;list-style:none}
.nav-links a{font-size:.85rem;font-weight:400;color:var(--muted);text-decoration:none;transition:color .2s}
.nav-links a:hover,.nav-links a.on{color:var(--burnt)}
.nav-cta{font-size:.8rem;font-weight:600;color:#fff!important;background:var(--burnt);padding:.55rem 1.1rem;border-radius:22px;text-decoration:none;transition:background .2s}
.nav-cta:hover{background:var(--burnt-deep)}

/* library dropdown */
.has-drop{position:relative}
.has-drop>span{cursor:default}
.drop{position:absolute;top:calc(100% + .6rem);left:50%;transform:translateX(-50%) translateY(6px);background:var(--paper);border:1px solid var(--warm-line);border-radius:14px;box-shadow:0 12px 34px rgba(28,28,26,.10);padding:.5rem;min-width:200px;opacity:0;visibility:hidden;transition:opacity .18s ease,transform .18s ease;list-style:none}
.has-drop:hover .drop,.has-drop:focus-within .drop{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.drop::before{content:"";position:absolute;left:-14px;right:-14px;top:-.75rem;height:.85rem}
.drop li{display:block}
.drop a{display:block;padding:.55rem .8rem;border-radius:9px;font-size:.85rem;color:var(--muted)}
.drop a:hover{background:var(--stone);color:var(--burnt)}
.burger{display:none;background:none;border:0;cursor:pointer;font-size:1.4rem;color:var(--ink)}
@media(max-width:900px){
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);flex-direction:column;align-items:flex-start;padding:1.2rem 1.5rem;gap:.9rem;border-bottom:1px solid var(--warm-line)}
  .nav-links.open{display:flex}
  .burger{display:block}
  .drop{position:static;transform:none;opacity:1;visibility:visible;box-shadow:none;border:0;padding:.2rem 0 .2rem 1rem;min-width:0}
}

/* ---- 4. TAG + CHIP BUTTONS (redesigned, warm, no green) -- */
/* used on the home page and across content */
.tag{display:inline-flex;align-items:center;gap:.45rem;font-size:.78rem;font-weight:500;letter-spacing:.01em;color:var(--ink);background:#fff;border:1px solid var(--warm-line);padding:.5rem 1rem;border-radius:24px;text-decoration:none;transition:transform .15s ease,box-shadow .2s ease,background .2s,color .2s,border-color .2s}
.tag::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--burnt);opacity:.55;transition:opacity .2s,background .2s}
.tag:hover{background:var(--burnt);color:#fff;border-color:var(--burnt);transform:translateY(-1px);box-shadow:0 5px 16px rgba(241,85,73,.20)}
.tag:hover::before{background:#fff;opacity:1}
/* warm category dots (no green) */
.tag-condition::before{background:var(--burnt)}
.tag-format::before{background:var(--ochre)}
.tag-region::before{background:var(--burnt-deep)}
.tag-row{display:flex;flex-wrap:wrap;gap:.6rem}

/* compact inline chips (on article heroes) */
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.2rem}
.chip{font-size:.72rem;font-weight:500;letter-spacing:.04em;color:var(--burnt-deep);background:var(--sand);border:1px solid var(--sand-line);padding:.32rem .8rem;border-radius:20px;text-decoration:none;transition:all .2s}
.chip:hover{background:var(--burnt);color:#fff;border-color:var(--burnt)}
.chip--on{background:var(--burnt);color:#fff;border-color:var(--burnt)}

/* ---- 5. ARTICLE / CONDITION PAGE ------------------------- */
.crumb{font-size:.74rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.crumb a{color:var(--burnt);text-decoration:none}
h1.cond{font-family:var(--display);font-weight:600;font-size:var(--fs-title);line-height:1.1;letter-spacing:-.02em;margin:.9rem 0 .4rem}
.dsm-name{font-size:var(--fs-body);font-weight:400;color:var(--muted);font-style:italic;margin-bottom:1rem}
.dek{font-size:var(--fs-lead);font-weight:300;color:var(--muted);max-width:42rem;line-height:1.75;margin-bottom:1.4rem}
.meta-row{display:flex;flex-wrap:wrap;gap:1.6rem;font-size:var(--fs-meta);color:var(--muted);border-top:1px solid var(--warm-line);border-bottom:1px solid var(--warm-line);padding:.8rem 0}
.meta-row strong{font-weight:600;color:var(--ink)}

.glance{background:var(--stone);border-left:4px solid var(--burnt);border-radius:0 var(--radius) var(--radius) 0;padding:1.6rem 1.8rem;margin:2rem 0}
.glance h2{font-family:var(--display);font-size:1rem;font-weight:600;margin-bottom:.8rem}
.glance ul{list-style:none}
.glance li{font-size:.95rem;padding:.35rem 0 .35rem 1.4rem;position:relative}
.glance li::before{content:'';position:absolute;left:0;top:.78em;width:7px;height:7px;border-radius:50%;background:var(--burnt)}

/* Main content column — same width as medication guide body text */
.grid > article,
.page-body > main,
.wrap > article.article-col{
  min-width:0;
  max-width:none;
  width:100%;
}

.grid{display:grid;grid-template-columns:minmax(0,1fr) var(--aside-col);gap:var(--content-aside-gap);align-items:start;margin:1rem 0 3rem}
@media(max-width:960px){.grid{grid-template-columns:1fr}}
article h2{font-family:var(--display);font-weight:600;font-size:1.45rem;letter-spacing:-.01em;margin:2.4rem 0 1rem;scroll-margin-top:90px}
article h2::after{content:'';display:block;width:38px;height:3px;background:var(--burnt);border-radius:2px;margin-top:.55rem}
article:not(.qa) p{font-size:var(--fs-body);margin-bottom:1.15rem;line-height:1.75}

/* Long-form reading — left on small screens; justified on wide screens (last line left) */
article:not(.qa) p,
.prose p,
.prose li,
.story-body>p,
.support-intro,
article.article-col p,
article.article-col li,
.policy-doc p,
.policy-doc li,
.policy-doc .box p,
.policy-doc .legal-review-note,
.policy-doc .sensitive-note .sn-body,
.page-body .prose p,
.page-body .prose li{
  text-align:left;
  text-wrap:pretty;
}
@media(min-width:768px){
  article:not(.qa) p,
  article.article-col p,
  article.article-col li,
  .prose p,
  .prose li,
  .story-body>p,
  .support-intro,
  .policy-doc p,
  .policy-doc li,
  .policy-doc .box p,
  .policy-doc .legal-review-note,
  .policy-doc .sensitive-note .sn-body,
  .page-body .prose p,
  .page-body .prose li{
    text-align:justify;
    text-align-last:left;
    text-justify:inter-word;
    hyphens:auto;
    -webkit-hyphens:auto;
  }
}
.pullquote,
.pull-quote p,
.vm-text,
.dek,
.dp-page-dek,
.form-sub,
.form-notice,
.consent-hint,
.policy-doc .toc,
.policy-doc .toc *,
.policy-doc th,
.policy-doc td,
article.qa p,
.qa-q p,
.qa-a p{
  text-align:left;
  hyphens:none;
  -webkit-hyphens:none;
}

/* "where to get help" box - de-greened to warm stone + burnt */
.help-box{background:var(--stone);border-left:4px solid var(--burnt);border-radius:0 var(--radius) var(--radius) 0;padding:1.6rem 1.8rem;margin:2.4rem 0}
.help-box h2{margin-top:0}
.help-box h2::after{background:var(--burnt)}
.help-box a{color:var(--burnt-deep);font-weight:500}

/* sources / references block */
.sources{background:var(--stone);border-radius:var(--radius);padding:1.6rem 1.8rem;margin-top:2.6rem}
.sources h2{font-size:1.1rem;margin-top:0}
.sources ol{margin-left:1.2rem}
.sources li{font-size:.82rem;color:var(--muted);margin-bottom:.5rem;line-height:1.6}
.reviewer{font-size:.8rem;color:var(--muted);margin-top:1.1rem;padding-top:1rem;border-top:1px solid var(--warm-line)}

/* ---- 6. SIDEBAR ------------------------------------------ */
.grid>aside,.page-body>aside,.wrap.has-aside>aside{align-self:start;position:sticky;top:90px}
.side{position:sticky;top:90px;display:flex;flex-direction:column;gap:1.25rem}
.sbox{background:var(--stone);border-radius:var(--radius);padding:1.5rem}
.sbox .lbl{font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:.9rem}
.sbox a.row{display:block;font-size:.88rem;color:var(--muted);text-decoration:none;padding:.45rem 0;border-bottom:1px solid var(--warm-line);transition:color .2s;line-height:1.45}
.sbox a.row:last-child{border-bottom:0}
.sbox a.row:hover,.sbox a.row.here{color:var(--burnt)}
.sbox a.row.here{font-weight:600}
.related-stories .ra-cat{display:block;font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:var(--burnt);font-weight:600;margin-bottom:.15rem}
.related-stories{margin-bottom:0!important}
.support-box{background:var(--sand);border:1px solid var(--sand-line)}
.support-box p{font-size:.85rem;line-height:1.65}
.support-box a{color:var(--burnt-deep);font-weight:500}
.cta-box{background:var(--burnt);text-align:center}
.cta-box p.t{font-family:var(--display);font-size:.98rem;font-weight:600;color:#fff;margin-bottom:.4rem}
.cta-box p.s{font-size:.8rem;color:rgba(255,255,255,.78);line-height:1.6;margin-bottom:1rem}
.cta-box a{display:block;font-size:.78rem;font-weight:600;color:var(--burnt-deep);background:#fff;padding:.65rem;border-radius:20px;text-decoration:none}
.share{display:flex;gap:.6rem}
.share button,.share a{flex:1;font-size:.74rem;font-weight:500;font-family:var(--body);color:var(--ink);background:#fff;border:1px solid var(--warm-line);padding:.55rem 0;border-radius:10px;text-align:center;text-decoration:none;cursor:pointer;transition:all .2s}
.share button:hover,.share a:hover{border-color:var(--burnt);color:var(--burnt)}

/* ---- 7. CRISIS STRIP (warm tone) --------- */
.crisis{background:var(--sand);border-top:1px solid var(--sand-line);border-bottom:1px solid var(--sand-line)}
.crisis .in{max-width:var(--wrap);margin:0 auto;padding:2rem 1.5rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.2rem}
.crisis p{font-size:.92rem;color:var(--ink);max-width:38rem}
.crisis strong{color:var(--burnt-deep)}
.crisis a.btn{font-size:.8rem;font-weight:600;color:#fff;background:var(--burnt);padding:.7rem 1.4rem;border-radius:24px;text-decoration:none;white-space:nowrap;transition:background .2s}
.crisis a.btn:hover{background:var(--burnt-deep)}

/* ---- 8. INDEX / SHELF LISTING ---------------------------- */
.lib-hero{padding:3.5rem var(--content-pad) 2rem;text-align:center!important}
.lib-hero h1,
.lib-hero h1.cond{font-family:var(--display);font-weight:600;font-size:var(--fs-hero);letter-spacing:-.02em;line-height:1.1;max-width:22ch;margin-left:auto;margin-right:auto;text-align:center!important}
.lib-hero h1 em{font-style:italic;color:var(--burnt)}
.lib-hero p,
.lib-hero .dek{font-size:var(--fs-lead);color:var(--muted);max-width:42rem;margin:1rem auto 0;line-height:1.75;text-align:center}
.lib-hero .crumb{text-align:center;margin-bottom:.25rem}
.search{margin:2rem 0 0;max-width:33rem;position:relative}
.lib-hero:not(.hero-long) .search{margin-left:auto;margin-right:auto}
.lib-hero.hero-long{text-align:left!important}
.lib-hero.hero-long .crumb,
.lib-hero.hero-long h1,
.lib-hero.hero-long h1.cond,
.lib-hero.hero-long p,
.lib-hero.hero-long .dek{text-align:left!important;margin-left:0!important;margin-right:0!important}
.lib-hero.hero-long h1,
.lib-hero.hero-long h1.cond{max-width:none!important}
.lib-hero.hero-long p,
.lib-hero.hero-long .dek{max-width:48rem!important}
.lib-hero.hero-long .search{margin:2rem 0 0;max-width:min(33rem,100%)}
.lib-hero.hero-long .search-note{font-size:var(--fs-meta);color:var(--muted);margin-top:1rem;line-height:1.65;max-width:48rem}
.lib-hero.hero-long .search-note a{color:var(--burnt-deep)}
.lib-hero.hero-long .combined-page-nav{justify-content:flex-start}
.lib-hero.hero-long .ph-eyebrow{display:inline-flex;align-items:center;font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--burnt);margin-bottom:1rem}

/* Resource hub pages — hero and grid share one left-aligned column */
header.wrap.lib-hero.hero-long{
  border-bottom:1px solid var(--warm-line);
  margin-bottom:0;
}
header.wrap.lib-hero.hero-long + main.wrap{
  padding-top:2rem;
}
main.wrap > .hub-grid,
main.wrap > .well-grid,
main.wrap > .explainers-grid,
main.wrap > .cat-filter{
  margin-top:0;
}
main.wrap > .shelf:first-child{
  margin-top:0!important;
}
.hub-footer-note{
  max-width:48rem;
  margin:2rem 0 0;
  font-size:.85rem;
  font-weight:300;
  color:var(--muted);
  line-height:1.65;
  text-align:left;
}
.hub-footer-note a{color:var(--burnt-deep);font-weight:500;text-decoration:none;border-bottom:1px solid var(--burnt-pale)}
.hub-footer-note a:hover{border-color:var(--burnt-deep)}

.search input{width:100%;font-family:var(--body);font-size:.95rem;font-weight:300;padding:.95rem 1.2rem .95rem 2.9rem;border:1px solid var(--warm-line);border-radius:30px;background:#fff;outline:none;transition:border .2s}
.search input:focus{border-color:var(--burnt)}
.search svg{position:absolute;left:1.1rem;top:50%;transform:translateY(-50%);width:16px;height:16px;stroke:var(--muted)}
.shelf{margin:3rem 0}
.shelf-head{display:flex;align-items:baseline;gap:0;border-bottom:2px solid var(--ink);padding-bottom:.7rem;margin-bottom:.4rem}
.shelf-num{display:none!important}
.shelf-head h2{font-family:var(--display);font-weight:600;font-size:1.35rem;letter-spacing:-.01em}
.shelf-note{font-size:.85rem;color:var(--muted);font-style:italic;margin:.5rem 0 1rem;max-width:46rem}
.cond-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:1rem;align-items:center;padding:1rem .4rem;border-bottom:1px solid var(--warm-line);text-decoration:none;transition:background .2s}
.cond-row:hover{background:var(--stone)}
.cond-row .pub{font-family:var(--display);font-weight:500;font-size:1.08rem;line-height:1.3}
.cond-row .dsm{font-size:.76rem;color:var(--muted);margin-top:.15rem}
.cond-row .tg{font-size:.74rem;color:var(--muted)}
a.cond-row .pub{color:var(--burnt-deep)}
@media(max-width:700px){.cond-row{grid-template-columns:1fr auto}.cond-row .tg{display:none}}

/* status badges - de-greened (live now uses warm sand, not green) */
.badge{font-size:.66rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;padding:.3rem .7rem;border-radius:14px;white-space:nowrap}
.badge.live{color:var(--burnt-deep);background:var(--sand)}
.badge.soon{color:var(--muted);background:var(--stone)}
.cond-row[aria-disabled="true"]{cursor:default;pointer-events:none}

/* ---- 9. FOOTER (shared, injected by site.js) ------------- */
footer.site{background:var(--stone);border-top:1px solid var(--warm-line)}
.foot-in{max-width:var(--wrap);margin:0 auto;padding:3rem var(--content-pad) 2rem;font-size:var(--fs-meta);color:var(--muted)}
.foot-grid{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(4,minmax(0,1fr));gap:2rem 1.75rem;margin-bottom:2rem}
.foot-col--brand{max-width:22rem}
.foot-brand{font-family:var(--display);font-weight:600;font-size:1.05rem;color:var(--ink);margin-bottom:.45rem}
.foot-about{font-size:var(--fs-meta);line-height:1.65;margin:0 0 1.1rem;color:var(--muted)}
.foot-head{font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--burnt);margin-bottom:.75rem}
.foot-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.45rem}
.foot-list a{color:var(--muted);text-decoration:none;font-size:var(--fs-meta);line-height:1.45}
.foot-list a:hover{color:var(--burnt)}
.foot-bottom{padding-top:1.35rem;border-top:1px solid var(--warm-line);font-size:var(--fs-meta);color:var(--muted)}
.foot-in a{color:var(--muted);text-decoration:none}
.foot-in a:hover{color:var(--burnt)}
@media(max-width:900px){
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.75rem 1.25rem}
  .foot-col--brand{grid-column:1/-1;max-width:none}
}
@media(max-width:520px){.foot-grid{grid-template-columns:1fr;gap:1.5rem}}

/* ---- 9b. VIDEO + IMAGE (shared, for content updates) ----- */
/* Responsive 16:9 video frame. Works for YouTube, Vimeo, or a
   self-hosted <video>. Just drop the embed inside .video. */
.video{position:relative;width:100%;aspect-ratio:16/9;background:var(--stone);border-radius:var(--radius);overflow:hidden;margin:1.6rem 0}
.video iframe,.video video{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-caption,.figure figcaption{font-size:.82rem;color:var(--muted);margin-top:.5rem;line-height:1.5}
.figure{margin:1.6rem 0}
.figure img{width:100%;border-radius:var(--radius)}

/* Lead image above story body (explainers, notes, lived experience) */
header.wrap.article-head + .wrap > figure,
figure.figure.article-lead{
  margin:1.75rem 0 3.5rem!important;
}
header.wrap.article-head + .wrap > figure figcaption,
figure.figure.article-lead figcaption{
  font-size:.74rem!important;
  color:var(--muted)!important;
  margin-top:.85rem!important;
  margin-bottom:0!important;
  line-height:1.55;
}
header.wrap.article-head + .wrap + .wrap > .article-col > :first-child,
header.wrap.article-head + .wrap + .wrap > article.article-col > :first-child{
  margin-top:0;
}
.imghero + .section,
.imghero + section.section{
  padding-top:4.25rem!important;
}
/* pull quote for stories and articles */
.pullquote{font-family:var(--display);font-style:italic;font-size:1.3rem;line-height:1.5;color:var(--ink);border-left:4px solid var(--burnt);padding:.4rem 0 .4rem 1.4rem;margin:2rem 0;max-width:42rem}

/* ---- 10. MOTION (respects reduced-motion) ---------------- */
.rv{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
.rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.rv{opacity:1;transform:none;transition:none}}

/* ===== Two-row masthead (logo row + menu row) ===== */
nav.site{position:sticky;top:0;z-index:100;background:var(--paper);border-bottom:1px solid var(--warm-line)}
.nav-top{max-width:var(--wrap);margin:0 auto;padding:1.1rem 1.5rem .7rem;display:flex;align-items:center;justify-content:center;position:relative}
.nav-top .logo{font-size:1.6rem;font-weight:700}
.nav-top .burger{position:absolute;right:1.5rem;top:50%;transform:translateY(-50%)}
.nav-bar{border-top:1px solid var(--warm-line)}
.nav-bar .nav-links{max-width:var(--wrap);margin:0 auto;padding:.7rem 1.5rem;display:flex;justify-content:center;flex-wrap:wrap;gap:1.7rem}
.nav-bar .nav-links a,.nav-bar .has-drop span{font-size:.9rem;letter-spacing:.01em;cursor:pointer}
.nav-bar .nav-cta{margin-left:.4rem}
@media (max-width:760px){
  .nav-bar .nav-links{display:none;flex-direction:column;align-items:center;gap:1rem;padding:1.1rem}
  .nav-bar .nav-links.open{display:flex}
  .nav-bar .drop{align-items:center;text-align:center}
}

/* ===== content lists inside article bodies (restore bullets) ===== */
article ul{list-style:disc;padding-left:1.3rem;margin:.7rem 0 1.1rem}
article ol{list-style:decimal;padding-left:1.45rem;margin:.7rem 0 1.1rem}
article li{margin:.35rem 0;line-height:1.7}
article ul ul,article ol ol{margin:.3rem 0}

/* ===== compatibility tokens for main-site pages (warm palette, no green) ===== */
:root{--white:#ffffff;--cloud:#F6F3EF;--light:#8F8C87;--burnt-wash:#FBEEE0;--burnt-pale:#F3D9C4;--burnt-light:#F4A79E;--charcoal:#2A2722;--sage:#C98A3A;--sage-deep:#9E6B2F;--sage-pale:#F3E6D2;--sage-wash:#FBF3E6;}

/* lighten the single dark accent band (about: Our promise) for light-surface consistency */
.section.charcoal{background:var(--stone)!important}
.section.charcoal .sec-tag,.section.charcoal .sec-tag.on-dark{color:var(--burnt)!important}
.section.charcoal .promise-aside h2{color:var(--ink)!important}
.section.charcoal .promise-aside p{color:var(--muted)!important}
.section.charcoal .promise-item{background:#fff!important;border:1px solid var(--warm-line)!important}
.section.charcoal .pi-icon{background:var(--sand)!important}
.section.charcoal .pi-icon svg{stroke:var(--burnt)!important;fill:none;stroke-width:2.5}
.section.charcoal .pi-text{color:var(--muted)!important}
.section.charcoal .pi-text strong{color:var(--ink)!important}

/* balance medication & substance reading width — see .page-body grid below */
.page-body .section{
  padding:0!important;
  margin-bottom:2rem!important;
}
.page-body .section:last-child{margin-bottom:0!important}
.page-body .prose{
  max-width:none!important;
  margin:0!important;
}
.page-body .prose p{
  margin:0 0 .75rem!important;
  max-width:none!important;
}
.page-body .prose p:last-child{margin-bottom:0!important}
.page-body .section-title{margin-bottom:.85rem!important}
.page-body .section-label{margin-bottom:.45rem!important}
.page-body .box{margin-bottom:.85rem!important}
.page-body .box:last-child{margin-bottom:0!important}

/* ===== TAG SEARCH (searchable topics, replaces tag ribbons) ===== */
.tagsearch{max-width:640px;margin:0 auto}
.ts-field{position:relative;display:flex;align-items:center}
.ts-field svg{position:absolute;left:1.05rem;width:18px;height:18px;stroke:var(--muted);fill:none;stroke-width:2;pointer-events:none}
.ts-input{width:100%;font-family:var(--body);font-size:1rem;padding:.95rem 1.2rem .95rem 2.95rem;border:1.5px solid var(--warm-line);border-radius:30px;background:var(--paper);color:var(--ink);transition:border-color .2s,box-shadow .2s}
.ts-input:focus{outline:none;border-color:var(--burnt);box-shadow:0 0 0 4px rgba(241,85,73,.12)}
.ts-results{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin-top:1.4rem;min-height:2rem}
.ts-empty{font-size:.9rem;color:var(--muted)}

/* ===== SHARED FULL-BLEED IMAGE/VIDEO HERO (any page) ===== */
.imghero{position:relative;min-height:60vh;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.imghero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.imghero-scrim{position:absolute;inset:0;z-index:1;background:none;display:none}
.imghero-in{position:relative;z-index:2;max-width:760px;padding:2.5rem 1.5rem;color:#fff}
.imghero-eyebrow{display:inline-block;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:#fff;background:rgba(255,255,255,.16);padding:.35rem .9rem;border-radius:20px;margin-bottom:1.3rem}
.imghero-h1{font-family:var(--display);font-weight:600;font-size:clamp(2.3rem,5vw,3.8rem);line-height:1.08;color:#fff;letter-spacing:-.02em;text-shadow:0 2px 30px rgba(0,0,0,.28);margin:0}
.imghero-h1 em{font-style:italic;font-weight:300;color:rgba(255,255,255,.85)}
.imghero-sub{font-size:1.05rem;font-weight:300;color:rgba(255,255,255,.92);line-height:1.6;max-width:46ch;margin:1.1rem auto 1.8rem}
.imghero-btns{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}
.imghero-btn-w{font-size:.82rem;font-weight:600;color:var(--burnt-deep);background:#fff;padding:.8rem 1.7rem;border-radius:24px;text-decoration:none}
.imghero-btn-w:hover{background:var(--sand)}
.imghero-btn-g{font-size:.82rem;font-weight:600;color:#fff;background:transparent;border:1.5px solid rgba(255,255,255,.7);padding:.8rem 1.7rem;border-radius:24px;text-decoration:none}
.imghero-btn-g:hover{background:#fff;color:var(--burnt-deep)}

/* ===== fix: neutralise old fixed-nav rule on main-site pages ===== */
nav.site{display:block;height:auto;padding:0}
.page-hero{margin-top:0 !important}
.filter-bar{top:0 !important}

/* ===== format cards (what we publish) ===== */
.fmt-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem;margin-top:1.4rem}
.fmt-card{display:block;text-decoration:none;background:var(--paper);border:1px solid var(--warm-line);border-radius:16px;padding:1.6rem 1.5rem;transition:transform .25s,box-shadow .25s,border-color .25s}
.fmt-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(28,28,26,.10);border-color:var(--sand-line)}
.fmt-ic{width:42px;height:42px;border-radius:11px;background:var(--sand);display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.fmt-ic svg{width:20px;height:20px;stroke:var(--burnt-deep);fill:none;stroke-width:1.8}
.fmt-t{font-family:var(--display);font-weight:600;font-size:1.05rem;color:var(--ink);margin-bottom:.4rem}
.fmt-d{font-size:.85rem;font-weight:300;color:var(--muted);line-height:1.6}
@media(max-width:860px){.fmt-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.fmt-grid{grid-template-columns:1fr}}

/* ===== search results redesigned as rows ===== */
.ts-results{display:flex;flex-direction:column;gap:.45rem;max-width:560px;margin:1.2rem auto 0;text-align:left;justify-content:flex-start}
.ts-hit{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1.1rem;background:var(--paper);border:1px solid var(--warm-line);border-radius:13px;text-decoration:none;transition:border-color .18s,transform .18s,box-shadow .18s}
.ts-hit:hover{border-color:var(--burnt);transform:translateY(-1px);box-shadow:0 8px 22px rgba(28,28,26,.09)}
.ts-hit-t{font-family:var(--body);font-size:.95rem;font-weight:500;color:var(--ink);line-height:1.3}
.ts-hit-c{flex-shrink:0;font-size:.62rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--burnt-deep);background:var(--sand);padding:.28rem .62rem;border-radius:20px}
.ts-empty{font-size:.92rem;color:var(--muted)}

/* ===================================================================
   MOBILE ENHANCEMENTS (phone-first audience)
   =================================================================== */
img, svg, video { max-width: 100%; height: auto; }
html, body { overflow-x: clip; }

/* wide data tables (medications, substances) scroll on their own
   instead of stretching the page on a phone */
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.2rem 0;
}
.table-scroll > table { margin: 0; min-width: 460px; }

/* a little more reading width on the smallest screens */
@media (max-width: 560px) {
  .wrap, .container, .page-body { padding-left: 1.5rem; padding-right: 1.5rem; }
  .stories-bento { gap: 0.9rem; }
}

/* ===================================================================
   SOCIAL ICONS (footer) - only handles set in SITE_INFO render
   =================================================================== */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  margin-top: 0.56rem;
  width: 100%;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25.5px;
  height: 25.5px;
  border-radius: 999px;
  color: var(--white);
  background: var(--muted);
  border: none;
  box-shadow: 0 1px 2px rgba(28,28,26,.08);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.social-link svg { width: 12px; height: 12px; fill: currentColor; }
.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(28,28,26,.14);
  filter: brightness(1.05);
}
.social-link--whatsapp { background: #25D366; }
.social-link--instagram { background: #E4405F; }
.social-link--facebook { background: #1877F2; }
.social-link--x { background: #0f1419; }
.social-link--tiktok { background: #010101; }
.social-link--youtube { background: #FF0000; }
.social-link--linkedin { background: #0A66C2; }

/* ===== Related and Read next (auto-populated from MP_ARTICLES in site.js) ===== */
.wrap.has-aside{display:flex;gap:2.5rem;align-items:flex-start;justify-content:center;max-width:1120px;margin-left:auto;margin-right:auto;padding:0 var(--content-pad,2.5rem)}
.wrap.has-aside>article{flex:1 1 auto;margin:0!important;max-width:none!important}
.read-next{max-width:1080px;margin:3.5rem auto 0;padding:0 1.25rem}
.read-next h2{font-family:'Fraunces',serif;font-size:1.4rem;font-weight:600;margin:0 0 1.4rem;color:var(--ink)}
.rn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.rn-card{display:block;text-decoration:none;color:var(--ink);background:var(--white);border:1.5px solid var(--warm-line);border-radius:var(--radius);overflow:hidden;transition:border-color .2s,transform .2s}
.rn-card:hover{border-color:var(--burnt);transform:translateY(-2px)}
.rn-card .rn-img{height:128px;background-color:var(--stone);background-size:cover;background-position:center;background-repeat:no-repeat;overflow:hidden}
.rn-card .rn-body{padding:1rem 1.1rem 1.2rem}
.rn-card .rn-cat{font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:var(--burnt);font-weight:600}
.rn-card .rn-title{font-family:'Fraunces',serif;font-size:1.02rem;font-weight:600;line-height:1.3;margin:.4rem 0 0;color:var(--ink)}
@media(max-width:900px){
  .wrap.has-aside{flex-direction:column;align-items:stretch;max-width:var(--content-max)}
  .grid>aside,.page-body>aside,.wrap.has-aside>aside,.side{position:static!important}
  .rn-grid{grid-template-columns:1fr}
}

/* ===== Hubs, thumbnail cards, prose, and maintainer notes ===== */
.prose{max-width:100%;margin:1.5rem 0 0;font-family:'Inter',sans-serif;color:var(--ink);line-height:1.7}
.prose h2{font-family:'Fraunces',serif;font-size:1.35rem;font-weight:600;margin:2rem 0 .6rem;color:var(--ink)}
.prose p{margin:0 0 1rem}
.prose a{color:var(--burnt-deep)}
.hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.1rem;margin:1.5rem 0}
.hub-card{display:block;text-decoration:none;color:var(--ink);background:var(--white);border:1.5px solid var(--warm-line);border-radius:var(--radius);padding:1rem 1rem 1.35rem;transition:border-color .2s,transform .2s;overflow:hidden}
.hub-card:hover{border-color:var(--burnt);transform:translateY(-2px)}
.hub-img{height:118px;margin:-1rem -1rem 1.05rem;background-color:var(--stone);background-size:cover;background-position:center;background-repeat:no-repeat;position:relative}
.hub-img::after{display:none}
.hub-ic{width:38px;height:38px;color:var(--burnt);margin-bottom:.7rem}
.hub-card:not(:has(.hub-img)) .hub-ic{
  width:40px;height:40px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--sand);color:var(--burnt-deep);
}
.hub-card:not(:has(.hub-img)) .hub-ic svg{width:22px;height:22px}
.hub-ic svg{width:100%;height:100%}
.hub-t{font-family:'Fraunces',serif;font-size:1.18rem;font-weight:600;margin-bottom:.35rem;color:var(--ink)}
.hub-x{font-family:'Inter',sans-serif;font-size:.9rem;line-height:1.5;color:var(--muted)}
.fillme{background:var(--sand);border:1px dashed var(--burnt);border-radius:var(--radius);padding:.9rem 1.1rem;margin:1rem 0;font-family:'Inter',sans-serif;font-size:.88rem;line-height:1.55;color:var(--ink)}
.fillme strong{color:var(--burnt-deep)}
@media(max-width:600px){.hub-grid{grid-template-columns:1fr}}

/* ===== Listings as an editorial card mosaic (centralized: every .shelf listing) =====
   Converts the text-row listings (.cond-row inside .shelf) into a varied,
   responsive card grid. Cards are not uniform: occasional tiles run wider as
   features, with alternating tints and accent treatments for rhythm. No
   per-page edits. Image-card listings (.story-row, .rn-card, .hub-card,
   .ex-card) are unaffected. Variety uses :nth-of-type, which counts only the
   <a class="cond-row"> tiles (the heading and note are other element types). */
.shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1.1rem;margin:2.5rem 0;grid-auto-flow:dense}
.shelf-head,.shelf-note{grid-column:1/-1}
.shelf-note{margin:.2rem 0 .6rem}

.cond-row{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;
  padding:1.2rem 1.3rem 1.35rem;border:1.5px solid var(--warm-line);border-radius:var(--radius);
  background:var(--white);height:100%;overflow:hidden;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.cond-row::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--cat,var(--burnt))}
.cond-row:hover{border-color:var(--cat,var(--burnt));box-shadow:0 10px 26px rgba(28,28,26,.09);transform:translateY(-3px)}
.cond-row .pub{font-size:1.05rem;line-height:1.28;color:var(--burnt-deep)}
.cond-row .dsm{font-size:.8rem;color:var(--muted);line-height:1.45}
.cond-row .badge{margin-top:auto;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--cat,var(--burnt));font-weight:700;padding-top:.35rem}
/* per-category identity: coloured icon tile + underline, set by mpCondCategories() in site.js */
.shelf-head{align-items:center}
.shelf-ic{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:var(--stone);background:color-mix(in srgb,var(--cat,#b96a3c) 15%,#fff);color:var(--cat,#b96a3c)}
.shelf-ic svg{width:20px;height:20px}
.shelf .shelf-head{border-bottom-color:var(--cat,var(--ink))}
@media(max-width:700px){.shelf-ic{width:30px;height:30px}.shelf-ic svg{width:18px;height:18px}}

/* mix and match rhythm */
.cond-row:nth-of-type(7n+1){grid-column:span 2;background:var(--stone);background:color-mix(in srgb,var(--cat,#b96a3c) 8%,#fff)}
.cond-row:nth-of-type(7n+1) .pub{font-size:1.45rem;font-weight:600}
.cond-row:nth-of-type(7n+1) .dsm{font-size:.9rem}
.cond-row:nth-of-type(7n+1)::before{height:5px}
.cond-row:nth-of-type(4n+3){background:var(--sand)}
.cond-row:nth-of-type(4n+3)::before{background:var(--burnt-deep)}
.cond-row:nth-of-type(5n+2)::before{background:linear-gradient(90deg,var(--burnt),var(--burnt-deep))}
.cond-row:nth-of-type(11n+6){grid-column:span 2}

@media(max-width:760px){.shelf{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
  .cond-row:nth-of-type(7n+1),.cond-row:nth-of-type(11n+6){grid-column:auto}
  .cond-row:nth-of-type(7n+1) .pub{font-size:1.15rem}}
@media(max-width:520px){.shelf{grid-template-columns:1fr}}

/* ===== Monogram tiles on listing cards (injected by site.js) ===== */
.cond-row .mono{width:38px;height:38px;border-radius:var(--radius);background:var(--sand);color:var(--burnt-deep);font-family:'Fraunces',serif;font-size:20px;font-weight:600;line-height:1;display:flex;align-items:center;justify-content:center;margin-bottom:.15rem;flex-shrink:0}
.cond-row:nth-of-type(4n+3) .mono{background:var(--paper)}
.cond-row:nth-of-type(7n+1) .mono{width:54px;height:54px;font-size:30px}

/* ===== Homepage: Most read row ===== */
.mostread{max-width:var(--content-max,var(--wrap));margin:0 auto;padding:2rem var(--content-pad,2.5rem) .5rem}
.mr-head{font-family:'Fraunces',serif;font-size:1.5rem;font-weight:600;color:var(--ink);margin:0 0 1.2rem;display:flex;align-items:center;gap:.6rem}
.mr-head::after{content:"";flex:1;height:1px;background:var(--warm-line)}
.mr-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.home-thumb-row{margin-bottom:.25rem}
@media(max-width:720px){.home-thumb-row,.mostread .mr-row{gap:.65rem}}
@media(max-width:520px){.home-thumb-row,.mostread .mr-row{gap:.45rem}}

/* ===== Homepage: podcast & newsletter bands ===== */
.home-bands-wrap{padding-top:0!important}
.home-bands{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.home-band{display:flex;gap:1.1rem;align-items:flex-start;background:var(--stone);border:1.5px solid var(--warm-line);border-radius:18px;padding:1.5rem 1.4rem}
.home-band-ic{width:44px;height:44px;flex-shrink:0;color:var(--burnt);margin-top:.15rem}
.home-band-ic svg{width:100%;height:100%}
.home-band-h{font-family:'Fraunces',serif;font-size:1.15rem;font-weight:600;color:var(--ink);margin:.35rem 0 .45rem;line-height:1.25}
.home-band-p{font-size:.88rem;font-weight:300;color:var(--muted);line-height:1.65;margin-bottom:.85rem;max-width:42ch}
.home-band-btn{display:inline-block;font-size:.8rem;font-weight:600;color:var(--burnt-deep);text-decoration:none;border-bottom:1px solid var(--burnt-pale)}
.home-band-btn:hover{color:var(--burnt)}
@media(max-width:820px){.home-bands{grid-template-columns:1fr}}

/* ===== Homepage: three shortcut cards (Voices / Resources / Community) ===== */
.home3{max-width:var(--content-max,var(--wrap));margin:0 auto;padding:0 var(--content-pad,2.5rem);display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.h3-card{position:relative;display:flex;flex-direction:column;background:var(--white);border:1.5px solid var(--warm-line);border-radius:var(--radius);padding:1.8rem 1.7rem 1.6rem;text-decoration:none;color:var(--ink);overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.h3-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--burnt)}
.h3-card:hover{border-color:var(--burnt);box-shadow:0 12px 30px rgba(28,28,26,.09);transform:translateY(-4px)}
.h3-ic{width:46px;height:46px;color:var(--burnt);margin-bottom:1rem}
.h3-ic svg{width:100%;height:100%}
.h3-t{font-family:'Fraunces',serif;font-size:1.5rem;font-weight:600;margin-bottom:.5rem;color:var(--ink)}
.h3-x{font-family:'Inter',sans-serif;font-size:.92rem;line-height:1.55;color:var(--muted);flex:1}
.h3-go{font-family:'Inter',sans-serif;font-size:.82rem;letter-spacing:.04em;text-transform:uppercase;font-weight:600;color:var(--burnt-deep);margin-top:1.1rem}
@media(max-width:820px){.home3{grid-template-columns:1fr}}

/* ===== About: scale-of-crisis card (redesigned, calmer) ===== */
.crisis-card{background:var(--paper);border:1px solid var(--warm-line);border-radius:var(--radius);padding:1.8rem 2rem;margin:2.5rem auto 0;text-align:center;max-width:920px}
.crisis-eyebrow{font-size:.72rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--burnt-deep);margin-bottom:1.4rem;display:flex;align-items:center;justify-content:center;gap:.6rem}
.crisis-eyebrow::before,.crisis-eyebrow::after{content:"";width:1.6rem;height:2px;background:var(--warm-line);flex-shrink:0}
.crisis-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;align-items:start}
.crisis-stat{text-align:center;padding:0 .5rem;display:flex;flex-direction:column;align-items:center}
.crisis-num{font-family:'Fraunces',serif;font-size:2.4rem;font-weight:600;color:var(--burnt-deep);line-height:1}
.crisis-lbl{font-size:.8rem;font-weight:400;color:var(--muted);line-height:1.55;margin-top:.5rem;max-width:26ch}
.crisis-src{font-size:.72rem;color:var(--light);margin:1.4rem auto 0;line-height:1.6;border-top:1px solid var(--warm-line);padding-top:.9rem;max-width:52ch}
@media(max-width:680px){.crisis-grid{grid-template-columns:1fr;gap:1.6rem}.crisis-stat{align-items:center;text-align:center}.crisis-num{font-size:1.9rem}.crisis-lbl{margin-top:.5rem;max-width:32ch}}

/* ===== About: vision + mission panels (toned down to light surfaces) ===== */
.section.vm-section{padding:0 0 4rem!important}
.vm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:stretch}
.vm-card{
  padding:2.25rem 2rem;
  position:relative;
  border-radius:var(--radius);
  border:1.5px solid var(--warm-line);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  height:100%;
}
.vm-vision{background:var(--sand)}
.vm-mission{background:var(--stone)}
.vm-tag{font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--burnt-deep);margin-bottom:1.1rem;display:flex;align-items:center;gap:.6rem}
.vm-tag::before{display:none!important;content:none!important}
.vm-text{
  font-family:'Fraunces',serif;
  font-size:clamp(1.05rem,2vw,1.25rem);
  font-style:italic;
  font-weight:400;
  line-height:1.65;
  color:var(--ink);
  margin:0;
  flex:1;
}
@media(max-width:820px){
  .vm-grid{grid-template-columns:1fr}
  .vm-card{padding:2rem 1.65rem}
}
@media(max-width:520px){
  .section.vm-section{padding-bottom:3rem!important}
  .vm-card{padding:1.65rem 1.35rem}
  .vm-text{font-size:1.05rem}
}

/* ===== Dear Psychologist — editorial calligraphy spotlight ===== */
.dp-display-title{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0;
  margin:0 0 1.25rem;
  line-height:.92;
  font-family:'Fraunces',serif;
  font-variation-settings:"opsz" 144;
  letter-spacing:-.02em;
}
.dp-t-dear{
  font-size:clamp(2.4rem,7vw,4.2rem);
  font-weight:300;
  font-style:italic;
  color:var(--ink);
  letter-spacing:.02em;
  transform:translateX(-.08em);
}
.dp-t-comma{
  font-style:italic;
  font-weight:400;
  color:var(--burnt-light);
}
.dp-t-psy{
  font-size:clamp(3rem,9.5vw,5.75rem);
  font-weight:700;
  font-style:normal;
  color:var(--burnt);
  letter-spacing:-.03em;
  margin-top:-.12em;
  text-shadow:0 1px 0 rgba(255,253,251,.6);
}
.dp-display-title--page .dp-t-dear{font-size:clamp(2.6rem,8vw,4.5rem)}
.dp-display-title--page .dp-t-psy{font-size:clamp(3.2rem,10vw,6rem)}
.dp-spotlight{
  position:relative;
  text-align:center;
  padding:4.25rem var(--content-pad,2.5rem) 4.5rem;
  background:linear-gradient(168deg,var(--burnt-wash) 0%,#fdf9f4 42%,var(--stone) 100%);
  border-top:1px solid var(--burnt-pale);
  border-bottom:1px solid var(--warm-line);
  overflow:hidden;
}
.dp-spotlight::before,
.dp-spotlight::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
.dp-spotlight::before{
  width:min(420px,70vw);
  height:min(420px,70vw);
  top:-28%;
  right:-12%;
  background:radial-gradient(circle,rgba(241,85,73,.12) 0%,transparent 68%);
}
.dp-spotlight::after{
  width:min(360px,60vw);
  height:min(360px,60vw);
  bottom:-35%;
  left:-10%;
  background:radial-gradient(circle,rgba(90,120,110,.08) 0%,transparent 70%);
}
.dp-spotlight-in{
  position:relative;
  z-index:1;
  max-width:38rem;
  margin:0 auto;
}
.dp-spotlight-kicker{
  font-family:'Inter',sans-serif;
  font-size:.68rem;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--burnt-deep);
  margin-bottom:1.35rem;
}
.dp-spotlight-dek{
  font-size:1rem;
  font-weight:300;
  color:var(--muted);
  line-height:1.75;
  max-width:34ch;
  margin:0 auto 2rem;
}
.dp-spotlight-sample{
  margin:0 auto 2rem;
  padding:0;
  max-width:36ch;
}
.dp-spotlight-quote{
  font-family:'Fraunces',serif;
  font-style:italic;
  font-weight:400;
  font-size:clamp(1.05rem,2.4vw,1.25rem);
  font-variation-settings:"opsz" 48;
  color:var(--ink);
  line-height:1.65;
  margin:0 0 .85rem;
  position:relative;
}
.dp-spotlight-quote::before{
  content:"\201C";
  display:block;
  font-family:'Fraunces',serif;
  font-size:2.8rem;
  font-style:normal;
  font-weight:300;
  color:var(--burnt-pale);
  line-height:1;
  margin-bottom:.15rem;
}
.dp-spotlight-answer{
  font-size:.88rem;
  font-weight:400;
  color:var(--muted);
  line-height:1.65;
  font-style:normal;
}
.dp-spotlight-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.65rem 1rem;
}
.dp-spotlight-cta{
  display:inline-block;
  font-family:'Inter',sans-serif;
  font-size:.85rem;
  font-weight:600;
  padding:.85rem 1.85rem;
  border-radius:28px;
  text-decoration:none;
  transition:background .2s,color .2s,border-color .2s,transform .2s;
}
.dp-spotlight-cta--primary{
  color:#fff;
  background:var(--burnt);
  border:1.5px solid var(--burnt);
}
.dp-spotlight-cta--primary:hover{background:var(--burnt-deep);border-color:var(--burnt-deep);transform:translateY(-1px)}
.dp-spotlight-cta--secondary{
  color:var(--burnt-deep);
  background:transparent;
  border:1.5px solid var(--burnt-pale);
}
.dp-spotlight-cta--secondary:hover{background:var(--white);border-color:var(--burnt);color:var(--burnt)}
.dp-page-hero{text-align:center;padding-bottom:1rem!important}
.dp-page-hero .crumb{text-align:center}
.dp-page-dek{max-width:36ch;margin-left:auto;margin-right:auto;text-align:center}
.dp-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem;margin:2rem 0 2.5rem}
@media(max-width:700px){.dp-how{grid-template-columns:1fr}}
.wrap:has(>.route-row){display:block!important;box-sizing:border-box}
.wrap:has(>.route-row).has-aside>aside{display:none!important}
@media(max-width:620px){
  .dp-spotlight{padding:3.25rem 1.5rem 3.5rem}
  .dp-spotlight-actions{flex-direction:column;width:100%}
  .dp-spotlight-cta{width:100%;max-width:20rem;text-align:center}
}

/* ============================================================
   CRAFT LAYER
   Texture, depth, and small intentional irregularities so the
   design reads as made by a person rather than auto-generated.
   Restrained and editorial, to preserve clinical credibility.
   ============================================================ */
:root{
  --craft-shadow:0 1px 2px rgba(74,52,30,.05), 0 4px 10px rgba(74,52,30,.045);
  --craft-shadow-lift:0 8px 18px rgba(74,52,30,.09), 0 18px 40px rgba(74,52,30,.10);
}
/* depth in the page surface instead of a flat fill */
body{background-image:radial-gradient(125% 85% at 50% -12%, #fdfaf5 0%, #faf5ee 55%, #f6f0e6 100%)}
/* faint paper grain across the whole page (texture, not noise) */
body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:8;opacity:.04;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
/* warmer, layered, more physical card shadows */
.shelf .cond-row{box-shadow:var(--craft-shadow)}
.shelf .cond-row:hover{box-shadow:var(--craft-shadow-lift)}
/* hand-placed icon tiles: gentle, varied rotation and soft depth */
.shelf-ic{box-shadow:0 1px 2px rgba(74,52,30,.10);transition:transform .25s ease}
.shelf:nth-of-type(2n) .shelf-ic{transform:rotate(-2.5deg)}
.shelf:nth-of-type(2n+1) .shelf-ic{transform:rotate(1.8deg)}
.shelf:nth-of-type(3n) .shelf-ic{transform:rotate(-1deg)}
.shelf-head:hover .shelf-ic{transform:rotate(0)}
.shelf-ic svg{stroke-width:1.75}
/* subtle organic variation in card corners, so the grid feels less machine-perfect */
.shelf .cond-row:nth-of-type(2n){border-radius:13px 11px 13px 12px}
.shelf .cond-row:nth-of-type(3n){border-radius:11px 13px 12px 13px}
/* more expressive display headings using the Fraunces optical-size axis */
.shelf-head h2{font-variation-settings:"opsz" 48;letter-spacing:-.018em}

/* social sticky-note rail (injected by mpSocialRail() in site.js) */
.social-rail{position:fixed;right:8px;top:50%;transform:translateY(-50%);z-index:40;display:flex;flex-direction:column;gap:9px}
.social-note{width:28.5px;height:28.5px;display:flex;align-items:center;justify-content:center;border-radius:7px;color:#fff;box-shadow:0 3px 8px rgba(40,28,18,.16),0 1px 2px rgba(40,28,18,.1);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;text-decoration:none}
.social-note:hover{transform:rotate(0deg) scale(1.07)!important;box-shadow:0 7px 16px rgba(40,28,18,.22);filter:brightness(1.05)}
.social-note svg{width:13.5px;height:13.5px;fill:currentColor}
@media(max-width:920px){.social-rail{display:none}}

/* ============================================================
   SENSITIVE EDITORIAL THUMBNAILS
   Use this layer when preparing thumbnails for the CMS.
   Keep mental-health imagery calm, contextual, and non-stigmatizing:
   avoid distressed close-ups, hospital beds, pills in hands, isolation
   stereotypes, or images that imply a diagnosis from someone's face.
   Prefer everyday context, hands, spaces, notebooks, community, nature,
   clinics from a respectful distance, and simple typographic tiles.
   ============================================================ */
.rn-card,.story-row,.sb,.hub-card,.h3-card{box-shadow:none!important}
.rn-card:hover,.story-row:hover,.sb:hover,.hub-card:hover,.h3-card:hover{box-shadow:none!important}
.rn-card,.sb,.story-row{border-color:var(--warm-line)}
.rn-card:hover,.sb:hover{transform:translateY(-2px)}

.rn-card .rn-img,
.sr-img,
.sb>img,
.sb-wide .sb-imgwrap img,
.hub-img,
.fe-image img,
.ec-image img,
.ac-image,
.fa-image,
.contact-thumb-img{
  filter:none;
}
.sb>img,
.sb-wide .sb-imgwrap img,
.sr-img img{
  object-position:center center;
}
.rn-card .rn-img::after,
.sr-img::after,
.sb::before,
.sb-wide .sb-imgwrap::after,
.hub-img::after{
  display:none;
}
.rn-card .rn-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.rn-card .rn-img,
.sr-img,
.sb,
.sb-wide .sb-imgwrap{position:relative}

/* Typographic thumbnails replace generic stock imagery when the story can be
   represented more sensitively by title/category than by a staged photo. */
.rn-img.editorial-tile{
  display:flex;
  align-items:flex-end;
  padding:1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.55), transparent 34%),
    var(--stone)!important;
  border-bottom:1px solid var(--warm-line);
}
.rn-img.editorial-tile::before{
  content:attr(data-kicker);
  position:relative;
  z-index:1;
  font-family:var(--display);
  font-size:1.05rem;
  font-weight:600;
  line-height:1.2;
  color:var(--burnt-deep);
  max-width:9rem;
}
.rn-card:nth-child(2n) .rn-img.editorial-tile{background:var(--sand)!important}
.rn-card:nth-child(3n) .rn-img.editorial-tile{background:var(--paper)!important}

/* Photo cards: text below image (no gradient overlay on photos). */
.sb-overlay::after{display:none!important}
.sb-cap .tag{backdrop-filter:none}
.sb-title-ov,.sb-excerpt-ov,.sb-meta-ov{text-shadow:none}

/* For CMS handoff: add .no-photo-card when a sensitive or locally relevant
   image is not available yet. */
.no-photo-card{
  background:var(--stone)!important;
  border:1.5px solid var(--warm-line);
}

/* Form readiness state for static/pre-CMS pages. */
.mp-check{display:flex;gap:.6rem;align-items:flex-start;margin:1.2rem 0 .5rem;font-size:.88rem;font-weight:300;color:var(--muted);line-height:1.6}
.mp-check input{margin-top:.25rem;flex:0 0 auto}
.form-status-message{
  margin-top:.9rem;
  padding:.8rem 1rem;
  border-radius:var(--radius);
  background:var(--sand);
  border:1px solid var(--sand-line);
  color:var(--burnt-deep);
  font-size:.88rem;
  line-height:1.55;
}
form[data-form-status="unconnected"] button[type="submit"]::after{
  content:" (not live yet)";
  font-weight:400;
  opacity:.85;
}

/* Calm card edges: remove thick colour strips from thumbnail/listing cards. */
.cond-row::before,
.h3-card::before,
.well-card::before{
  display:none!important;
}
.shelf .shelf-head{
  border-bottom-color:var(--warm-line)!important;
}
.cond-row:hover,
.h3-card:hover,
.story-card:hover,
.rn-card:hover,
.hub-card:hover{
  border-color:var(--warm-line)!important;
}

/* ============================================================
   HEALTH-PUBLICATION CARD SYSTEM
   Inspired by calm editorial health sites: image above, category label,
   strong headline, short excerpt, consistent rows. Keeps content intact.
   ============================================================ */
.section{padding:4rem 0!important}
.lib-hero{padding:3.5rem var(--content-pad) 2rem!important}
.page-hero{padding-top:3.2rem!important;padding-bottom:2.8rem!important}
.mostread{padding-top:2.5rem!important;padding-bottom:0!important}
.dp-spotlight{padding-top:3rem!important;padding-bottom:3rem!important}
.home3{padding-top:0!important;padding-bottom:0!important}
.home-sec-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
.home-sec-head .sec-tag{margin-bottom:0!important}
.home-sec-link{font-size:.82rem;font-weight:600;color:var(--burnt);text-decoration:none;border-bottom:1px solid var(--burnt-pale);white-space:nowrap}
.home-sec-link:hover{color:var(--burnt-deep)}
.home-pathways{padding:2.5rem 0 4rem}
.home-pathways .home3{padding-top:0;padding-bottom:0}
.home-thumb-row .rn-body{padding:.85rem .9rem 1rem!important}
.home-thumb-row .rn-title{font-size:.92rem!important;line-height:1.28!important}
.home-thumb-row .rn-cat{font-size:.62rem!important}
@media(max-width:720px){
  .home-thumb-row .rn-body{padding:.7rem .65rem .8rem!important}
  .home-thumb-row .rn-title{font-size:.82rem!important;line-height:1.25!important}
  .home-thumb-row .rn-cat{font-size:.58rem!important}
}
@media(max-width:520px){
  .home-thumb-row .rn-body{padding:.5rem .4rem .6rem!important}
  .home-thumb-row .rn-title{font-size:.72rem!important;line-height:1.22!important;margin-top:.25rem!important}
  .home-thumb-row .rn-cat{font-size:.52rem!important;letter-spacing:.06em!important}
}
#home-most-read:empty,#home-latest-stories:empty,#home-explainers:empty{min-height:200px}
@media(max-width:520px){
  #home-most-read:empty,#home-latest-stories:empty,#home-explainers:empty{min-height:140px}
}
.quiz-section .container{display:flex;justify-content:center}
.quiz-section .quiz-wrap{width:100%;max-width:820px;margin:0}
.quiz-section--home{padding:2.75rem 0!important;background:var(--stone)}
.quiz-section--home .quiz-wrap{background:var(--white);border:1.5px solid var(--warm-line);border-radius:18px;padding:1.75rem 1.85rem;backdrop-filter:none}
.quiz-section--home .quiz-label{color:var(--burnt-deep);font-size:.72rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:1.1rem}
.quiz-section--home .quiz-btn{color:var(--ink);background:var(--stone);border:1.5px solid var(--warm-line)}
.quiz-section--home .quiz-btn:hover{background:var(--white);color:var(--burnt);border-color:var(--burnt-pale)}
.quiz-section--home .quiz-btn.selected{background:var(--burnt-deep);border-color:var(--burnt-deep);color:#fff}
.quiz-section--home .quiz-options{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:980px){.quiz-section--home .quiz-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.quiz-section--home .quiz-options{grid-template-columns:1fr}}
.home-featured{padding:2.5rem 0 0}
.home-featured .featured-story{display:grid;grid-template-columns:1.1fr 1fr;border-radius:20px;overflow:hidden;border:1.5px solid var(--warm-line);box-shadow:0 4px 24px rgba(40,28,18,.08);text-decoration:none;color:inherit;transition:border-color .25s,transform .25s,box-shadow .25s}
.home-featured .featured-story:hover{border-color:var(--burnt-pale);transform:translateY(-2px);box-shadow:0 10px 32px rgba(40,28,18,.1)}
.home-featured .fs-image{position:relative;min-height:300px;overflow:hidden;background:var(--burnt-wash)}
.home-featured .fs-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.home-featured .featured-story:hover .fs-image img{transform:scale(1.03)}
.home-featured .fs-badge{position:absolute;top:1.1rem;left:1.1rem;font-size:.66rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;background:var(--burnt);color:#fff;padding:.28rem .85rem;border-radius:20px}
.home-featured .fs-body{padding:2rem 2.25rem;background:var(--white);display:flex;flex-direction:column;justify-content:center}
.home-featured .fs-title{font-family:'Fraunces',serif;font-size:clamp(1.25rem,2.2vw,1.55rem);font-weight:700;color:var(--ink);line-height:1.3;margin:.75rem 0 .65rem}
.home-featured .fs-excerpt{font-size:.92rem;font-weight:300;color:var(--muted);line-height:1.75;margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.home-featured .fs-meta{font-size:.8rem;color:var(--burnt);font-weight:600;padding-top:.85rem;border-top:1px solid var(--warm-line);margin-top:auto}
@media(max-width:860px){
  .home-featured .featured-story{grid-template-columns:1fr}
  .home-featured .fs-image{min-height:220px}
  .home-featured .fs-body{padding:1.5rem 1.65rem}
}

/* Homepage: trust row, pathway continue, country picker, tools */
.home-trust{background:var(--stone);border-bottom:1px solid var(--warm-line);padding:.85rem 0}
.home-trust-in{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.35rem .9rem;font-size:.78rem;color:var(--muted);text-align:center}
.home-trust-dot{opacity:.45}
.home-trust-in a{color:var(--burnt);font-weight:600;text-decoration:none;border-bottom:1px solid var(--burnt-pale)}
.pathway-continue{background:var(--burnt-wash);border-bottom:1px solid var(--burnt-pale);padding:.7rem 0}
.pathway-continue-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.85rem;color:var(--muted)}
.home-search{padding-top:2.5rem!important;padding-bottom:2.5rem!important}
.home-search-h{font-family:'Fraunces',serif;font-size:clamp(1.35rem,3vw,1.85rem);font-weight:700;color:var(--ink);line-height:1.25;margin:.4rem 0 1.35rem}
.home-country{padding-top:2.5rem!important;padding-bottom:2.75rem!important}
.home-country-in{max-width:42rem;margin:0 auto;text-align:center}
.home-country .sec-tag{display:inline-flex;margin-bottom:1.15rem}
.home-country-h{font-family:'Fraunces',serif;font-size:clamp(1.35rem,3vw,1.75rem);font-weight:700;color:var(--ink);line-height:1.25;margin:0 auto .65rem;max-width:28ch}
.home-resonated-h{font-family:'Fraunces',serif;font-size:clamp(1.35rem,3vw,1.75rem);font-weight:700;color:var(--ink);line-height:1.25;margin:0 0 .65rem}
.home-country-p{font-size:.9rem;font-weight:300;color:var(--muted);line-height:1.65;margin:0 auto 1.5rem;max-width:46ch}
.home-country-wa{color:var(--burnt);font-weight:600;text-decoration:none;border-bottom:1px solid var(--burnt-pale)}
.home-country-wa:hover{color:var(--burnt-deep)}
.country-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;max-width:32rem;margin:0 auto}
.country-pick{display:block;text-align:center;font-size:.82rem;font-weight:600;color:var(--ink);background:var(--white);border:1.5px solid var(--warm-line);border-radius:24px;padding:.6rem 1rem;text-decoration:none;transition:border-color .2s,background .2s,color .2s}
.country-pick:hover{border-color:var(--burnt);color:var(--burnt-deep);background:var(--paper)}
.country-pick--all{grid-column:1/-1;width:fit-content;max-width:100%;justify-self:center;margin-top:.2rem;padding:.65rem 1.5rem;color:var(--burnt);border-color:var(--burnt-pale);background:var(--burnt-wash)}
@media(max-width:520px){
  .country-picks{grid-template-columns:repeat(2,minmax(0,1fr));max-width:100%}
  .country-pick--all{grid-column:1/-1}
}
.home-tools{padding-top:2.5rem!important;padding-bottom:2.5rem!important}
.tools-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.tool-card{display:flex;flex-direction:column;background:var(--white);border:1.5px solid var(--warm-line);border-radius:18px;padding:1.35rem 1.4rem;text-decoration:none;color:inherit;transition:border-color .2s,transform .2s;height:100%}
.tool-card:hover{border-color:var(--burnt-pale);transform:translateY(-2px)}
.tool-time{font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--burnt);margin-bottom:.55rem}
.tool-title{font-family:'Fraunces',serif;font-size:1.05rem;font-weight:600;color:var(--ink);line-height:1.3;margin:0 0 .45rem}
.tool-desc{font-size:.84rem;font-weight:300;color:var(--muted);line-height:1.6;flex:1;margin:0 0 .85rem}
.tool-go{font-size:.78rem;font-weight:600;color:var(--burnt-deep)}
.testi-author a{color:var(--burnt);font-weight:600;text-decoration:none;border-bottom:1px solid var(--burnt-pale)}
@media(max-width:820px){.tools-row{grid-template-columns:1fr}}
.crisis-bar .container{font-size:.85rem;font-weight:300;color:var(--muted);line-height:1.65}

.rn-card,
.hub-card,
.h3-card,
.story-card,
.sb,
.cond-row{
  border:1px solid var(--warm-line)!important;
  border-radius:18px!important;
  background:var(--paper)!important;
}
.rn-card:hover,
.hub-card:hover,
.h3-card:hover,
.story-card:hover,
.sb:hover,
.cond-row:hover{
  transform:translateY(-1px)!important;
  background:#fff!important;
  border-color:#D8CEC3!important;
}

/* Homepage latest-story thumbnails: remove heavy image overlays and make
   cards read like trusted health publication teasers. */
.stories-bento{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:auto!important;
  gap:1rem!important;
}
.sb,
.sb-feature,
.sb-small,
.sb-wide{
  grid-column:auto!important;
  grid-row:auto!important;
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  overflow:hidden!important;
}
.sb>img,
.sb-wide .sb-imgwrap,
.sb-wide .sb-imgwrap img{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:168px!important;
  min-height:0!important;
  display:block!important;
}
.sb>img,
.sb-wide .sb-imgwrap img{
  object-fit:cover!important;
}
.sb::before,
.sb-overlay::after,
.sb-wide .sb-imgwrap::after{
  display:none!important;
}
.sb-cap,
.sb-feature .sb-cap{
  position:static!important;
  padding:1rem 1.1rem 1.15rem!important;
}
.sb-wide .sb-body{
  padding:1rem 1.1rem 1.15rem!important;
}
.sb-title-ov,
.sb-wide .sb-title{
  color:var(--ink)!important;
  font-family:var(--display)!important;
  font-size:1.06rem!important;
  line-height:1.28!important;
  max-width:none!important;
  margin:0!important;
}
.sb-excerpt-ov,
.sb-wide .sb-excerpt{
  color:var(--muted)!important;
  font-size:.88rem!important;
  line-height:1.55!important;
  max-width:none!important;
  margin:.55rem 0 0!important;
}
.sb-meta-ov,
.sb-wide .sb-meta{
  color:var(--burnt-deep)!important;
  font-size:.68rem!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  margin:.75rem 0 0!important;
}
.rn-card .rn-img{height:138px!important}
.rn-card .rn-body{padding:1rem 1.05rem 1.15rem!important}
.rn-card .rn-cat,
.sc-meta,
.sr-meta{
  color:var(--burnt-deep)!important;
  font-size:.68rem!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.rn-card .rn-title{font-size:1rem!important;line-height:1.32!important}

/* Conditions and long listing pages: reduce crowding by making the cards
   uniform, wider, and less decorative. */
.shelf{
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;
  gap:.85rem!important;
  margin:1.8rem 0 2.2rem!important;
  grid-auto-flow:row!important;
}
.shelf-head{padding-bottom:.55rem!important;margin-bottom:.15rem!important}
.shelf-note{margin:.25rem 0 .75rem!important;line-height:1.55!important}
.cond-row,
.cond-row:nth-of-type(7n+1),
.cond-row:nth-of-type(11n+6){
  grid-column:auto!important;
  padding:1rem 1.05rem!important;
  min-height:0!important;
  border-radius:14px!important;
  background:var(--paper)!important;
}
.cond-row:nth-of-type(4n+3){background:var(--paper)!important}
.cond-row .mono,
.cond-row:nth-of-type(7n+1) .mono{
  width:36px!important;
  height:36px!important;
  font-size:19px!important;
  border-radius:12px!important;
}
.cond-row .pub,
.cond-row:nth-of-type(7n+1) .pub{
  font-size:1rem!important;
  font-weight:650!important;
  line-height:1.3!important;
}
.cond-row .dsm,
.cond-row:nth-of-type(7n+1) .dsm{
  font-size:.78rem!important;
  line-height:1.45!important;
}
.cond-row .tg{font-size:.72rem!important;line-height:1.4!important}
.cond-row .badge{font-size:.62rem!important;padding-top:.2rem!important}

@media(max-width:980px){
  .stories-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  .section{padding:3rem 0!important}
  .stories-bento{grid-template-columns:1fr!important}
  .shelf{grid-template-columns:1fr!important}
}

/* Apply the same calmer publication treatment to remaining card families. */
.fmt-card,
.ex-card,
.explainer-card,
.testi-card,
.well-card,
.drug-card,
.form-card,
.side-card,
.reviewer-card,
.team-card,
.crisis-card,
.promise-item,
.article-card,
.essay-card{
  background:var(--paper)!important;
  border:1px solid var(--warm-line)!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
.fmt-card:hover,
.ex-card:hover,
.explainer-card:hover,
.well-card:hover,
.drug-card:hover,
.team-card:hover,
.article-card:hover,
.essay-card:hover{
  transform:translateY(-1px)!important;
  border-color:#D8CEC3!important;
  box-shadow:none!important;
}
.fmt-grid,
.well-grid,
.ex-grid,
.team-grid,
.drug-grid,
.pillars-grid,
.values-grid,
.help-steps,
.testimonials,
.explainer-row{
  gap:1rem!important;
}
.fmt-card,
.ex-card,
.explainer-card,
.well-card,
.drug-card,
.team-card{
  padding:1.25rem!important;
}
.testi-card{padding:1.35rem!important}
.testi-card::before{opacity:.35!important}
.drug-card .dc-name,
.ex-card .ex-q,
.explainer-card .ec-q,
.well-card h3,
.fmt-card .fmt-t{
  font-size:1.05rem!important;
  line-height:1.3!important;
}
.drug-card .dc-tagline,
.ex-card .ex-preview,
.explainer-card .ec-preview,
.well-card p,
.fmt-card .fmt-d{
  font-size:.88rem!important;
  line-height:1.55!important;
}
.dc-class,
.ex-category,
.ex-badge,
.ec-link,
.fmt-card .fmt-d + *,
.side-card-title,
.rc-eyebrow{
  color:var(--burnt-deep)!important;
  letter-spacing:.08em!important;
}
.drug-grid,
.ex-grid{
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr))!important;
}
.class-section{margin-bottom:2.4rem!important}
.class-head{margin-bottom:1rem!important;padding-bottom:.55rem!important}
.main{padding-top:3rem!important;padding-bottom:3rem!important}
.grid{gap:2rem!important;margin-bottom:2.4rem!important}

/* Contrast repair after light-card redesign. Some older page sections used
   low-opacity white text because they originally sat on dark panels. */
.rn-card,
.hub-card,
.h3-card,
.story-card,
.sb,
.cond-row,
.fmt-card,
.ex-card,
.explainer-card,
.testi-card,
.well-card,
.drug-card,
.form-card,
.side-card,
.reviewer-card,
.team-card,
.crisis-card,
.promise-item,
#dear-mind-project-section{
  color:var(--ink)!important;
}
.rn-card p,
.hub-card p,
.h3-card p,
.story-card p,
.sb p,
.fmt-card p,
.ex-card p,
.explainer-card p,
.testi-card p,
.well-card p,
.drug-card p,
.form-card p,
.side-card p,
.reviewer-card p,
.team-card p,
.crisis-card p,
.promise-item p,
#dear-mind-project-section p{
  color:var(--muted)!important;
}
.rn-card h1,.rn-card h2,.rn-card h3,
.hub-card h1,.hub-card h2,.hub-card h3,
.h3-card h1,.h3-card h2,.h3-card h3,
.story-card h1,.story-card h2,.story-card h3,
.sb h1,.sb h2,.sb h3,
.fmt-card h1,.fmt-card h2,.fmt-card h3,
.ex-card h1,.ex-card h2,.ex-card h3,
.explainer-card h1,.explainer-card h2,.explainer-card h3,
.well-card h1,.well-card h2,.well-card h3,
.drug-card h1,.drug-card h2,.drug-card h3,
.form-card h1,.form-card h2,.form-card h3,
.side-card h1,.side-card h2,.side-card h3,
.reviewer-card h1,.reviewer-card h2,.reviewer-card h3,
.team-card h1,.team-card h2,.team-card h3,
#dear-mind-project-section h1,
#dear-mind-project-section h2,
#dear-mind-project-section h3{
  color:var(--ink)!important;
}
#dear-mind-project-section div{
  color:var(--muted)!important;
}
#dear-mind-project-section > div,
#dear-mind-project-section a{
  color:var(--burnt-deep)!important;
}
.dmp-quote-box,
.dear-mp{
  color:var(--ink)!important;
}
.dmp-quote-box p,
.dear-mp p{
  color:var(--muted)!important;
}
.dmp-quote-box div,
.dear-mp .sec-tag{
  color:var(--burnt-deep)!important;
}
.submit-wrap{
  color:var(--ink)!important;
}
.submit-wrap .sw-title{
  color:var(--ink)!important;
}
.submit-wrap .sw-text,
.submit-wrap .sw-reqs li,
.submit-wrap .sw-note{
  color:var(--muted)!important;
}
.write-cta{
  color:var(--ink)!important;
}
.write-cta .wc-title{
  color:var(--ink)!important;
}
.write-cta .wc-title em{
  color:var(--burnt-deep)!important;
}
.write-cta .wc-text,
.write-cta .wr-item{
  color:var(--muted)!important;
}
.page-hero .sec-tag.lgt{
  color:var(--burnt-deep)!important;
}
.page-hero .btn-ghost{
  color:var(--burnt-deep)!important;
  background:#fff!important;
  border-color:var(--warm-line)!important;
}
.submit-wrap p,
.write-cta p{
  color:var(--muted)!important;
}
.submit-wrap a:not(.btn-submit),
.write-cta a:not(.btn-write){
  color:var(--burnt-deep)!important;
  border-color:var(--burnt-pale)!important;
}

/* Cap thumbnail grids so wide screens do not show 5-6 cramped cards. */
.mr-row,
.stories-bento,
.explainer-row,
.fmt-grid,
.well-grid,
.ex-grid,
.drug-grid,
.hub-grid,
.team-grid,
.articles-grid,
.essays-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.home-thumb-row,
.mostread .mr-row{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
@media(max-width:980px){
  .mr-row,
  .stories-bento,
  .explainer-row,
  .fmt-grid,
  .well-grid,
  .ex-grid,
  .drug-grid,
  .hub-grid,
  .team-grid,
  .articles-grid,
  .essays-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .home-thumb-row,
  .mostread .mr-row{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media(max-width:620px){
  .mr-row,
  .stories-bento,
  .explainer-row,
  .fmt-grid,
  .well-grid,
  .ex-grid,
  .drug-grid,
  .hub-grid,
  .team-grid,
  .articles-grid,
  .essays-grid{
    grid-template-columns:1fr!important;
  }
  .home-thumb-row,
  .mostread .mr-row{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    overflow:visible!important;
  }
}

/* ---- reader path cards (contact / support routing) ---- */
.route-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:0 0 2rem}
.route-row--support{grid-template-columns:repeat(3,minmax(0,1fr))}
.route-card{display:block;background:var(--white);border:1.5px solid var(--warm-line);border-radius:14px;padding:1.1rem 1.15rem;text-decoration:none;color:inherit;transition:border-color .2s,transform .2s}
.route-card:hover{border-color:var(--burnt);transform:translateY(-2px)}
.route-card.is-here{border-color:var(--burnt);background:var(--stone)}
.route-card .rc-label{font-size:.62rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--burnt);margin-bottom:.35rem}
.route-card .rc-title{font-family:var(--display);font-size:.95rem;font-weight:600;color:var(--ink);margin-bottom:.25rem;line-height:1.3}
.route-card .rc-text{font-size:.78rem;font-weight:300;color:var(--muted);line-height:1.55}

/* Crisis callout (contact, service directory, support hub) */
.crisis-banner{background:var(--burnt-pale);border:1.5px solid var(--burnt);border-radius:12px;padding:1.25rem 1.5rem;margin-bottom:2rem;display:flex;gap:1rem;align-items:flex-start}
.crisis-icon{width:36px;height:36px;min-width:36px;border-radius:50%;background:var(--burnt);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.crisis-icon svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2.5;flex-shrink:0}
.crisis-icon svg path{fill:none!important;stroke:#fff!important}
.crisis-body{min-width:0}
.crisis-body .cb-title{font-size:.85rem;font-weight:600;color:var(--ink);margin-bottom:.3rem}
.crisis-body .cb-text{font-size:.85rem;font-weight:300;color:var(--muted);line-height:1.65;margin:0}
.crisis-body a{color:var(--burnt);font-weight:500;text-decoration:none;border-bottom:1px solid var(--burnt-pale)}
.crisis-body a:hover{color:var(--burnt-deep)}

/* Support hub cards: icon-only cards skip the photo strip */
.hub-card--icon-only .hub-ic{margin-bottom:.7rem}
.hub-card:not(.hub-card--icon-only) .hub-ic{margin-top:.15rem}
.support-intro{font-size:var(--fs-lead);font-weight:300;color:var(--muted);line-height:1.75;margin:0 0 1.6rem;max-width:62ch}
.foot-cookie-btn{font:inherit;font-size:var(--fs-meta);color:var(--muted);background:none;border:none;padding:0;cursor:pointer;text-decoration:none;line-height:1.45;text-align:left}
.foot-cookie-btn:hover{color:var(--burnt)}
@media(max-width:900px){.route-row,.route-row--support{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.route-row,.route-row--support{grid-template-columns:1fr}}

/* ============================================================
   SITE-WIDE LAYOUT ALIGNMENT
   One content column (1100px / 2.5rem) across hub, library,
   and article pages. Full-bleed bands use vertical padding only.
   ============================================================ */
.nav-in{
  max-width:var(--content-max)!important;
  padding-left:var(--content-pad)!important;
  padding-right:var(--content-pad)!important;
}
.page-hero,
.drug-hero{
  padding-left:0!important;
  padding-right:0!important;
  margin-top:0!important;
}
.ethics-bar,
.clinical-bar{
  padding:.7rem 0!important;
  margin-top:0!important;
}
.tag-page-header{margin-top:0!important}
.page-hero>.hero-inner,
.page-hero>.container,
.drug-hero>.hero-inner,
.cta-inner,
.addr-inner,
.cta-dark>.container,
.tbs-inner{
  max-width:var(--content-max);
  margin-left:auto;
  margin-right:auto;
  width:100%;
}
.page-hero>.hero-inner:not(.container),
.drug-hero>.hero-inner:not(.container){
  padding-left:var(--content-pad)!important;
  padding-right:var(--content-pad)!important;
}
.cta-dark,
.doc-wrap,
.quiz-section,
.addr-strip{
  padding-left:0!important;
  padding-right:0!important;
}
.cta-dark{padding-top:4rem!important;padding-bottom:4rem!important}
.doc-wrap{padding-top:4rem!important;padding-bottom:6rem!important}
.cta-inner,
.addr-inner{
  padding-left:var(--content-pad)!important;
  padding-right:var(--content-pad)!important;
}
.breadcrumb,
.disclaimer,
.main,
.page-body,
.search-wrap{
  max-width:var(--content-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:var(--content-pad)!important;
  padding-right:var(--content-pad)!important;
  box-sizing:border-box;
}
.page-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) var(--aside-col);
  gap:var(--content-aside-gap);
  align-items:start;
  padding-top:3rem!important;
  padding-bottom:3rem!important;
}
@media(max-width:960px){
  .page-body{grid-template-columns:1fr}
}
.sec-tag{margin-bottom:1.25rem!important}

/* Uniform hub / listing cards */
.essay-card,
.article-card,
.hub-card,
.fmt-card,
.well-card,
.fc,
.rn-card,
.story-card,
.contact-thumb{
  display:flex!important;
  flex-direction:column!important;
  height:100%;
}
.ec-title,
.ac-title,
.hub-t,
.fmt-t,
.well-card h3,
.fc-name,
.rn-card .rn-title,
.story-row .sr-title,
.hub-card .hub-t{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  line-height:1.32!important;
}
.ec-excerpt,
.ac-excerpt,
.hub-x,
.fmt-d,
.well-card p,
.fc-desc,
.rn-card .rn-excerpt,
.story-row .sr-excerpt,
.hub-card .hub-x{
  display:-webkit-box!important;
  -webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  line-height:1.6!important;
}
.ec-quote{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.ec-body,
.ac-body,
.hub-card,
.fmt-card,
.well-card{
  flex:1!important;
  display:flex!important;
  flex-direction:column!important;
}
.ec-meta,
.ac-author,
.hub-card .hub-meta,
.story-row .sr-meta{margin-top:auto!important}
.hub-img,
.ec-image,
.ac-image,
.contact-thumb-img,
.rn-card .rn-img{height:168px!important;min-height:168px!important;flex-shrink:0!important}
.home-thumb-row .rn-img{height:120px!important;min-height:120px!important}
@media(max-width:720px){
  .home-thumb-row .rn-img{height:100px!important;min-height:100px!important}
}
@media(max-width:520px){
  .home-thumb-row .rn-img{height:72px!important;min-height:72px!important}
}
.stories-layout,
.hub-grid,
.fmt-grid,
.well-grid{
  gap:1rem!important;
}
.story-row{align-items:stretch!important}
.story-row .sr-img{width:168px!important;min-width:168px!important;flex-shrink:0!important}
.story-row .sr-img img{height:100%!important;object-fit:cover!important}

@media(max-width:620px){
  :root{--content-pad:1.5rem}
  .wrap,
  .container{
    padding-left:1.5rem!important;
    padding-right:1.5rem!important;
  }
  .page-hero>.hero-inner:not(.container),
  .drug-hero>.hero-inner:not(.container),
  .breadcrumb,
  .disclaimer,
  .main,
  .page-body{
    padding-left:1.5rem!important;
    padding-right:1.5rem!important;
  }
  .mostread,
  .home3{
    padding-left:1.5rem!important;
    padding-right:1.5rem!important;
  }
  .story-row .sr-img{width:100%!important;min-width:0!important;height:168px!important}
}

/* Hide full-width horizontal divider lines between sections */
.page-hero,
.drug-hero,
.related-tags-strip,
.ethics-bar,
.clinical-bar,
.tag-browse,
.home-trust,
.pathway-continue,
.tag-page-header,
.addr-strip,
.filter-bar,
.crisis-bar,
.dp-spotlight,
footer.site,
nav.site,
.site-header-sticky nav.site,
.nav-bar,
.crisis-strip,
.crisis,
.section-divider,
.rn-img.editorial-tile{
  border-top:none!important;
  border-bottom:none!important;
}
.mr-head::after,
.help-steps::before{
  display:none!important;
}

/* ===== Policy / legal document pages ===== */
.page-hero.policy-hero{
  background:var(--stone);
  border-bottom:1px solid var(--warm-line);
  padding:3.6rem 0 2.8rem!important;
}
.page-hero.policy-hero > .container,
.page-hero.policy-hero > .policy-hero-in,
.policy-hero-in{
  max-width:var(--policy-col)!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:var(--content-pad)!important;
  padding-right:var(--content-pad)!important;
  box-sizing:border-box;
}
.policy-hero{padding:3.6rem 0 2.8rem!important}
.policy-hero .ph-eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--burnt);margin-bottom:1rem}
.policy-hero .ph-eyebrow::before{display:none!important;content:none!important}
.policy-hero h1{font-family:var(--display);font-size:clamp(1.9rem,4vw,2.8rem);font-weight:700;color:var(--ink);line-height:1.15;margin-bottom:1rem}
.policy-hero .page-meta{font-size:.8rem;color:var(--light);line-height:1.7}
.policy-hero .page-meta strong{font-weight:600;color:var(--muted)}
.policy-doc,
.policy-doc.container,
.doc-wrap.policy-doc{
  max-width:var(--policy-col)!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:2.5rem var(--content-pad) 5rem!important;
  box-sizing:border-box;
}
.policy-doc .combined-page-nav{justify-content:flex-start!important;margin:0 0 2rem!important}
.policy-doc h2{font-family:var(--display);font-size:1.25rem;font-weight:600;color:var(--ink);margin:2.5rem 0 .75rem;padding-top:1rem;border-top:1px solid var(--warm-line)}
.policy-doc h2:first-child,.policy-doc .toc+h2,.policy-doc .box+h2,.policy-doc .sensitive-note+h2,.policy-doc .legal-review-note+h2{margin-top:0;padding-top:0;border-top:none}
.policy-doc h3{font-size:1rem;font-weight:600;color:var(--ink);margin:1.5rem 0 .5rem}
.policy-doc p,.policy-doc li{font-size:.95rem;font-weight:300;color:var(--muted);line-height:1.85;margin-bottom:1rem}
.policy-doc ul,.policy-doc ol{padding-left:1.25rem;margin:.5rem 0 1rem}
.policy-doc a{color:var(--burnt);border-bottom:1px solid var(--burnt-pale);text-decoration:none}
.policy-doc a:hover{border-color:var(--burnt)}
.policy-doc strong{color:var(--ink);font-weight:600}
.policy-doc table{width:100%;border-collapse:collapse;margin:1rem 0 1.5rem;font-size:.9rem}
.policy-doc th{background:var(--burnt);color:#fff;padding:.65rem .85rem;text-align:left;font-size:.78rem;font-weight:600;letter-spacing:.03em}
.policy-doc td{padding:.6rem .85rem;border-bottom:1px solid var(--warm-line);color:var(--muted);vertical-align:top}
.policy-doc tr:nth-child(even) td{background:var(--stone)}
.policy-doc td:first-child{font-weight:600;color:var(--ink);width:38%}
.policy-doc .toc{background:var(--stone);border:1px solid var(--warm-line);border-radius:12px;padding:1.25rem 1.5rem;margin:0 0 2rem}
.policy-doc .toc p{font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--burnt);margin-bottom:.75rem}
.policy-doc .toc ol{margin:0;padding-left:1.25rem}
.policy-doc .toc li{margin-bottom:.25rem;font-size:.88rem}
.policy-doc .box{border-radius:12px;padding:1.1rem 1.25rem;margin:1.25rem 0;border-left:4px solid}
.policy-doc .box p{margin:0;font-size:.92rem;line-height:1.75}
.policy-doc .box .box-title{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:.35rem}
.policy-doc .box.purple{background:var(--burnt-wash);border-color:var(--burnt)}
.policy-doc .box.purple .box-title{color:var(--burnt-deep)}
.policy-doc .box.amber{background:#FFFBEB;border-color:#B7950B}
.policy-doc .box.amber .box-title{color:#B7950B}
.policy-doc .box.red{background:#FEF2F2;border-color:var(--burnt-deep)}
.policy-doc .box.red .box-title{color:var(--burnt-deep)}
.policy-doc .box.teal{background:var(--sage-pale);border-color:var(--sage-deep)}
.policy-doc .box.teal .box-title{color:var(--sage-deep)}
.policy-doc .crisis-card{background:var(--burnt-wash);border:1.5px solid var(--burnt);border-radius:12px;padding:1.25rem 1.5rem;margin:1.25rem 0}
.policy-doc .legal-review-note{background:var(--stone);border:1px solid var(--warm-line);border-radius:12px;padding:1rem 1.2rem;margin-bottom:2rem;font-size:.85rem;color:var(--muted);line-height:1.7}
.policy-doc .legal-review-note strong{color:var(--ink)}
.policy-doc .sensitive-note{background:var(--burnt-wash);border:1.5px solid var(--burnt-pale);border-radius:12px;padding:1.25rem 1.5rem;margin-bottom:2rem;display:flex;gap:1rem;align-items:flex-start}
.policy-doc .sensitive-note .sn-icon{width:36px;height:36px;border-radius:50%;background:var(--burnt);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.policy-doc .sensitive-note .sn-icon svg{width:15px;height:15px;stroke:#fff;fill:none;stroke-width:2.5}
.policy-doc .sensitive-note .sn-body{color:var(--muted);line-height:1.7;margin:0}
.policy-doc .sensitive-note .sn-body strong{font-weight:600;color:var(--ink)}
.policy-doc .ph{color:var(--burnt);font-style:italic}
.policy-doc .toc.toc--cols ol{columns:2;column-gap:2rem}
@media(max-width:700px){.policy-doc .toc.toc--cols ol{columns:1}}
.consent-hint{font-size:.82rem;color:var(--muted);line-height:1.65;margin:.75rem 0 0}
.consent-hint a{color:var(--burnt);border-bottom:1px solid var(--burnt-pale);text-decoration:none}
@media(max-width:700px){.policy-doc{padding:2rem 1.5rem 4rem}.policy-doc td:first-child{width:auto}}

/* ---- Cookie consent (CMP) -------------------------------- */
body.mp-cmp-open{overflow:hidden}
.mp-cmp-banner{position:fixed;bottom:0;left:0;right:0;z-index:1000;background:rgba(243,237,230,.98);border-top:1px solid var(--warm-line);box-shadow:0 -8px 32px rgba(0,0,0,.08);backdrop-filter:blur(12px)}
.mp-cmp-banner[hidden],.mp-cmp-modal[hidden],.mp-cmp-backdrop[hidden]{display:none!important}
.mp-cmp-banner-in{max-width:1100px;margin:0 auto;padding:1rem 2.5rem;display:flex;gap:1.25rem;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.mp-cmp-banner-text{flex:1;min-width:240px;font-size:.85rem;color:var(--muted);line-height:1.65}
.mp-cmp-banner-text strong{display:block;color:var(--ink);font-size:.92rem;margin-bottom:.25rem}
.mp-cmp-banner-text a{color:var(--burnt);text-decoration:none;border-bottom:1px solid var(--burnt-pale)}
.mp-cmp-banner-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.mp-cmp-backdrop{position:fixed;inset:0;z-index:1001;background:rgba(26,22,18,.45)}
.mp-cmp-modal{position:fixed;inset:0;z-index:1002;display:flex;align-items:center;justify-content:center;padding:1.5rem;pointer-events:none}
.mp-cmp-modal-in{pointer-events:auto;background:var(--white);border:1px solid var(--warm-line);border-radius:16px;max-width:520px;width:100%;max-height:min(90vh,640px);overflow:auto;padding:1.75rem 1.75rem 1.5rem;box-shadow:0 24px 64px rgba(0,0,0,.15);position:relative}
.mp-cmp-close{position:absolute;top:.75rem;right:.85rem;border:none;background:none;font-size:1.5rem;line-height:1;color:var(--muted);cursor:pointer;padding:.25rem .45rem;border-radius:8px}
.mp-cmp-close:hover{color:var(--ink);background:var(--stone)}
.mp-cmp-modal h2{font-family:'Fraunces',serif;font-size:1.45rem;font-weight:700;color:var(--ink);margin-bottom:.5rem}
.mp-cmp-lead{font-size:.88rem;color:var(--muted);line-height:1.65;margin-bottom:1.25rem}
.mp-cmp-cat{border:1px solid var(--warm-line);border-radius:12px;padding:1rem 1.1rem;margin-bottom:.75rem;background:var(--cloud)}
.mp-cmp-cat--locked{background:var(--stone)}
.mp-cmp-cat-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.35rem;font-size:.9rem;color:var(--ink)}
.mp-cmp-cat p{font-size:.82rem;color:var(--muted);line-height:1.6;margin:0}
.mp-cmp-cat code{font-size:.78rem;background:var(--white);padding:.1rem .35rem;border-radius:4px}
.mp-cmp-always{font-size:.68rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--sage-deep);white-space:nowrap}
.mp-cmp-switch{position:relative;display:inline-flex;align-items:center;flex-shrink:0}
.mp-cmp-switch input{position:absolute;opacity:0;width:0;height:0}
.mp-cmp-slider{width:44px;height:24px;background:var(--warm-line);border-radius:999px;position:relative;transition:background .2s}
.mp-cmp-slider::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;background:#fff;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .2s}
.mp-cmp-switch input:checked + .mp-cmp-slider{background:var(--burnt)}
.mp-cmp-switch input:checked + .mp-cmp-slider::after{transform:translateX(20px)}
.mp-cmp-switch input:focus-visible + .mp-cmp-slider{outline:2px solid var(--burnt);outline-offset:2px}
.mp-cmp-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1.25rem}
.mp-cmp-btn{font-family:inherit;font-size:.78rem;font-weight:600;border-radius:24px;padding:.55rem 1.1rem;cursor:pointer;border:1px solid transparent;transition:background .2s,color .2s,border-color .2s;white-space:nowrap}
.mp-cmp-btn--primary{background:var(--burnt);color:#fff;border-color:var(--burnt)}
.mp-cmp-btn--primary:hover{background:var(--burnt-deep);border-color:var(--burnt-deep)}
.mp-cmp-btn--ghost{background:transparent;color:var(--ink);border-color:var(--warm-line)}
.mp-cmp-btn--ghost:hover{border-color:var(--burnt);color:var(--burnt)}
.mp-cmp-foot{font-size:.75rem;color:var(--light);margin-top:1rem;line-height:1.6}
.mp-cmp-foot a{color:var(--burnt);text-decoration:none;border-bottom:1px solid var(--burnt-pale)}
.mp-cmp-embed{margin:1rem 0 1.5rem;padding:1.25rem;background:var(--stone);border:1px solid var(--warm-line);border-radius:12px}
.mp-cmp-embed-note{font-size:.82rem;color:var(--muted);margin-top:.75rem;line-height:1.6}
@media(max-width:700px){.mp-cmp-banner-in{padding:1rem 1.25rem}.mp-cmp-banner-actions{width:100%}.mp-cmp-btn{flex:1;text-align:center}}

/* ---- Combined long-form pages ----------------------------- */
.combined-page-nav{display:flex;flex-wrap:wrap;gap:.45rem;margin:1.25rem 0 2rem;justify-content:center}
.combined-page-nav a{font-size:.75rem;font-weight:500;color:var(--burnt);text-decoration:none;padding:.35rem .75rem;border:1px solid var(--burnt-pale);border-radius:999px;background:var(--white);transition:background .2s,border-color .2s}
.combined-page-nav a:hover{background:var(--burnt-wash);border-color:var(--burnt)}
.combined-sec{padding:3rem 0;border-top:1px solid var(--warm-line);scroll-margin-top:88px}
.policy-doc h2[id]{scroll-margin-top:88px}
.combined-sec:first-child{border-top:none;padding-top:0}
.combined-sec > .sec-tag{margin-bottom:1rem}
.combined-sec h2{font-family:'Fraunces',serif;font-size:1.35rem;font-weight:600;color:var(--ink);margin:1.5rem 0 .65rem}
.combined-sec h3{font-family:'Fraunces',serif;font-size:1.05rem;font-weight:600;color:var(--ink);margin:1.25rem 0 .5rem}
.combined-form-block{background:var(--stone);border:1px solid var(--warm-line);border-radius:16px;padding:2rem;margin-top:2rem}
.combined-form-block h2{font-family:'Fraunces',serif;font-size:1.35rem;font-weight:700;color:var(--ink);margin-bottom:.5rem}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.team-card{background:var(--white);border:1.5px solid var(--warm-line);border-radius:16px;padding:2rem;text-align:center}
.tc-avatar{width:80px;height:80px;border-radius:50%;background:var(--burnt-wash);margin:0 auto 1.25rem;display:flex;align-items:center;justify-content:center;font-family:'Fraunces',serif;font-size:1.8rem;font-weight:600;color:var(--burnt)}
.tc-name{font-family:'Fraunces',serif;font-size:1.05rem;font-weight:600;color:var(--ink);margin-bottom:.25rem}
.tc-role{font-size:.78rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--burnt);margin-bottom:.75rem}
.tc-cred{font-size:.8rem;font-weight:300;color:var(--light);line-height:1.55;margin-bottom:.75rem}
.tc-bio{font-size:.85rem;font-weight:300;color:var(--muted);line-height:1.75}
@media(max-width:960px){.team-grid{grid-template-columns:1fr 1fr}}
.section-divider{border:none;border-top:1px solid var(--warm-line);margin:3rem 0}

/* ---- Clean photos sitewide: no overlays, filters, or empty video heroes ---- */
.hub-img::after,
.rn-card .rn-img::after,
.sr-img::after,
.sb::before,
.sb-wide .sb-imgwrap::after,
.sb-overlay::after,
.fe-image::after,
.ec-image::after,
.ac-image::after,
.fa-image::after,
.contact-thumb-img::after,
.video-overlay{display:none!important;content:none!important}
.fe-image img,
.ec-image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:none!important;
}
.fe-image,
.ec-image{overflow:hidden}
.hero-bg,
.imghero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

/* ============================================================
   LAYOUT ALIGNMENT (single column system)
   Default: 1100px / 2.5rem · Policy docs: 760px · Aside: 280px
   ============================================================ */

/* Section label (used on hub / listing heroes) */
.sec-tag{
  display:inline-flex;
  align-items:center;
  gap:0;
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--burnt);
  margin-bottom:1rem;
}
.sec-tag::before{display:none!important;content:none!important}

.wrap--route{
  max-width:var(--route-col)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:var(--content-pad)!important;
  padding-right:var(--content-pad)!important;
  box-sizing:border-box;
}
.wrap--directory{
  max-width:var(--dir-col)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Article + condition headers share the medication-guide content width */
header.wrap.article-head,
.wrap:has(> article.article-col),
header.wrap:has(+ .wrap .grid),
header.wrap:has(+ .wrap > .grid){
  max-width:var(--content-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:var(--content-pad)!important;
  padding-right:var(--content-pad)!important;
  box-sizing:border-box;
  text-align:left;
}
header.wrap.article-head{padding-top:3rem!important}
header.wrap.article-head h1,
header.wrap.article-head .dek,
header.wrap.article-head .crumb,
header.wrap.article-head .meta-row,
header.wrap.article-head .chips{
  text-align:left;
  margin-left:0;
  margin-right:0;
}
article.article-col,
.wrap.article-col{
  max-width:none!important;
  margin:0!important;
  width:100%;
}
.wrap.wrap--route.dp-page-hero{padding-top:3rem!important}

/* Hub / listing page heroes (stone band + centred short titles) */
.page-hero.hub-stone,
.page-hero.stone-hero{
  background:var(--stone)!important;
  border-bottom:1px solid var(--warm-line)!important;
  padding:3.2rem 0 2.8rem!important;
  margin-top:0!important;
  text-align:center;
}
.page-hero.hub-stone > .container,
.page-hero.stone-hero > .container{
  max-width:var(--content-max)!important;
  padding-left:var(--content-pad)!important;
  padding-right:var(--content-pad)!important;
}
.page-hero.hub-stone .sec-tag,
.page-hero.stone-hero .sec-tag{
  justify-content:center;
}
.page-hero.hub-stone.hero-long,
.page-hero.stone-hero.hero-long{
  text-align:left;
}
.page-hero.hub-stone.hero-long .sec-tag,
.page-hero.stone-hero.hero-long .sec-tag{
  justify-content:flex-start;
}
.page-hero.hub-stone.hero-long .hub-h1,
.page-hero.stone-hero.hero-long .hub-h1,
.page-hero.hub-stone.hero-long .hub-dek,
.page-hero.stone-hero.hero-long .hub-dek{
  margin-left:0;
  margin-right:0;
  text-align:left;
  max-width:48rem;
}
.page-hero.hub-stone.hero-long .hub-h1,
.page-hero.stone-hero.hero-long .hub-h1{
  max-width:none;
}
.hub-h1,
.lib-hero h1.cond{
  font-family:var(--display);
  font-size:var(--fs-hero);
  font-weight:600;
  color:var(--ink);
  line-height:1.1;
  letter-spacing:-.02em;
  margin:0 auto .75rem;
  max-width:22ch;
  text-align:center;
}
.hub-dek{
  font-size:var(--fs-lead);
  font-weight:300;
  color:var(--muted);
  max-width:42rem;
  line-height:1.75;
  margin:0 auto;
  text-align:center;
}

/* In-page nav pills — centred under hub heroes */
.lib-hero .combined-page-nav,
header.wrap .combined-page-nav{
  justify-content:center;
  margin-top:1.25rem;
}

/* Equal outer gutters sitewide (nav, footer, content) */
.nav-in,
.crisis-strip-in,
.foot-in,
.wrap,
.container,
.featured-band{
  padding-left:var(--content-pad);
  padding-right:var(--content-pad);
}

/* Service directory */
.wgh-filter{display:flex;gap:.5rem;margin-bottom:1.6rem;flex-wrap:wrap}
.wgh-tab{font-family:inherit;font-size:.78rem;padding:.4rem 1rem;border-radius:20px;border:1px solid var(--warm-line);background:var(--white);color:var(--muted);cursor:pointer}
.wgh-tab.on{background:var(--burnt);color:#fff;border-color:var(--burnt)}
.wgh-card{border:1px solid var(--warm-line);border-radius:14px;padding:1.2rem 1.3rem;margin-bottom:1rem;background:#fffdf9;box-shadow:0 1px 2px rgba(74,52,30,.05),0 4px 10px rgba(74,52,30,.045)}
.wgh-card .top{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;flex-wrap:wrap}
.wgh-card h3{font-family:var(--display);font-size:1.12rem;font-weight:600;color:var(--ink);margin:0}
.wgh-type{font-size:.64rem;letter-spacing:.07em;text-transform:uppercase;font-weight:700;color:var(--burnt);white-space:nowrap}
.wgh-card .desc{font-size:.88rem;font-weight:300;color:var(--muted);line-height:1.6;margin:.4rem 0 .6rem}
.wgh-card .meta{font-size:.82rem;color:var(--muted);display:flex;gap:1.1rem;flex-wrap:wrap}
.wgh-card .meta a{color:var(--burnt-deep);font-weight:500;text-decoration:none}
.wgh-loc{font-size:.78rem;color:var(--muted);margin-top:.2rem}
.wgh-note{font-size:.82rem;font-weight:300;color:var(--muted);line-height:1.7;background:var(--stone);border-radius:12px;padding:1rem 1.2rem;margin-bottom:1.8rem}

/* Podcast placeholder */
#pod-empty{background:var(--paper);border:1px solid var(--warm-line);border-radius:18px;margin:0 auto;padding:2.2rem 1.5rem!important;text-align:center;color:var(--muted)}
#pod-empty p:first-child{font-size:var(--fs-lead);color:var(--ink);font-weight:500;margin:0}
#pod-empty p:last-child{font-size:var(--fs-small);font-weight:300;max-width:50ch;margin:.5rem auto 0;line-height:1.75}
#pod-empty a{color:var(--burnt-deep);font-weight:500;text-decoration:none}
#pod-empty a:hover{text-decoration:underline}
.pod-links{display:flex;gap:.7rem;justify-content:center;flex-wrap:wrap}
.pod-links a{font-size:.85rem;font-weight:500;color:var(--burnt-deep);border:1px solid var(--warm-line);border-radius:22px;padding:.5rem 1.2rem;text-decoration:none}
.pod-links a:hover{border-color:var(--burnt);background:color-mix(in srgb,var(--burnt) 7%,#fff)}
.pod-ep{padding:1.6rem 0;border-bottom:1px solid var(--warm-line)}
.pod-ep-head{display:flex;gap:.8rem;align-items:center;margin-bottom:.5rem}
.pod-ep-num{font-size:.66rem;letter-spacing:.07em;text-transform:uppercase;font-weight:700;color:var(--burnt)}
.pod-ep-date{font-size:.78rem;color:var(--muted)}
.pod-ep h2{font-family:var(--display);font-size:1.3rem;font-weight:600;color:var(--ink);margin:0 0 .5rem}
.pod-ep p{font-size:.9rem;font-weight:300;color:var(--muted);line-height:1.7;margin:0 0 1rem}
.pod-embed{border-radius:12px;overflow:hidden}
.pod-embed iframe{width:100%;border:0}

/* News & events listing */
.ne-filter{display:flex;gap:.5rem;margin-bottom:1.6rem;flex-wrap:wrap}
.ne-tab{font-family:inherit;font-size:.78rem;padding:.4rem 1rem;border-radius:20px;border:1px solid var(--warm-line);background:var(--white);color:var(--muted);cursor:pointer}
.ne-tab.on{background:var(--burnt);color:#fff;border-color:var(--burnt)}
.ne-item{display:flex;gap:1.2rem;padding:1.3rem 0;border-bottom:1px solid var(--warm-line);align-items:flex-start}
.ne-date{flex:0 0 64px;text-align:center;background:color-mix(in srgb,var(--burnt) 10%,#fff);border-radius:12px;padding:.55rem .3rem;color:var(--burnt-deep)}
.ne-date .d{font-family:var(--display);font-size:1.4rem;font-weight:700;line-height:1}
.ne-date .m{font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;margin-top:.2rem}
.ne-body h3{font-family:var(--display);font-size:1.12rem;font-weight:600;color:var(--ink);margin:0 0 .35rem;line-height:1.3}
.ne-tagpill{display:inline-block;font-size:.64rem;letter-spacing:.07em;text-transform:uppercase;font-weight:700;color:var(--burnt);margin-bottom:.4rem}
.ne-body p{font-size:.88rem;font-weight:300;color:var(--muted);line-height:1.6;margin:0 0 .4rem}
.ne-meta{font-size:.78rem;color:var(--muted)}
.ne-meta a{color:var(--burnt-deep);font-weight:500;text-decoration:none}

/* Featured story band (Voices page) */
.featured-band{margin:2rem auto 0;max-width:var(--content-max);padding:0 var(--content-pad)}

/* Wellness hub card grid */
.well-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem;align-items:stretch}
.well-card{display:block;text-decoration:none;background:var(--paper);border:1px solid var(--warm-line);border-radius:18px;padding:1.45rem;position:relative;transition:border-color .18s,transform .18s,background .18s;color:var(--ink);min-height:185px}
.well-card::before{display:none}
.well-card:hover{border-color:#D8CEC3;transform:translateY(-1px);background:#fff}
.well-ic{width:40px;height:40px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:var(--sand);color:var(--burnt-deep);margin-bottom:.85rem}
.well-ic svg{width:22px;height:22px}
.well-card h3{font-family:var(--display);font-size:1.05rem;font-weight:650;color:var(--ink);line-height:1.3;margin:0 0 .45rem}
.well-card p{font-size:.88rem;font-weight:300;color:var(--muted);line-height:1.55;margin:0}

@media(max-width:980px){
  .well-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .wgh-card{padding:1rem}
  #pod-empty{padding:1.6rem 1rem!important}
  .ne-item{gap:.9rem}
  .ne-date{flex-basis:56px}
  .well-grid{grid-template-columns:1fr;gap:.9rem}
  .well-card{min-height:auto;padding:1.25rem}
}

/* ============================================================
   STRAIGHT COLUMN — one shared left edge for headings + body
   ============================================================ */

/* Prose and long-form sections: full width of the content column */
.wrap > .prose,
.wrap .combined-sec > .prose,
.combined-sec .prose,
.container > .prose{
  max-width:100%;
  margin-left:0;
  margin-right:auto;
}
.combined-sec > .sec-tag,
.combined-sec > h2,
.combined-sec > h3{
  max-width:100%;
}

/* Article body fills the reading column */
article.article-col p,
article.article-col li,
article.article-col .glance,
article.article-col .sources,
article.article-col .fillme{
  max-width:none;
}

/* Secondary note under listing heroes */
.lib-hero .dek-note{
  font-size:var(--fs-small);
  font-weight:300;
  color:var(--muted);
  line-height:1.7;
  margin-top:.85rem;
  max-width:48rem;
}

/* Listing pages: left-align hero with shelf / grid below */
header.wrap.lib-hero:has(+ .wrap),
header.wrap.lib-hero:has(+ main.wrap){
  text-align:left!important;
}
header.wrap.lib-hero:has(+ .wrap) .crumb,
header.wrap.lib-hero:has(+ .wrap) h1,
header.wrap.lib-hero:has(+ .wrap) h1.cond,
header.wrap.lib-hero:has(+ .wrap) p,
header.wrap.lib-hero:has(+ .wrap) .dek,
header.wrap.lib-hero:has(+ main.wrap) .crumb,
header.wrap.lib-hero:has(+ main.wrap) h1,
header.wrap.lib-hero:has(+ main.wrap) h1.cond,
header.wrap.lib-hero:has(+ main.wrap) p,
header.wrap.lib-hero:has(+ main.wrap) .dek,
header.wrap.lib-hero:has(+ .wrap) .dek-note,
header.wrap.lib-hero:has(+ main.wrap) .dek-note{
  text-align:left!important;
  margin-left:0!important;
  margin-right:0!important;
}
header.wrap.lib-hero:has(+ .wrap) h1,
header.wrap.lib-hero:has(+ .wrap) h1.cond,
header.wrap.lib-hero:has(+ main.wrap) h1,
header.wrap.lib-hero:has(+ main.wrap) h1.cond{
  max-width:none!important;
}
header.wrap.lib-hero:has(+ .wrap) p,
header.wrap.lib-hero:has(+ .wrap) .dek,
header.wrap.lib-hero:has(+ main.wrap) p,
header.wrap.lib-hero:has(+ main.wrap) .dek{
  max-width:48rem!important;
}
header.wrap.lib-hero:has(+ .wrap) .combined-page-nav,
header.wrap.lib-hero:has(+ main.wrap) .combined-page-nav{
  justify-content:flex-start;
}

/* Hub stone heroes above listing sections */
.page-hero.hub-stone:has(+ .section){
  text-align:left!important;
}
.page-hero.hub-stone:has(+ .section) .sec-tag{
  justify-content:flex-start;
}
.page-hero.hub-stone:has(+ .section) .hub-h1,
.page-hero.hub-stone:has(+ .section) .hub-dek{
  margin-left:0;
  margin-right:0;
  text-align:left;
  max-width:48rem;
}
.page-hero.hub-stone:has(+ .section) .hub-h1{
  max-width:none;
}

/* Directory pages: hero column width matches listing below */
.page-hero.hub-stone:has(+ .section .wrap--directory) > .container{
  max-width:var(--dir-col)!important;
}

/* Explainers listing */
.explainers-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem;margin:1.5rem 0 3rem}
.ex-card{background:var(--paper);border:1.5px solid var(--warm-line);border-radius:16px;padding:2rem;text-decoration:none;transition:border-color .25s,transform .25s;display:block}
.ex-card:hover{border-color:var(--burnt-pale);transform:translateY(-3px)}
.ex-category{font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--burnt);margin-bottom:.75rem}
.ex-q{font-family:var(--display);font-size:1.1rem;font-weight:600;color:var(--ink);line-height:1.35;margin-bottom:.6rem}
.ex-preview{font-size:.88rem;font-weight:300;color:var(--muted);line-height:1.75;margin-bottom:1rem}
.ex-link{font-size:.78rem;font-weight:600;color:var(--burnt);border-bottom:1px solid var(--burnt-pale)}
.ex-badge{display:inline-block;font-size:.65rem;font-weight:600;padding:.2rem .65rem;border-radius:20px;background:var(--sage-wash);color:var(--sage-deep);margin-top:.6rem}
.cat-filter{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:.5rem}
@media(max-width:700px){.explainers-grid{grid-template-columns:1fr}}

/* ---- Substances hub (index) -------------------------------- */
main.wrap > .search{margin:0 0 2rem;max-width:min(33rem,100%)}
.class-section{margin:2.5rem 0}
.class-section:last-child{margin-bottom:0}
.class-head{display:flex;align-items:center;gap:.75rem;border-bottom:2px solid var(--ink);padding-bottom:.65rem;margin-bottom:.5rem}
.class-icon{font-size:1.35rem;line-height:1;flex-shrink:0}
.class-title{font-family:var(--display);font-size:1.25rem;font-weight:600;color:var(--ink);margin:0}
.class-count{margin-left:auto;font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:var(--stone);padding:.25rem .7rem;border-radius:999px;white-space:nowrap}
.class-intro{font-size:.92rem;font-weight:300;color:var(--muted);margin:.5rem 0 1rem;line-height:1.65;max-width:48rem}
.substance-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.1rem;margin-top:1rem}
.sub-card{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);background:var(--paper);border:1px solid var(--warm-line);border-radius:16px;padding:1.25rem 1.35rem;transition:border-color .18s,transform .18s}
.sub-card:hover{border-color:#D8CEC3;transform:translateY(-1px);background:#fff}
.sc-category{font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--burnt);margin-bottom:.35rem}
.sc-name{font-family:var(--display);font-size:1.05rem;font-weight:600;line-height:1.3;margin-bottom:.25rem;color:var(--ink)}
.sc-local{font-size:.78rem;font-weight:300;color:var(--muted);font-style:italic;margin-bottom:.5rem}
.sc-tag{font-size:.88rem;font-weight:300;color:var(--muted);line-height:1.55;flex:1}
.sc-footer{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--warm-line);display:flex;justify-content:space-between;align-items:center;gap:.5rem}
.sc-arrow{color:var(--burnt);font-weight:600;font-size:.9rem;flex-shrink:0}
.sub-badge{font-size:.68rem;font-weight:600;letter-spacing:.04em;padding:.2rem .55rem;border-radius:6px;line-height:1.35}
.sub-badge--red{background:#FEF2F2;color:var(--burnt-deep)}
.sub-badge--amber{background:#FFFBEB;color:#B7950B}
.sub-badge--green{background:var(--sage-pale);color:var(--sage-deep)}
.help-box--crisis{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.25rem}
.help-box--crisis h2{font-family:var(--display);font-size:1.15rem;font-weight:600;margin:0 0 .35rem;padding-top:0;border-top:none}
.help-box--crisis h2::after{display:none}
.help-box--crisis p{margin:0;font-size:.88rem;font-weight:300;color:var(--muted)}
.help-nums{display:flex;flex-wrap:wrap;gap:1.5rem}
.help-num .num{font-family:var(--display);font-size:1.6rem;font-weight:700;color:var(--burnt);line-height:1}
.help-num .label{font-size:.72rem;font-weight:300;color:var(--muted);margin-top:.15rem}
@media(max-width:620px){.substance-grid{grid-template-columns:1fr}}

/* ---- Medications hub (index) ------------------------------- */
.drug-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.1rem;margin-top:1rem}
.drug-card{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);background:var(--paper);border:1px solid var(--warm-line);border-radius:16px;padding:1.25rem 1.35rem;transition:border-color .18s,transform .18s}
.drug-card:hover{border-color:#D8CEC3;transform:translateY(-1px);background:#fff}
.dc-class{font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--burnt);margin-bottom:.35rem}
.dc-name{font-family:var(--display);font-size:1.05rem;font-weight:600;line-height:1.3;margin-bottom:.25rem;color:var(--ink)}
.dc-brand{font-size:.78rem;font-weight:300;color:var(--muted);font-style:italic;margin-bottom:.5rem}
.dc-tagline{font-size:.88rem;font-weight:300;color:var(--muted);line-height:1.55;flex:1}
.dc-footer{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--warm-line);display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap}
.dc-level{font-size:.68rem;color:var(--muted);font-weight:500}
.dc-arrow{color:var(--burnt);font-weight:600;font-size:.9rem;flex-shrink:0;margin-left:auto}
.keml-chip{font-size:.68rem;font-weight:600;letter-spacing:.04em;padding:.2rem .55rem;border-radius:6px;background:var(--sage-pale);color:var(--sage-deep)}
.ctrl-chip{font-size:.68rem;font-weight:600;letter-spacing:.04em;padding:.2rem .55rem;border-radius:6px;background:#FEF2F2;color:var(--burnt-deep)}
.help-box--med{margin:0 0 2rem}
.help-box--med p{margin:0;font-size:.88rem;font-weight:300;color:var(--muted);line-height:1.65}
@media(max-width:620px){.drug-grid{grid-template-columns:1fr}}