/* Betrayal Trauma pillar page (V3).
   Loaded only by templates/template-betrayal-trauma.php via the shell's 'styles' arg,
   AFTER salx-v3.css. The first block is the #salx base copied verbatim from
   docs/superpowers/blog-redesign/buildPreview.js (redesigned posts inline it per post;
   a page has no inline copy). salx-v3.css's `body #salx` overrides outrank these. */
#salx{--navy:#47698f;--navy-deep:#0f2942;--accent:#2f86a6;--accent-dark:#216b87;--ink:#2a2f34;--muted:#69707a;--line:#e4e8ec;--tint:#eef4f8;--maxw:1140px;font-family:'Lora',Georgia,serif;color:var(--ink);font-size:19px;line-height:1.8;background:#fff;max-width:none;margin:0 auto;padding:0 0 10px}
#salx *{box-sizing:border-box}
#salx .wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
#salx .crumbs{font-family:'Poppins',sans-serif;font-size:13px;color:var(--muted);letter-spacing:.01em;margin:30px 0 0}
#salx .crumbs a{color:var(--accent-dark);text-decoration:none}
#salx .crumbs a:hover{text-decoration:underline}
#salx .crumbs .sep{color:#c4ccd4;margin:0 8px}
#salx .crumbs .current{color:var(--muted)}
#salx h1.title{font-family:'Poppins',sans-serif;font-weight:700;color:#47698f;font-size:clamp(30px,5vw,44px);line-height:1.15;letter-spacing:-.01em;margin:14px 0 18px}
#salx .meta{display:flex;align-items:center;gap:14px;font-family:'Poppins',sans-serif;font-size:13.5px;color:var(--muted);padding-bottom:26px;border-bottom:1px solid var(--line);flex-wrap:wrap}
#salx .meta .cat{color:var(--accent);font-weight:600;text-transform:uppercase;letter-spacing:.05em}
#salx .meta .dot{width:4px;height:4px;border-radius:50%;background:#c4ccd4}
#salx .hero{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:14px;margin:30px 0 38px;display:block;box-shadow:0 18px 40px -22px rgba(15,41,66,.45)}
#salx .hero.square{width:auto;aspect-ratio:auto;height:auto;max-width:min(560px,100%);object-fit:contain;margin:30px auto 38px}
#salx .hero,#salx img.hero{padding:0;background:transparent}
#salx .hero-cap{font-family:'Poppins',sans-serif;font-size:12.5px;color:var(--muted);text-align:center;margin:-26px 0 14px}
#salx .lead{font-size:23px;line-height:1.6;color:var(--navy);font-weight:500;margin:34px 0 30px}
#salx .intro-note{font-size:19px;color:var(--muted);font-style:italic;margin:0 0 1.6em}
#salx .body p{margin:0 0 1.75em}
#salx .body a{color:var(--accent-dark);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px;text-decoration-color:#bcd7e2}
#salx .body strong{font-weight:600;color:#222}
#salx h2.sec{font-family:'Poppins',sans-serif;font-weight:600;color:var(--navy);font-size:28px;line-height:1.25;margin:2.7em 0 .1em;padding-top:.2em}
#salx h2.sec::after{content:"";display:block;width:54px;height:3px;border-radius:2px;background:var(--accent);margin:16px 0 26px}
#salx h3.subsec{font-family:'Poppins',sans-serif;font-weight:600;color:var(--navy);font-size:21px;line-height:1.3;margin:2em 0 .5em}
#salx .bullets{margin:0 0 1.75em;padding:0 0 0 4px;list-style:none}
#salx .bullets li{position:relative;padding:0 0 0 28px;margin:0 0 .8em;line-height:1.6}
#salx .bullets li::before{content:"";position:absolute;left:4px;top:.7em;width:7px;height:7px;border-radius:50%;background:var(--accent)}
#salx .numlist{list-style:none;counter-reset:nl;margin:30px 0;padding:0}
#salx .numlist>li{counter-increment:nl;position:relative;padding:0 0 0 52px;margin:0 0 18px;line-height:1.65}
#salx .numlist>li::before{content:counter(nl);position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;background:var(--tint);color:var(--accent-dark);display:flex;align-items:center;justify-content:center;font-family:'Poppins',sans-serif;font-weight:700;font-size:15px}
#salx .numlist>li>strong:first-child{display:block;color:var(--navy);font-weight:600;margin-bottom:2px}
#salx .pull{margin:42px 0;padding:6px 0 6px 30px;border-left:4px solid var(--accent);font-size:27px;line-height:1.45;color:var(--navy);font-style:italic;font-weight:500}
#salx .contentimg{display:block;max-width:100%;height:auto;border-radius:12px;margin:30px auto;background:#f3f4f6}
#salx .video{position:relative;width:100%;aspect-ratio:16/9;margin:34px 0 8px;border-radius:14px;overflow:hidden;box-shadow:0 18px 40px -22px rgba(15,41,66,.45)}
#salx .video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
#salx .callout{background:var(--tint);border:1px solid #d7e6ee;border-radius:14px;padding:28px 30px;margin:40px 0;display:flex;gap:20px;align-items:flex-start}
#salx .callout__icon{flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:var(--accent);display:flex;align-items:center;justify-content:center;color:#fff;margin-top:2px}
#salx .callout h3{font-family:'Poppins',sans-serif;font-size:19px;color:var(--navy);margin:2px 0 6px}
#salx .callout p{font-size:16.5px;line-height:1.6;color:#46505a;margin:0 0 16px}
#salx .btn{display:inline-block;font-family:'Poppins',sans-serif;font-weight:600;font-size:14.5px;background:var(--accent);color:#fff;text-decoration:none;padding:11px 22px;border-radius:8px}
#salx .callout .btn{background:var(--accent-dark);color:#fff;text-decoration:none}
#salx .callout .btn:hover{background:#1b5a73}
#salx .author{display:flex;align-items:center;gap:18px;margin:46px auto 0;max-width:var(--maxw);padding:22px 24px;background:#f7f9fb;border-radius:14px;border:1px solid var(--line)}
#salx .author img{width:60px;height:60px;border-radius:50%;object-fit:cover;background:#dde6ec;margin:0!important;flex:0 0 60px}
#salx .author .role{font-family:'Poppins',sans-serif;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
#salx .author .name{font-family:'Poppins',sans-serif;font-weight:600;font-size:18px;color:var(--navy)}
#salx .endcta{background:linear-gradient(135deg,#33547a,#102a40);color:#eaf2f8;text-align:center;padding:54px 22px;margin:64px 0 0;border-radius:16px}
#salx .endcta h2{font-family:'Poppins',sans-serif;font-weight:700;font-size:28px;color:#fff;margin:0 0 10px}
#salx .endcta p{max-width:520px;margin:0 auto 26px;font-size:17px;line-height:1.65;color:#bcd0e0}
#salx .endcta .btn{background:#fff;color:var(--navy)}

/* ---- Betrayal Trauma pillar (V3) ---- */
body #salx{padding-top:8px}
body #salx .pillar-byline{font-family:Figtree,system-ui,sans-serif;font-size:14.5px;line-height:1.55;color:var(--muted);margin:0 0 6px;max-width:68ch}
body #salx .pillar-updated{display:block;margin-top:4px}
body #salx .pillar-hero{width:100%;height:auto;aspect-ratio:16/8;object-fit:cover}
body #salx .pillar-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
body #salx .pillar-layout .body{min-width:0;max-width:72ch}
body #salx .pillar-toc{font-family:Figtree,system-ui,sans-serif;font-size:15px;line-height:1.45;background:var(--tint);border:1px solid var(--line);border-radius:12px;padding:14px 18px}
body #salx .pillar-toc summary{cursor:pointer;font-weight:600;color:var(--ink)}
body #salx .pillar-toc ol{margin:12px 0 0;padding-left:20px;display:grid;gap:8px}
body #salx .pillar-toc a{color:var(--accent-dark);text-decoration:none}
body #salx .pillar-toc a:hover,body #salx .pillar-toc a:focus-visible{text-decoration:underline}
/* Active section: set by the template's scroll-spy (aria-current="location"). */
body #salx .pillar-toc a{display:block;padding:2px 0 2px 9px;border-left:3px solid transparent;border-radius:2px;transition:color .15s ease,border-color .15s ease,background-color .15s ease}
body #salx .pillar-toc a[aria-current="location"]{color:var(--ink);font-weight:600;border-left-color:var(--accent);background:rgba(255,255,255,.65)}
@media (prefers-reduced-motion:reduce){body #salx .pillar-toc a{transition:none}}
/* The7's main.min.js still runs on plugin templates and animates to a URL
   fragment after load; it reads its header offset from this body variable
   (see Ye() in dt-the7/js/main.min.js). Without it, deep links land the
   heading under the V3 sticky header. */
body.sal-pillar-page{--the7-anchor-scroll-offset:136px}
/* Sticky header (~79px) + announcement bar (~37px) = ~116px; clear both. */
body #salx h2.sec{scroll-margin-top:136px}
body #salx .endcta .btn{text-decoration:none;margin:4px}
@media (min-width:1000px){
	body #salx .pillar-layout{grid-template-columns:260px minmax(0,1fr);gap:48px}
	body #salx .pillar-toc{position:sticky;top:136px;align-self:start;max-height:calc(100vh - 160px);overflow:auto}
}
