/* Yazforge Insights - editorial layer (31/08/2026)
   Inherits the homepage identity. Scoped to body.yzf-editorial. */
body.yzf-editorial{--bg:#191C4D;--surf:#21255C;--line:#2E3372;--accent:#5B4BC4;--neon:#9284D9;--ink:#fff;--muted:#AFB0DA;
  background:var(--bg);color:var(--muted);font-family:"Satoshi",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
body.yzf-editorial #masthead,body.yzf-editorial .site-header,body.yzf-editorial .main-header-bar,
body.yzf-editorial .ast-above-header,body.yzf-editorial .ast-below-header,body.yzf-editorial .site-footer,
body.yzf-editorial .ast-small-footer{display:none!important}
body.yzf-editorial #page,body.yzf-editorial #content,body.yzf-editorial .site-content,
body.yzf-editorial .ast-container{background:transparent;max-width:none;padding:0;margin:0}
body.yzf-editorial h1,body.yzf-editorial h2,body.yzf-editorial h3{color:var(--ink);letter-spacing:-.02em;line-height:1.15}
body.yzf-editorial a{color:var(--neon);text-decoration:none}
.ins-wrap{max-width:1180px;margin:0 auto;padding:96px 28px 0}
.ins-wrap .lab{display:block;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--neon);margin-bottom:16px}
.ins-hero{padding-bottom:34px;border-bottom:1px solid var(--line);margin-bottom:34px}
.ins-hero h1{font-size:clamp(30px,4.6vw,58px);margin:0 0 18px}
.ins-lede{max-width:62ch;font-size:clamp(16px,1.8vw,19px);line-height:1.65;color:var(--muted);margin:0}
.ins-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:38px}
.ins-filters a{font-size:12.5px;letter-spacing:.06em;color:var(--muted);border:1px solid var(--line);padding:8px 14px;transition:border-color .25s,color .25s}
.ins-filters a:hover,.ins-filters a.on{border-color:var(--neon);color:var(--neon)}
.ins-filters a:focus-visible{outline:2px solid var(--neon);outline-offset:2px}
.ins-feature{display:grid;grid-template-columns:1.15fr 1fr;gap:0;border:1px solid var(--line);background:var(--surf);margin-bottom:26px;overflow:hidden}
.ins-feature-media{display:block;position:relative;min-height:300px;overflow:hidden}
.ins-feature-media img{width:100%;height:100%;object-fit:cover;display:block}
.ins-feature-body{padding:34px 32px;display:flex;flex-direction:column;justify-content:center}
.ins-feature-body h2{font-size:clamp(21px,2.4vw,31px);margin:12px 0 14px}
.ins-feature-body h2 a{color:var(--ink)}
.ins-feature-body h2 a:hover{color:var(--neon)}
.ins-feature-body p{color:var(--muted);margin:0 0 20px;font-size:15px;line-height:1.7}
.ins-flag{display:inline-block;align-self:flex-start;font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;background:var(--neon);color:#191C4D;padding:4px 9px;margin-bottom:6px}
.ins-cat{display:inline-block;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--neon)}
.ins-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ins-card{border:1px solid var(--line);background:var(--surf);display:flex;flex-direction:column;overflow:hidden;transition:border-color .3s,transform .4s cubic-bezier(.2,.7,.2,1),box-shadow .3s}
.ins-card:hover{border-color:rgba(146,132,217,.45);transform:translateY(-3px);box-shadow:0 14px 32px rgba(0,0,0,.42)}
.ins-card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:#1B1E50}
.ins-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.ins-card-ph{display:block;width:100%;height:100%;background:linear-gradient(135deg,#212457,#1B1E50)}
.ins-card-body{padding:22px 20px;display:flex;flex-direction:column;flex:1}
.ins-card-t{font-size:18px;margin:10px 0 10px;line-height:1.25}
.ins-card-t a{color:var(--ink)}
.ins-card-t a:hover{color:var(--neon)}
.ins-card-x{color:var(--muted);font-size:14.5px;line-height:1.65;margin:0 0 18px}
.ins-card-meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#8688B4;border-top:1px solid var(--line);padding-top:14px}
.ins-more{display:inline-flex;align-items:center;gap:8px;color:var(--neon);font-size:12.5px;letter-spacing:.04em}
.ins-more svg{width:15px;height:9px;fill:none;stroke:currentColor;stroke-width:1.4}
.ins-more:hover svg{transform:translateX(3px)}
.ins-more svg{transition:transform .28s cubic-bezier(.2,.7,.2,1)}
.ins-pager{display:flex;justify-content:center;gap:8px;margin:44px 0 0}
.ins-pager .page-numbers{display:inline-grid;place-items:center;min-width:40px;height:40px;padding:0 10px;border:1px solid var(--line);color:var(--muted);font-size:13px}
.ins-pager .page-numbers.current,.ins-pager .page-numbers:hover{border-color:var(--neon);color:var(--neon)}
.ins-empty{padding:60px 0;color:var(--muted)}
/* ---- article ---- */
.ins-crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#8688B4;margin-bottom:26px}
.ins-crumbs a{color:#8688B4}
.ins-crumbs a:hover{color:var(--neon)}
.ins-single{max-width:1180px}
.ins-article{max-width:760px;margin:0 auto}
.ins-head h1{font-size:clamp(28px,4.2vw,50px);margin:14px 0 18px}
.ins-meta{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:12.5px;color:#8688B4;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin-top:24px}
.ins-hero-img{margin:32px 0;border:1px solid var(--line)}
.ins-hero-img img{width:100%;height:auto;display:block}
.ins-body{font-size:16.5px;line-height:1.78;color:#C7CAE4}
.ins-body h2{font-size:clamp(20px,2.4vw,28px);margin:44px 0 14px;padding-top:26px;border-top:1px solid var(--line)}
.ins-body h3{font-size:18px;margin:30px 0 10px;color:var(--ink)}
.ins-body p{margin:0 0 18px}
.ins-body ul,.ins-body ol{margin:0 0 20px;padding-left:22px}
.ins-body li{margin-bottom:9px}
.ins-body li::marker{color:var(--neon)}
.ins-body a{text-decoration:underline;text-underline-offset:3px}
.ins-body img{max-width:100%;height:auto;border:1px solid var(--line)}
.ins-body table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:14.5px}
.ins-body th,.ins-body td{border:1px solid var(--line);padding:11px 13px;text-align:left}
.ins-body th{color:var(--ink);background:var(--surf)}
.ins-body blockquote{margin:26px 0;padding:16px 0 16px 20px;border-left:2px solid var(--neon);color:var(--ink);font-size:18px}
.yzf-toc{border:1px solid var(--line);background:var(--surf);padding:22px 24px;margin:0 0 34px}
.yzf-toc-t{display:block;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--neon);margin-bottom:12px}
.yzf-toc ol{margin:0;padding-left:18px}
.yzf-toc li{margin-bottom:7px;font-size:14.5px}
.yzf-toc li.lv3{margin-left:14px;font-size:13.5px;opacity:.85}
.yzf-toc a{color:var(--muted)}
.yzf-toc a:hover{color:var(--neon)}
.ins-offer{border:1px solid var(--line);background:var(--surf);padding:30px 28px;margin:46px 0}
.ins-offer-kind{display:inline-block;font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;background:var(--neon);color:#191C4D;padding:4px 9px;margin-bottom:14px}
.ins-offer h2{font-size:22px;margin:0 0 12px;border:0;padding:0}
.ins-offer p{margin:0 0 20px;font-size:15px;line-height:1.7}
.ins-author{border-top:1px solid var(--line);padding-top:30px;margin-top:40px}
.ins-author h2{font-size:18px;margin:0 0 12px;border:0;padding:0}
.ins-author p{font-size:15px;line-height:1.7;margin:0 0 18px}
.ins-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:13px 22px;border:1px solid var(--line);color:var(--ink);font-size:13px;letter-spacing:.08em;text-transform:uppercase;transition:border-color .25s,background-color .25s,color .25s}
.ins-btn:hover{border-color:var(--neon);color:var(--neon)}
.ins-btn.solid{background:var(--neon);border-color:var(--neon);color:#191C4D}
.ins-btn.solid:hover{background:#AFA2EE;border-color:#AFA2EE;color:#191C4D}
.ins-btn:focus-visible{outline:2px solid #AFA2EE;outline-offset:3px}
.ins-related{max-width:1180px;margin:60px auto 0;padding-top:40px;border-top:1px solid var(--line)}
.ins-foot{margin-top:70px;border-top:1px solid var(--line);background:var(--surf)}
.ins-foot-in{max-width:1180px;margin:0 auto;padding:44px 28px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
.ins-foot h2{font-size:26px;margin:0 0 8px}
.ins-foot p{margin:0;color:var(--muted);font-size:15px}
.ins-foot-cta{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:1020px){.ins-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ins-feature{grid-template-columns:1fr}.ins-feature-media{min-height:220px}}
@media(max-width:700px){
  .ins-wrap{padding:72px 18px 0}
  .ins-grid{grid-template-columns:1fr}
  .ins-feature-body{padding:24px 20px}
  .ins-foot-in{padding:32px 18px}
  .ins-foot-cta .ins-btn{width:100%}
}
@media(prefers-reduced-motion:reduce){.ins-card,.ins-card:hover,.ins-more svg{transform:none;transition:none}}

/* ---- RESOURCES ---- */
.res-hero{padding-bottom:34px;border-bottom:1px solid var(--line);margin-bottom:38px}
.res-hero h1{font-size:clamp(28px,4.2vw,52px);margin:0 0 18px}
.res-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.res-card{border:1px solid var(--line);background:var(--surf);padding:28px 26px;display:flex;flex-direction:column}
.res-card.is-soon{border-style:dashed}
.res-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.res-status{font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;padding:5px 10px}
.res-status.paid{background:var(--neon);color:#191C4D}
.res-status.free{background:transparent;border:1px solid var(--neon);color:var(--neon)}
.res-status.soon{background:transparent;border:1px solid var(--line);color:var(--muted)}
.res-price{color:var(--ink);font-size:18px}
.res-card h2{font-size:20px;margin:0 0 12px;line-height:1.25}
.res-lede{color:var(--muted);font-size:15px;line-height:1.65;margin:0 0 20px}
.res-meta{border-top:1px solid var(--line);padding-top:16px;margin-bottom:16px}
.res-meta h3{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--neon);margin:0 0 8px}
.res-meta p{margin:0;font-size:14.5px;line-height:1.65;color:var(--muted)}
.res-meta ul{margin:0;padding-left:18px}
.res-meta li{font-size:14.5px;line-height:1.6;margin-bottom:7px;color:var(--muted)}
.res-meta li::marker{color:var(--neon)}
.res-cta{margin-top:auto;padding-top:18px}
.res-note{margin:12px 0 0;font-size:12.5px;color:#8688B4;line-height:1.6}

.res-foot{margin-top:52px;padding-top:34px;border-top:1px solid var(--line);max-width:620px}
.res-foot h2{font-size:24px;margin:0 0 12px}
.res-foot p{color:var(--muted);font-size:15px;line-height:1.7;margin:0 0 18px}
@media(max-width:1020px){.res-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.res-grid{grid-template-columns:1fr}}

/* the theme prints the page title too: keep a single H1 per page */
body.yzf-editorial.page .entry-header{padding:0;margin:0}
body.yzf-editorial.page .entry-title{color:#fff;font-size:clamp(28px,4.2vw,52px);letter-spacing:-.02em;line-height:1.15;margin:0 0 6px;max-width:1180px;padding:96px 28px 0;margin-left:auto;margin-right:auto}
body.yzf-editorial.page .ins-wrap{padding-top:14px}
.res-tag{font-size:clamp(19px,2.4vw,30px);color:#fff;letter-spacing:-.01em;line-height:1.2;margin:0 0 18px}
body.yzf-editorial.page .entry-content{margin-top:0}

@media(max-width:700px){body.yzf-editorial.page .entry-title{padding:72px 18px 0}}

/* ================= RESPONSIVE SAFEGUARDS (31/08/2026) =================
   Overflow is fixed per component. No global overflow-x:hidden, which would
   hide the symptom and take legitimate sticky/position behaviour with it. */

/* 1. long titles and unbroken strings */
body.yzf-editorial h1,body.yzf-editorial h2,body.yzf-editorial h3,
.ins-card-t,.ins-feature-body h2,.res-card h2{overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.ins-body p,.ins-body li,.ins-card-x,.res-lede,.res-meta p{overflow-wrap:anywhere}
/* long URLs pasted into article copy */
.ins-body a{overflow-wrap:anywhere}

/* 2. media never exceeds its container */
body.yzf-editorial img,body.yzf-editorial video,body.yzf-editorial iframe,
body.yzf-editorial svg{max-width:100%;height:auto}
body.yzf-editorial iframe{display:block}

/* 3. tables scroll inside their own box, not the page */
.ins-body table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-collapse:collapse}
.ins-body table tbody,.ins-body table thead{display:table;width:100%;min-width:520px}
.ins-body table th,.ins-body table td{white-space:normal}

/* 4. code and preformatted content */
.ins-body pre{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;background:var(--surf);border:1px solid var(--line);padding:16px 18px;font-size:13.5px;line-height:1.6}
.ins-body code{overflow-wrap:anywhere;background:var(--surf);padding:2px 6px;font-size:.92em}
.ins-body pre code{background:none;padding:0}

/* 5. category filters: one scrollable row with a fade cue, never a ragged block */
@media(max-width:820px){
  .ins-filters{position:relative;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;
    padding-bottom:10px;margin-right:-18px;padding-right:18px;
    scrollbar-width:none;-ms-overflow-style:none}
  .ins-filters::-webkit-scrollbar{display:none}
  .ins-filters a{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap}
  /* the fade tells the reader there is more to the right */
  .ins-filter-wrap{position:relative}
  .ins-filter-wrap::after{content:"";position:absolute;right:0;top:0;bottom:10px;width:44px;
    pointer-events:none;background:linear-gradient(90deg,rgba(25,28,77,0),rgba(25,28,77,.96))}
}

/* 6. floating controls must not sit on top of CTAs.
   Astra renders #ast-scroll-top; the accessibility widget sits bottom-left. */
#ast-scroll-top{z-index:80}
@media(max-width:900px){



  /* keep the last action clear of the bottom-left accessibility button */
  body.yzf-editorial .res-foot,body.yzf-editorial .ins-foot-cta{margin-bottom:40px}
  body.yzf-editorial .res-cta{padding-bottom:8px}
}

/* 7. the empty state was floating in dead space */
.ins-empty{padding:34px 0 48px;border-top:1px solid var(--line);margin-top:8px;font-size:15.5px}

/* ================= EDITORIAL HEADER + CONTROLS (31/08/2026) ================= */

body.admin-bar 
@media(max-width:782px){body.admin-bar }

.ed-logo{display:inline-flex;align-items:center}
.ed-logo img{display:block;height:24px;width:auto}







body.yzf-editorial .ins-wrap{padding-top:44px}
body.yzf-editorial.page .entry-title{padding-top:44px}
@media(max-width:860px){
  
  
  
  
  body.yzf-editorial.page .entry-title{padding-top:30px}
}

/* one back-to-top, bottom right, aligned to the same safe area as the
   accessibility control at bottom left. No blanket section padding. */
#ast-scroll-top{bottom:calc(18px + env(safe-area-inset-bottom,0px))!important;right:16px!important;
  width:40px!important;height:40px!important;line-height:40px!important;font-size:14px!important;z-index:75}



/* 4. reclaim the dead space */
.ins-empty{padding:26px 0 30px;min-height:0}
.ins-foot{margin-top:44px}
.ins-foot-in{padding:34px 28px}
@media(max-width:700px){.ins-foot-in{padding:26px 18px}.res-foot{margin-top:34px;padding-top:26px}}

/* 5. collapsible resource cards below 820px */
.res-toggle{display:none;width:100%;min-height:46px;margin-top:6px;background:transparent;color:var(--ink);
  border:1px solid var(--line);border-radius:0;font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;transition:border-color .22s,color .22s}
.res-toggle:hover,.res-toggle:focus-visible{border-color:var(--neon);color:var(--neon)}
.res-toggle:focus-visible{outline:2px solid var(--neon);outline-offset:2px}
@media(max-width:820px){
  .res-card.is-collapsible .res-more{display:none}
  .res-card.is-collapsible.is-open .res-more{display:block}
  .res-toggle{display:block}
  .res-card{align-self:start}
}

/* 6. disabled states: clearly inactive, but readable */
.ins-btn.is-disabled{opacity:1;color:#C4C7E2;border:1px dashed #4A4C86;background:rgba(255,255,255,.02);cursor:not-allowed;pointer-events:none;width:100%}
.res-note{color:#9A9CBC}


/* ================= SHARED HEADER (01/09/2026) =================
   Mirrors the homepage .hdr so Insights and Resources read as the same site:
   wordmark left, Let us talk right. No separate editorial navigation. */
.ed-hd{position:fixed;left:0;right:0;top:0;z-index:90;display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding:13px 30px;background:rgba(25,28,77,.92);border-bottom:1px solid var(--line)}


.ed-hd .mark{display:inline-flex;align-items:center;flex:0 1 auto;min-width:0}
.ed-hd .wordmark{display:block;height:22px;width:auto;max-width:100%;object-fit:contain}
.ed-hd .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;
  height:40px;padding:0 20px;border:1px solid var(--line);color:var(--ink);text-decoration:none;
  font-size:10.5px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap;
  transition:border-color .25s,color .25s,background-color .25s}
.ed-hd .btn svg{width:15px;height:9px;fill:none;stroke:currentColor;stroke-width:1.4;flex:0 0 auto}
.ed-hd .btn:hover{border-color:var(--neon);color:var(--neon)}
.ed-hd .btn:focus-visible{outline:2px solid var(--neon);outline-offset:2px}
body.yzf-editorial #masthead,body.yzf-editorial .site-header{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important}
body.yzf-editorial .ins-wrap{padding-top:44px}
body.yzf-editorial.page .entry-title{padding-top:44px}
@media(max-width:700px){
  .ed-hd{padding:11px 16px;gap:12px}
  .ed-hd .wordmark{height:18px}
  .ed-hd .btn{height:36px;padding:0 14px;font-size:9.5px;letter-spacing:.12em;gap:8px}
  body.yzf-editorial .ins-wrap{padding-top:30px}
  body.yzf-editorial.page .entry-title{padding-top:30px}
}
@media(max-width:400px){
  .ed-hd{padding:10px 13px;gap:10px}
  .ed-hd .wordmark{height:16px}
  .ed-hd .btn{height:34px;padding:0 11px;font-size:9px;letter-spacing:.08em;gap:6px}
}

/* ================= FOOTER REFINEMENT (01/09/2026) =================
   The back-to-top button is gone, so the reserved space below it goes too. */
body.yzf-editorial .ins-wrap{padding-bottom:0}
body.yzf-editorial main{padding-bottom:0}
.ins-foot{margin-top:52px;border-top:1px solid var(--line);background:transparent;padding-bottom:0}
.ins-foot-in{max-width:1180px;margin:0 auto;padding:40px 28px 34px;display:flex;flex-wrap:wrap;
  gap:26px;align-items:flex-end;justify-content:space-between}
.ins-foot h2{font-size:clamp(21px,2.6vw,27px);margin:0 0 8px}
.ins-foot p{margin:0;font-size:14.5px;max-width:46ch}
.ins-foot-cta{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:700px){
  .ins-foot{margin-top:38px}
  .ins-foot-in{display:block;padding:30px 18px 26px}
  .ins-foot .lab{margin-bottom:10px}
  .ins-foot h2{font-size:22px;margin-bottom:8px}
  .ins-foot p{font-size:14px;margin-bottom:20px}
  .ins-foot-cta{display:grid;gap:10px}
  .ins-foot-cta .ins-btn{width:100%;min-height:50px}
}
/* no dead space under the last block on any editorial page */
body.yzf-editorial .site-content,body.yzf-editorial #content,body.yzf-editorial #page{padding-bottom:0!important;margin-bottom:0!important}
body.yzf-editorial .res-foot{margin-top:40px;padding-top:30px;padding-bottom:0}
@media(max-width:700px){body.yzf-editorial .res-foot{margin-top:30px;padding-top:24px}}

/* ---- EDITORIAL LIGHT: the filter fade must follow the theme ---- */
body.light .ins-filter-wrap::after{background:linear-gradient(90deg,rgba(239,240,245,0),rgba(239,240,245,.96))!important}
body.light.yzf-editorial{--bg:#EFF0F5;--surf:#FFFFFF;--line:#DDDEEC;--accent:#5B4BC4;--neon:#5B4BC4;--ink:#1D1F58;--muted:#5A5E86}

/* ================= LISTING STRUCTURE (01/09/2026) ================= */
.ins-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ins-card-facts{display:inline-flex;align-items:center;gap:7px;color:#8688B4}
.ins-feature{margin-bottom:26px}

/* resources promotion between the articles */
.ins-promo{margin:26px 0;padding:34px 32px;background:var(--surf);border:1px solid var(--line);
  border-left:2px solid var(--neon)}
.ins-promo .lab{display:block;margin-bottom:12px}
.ins-promo h2{font-size:clamp(21px,2.6vw,29px);margin:0 0 10px;border:0;padding:0}
.ins-promo p{color:var(--muted);font-size:15px;line-height:1.7;margin:0 0 22px;max-width:58ch}
.ins-promo-cta{display:flex;flex-wrap:wrap;gap:12px}

/* final consultation CTA */
.ins-final{margin-top:56px;padding-top:40px;border-top:1px solid var(--line);max-width:640px}
.ins-final h2{font-size:clamp(23px,3vw,33px);margin:0 0 12px;border:0;padding:0}
.ins-final p{color:var(--muted);font-size:15.5px;line-height:1.7;margin:0 0 24px}

@media(max-width:820px){
  .ins-grid-2{grid-template-columns:1fr}
  .ins-promo{margin:20px 0;padding:26px 20px}
  .ins-promo-cta{display:grid;gap:10px}
  .ins-promo-cta .ins-btn{width:100%;min-height:50px}
  .ins-final{margin-top:40px;padding-top:30px}
  .ins-final .ins-btn{width:100%;min-height:50px}
  .ins-card-meta{flex-wrap:wrap;gap:8px}
}

/* ================= FIXED HEADER OFFSETS (01/09/2026) =================
   Offsets come from the rendered header height and the WordPress toolbar
   height, both published as custom properties by insights.js, with
   fallbacks here. Nothing is an arbitrary padding value. */
:root{--ed-hd-h:62px;--wpbar:0px}
body.admin-bar{--wpbar:32px}
@media screen and (max-width:782px){body.admin-bar{--wpbar:46px}}
.ed-hd{top:var(--wpbar)}
body.yzf-editorial{padding-top:var(--ed-hd-h)}
body.yzf-editorial .ins-wrap{padding-top:34px}
body.yzf-editorial.page .entry-title{padding-top:34px}
@media(max-width:700px){
  body.yzf-editorial .ins-wrap{padding-top:24px}
  body.yzf-editorial.page .entry-title{padding-top:24px}
}
/* anchor targets must clear the fixed header */
html{scroll-padding-top:calc(var(--ed-hd-h) + var(--wpbar) + 16px)}
body.yzf-editorial h2[id],body.yzf-editorial h3[id]{scroll-margin-top:calc(var(--ed-hd-h) + var(--wpbar) + 16px)}

/* collapsible table of contents */
.yzf-toc-btn{display:none;width:100%;align-items:center;justify-content:space-between;gap:12px;
  background:transparent;border:0;padding:0;cursor:pointer;text-align:left;font:inherit;color:inherit}
.yzf-toc-btn[hidden]{display:none!important}
.yzf-toc-state{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--neon)}
.yzf-toc-btn:focus-visible{outline:2px solid var(--neon);outline-offset:3px}
.yzf-toc ol[hidden]{display:none}
@media(max-width:820px){
  .yzf-toc-btn{display:flex}
  .yzf-toc{padding:16px 18px}
  .yzf-toc ol{margin-top:14px}
}
.ins-draft-flag{color:#E0C36F;font-size:12.5px;letter-spacing:.06em}

/* ============ OVERFLOW-X CONTAINING BLOCK FIX (01/09/2026) ============
   Astra 4.13.6 main.min.css sets body{overflow-x:hidden}. On mobile browsers
   that makes body a scroll container, so position:fixed children scroll with
   the page instead of pinning to the viewport. That was the real cause of the
   header scrolling away, not the header CSS itself.
   Fix: release overflow-x on body for editorial pages. html keeps overflow-x
   clip, which does NOT create a containing block for fixed elements, so the
   page still cannot scroll sideways. */
body.yzf-editorial{overflow-x:visible!important}
html:has(body.yzf-editorial){overflow-x:clip}
@supports not selector(:has(*)){
  html{overflow-x:clip}
}
.ed-hd{position:fixed!important;left:0!important;right:0!important;width:100%!important;
  z-index:2147483000!important;background:#191C4D!important;transform:none!important;
  -webkit-backface-visibility:hidden;backface-visibility:hidden}
body.yzf-editorial{transform:none!important;filter:none!important;perspective:none!important;
  contain:none!important;will-change:auto!important}

/* ---- TRAILING SPACE FIX (01/09/2026) ----
   Astra inlines #page{display:flex;flex-direction:column;min-height:100vh}.
   With the theme footer hidden, that reserved a full viewport of empty black
   below the last block. Released on editorial pages only. */
body.yzf-editorial #page,body.yzf-editorial .site{min-height:0!important;display:block!important}
body.yzf-editorial #content,body.yzf-editorial .site-content{min-height:0!important;padding-bottom:0!important;margin-bottom:0!important}
body.yzf-editorial .ins-foot,body.yzf-editorial .res-foot{margin-bottom:0}


/* ---- single purple theme (03/09/2026): pieces that were hard-coded dark ---- */
body.light .ins-flag,body.light .ins-offer-kind,body.light .res-status.paid,body.light .ins-btn.solid{color:#FFFFFF}
body.light .ins-btn.solid:hover{background:#4A3BB0;border-color:#4A3BB0;color:#FFFFFF}
body.light .ins-card-media{background:#E7E4FF}
body.light .ins-card-ph{background:linear-gradient(135deg,#EBEAF7,#DDDEEC)}
body.light .ed-hd{background:rgba(239,240,245,.92)!important;border-bottom:1px solid #DDDEEC}
body.light .ins-btn:focus-visible{outline-color:#5B4BC4}

/* ================= BATCH A (03/09/2026) ================= */
/* article copy was a pale grey built for the dark ground */
body.light .ins-body{color:#3B3F72}
body.light .ins-body li,body.light .ins-body p{color:#3B3F72}
body.light .ins-feature-body p,body.light .res-meta p,body.light .res-meta li,
body.light .ins-promo p,body.light .ins-final p,body.light .ins-foot p,
body.light .ins-author p,body.light .ins-offer p{color:#4A4E80}
body.light .yzf-toc li{color:#4A4E80}

/* publication date and reading time removed from articles */
.ins-meta{display:none!important}
