/* ==========================================================================
   NextGen Digital SEO: blog post page
   Scoped to .article-page / body.page-article. Sections:
   1 Tokens  2 Page + progress  3 Hero  4 Layout + article card  5 Prose
   6 Article footer  8 FAQ  9 Sidebar (TOC, CTA, share)
   10 Related  11 Bottom CTA  12 Motion  13 Responsive  14 Reduced motion
   ========================================================================== */

/* 1 Tokens ---------------------------------------------------------------- */
.article-page {
  --navy: #101D35;
  --navy-2: #1D3152;
  --deep: #07021F;
  --red: #F10913;
  --red-ink: #C8060F;            /* AA-contrast red for text on white */
  --grad: linear-gradient(120deg, #f10913 0%, #da1018 55%, #f10912 100%);
  --bg: #F6F8FC;
  --ink: #17243B;
  --text: #334560;
  --muted: #64748B;
  --line: #E2E8F0;
  --soft: #F1F5F9;
  --tint: #FEF0F1;
  --ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--bg);
  color: var(--ink);
}
.article-page *, .article-page *::before, .article-page *::after { box-sizing: border-box; }
/* Clip (not hide) sideways overflow: hidden would break position:sticky. */
html:has(body.page-article), body.page-article { overflow-x: clip !important; }
@media (prefers-reduced-motion: no-preference) { html:has(body.page-article) { scroll-behavior: smooth; } }
.article-container { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.article-page :is(a, button, summary, input, textarea):focus-visible { outline: 3px solid #ff6b75; outline-offset: 3px; border-radius: 6px; }
.article-kicker { display: block; color: var(--red-ink); font-size: 11px; font-weight: 700; letter-spacing: .16em; }

/* 2 Reading progress ------------------------------------------------------ */
.article-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1100; pointer-events: none; }
.article-progress > span { display: block; height: 100%; background: var(--grad); box-shadow: 0 0 10px #f1091388; transform: scaleX(0); transform-origin: left; will-change: transform; }

/* 3 Hero ------------------------------------------------------------------ */
.article-page .article-hero {
  position: relative !important; top: auto !important; left: auto !important; width: auto !important; z-index: 0 !important;
  isolation: isolate; overflow: hidden; color: #fff;
  padding: 148px 0 132px !important;
  background:
    radial-gradient(ellipse 55% 75% at 94% 0, #1D3152 0, transparent 62%),
    radial-gradient(ellipse 38% 55% at 0 100%, #f1091329 0, transparent 65%),
    var(--navy);
}
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#ffffff17 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.article-hero::after { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -280px; top: -330px; border: 1px solid #ffffff10; border-radius: 50%; box-shadow: 0 0 0 72px #ffffff05, 0 0 0 144px #ffffff03; pointer-events: none; }
.article-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid #ffffff1a; }
.article-page .article-breadcrumb { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-start !important; gap: 10px; position: static !important; width: auto; padding: 0; margin: 0; background: none; box-shadow: none; transform: none; font-size: 13px; color: #9fb1cc; }
.article-breadcrumb a, .article-back { color: #cdd9ec; transition: color .2s; }
.article-breadcrumb a:hover, .article-back:hover { color: #fff; }
.article-breadcrumb [aria-current] { color: #fff; }
.article-back { font-size: 13px; font-weight: 600; }
.article-back span { color: #ff6b75; margin-left: 6px; }
.article-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 44px; }
.article-hero-copy { min-width: 0; }
.article-hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.article-hero .article-kicker { color: #ff8e97; }
.article-category { padding: 6px 13px; border: 1px solid #ffffff2b; border-radius: 999px; background: #ffffff12; color: #ffd0d4; font-size: 12px; font-weight: 600; }
.article-page .article-hero h1 {
  margin: 22px 0 18px !important; font-family: 'Outfit', sans-serif !important; font-weight: 700 !important;
  font-size: clamp(40px, 4.2vw, 58px) !important; line-height: 1.12 !important; letter-spacing: -.035em;
  color: #fff !important; -webkit-text-fill-color: #fff !important; text-wrap: balance; overflow-wrap: break-word;
}
.article-page .article-hero h1.is-long { font-size: clamp(34px, 3.5vw, 46px) !important; }
.article-page .article-hero h1.is-xlong { font-size: clamp(30px, 3vw, 40px) !important; line-height: 1.16 !important; }
.article-page .article-deck { max-width: 580px; margin: 0 !important; font-size: 17px; line-height: 1.75; color: #c3d0e4 !important; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #ffffff1a; }
.article-author { display: flex; align-items: center; gap: 12px; margin-right: 6px; }
.article-author small, .article-info small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: #8fa2c2; margin-bottom: 3px; }
.article-author strong, .article-author strong a { color: #fff !important; -webkit-text-fill-color: #fff !important; font-size: 14px; font-weight: 600; }
.article-monogram { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid #ffffff33; border-radius: 50%; background: #ffffff14; color: #fff; font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -1px; }
.article-monogram > span { color: #ff6b75; }
.article-meta time, .article-pill { padding: 8px 14px; border: 1px solid #ffffff26; border-radius: 999px; background: #ffffff10; color: #d6e0f0; font-size: 13px; }
.article-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.article-start { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--grad); color: #fff !important; font-size: 14px; font-weight: 700; box-shadow: 0 12px 26px #f109132e; transition: transform .25s var(--ease), box-shadow .25s; }
.article-start:hover { transform: translateY(-2px); box-shadow: 0 16px 32px #f1091344; }
.article-cover { position: relative; margin: 0; }
.article-cover::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border: 1px solid #ffffff1f; border-radius: 32px; background: linear-gradient(145deg, #ffffff0a, #f1091312); }
.article-cover-frame { overflow: hidden; border: 1px solid #ffffff30; border-radius: 28px; background: var(--navy-2); box-shadow: 0 44px 80px -36px #000c; aspect-ratio: 16 / 11; }
.article-cover-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.article-cover:hover img { transform: scale(1.04); }

/* Share controls (hero, article end, sidebar) */
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.article-share-label { margin-right: 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.article-share a, .article-share button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy-2); font: 600 15px/1 'Plus Jakarta Sans', sans-serif; cursor: pointer; transition: transform .22s var(--ease), background .2s, color .2s, border-color .2s; }
.article-share a:hover, .article-share button:hover { transform: translateY(-3px); background: var(--navy); border-color: var(--navy); color: #fff; }
.article-share button.is-copied { background: #12805c; border-color: #12805c; color: #fff; }
.article-share-hero .article-share-label { color: #9fb1cc; }
.article-share-hero a, .article-share-hero button { border-color: #ffffff2b; background: #ffffff12; color: #e4ecf8; }
.article-share-hero a:hover, .article-share-hero button:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* 4 Layout + article card -------------------------------------------------- */
.article-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; margin-top: -88px; padding-bottom: 72px; }
.article-main { min-width: 0; padding: 48px 56px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 70px -44px #101d3566; }
.article-reading-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto 32px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article-reading-toolbar > span { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.article-reading-toolbar i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.article-reading-toolbar > div { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.article-reading-toolbar button { min-width: 44px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.article-reading-toolbar button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* 5 Prose ------------------------------------------------------------------ */
.article-prose { max-width: 760px; margin-inline: auto; font-size: 17.5px; line-height: 1.85; color: var(--text); overflow-wrap: anywhere; scroll-margin-top: 130px; }
.article-prose :is(p, li) { font-size: 17.5px !important; line-height: 1.85 !important; color: var(--text) !important; }
.article-prose[data-text-size="large"] :is(p, li) { font-size: 19.5px !important; }
.article-prose p { margin: 0 0 22px; }
.article-prose > p:first-of-type { font-size: 19.5px !important; color: var(--ink) !important; }
.article-prose strong, .article-prose b { color: var(--ink); font-weight: 700; }
.article-prose :is(h2, h3, h4) { position: relative; font-family: 'Outfit', sans-serif !important; color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; letter-spacing: -.02em; scroll-margin-top: 130px; text-wrap: balance; }
.article-prose h2 { margin: 60px 0 20px !important; padding-top: 24px; font-size: clamp(26px, 2.4vw, 32px) !important; line-height: 1.22 !important; font-weight: 700 !important; border-top: 1px solid var(--line); }
.article-prose h2::before { content: ""; position: absolute; left: 0; top: -2px; width: 44px; height: 3px; border-radius: 3px; background: var(--grad); }
.article-prose h2:first-child { margin-top: 0 !important; padding-top: 0; border-top: 0; }
.article-prose h2:first-child::before { display: none; }
.article-prose h3 { margin: 40px 0 14px !important; font-size: clamp(21px, 2vw, 25px) !important; line-height: 1.3 !important; font-weight: 600 !important; }
.article-prose h4 { margin: 30px 0 12px !important; font-size: 19px !important; line-height: 1.35 !important; font-weight: 600 !important; }
.article-prose a { color: var(--red-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.article-prose a:hover { background-size: 100% 1.5px; color: #8f0309; }
/* Lists: one soft block with red check markers (direct children only). */
.article-prose > ul, .article-prose > ol { list-style: none; margin: 8px 0 28px; padding: 20px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; counter-reset: prose; }
.article-prose > ul > li, .article-prose > ol > li { position: relative; margin: 0; padding-left: 36px; counter-increment: prose; }
.article-prose > ul > li + li, .article-prose > ol > li + li { margin-top: 12px; }
.article-prose > ul > li::before { content: "\2713"; position: absolute; left: 0; top: .32em; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); color: var(--red-ink); font-size: 12px; font-weight: 700; line-height: 1; }
.article-prose > ol > li::before { content: counter(prose); position: absolute; left: 0; top: .32em; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; }
.article-prose li > p { margin: 0; }
.article-prose li ul, .article-prose li ol { margin: 10px 0 0; padding-left: 20px; }
.article-prose li li::marker { color: var(--red); }
.article-prose blockquote { position: relative; margin: 36px 0; padding: 14px 0 14px 30px; border-left: 3px solid var(--red); font-family: 'Outfit', sans-serif; }
.article-prose blockquote::before { content: "\201C"; position: absolute; left: 30px; top: -22px; font-size: 72px; line-height: 1; color: #f1091326; font-family: Georgia, serif; pointer-events: none; }
.article-prose blockquote > :last-child { margin-bottom: 0 !important; }
.article-prose blockquote, .article-prose blockquote p { font-size: 22px !important; line-height: 1.55 !important; font-weight: 500; color: var(--navy) !important; font-style: normal; }
.article-prose img { max-width: 100% !important; height: auto !important; border-radius: 16px; }
.article-prose figure { margin: 30px 0; }
.article-prose figcaption, .article-prose .caption { margin-top: 10px; font-size: 14px; text-align: center; color: var(--muted); }
.article-prose iframe, .article-prose video { max-width: 100%; border-radius: 16px; }
.article-prose table { display: table; width: 100%; max-width: 100%; border-collapse: collapse; margin: 28px 0; border: 1px solid var(--line); font-size: 16px; }
@media (max-width: 900px) { .article-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.article-prose :is(th, td) { padding: 12px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: normal; word-break: normal; }
.article-prose th { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.article-prose :not(pre) > code { padding: 2px 7px; border-radius: 6px; background: var(--soft); color: var(--navy-2); font-size: .9em; }
.article-prose pre { margin: 26px 0; padding: 20px 22px; overflow-x: auto; border-radius: 14px; background: var(--navy); color: #e4ecf8; font-size: 14.5px; line-height: 1.7; }
.article-prose mark { padding: 1px 5px; border-radius: 4px; background: #fee2e4; color: var(--ink); }
.article-prose hr { margin: 44px 0; border: 0; border-top: 1px solid var(--line); }
/* Optional editor components (apply the class in the editor's source view). */
.article-prose :is(.key-takeaway, .article-takeaway, .takeaway) { margin: 32px 0; padding: 22px 24px 22px 28px; border-left: 4px solid var(--red); border-radius: 0 16px 16px 0; background: linear-gradient(120deg, #fff4f5, #fff); }
.article-prose :is(.key-takeaway, .article-takeaway, .takeaway) > :last-child { margin-bottom: 0; }
.article-prose :is(.key-takeaway, .article-takeaway, .takeaway) > :is(strong, h3, h4):first-child { display: block; margin: 0 0 8px !important; color: var(--navy) !important; }
.article-prose .article-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 30px 0; }
.article-prose .article-highlights > * { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.article-prose .article-highlights > *:hover { transform: translateY(-3px); border-color: #f4b4b8; box-shadow: 0 18px 30px -22px #101d3566; }

/* 6 Article footer: share + info ------------------------------------------- */
.article-footer { max-width: 760px; margin: 48px auto 0; }
.article-share-end { justify-content: space-between; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-share-end .article-share-label { flex: 1 1 100%; margin: 0 0 4px; }
@media (min-width: 560px) { .article-share-end { justify-content: flex-start; } .article-share-end .article-share-label { flex: 0 0 auto; margin: 0 12px 0 0; } }
.article-info { position: relative; display: flex; gap: 24px; align-items: flex-start; margin-top: 32px; padding: 32px; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 18px; background: linear-gradient(135deg, #fff 40%, #f5f7fb); box-shadow: 0 12px 32px -20px #11234030; }
.article-info .article-monogram { width: 64px; height: 64px; border-color: #e3e8f0; border-radius: 18px; background: #fff; color: var(--navy); font-size: 25px; box-shadow: 0 6px 16px #11234008; }
.article-info .article-monogram > span { color: var(--red); }
.article-info-body { flex: 1; min-width: 0; }
.article-info small { margin-bottom: 8px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.article-info-name { margin: 0 0 12px; font-family: 'Outfit', sans-serif; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.25; font-weight: 600; color: var(--navy); }
.article-info-name a { color: inherit; }
.article-info-name a:hover { color: var(--red); }
.article-info-name a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 3px; }
.article-info-text { max-width: 62ch; margin: 0 0 24px; font-size: 14px; line-height: 1.8; color: var(--muted) !important; }
.article-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.article-facts > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.article-facts dt { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.article-facts dd { margin: 6px 0 0; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* 8 FAQ -------------------------------------------------------------------- */
.article-faq { max-width: 760px; margin: 56px auto 0; padding: 0 !important; }
.article-page .article-faq h2 { margin: 12px 0 24px !important; font-family: 'Outfit', sans-serif !important; font-size: clamp(26px, 2.4vw, 32px) !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: -.02em; color: var(--ink) !important; }
.article-faq details { margin-bottom: 12px; padding: 0 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .25s, box-shadow .25s, background .25s; }
.article-faq details:hover { border-color: #cdd7e6; }
.article-faq details[open] { border-color: #f4b4b8; background: #fffafa; box-shadow: 0 16px 32px -24px #f109138c; }
.article-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; }
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq-q { font-size: 16.5px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.article-faq-icon { position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); transition: background .25s, transform .3s var(--ease); }
.article-faq-icon::before, .article-faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--red-ink); transition: background .25s; }
.article-faq-icon::after { transform: rotate(90deg); }
.article-faq details[open] .article-faq-icon { background: var(--red); transform: rotate(180deg); }
.article-faq details[open] .article-faq-icon::before, .article-faq details[open] .article-faq-icon::after { background: #fff; }
.article-faq details[open] .article-faq-icon::after { opacity: 0; }
.article-faq-a { padding: 0 0 20px; font-size: 16px; line-height: 1.8; color: var(--text); animation: article-faq-in .3s var(--ease); }
.article-faq-a p { margin: 0 0 10px; }
@keyframes article-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 9 Sidebar ----------------------------------------------------------------- */
.article-sidebar { position: sticky; top: 112px; align-self: start; min-width: 0; max-height: calc(100vh - 128px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; margin: 0 -6px; padding: 0 6px 14px; }
.article-sidebar::-webkit-scrollbar { display: none; }
.article-sticky { display: flex; flex-direction: column; gap: 16px; }
.article-toc, .article-cta, .article-sidebar-share { border-radius: 20px; }
.article-toc { padding: 18px 18px 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -22px #101d3555; }
.article-toc[hidden] { display: none; }
.article-page .article-toc-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 4px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent !important; box-shadow: none; text-align: left; cursor: default; font: inherit; color: var(--navy-2); }
.article-toc-title { flex: 1; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-2); }
.article-toc-percent { padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--red-ink); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.article-toc-chevron { display: none; width: 10px; height: 10px; border-right: 2px solid var(--navy-2); border-bottom: 2px solid var(--navy-2); transform: rotate(45deg); transition: transform .25s var(--ease); }
.article-page .article-toc-nav { display: block !important; position: relative !important; width: auto; margin: 10px 0 0; padding: 0 0 0 14px; background: none; box-shadow: none; transform: none; }
.article-toc-track { position: absolute; left: 2px; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.article-toc-track i { display: block; width: 100%; height: 100%; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .2s linear; }
.article-toc ol { position: relative; margin: 0; padding: 0; list-style: none; max-height: clamp(110px, calc(100vh - 660px), 320px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cbd5e3 transparent; }
.article-toc li { margin: 0; }
.article-toc li a { display: block; padding: 8px 10px; border-radius: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); transition: background .2s, color .2s; }
.article-toc li a:hover { background: var(--soft); color: var(--ink); }
.article-toc li.toc-h3 a { padding-left: 22px; font-size: 13px; }
.article-toc li a[aria-current="location"] { background: var(--tint); color: var(--red-ink); font-weight: 600; }
.article-cta { position: relative; overflow: hidden; padding: 24px; border: 1px solid #2b4162; color: #fff; background: radial-gradient(ellipse at 100% 0, #1D3152 0, transparent 70%), radial-gradient(ellipse at 0 100%, #f1091330 0, transparent 60%), var(--navy); box-shadow: 0 24px 44px -28px #07021fcc; }
.article-cta::after { content: ""; position: absolute; right: -70px; top: -70px; width: 190px; height: 190px; border: 1px solid #ffffff12; border-radius: 50%; box-shadow: 0 0 0 26px #ffffff05; pointer-events: none; }
.article-cta .article-kicker { color: #ff8e97; font-size: 10px; }
.article-cta-title { margin: 12px 0 8px; font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: #fff !important; }
.article-cta-text { margin: 0 0 18px; font-size: 14.5px; line-height: 1.65; color: #bccbe0 !important; }
.article-cta-btn { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 18px; border-radius: 12px; background: var(--grad); color: #fff !important; font-size: 14px; font-weight: 700; box-shadow: 0 12px 24px #f1091338; transition: transform .25s var(--ease), box-shadow .25s; }
.article-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px #f1091352; }
.article-cta-btn span { font-size: 18px; }
.article-sidebar-share { padding: 16px 18px; background: #fff; border: 1px solid var(--line); }
.article-sidebar-share .article-share-label { display: block; margin: 0 0 12px; }
.article-sidebar-share .article-share a, .article-sidebar-share .article-share button { width: 42px; height: 42px; }

/* 10 Related ----------------------------------------------------------------- */
.article-related { padding-bottom: 72px; }
.article-related-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.article-page .article-related h2 { margin: 12px 0 0 !important; font-family: 'Outfit', sans-serif !important; font-size: clamp(28px, 2.8vw, 36px) !important; font-weight: 700 !important; line-height: 1.15 !important; letter-spacing: -.025em; color: var(--ink) !important; }
.article-related-heading > a { flex: 0 0 auto; font-size: 14px; font-weight: 700; color: var(--red-ink); }
.article-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.article-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.article-card:hover { transform: translateY(-6px); border-color: #f4b4b8; box-shadow: 0 30px 50px -32px #101d3573; }
.article-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.article-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.article-card:hover .article-card-image img { transform: scale(1.06); }
.article-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.article-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: 12.5px; color: var(--muted); }
.article-card-category { padding: 4px 11px; border-radius: 999px; background: var(--tint); color: var(--red-ink); font-weight: 700; }
.article-page .article-card h3 { margin: 0 0 10px !important; font-family: 'Outfit', sans-serif !important; font-size: 21px !important; font-weight: 600 !important; line-height: 1.3 !important; letter-spacing: -.015em; }
.article-card h3 a { color: var(--ink) !important; transition: color .2s; }
.article-card h3 a:hover { color: var(--red-ink) !important; }
.article-card p { margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: var(--muted) !important; }
.article-card-link { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--red-ink); }
.article-card-link span { display: inline-block; transition: transform .25s var(--ease); }
.article-card:hover .article-card-link span { transform: translate(3px, -3px); }

/* 11 Bottom CTA ---------------------------------------------------------------- */
.article-cta-band { padding-bottom: 72px; }
.article-cta-band-inner { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px; border: 1px solid #2b4162; border-radius: 28px; color: #fff; background: radial-gradient(ellipse at 100% 0, #1D3152 0, transparent 65%), radial-gradient(ellipse at 0 100%, #f1091338 0, transparent 55%), var(--navy); box-shadow: 0 40px 70px -44px #07021fe6; }
.article-cta-band-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#ffffff14 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000); mask-image: linear-gradient(100deg, transparent 30%, #000); }
.article-cta-band-inner::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -150px; top: -190px; border: 1px solid #ffffff12; border-radius: 50%; box-shadow: 0 0 0 48px #ffffff05, 0 0 0 96px #ffffff03; }
.article-cta-band .article-kicker { color: #ff8e97; }
.article-page .article-cta-band h2 { max-width: 640px; margin: 14px 0 14px !important; font-family: 'Outfit', sans-serif !important; font-size: clamp(30px, 3.4vw, 46px) !important; font-weight: 700 !important; line-height: 1.12 !important; letter-spacing: -.03em; color: #fff !important; -webkit-text-fill-color: #fff !important; text-wrap: balance; }
.article-page .article-cta-band h2 span { display: block; color: #b4c3dc !important; -webkit-text-fill-color: #b4c3dc !important; }
.article-cta-band p { max-width: 560px; margin: 0; font-size: 17px; line-height: 1.7; color: #bccbe0 !important; }
.article-cta-band-actions { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 12px; }
.article-cta-band-actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 58px; padding: 0 26px; border-radius: 14px; background: var(--grad); color: #fff !important; font-size: 16px; font-weight: 700; box-shadow: 0 16px 34px #f1091342; transition: transform .25s var(--ease), box-shadow .25s; }
.article-cta-band-actions a:hover { transform: translateY(-3px); box-shadow: 0 22px 40px #f109135c; }
.article-cta-band-actions a span { font-size: 22px; }
.article-cta-band-actions small { font-size: 13px; color: #8fa2c2; }

/* 12 Scroll reveal (class added by JS only below the fold) -------------------- */
.reveal-pending { opacity: 0; transform: translateY(18px); }
.reveal-pending.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }

/* 13 Responsive --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .article-container { width: min(1280px, calc(100% - 48px)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
  .article-main { padding: 40px 36px; }
  .article-hero-grid { gap: 40px; }
  .article-cta-band-inner { padding: 44px; }
}
@media (max-width: 960px) {
  .article-page .article-hero { padding: 128px 0 104px !important; }
  .article-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 32px; }
  .article-cover { max-width: 640px; }
  .article-cover::before { inset: 14px -10px -14px 10px; border-radius: 26px; }
  .article-page .article-deck { max-width: 640px; }
  /* Single column: the TOC moves above the article as a collapsible panel. */
  .article-layout { display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin-top: -60px; }
  .article-sidebar, .article-sticky { display: contents; position: static; }
  .article-toc { order: -1; }
  .article-main { order: 0; }
  .article-cta, .article-sidebar-share { order: 1; }
  .article-page .article-toc-head { cursor: pointer; padding-bottom: 0; border-bottom: 0; min-height: 44px; }
  .article-toc-chevron { display: block; }
  .article-toc.is-collapsed .article-toc-chevron { transform: rotate(-45deg); }
  .article-page .article-toc.is-collapsed .article-toc-nav { display: none !important; }
  .article-page .article-toc:not(.is-collapsed) .article-toc-head { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .article-toc ol { max-height: 260px; }
  .article-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-cta-band-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (max-width: 700px) {
  .article-container { width: calc(100% - 40px); }
  .article-page .article-hero { padding: 112px 0 88px !important; }
  .article-page .article-hero h1 { font-size: clamp(32px, 8.4vw, 38px) !important; margin: 18px 0 14px !important; }
  .article-page .article-deck { font-size: 16px; }
  .article-meta { gap: 10px; margin-top: 22px; padding-top: 20px; }
  .article-author { flex: 1 0 100%; margin: 0 0 4px; }
  .article-hero-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .article-start { width: 100%; min-height: 52px; }
  .article-share-hero { justify-content: space-between; }
  .article-share-hero .article-share-label { flex: 1 0 100%; margin: 0 0 2px; }
  .article-share-hero a, .article-share-hero button { flex: 1; width: auto; }
  .article-cover-frame { border-radius: 22px; }
  .article-layout { margin-top: -44px; padding-bottom: 48px; }
  .article-main { padding: 28px 22px; border-radius: 20px; }
  .article-prose, .article-prose :is(p, li) { font-size: 16px !important; line-height: 1.8 !important; }
  .article-prose[data-text-size="large"] :is(p, li) { font-size: 18px !important; }
  .article-prose > p:first-of-type { font-size: 18px !important; }
  .article-prose h2 { margin-top: 46px !important; }
  .article-prose > ul, .article-prose > ol { padding: 16px 18px; }
  .article-prose blockquote, .article-prose blockquote p { font-size: 19px !important; }
  .article-info { flex-direction: column; gap: 18px; padding: 24px 20px; }
  .article-info .article-monogram { width: 52px; height: 52px; border-radius: 14px; font-size: 22px; }
  .article-info-body { width: 100%; }
  .article-facts { grid-template-columns: 1fr; gap: 12px; padding-top: 16px; }
  .article-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .article-facts > div + div { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .article-facts dd { margin: 0; text-align: right; }
  .article-faq details { padding: 0 18px; }
  .article-related-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .article-related-grid { grid-template-columns: minmax(0, 1fr); }
  .article-cta-band-inner { padding: 34px 24px; border-radius: 22px; }
  .article-cta-band-actions { align-self: stretch; }
  .article-cta-band-actions a { justify-content: space-between; }
  .article-related, .article-cta-band { padding-bottom: 48px; }
}
@media (max-width: 380px) {
  .article-container { width: calc(100% - 32px); }
  .article-main { padding: 24px 18px; }
  .article-share a, .article-share button { width: 42px; height: 42px; }
}

/* 14 Reduced motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .article-page *, .article-page *::before, .article-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal-pending { opacity: 1; transform: none; }
}

/* 15 Extra polish: cover badge + shine, card accent, hero drift, back-to-top ring ----------- */
.article-cover-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, #ffffff22 0%, transparent 38%), linear-gradient(0deg, #07021f66 0%, transparent 42%); }
.article-cover-frame { position: relative; }
.article-cover-badge { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 9px; max-width: calc(100% - 40px); padding: 9px 16px 9px 13px; border: 1px solid #ffffff33; border-radius: 999px; background: #07021f80; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 600; }
.article-cover-badge i { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #f1091340; }
.article-cover-badge span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.article-cover-badge b { color: #ffffff88; }
.article-main { position: relative; }
.article-main::before { content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad); opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .article-hero::after { animation: article-drift 26s ease-in-out infinite alternate; }
  @keyframes article-drift { from { transform: translate(0, 0) rotate(0); } to { transform: translate(-34px, 26px) rotate(8deg); } }
}
.article-top { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font-size: 18px; cursor: pointer; box-shadow: 0 16px 32px -12px #07021fcc; opacity: 0; transform: translateY(16px) scale(.92); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s; }
.article-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.article-top:hover { background: var(--navy-2); }
.article-top svg { position: absolute; inset: 4px; width: 44px; height: 44px; transform: rotate(-90deg); }
.article-top circle { fill: none; stroke-width: 3; }
.article-top-track { stroke: #ffffff26; }
.article-top-ring { stroke: #ff3b45; stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
@media (max-width: 700px) {
  .article-cover-badge { left: 14px; bottom: 14px; font-size: 12px; padding: 8px 13px 8px 11px; }
  .article-main::before { left: 20px; right: 20px; }
  .article-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .article-top svg { width: 40px; height: 40px; }
  .article-page .article-hero h1.is-long { font-size: clamp(28px, 7.4vw, 34px) !important; }
  .article-page .article-hero h1.is-xlong { font-size: clamp(26px, 6.8vw, 30px) !important; }
}
