/* =====================================================================
   AI in Education Newsletter — design system
   Brand colors (only three): NAVY  #0D1B3E · AZURE #2F6BFF · AMBER #FFB020
   Everything else is a neutral (white / slate) or a tint of these three.
   ===================================================================== */
@font-face{font-family:'Inter';src:url('/assets/fonts/inter-var.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Plus Jakarta Sans';src:url('/assets/fonts/jakarta-var.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}

:root{
  --navy:#0D1B3E; --blue:#2F6BFF; --amber:#FFB020;
  --bg:#F4F7FD; --surface:#FFFFFF; --surface-2:#EDF2FC;
  --text:#0D1B3E; --muted:#5B6888; --border:rgba(13,27,62,.09);
  --blue-ink:#2459E6; --blue-soft:rgba(47,107,255,.10); --blue-line:rgba(47,107,255,.35);
  --glass:rgba(255,255,255,.78);
  --shadow-sm:0 1px 2px rgba(13,27,62,.05),0 6px 16px rgba(13,27,62,.05);
  --shadow-lg:0 18px 40px -10px rgba(13,27,62,.22),0 4px 10px rgba(13,27,62,.06);
  --radius:20px; --radius-sm:12px;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --font-head:'Plus Jakarta Sans','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --bs-body-font-family:var(--font-body); --bs-body-color:var(--text); --bs-body-bg:var(--bg);
  --bs-link-color:var(--blue-ink); --bs-link-hover-color:var(--navy); --bs-border-color:var(--border);
  --bs-primary:#2F6BFF; --bs-primary-rgb:47,107,255;
}
[data-bs-theme="dark"]{
  --bg:#070E24; --surface:#0E1835; --surface-2:#142147;
  --text:#E9EEFF; --muted:#9BA9CC; --border:rgba(255,255,255,.10);
  --blue:#6C94FF; --blue-ink:#8DADFF; --blue-soft:rgba(108,148,255,.16); --blue-line:rgba(108,148,255,.45);
  --glass:rgba(14,24,53,.72);
  --shadow-sm:0 1px 2px rgba(0,0,0,.35),0 6px 16px rgba(0,0,0,.25);
  --shadow-lg:0 22px 44px -10px rgba(0,0,0,.6),0 4px 10px rgba(0,0,0,.3);
  --bs-link-color:var(--blue-ink); --bs-link-hover-color:#fff;
  color-scheme:dark;
}

/* ---------- base ---------- */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);font-size:16px;line-height:1.6;color:var(--text);background:var(--bg);
  background-image:radial-gradient(900px 420px at 85% -80px,var(--blue-soft),transparent 70%),radial-gradient(700px 380px at -10% 220px,rgba(255,176,32,.06),transparent 70%);
  background-repeat:no-repeat;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:800;letter-spacing:-.012em;word-spacing:.06em;line-height:1.2;color:var(--text)}
h1{font-size:clamp(1.9rem,1.2rem + 2.6vw,3rem)}
h2{font-size:clamp(1.25rem,1.05rem + .8vw,1.6rem)}
h3{font-size:1.05rem}
a{color:var(--blue-ink);text-decoration:none}
a:hover{color:var(--text)}
img,svg,video{max-width:100%}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:6px}
::selection{background:var(--blue);color:#fff}
.text-muted,.muted{color:var(--muted)!important}
main{min-height:60vh}
.container-narrow{max-width:860px;margin-left:auto;margin-right:auto}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:1030;background:var(--glass);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);border-bottom:1px solid var(--border);transition:box-shadow .2s}
.site-header.scrolled{box-shadow:0 6px 24px -8px rgba(13,27,62,.18)}
.site-header .navbar{padding:.6rem 0}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--text)}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px var(--border),0 4px 12px rgba(13,27,62,.12)}
.brand-mark img{width:30px;height:30px}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-name{font-family:var(--font-head);font-weight:800;font-size:1.05rem;letter-spacing:-.01em;word-spacing:.05em;color:var(--text)}
.brand-sub{font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--blue-ink)}
.site-header .nav-link{font-weight:600;color:var(--muted);border-radius:999px;padding:.5rem .95rem!important;transition:background .15s,color .15s}
.site-header .nav-link:hover,.site-header .nav-link.active,.site-header .show>.nav-link{color:var(--text);background:var(--blue-soft)}
.dropdown-menu{border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);padding:.5rem;background:var(--surface);min-width:260px}
.dropdown-item{border-radius:8px;padding:.5rem .75rem;font-weight:500;color:var(--text)}
.dropdown-item:hover{background:var(--blue-soft);color:var(--text)}
.nav-search{position:relative}
.nav-search i{position:absolute;left:.9rem;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.nav-search .form-control{border-radius:999px;padding:.55rem 1rem .55rem 2.5rem;background:var(--surface-2);border:1px solid transparent;min-width:240px;font-size:.95rem}
.nav-search .form-control:focus{background:var(--surface);border-color:var(--blue);box-shadow:0 0 0 4px var(--blue-soft)}
.icon-btn{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:1.1rem;transition:transform .15s,background .15s}
.icon-btn:hover{background:var(--blue-soft);transform:translateY(-1px)}
.navbar-toggler{border:1px solid var(--border);border-radius:12px;padding:0;width:42px;height:42px;display:inline-grid;place-items:center}
.navbar-toggler:focus{box-shadow:0 0 0 4px var(--blue-soft)}
@media(max-width:991.98px){.navbar-collapse{padding:.75rem 0 .25rem}.nav-search .form-control{min-width:0;width:100%}.nav-search{margin-top:.5rem}}

/* ---------- buttons ---------- */
.btn{font-weight:600;border-radius:999px;padding:.6rem 1.25rem}
.btn-brand{color:#fff;border:0;background:linear-gradient(135deg,#4F86FF 0%,#2F6BFF 55%,#2459E6 100%);box-shadow:0 8px 20px -6px rgba(47,107,255,.6),inset 0 1px 0 rgba(255,255,255,.35);transition:transform .15s,box-shadow .15s,filter .15s}
.btn-brand:hover{color:#fff;transform:translateY(-2px);box-shadow:0 14px 26px -8px rgba(47,107,255,.7),inset 0 1px 0 rgba(255,255,255,.4);filter:brightness(1.05)}
.btn-ghost{color:var(--text);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:transform .15s,border-color .15s}
.btn-ghost:hover{color:var(--text);border-color:var(--blue-line);transform:translateY(-2px)}
.btn-amber{color:var(--navy);border:0;background:linear-gradient(135deg,#FFC24D,#FFB020);box-shadow:0 8px 20px -6px rgba(255,176,32,.6),inset 0 1px 0 rgba(255,255,255,.5)}
.btn-amber:hover{color:var(--navy);transform:translateY(-2px)}

/* ---------- hero (home) ---------- */
.hero{position:relative;color:#fff;overflow:hidden;border-radius:0 0 36px 36px;margin-top:-1px;padding:2.25rem 0 6.6rem;
  background:radial-gradient(900px 400px at 85% 0%,rgba(79,134,255,.55),transparent 60%),radial-gradient(600px 300px at 0% 100%,rgba(255,176,32,.16),transparent 65%),linear-gradient(135deg,#0A1633 0%,#0D1B3E 45%,#163A8A 100%)}
.hero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.10) 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(180deg,#000 0%,transparent 85%);-webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 85%)}
.hero .container{position:relative}
.hero h1{color:#fff;font-size:clamp(1.9rem,1.1rem + 2.8vw,3rem);line-height:1.1;max-width:18ch;margin:0 0 .8rem}
.hero h1 .accent{background:linear-gradient(90deg,#8DB0FF,#FFC24D);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p.sub{color:rgba(255,255,255,.78);font-size:clamp(.98rem,.93rem + .25vw,1.12rem);max-width:54ch}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;padding:.35rem .85rem;border-radius:999px;font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.eyebrow .dot{width:8px;height:8px;border-radius:50%;background:var(--amber);box-shadow:0 0 0 4px rgba(255,176,32,.25)}
.hero-search{display:flex;align-items:center;gap:.5rem;max-width:620px;background:#fff;border-radius:999px;padding:.4rem .4rem .4rem 1.2rem;box-shadow:0 20px 40px -12px rgba(0,0,0,.45),0 0 0 4px rgba(255,255,255,.12)}
.hero-search i{color:#5B6888;font-size:1.1rem}
.hero-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:1.05rem;color:#0D1B3E;padding:.55rem .25rem}
.hero-search input::placeholder{color:#7C88A8}
.hero-search .btn{padding:.7rem 1.5rem}
.hero-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.1rem}
.glass-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .85rem;border-radius:999px;font-size:.85rem;font-weight:600;color:#fff;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .15s,transform .15s}
.glass-chip:hover{color:#fff;background:rgba(255,255,255,.2);transform:translateY(-1px)}
.hero-stats{display:flex;flex-wrap:wrap;gap:1.25rem 2.5rem;margin-top:1.6rem}
.hero-stats .num{font-family:var(--font-head);font-weight:800;font-size:1.7rem;line-height:1;color:#fff}
.hero-stats .num span{color:var(--amber)}
.hero-stats .lbl{font-size:.82rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.62);margin-top:.35rem}

/* page header (topics / search / pages) */
.page-head{position:relative;overflow:hidden;color:#fff;border-radius:0 0 28px 28px;padding:2.25rem 0 2.5rem;margin-bottom:2rem;
  background:radial-gradient(700px 260px at 90% 0%,rgba(79,134,255,.5),transparent 60%),linear-gradient(135deg,#0A1633,#0D1B3E 55%,#163A8A)}
.page-head h1{color:#fff;font-size:clamp(1.7rem,1.2rem + 2vw,2.5rem);margin:.4rem 0 .35rem}
.page-head p{color:rgba(255,255,255,.75);margin:0;max-width:60ch}
.page-head .crumbs{font-size:.88rem;color:rgba(255,255,255,.65)}
.page-head .crumbs a{color:rgba(255,255,255,.85)}
.page-head .crumbs a:hover{color:#fff}

/* ---------- featured ---------- */
.featured-wrap{margin-top:-4.9rem;position:relative;z-index:2}
.featured{position:relative;display:grid;grid-template-columns:1.15fr 1fr;border-radius:28px;overflow:hidden;background:var(--surface);border:1px solid var(--border);box-shadow:0 30px 60px -20px rgba(13,27,62,.45),0 6px 16px rgba(13,27,62,.1)}

.featured .f-media{position:relative;min-height:340px;overflow:hidden}
.featured .f-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.featured:hover .f-media img{transform:scale(1.045)}
.featured .f-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,27,62,0) 55%,rgba(13,27,62,.18)),linear-gradient(0deg,rgba(13,27,62,.4),transparent 45%)}
.featured .f-body{padding:2.25rem 2.25rem 2rem;display:flex;flex-direction:column}
.featured .f-title{font-size:clamp(1.4rem,1.1rem + 1.1vw,2rem);margin:.9rem 0 .8rem;line-height:1.2}
.featured .f-title a{color:var(--text)}
.featured .f-excerpt{color:var(--muted);font-size:1.02rem;flex:1}
.f-badge{display:inline-flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.4rem .8rem;border-radius:999px;color:var(--navy);background:linear-gradient(135deg,#FFC24D,#FFB020);box-shadow:0 6px 14px -4px rgba(255,176,32,.7)}
.f-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.4rem;padding-top:1.2rem;border-top:1px solid var(--border)}
@media(max-width:991.98px){.featured{grid-template-columns:1fr}.featured .f-media{min-height:0;aspect-ratio:16/9}.featured .f-body{padding:1.4rem}.featured-wrap{margin-top:-4.2rem}}

/* ---------- chips / pills ---------- */
.chip{display:inline-flex;align-items:center;gap:.35rem;font-size:.78rem;font-weight:700;letter-spacing:.02em;padding:.32rem .75rem;border-radius:999px;color:var(--blue-ink);background:var(--blue-soft);border:1px solid transparent;transition:background .15s,color .15s}
a.chip:hover{background:var(--blue);color:#fff}
.topic-bar{display:flex;gap:.55rem;overflow-x:auto;padding:.35rem .15rem 1rem;scrollbar-width:none;-webkit-overflow-scrolling:touch;mask-image:linear-gradient(90deg,transparent 0,#000 1rem,#000 calc(100% - 2rem),transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 1rem,#000 calc(100% - 2rem),transparent 100%)}
.topic-bar::-webkit-scrollbar{display:none}
.topic-pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1rem;border-radius:999px;font-weight:600;font-size:.92rem;color:var(--text);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:transform .15s,border-color .15s,background .15s,color .15s;white-space:nowrap}
.topic-pill .n{font-size:.75rem;font-weight:700;color:var(--muted);background:var(--surface-2);border-radius:999px;padding:.1rem .45rem}
.topic-pill:hover{transform:translateY(-2px);border-color:var(--blue-line);color:var(--text)}
.topic-pill.active{color:#fff;border-color:transparent;background:linear-gradient(135deg,#4F86FF,#2F6BFF 60%,#2459E6);box-shadow:0 8px 18px -6px rgba(47,107,255,.65)}
.topic-pill.active .n{background:rgba(255,255,255,.22);color:#fff}

/* ---------- section titles ---------- */
.section-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:2.25rem 0 1.1rem}
.section-title h2{margin:0;display:flex;align-items:center;gap:.65rem}
.section-title h2::before{content:"";width:6px;height:1.3em;border-radius:6px;background:linear-gradient(180deg,var(--blue),var(--amber))}

/* ---------- glossy post cards ---------- */
.post-card{position:relative;display:flex;flex-direction:column;height:100%;border-radius:var(--radius);overflow:hidden;background:linear-gradient(180deg,var(--surface),var(--surface));border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s;isolation:isolate}
.post-card::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
[data-bs-theme="dark"] .post-card::before{box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.post-card::after{content:"";position:absolute;top:0;left:-130%;width:55%;height:100%;z-index:3;pointer-events:none;background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.38) 50%,transparent 80%);transform:skewX(-18deg);transition:left .9s ease}
.post-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:var(--blue-line)}
.post-card:hover::after{left:150%}
.pc-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--surface-2)}
.pc-media img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.post-card:hover .pc-media img{transform:scale(1.07)}
.pc-media::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(13,27,62,.55) 0%,rgba(13,27,62,0) 50%)}
.pc-chip{position:absolute;left:.85rem;bottom:.85rem;z-index:4;font-size:.74rem;font-weight:700;color:#fff;padding:.32rem .75rem;border-radius:999px;background:rgba(13,27,62,.55);border:1px solid rgba(255,255,255,.28);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:background .15s}
.pc-chip:hover{background:var(--blue);color:#fff}
.pc-read{position:absolute;right:.85rem;bottom:.85rem;z-index:2;font-size:.74rem;font-weight:600;color:#fff;display:inline-flex;align-items:center;gap:.3rem}
.pc-body{padding:1.1rem 1.25rem .6rem;flex:1;display:flex;flex-direction:column}
.pc-title{font-size:1.08rem;line-height:1.3;margin:0 0 .6rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pc-title a{color:var(--text)}
.post-card:hover .pc-title a{color:var(--blue-ink)}
.pc-excerpt{color:var(--muted);font-size:.93rem;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pc-foot{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.8rem 1.25rem 1rem;margin-top:.4rem;border-top:1px solid var(--border);font-size:.84rem;font-weight:500;color:var(--muted);position:relative;z-index:2}
.pc-foot i{margin-right:.3rem;color:var(--blue-ink)}
.pc-foot .go{margin-left:auto;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--blue-soft);color:var(--blue-ink);transition:transform .25s,background .25s,color .25s}
.pc-foot .go i{margin:0;color:inherit}
.post-card:hover .go{background:var(--blue);color:#fff;transform:translateX(3px)}

/* reveal-on-scroll */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
.js .reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}.post-card,.post-card *{transition:none!important}.post-card::after{display:none}}

/* ---------- pagination ---------- */
.pagination{gap:.4rem}
.pagination .page-link{min-width:44px;height:44px;display:inline-grid;place-items:center;border-radius:12px!important;border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:600;box-shadow:var(--shadow-sm)}
.pagination .page-link:hover{border-color:var(--blue-line);color:var(--blue-ink)}
.pagination .active .page-link{color:#fff;border-color:transparent;background:linear-gradient(135deg,#4F86FF,#2459E6)}
.pagination .disabled .page-link{opacity:.5;box-shadow:none}

/* ---------- article ---------- */
.progress-bar-top{position:fixed;top:0;left:0;height:3px;width:0;z-index:1100;background:linear-gradient(90deg,var(--blue),var(--amber));box-shadow:0 0 12px rgba(47,107,255,.6)}
.article-head{padding:1.6rem 0 0}
.crumbs-lite{font-size:.88rem;color:var(--muted);display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.crumbs-lite a{color:var(--muted);font-weight:500}.crumbs-lite a:hover{color:var(--blue-ink)}
.article-title{font-size:clamp(1.8rem,1.2rem + 2.4vw,2.85rem);line-height:1.12;margin:.9rem 0 1.1rem;max-width:22ch;max-width:none}
.byline{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem 1.4rem;color:var(--muted);font-size:.93rem;font-weight:500}
.byline .who{display:flex;align-items:center;gap:.65rem;color:var(--text);font-weight:700}
.avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-family:var(--font-head);font-weight:800;font-size:.9rem;color:#fff;background:linear-gradient(135deg,#4F86FF,#0D1B3E)}
.byline i{color:var(--blue-ink);margin-right:.35rem}
.article-hero{display:block;width:100%;height:auto;aspect-ratio:16/8;object-fit:cover;border-radius:var(--radius);box-shadow:var(--shadow-lg);background:var(--surface-2)}
.article-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:2.5rem;align-items:start;margin-top:2rem}
.article-body{font-size:1.0625rem;line-height:1.7;color:var(--text);max-width:760px;overflow-wrap:anywhere}
.article-body>p:first-child,.article-body .lead-p{font-size:1.28rem;line-height:1.6;font-weight:500;color:var(--text);font-family:var(--font-head);letter-spacing:-.01em;padding-left:1.1rem;border-left:4px solid var(--blue)}
.article-body p{margin:0 0 1.2rem}
.article-body a{color:var(--blue-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--blue-line)}
.article-body strong{font-weight:700}
.article-body h2.sec-h{display:flex;align-items:center;gap:.7rem;font-size:1.3rem;margin:2.4rem 0 .9rem;scroll-margin-top:90px}
.article-body h2.sec-h .sec-ico{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:10px;background:var(--blue-soft);color:var(--blue-ink);font-size:1rem}
.article-body ul{list-style:none;padding:0;margin:0 0 1.4rem;display:grid;gap:.7rem}
.article-body ul li{position:relative;padding:.85rem 1rem .85rem 3rem;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);line-height:1.6}
.article-body ul li::before{content:"";position:absolute;left:1rem;top:1rem;width:1.35rem;height:1.35rem;border-radius:50%;background:var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%232F6BFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.6L12 5.6'/%3E%3C/svg%3E") center/70% no-repeat}
.article-body ol{padding-left:1.4rem}.article-body ol li{margin-bottom:.5rem}
.article-body .callout{border-radius:var(--radius);padding:1.2rem 1.4rem;margin:0 0 1.6rem;background:linear-gradient(135deg,var(--blue-soft),rgba(255,176,32,.10));border:1px solid var(--blue-line)}
.article-body table{display:block;max-width:100%;overflow-x:auto}
.article-body img{max-width:100%;height:auto;border-radius:var(--radius-sm)}
.article-body pre{max-width:100%;overflow-x:auto}

.side-card{position:relative;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);overflow:hidden;margin-bottom:1.1rem}
.side-card::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--blue),var(--amber))}
.side-card .sc-h{font-family:var(--font-head);font-weight:800;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:1.1rem 1.25rem .4rem}
.side-card .sc-b{padding:.4rem 1.25rem 1.25rem}
.side-sticky{position:sticky;top:90px}
.toc{list-style:none;margin:0;padding:0;display:grid;gap:.15rem}
.toc a{display:flex;align-items:center;gap:.6rem;padding:.5rem .65rem;border-radius:10px;color:var(--text);font-weight:500;font-size:.95rem}
.toc a:hover{background:var(--blue-soft);color:var(--text)}
.toc a.on{background:var(--blue-soft);color:var(--blue-ink);font-weight:700}
.toc a i{color:var(--blue-ink)}
.share{display:flex;gap:.55rem;flex-wrap:wrap}
.share a,.share button{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:1.1rem;transition:transform .15s,background .15s,color .15s}
.share a:hover,.share button:hover{background:var(--blue);color:#fff;transform:translateY(-2px)}
.facts{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}
.facts li{display:flex;justify-content:space-between;gap:1rem;font-size:.93rem;border-bottom:1px dashed var(--border);padding-bottom:.6rem}
.facts li:last-child{border:0;padding:0}
.facts .k{color:var(--muted);font-weight:500}.facts .v{font-weight:700;text-align:right;overflow-wrap:anywhere}

.source-box{position:relative;border-radius:var(--radius);padding:1.5rem;margin-top:2.25rem;color:#fff;overflow:hidden;background:radial-gradient(500px 200px at 100% 0%,rgba(79,134,255,.5),transparent 60%),linear-gradient(135deg,#0A1633,#0D1B3E 55%,#163A8A);box-shadow:var(--shadow-lg)}
.source-box h2{color:#fff;font-size:1.15rem;display:flex;gap:.6rem;align-items:center}
.source-box p{color:rgba(255,255,255,.82);margin:.5rem 0;overflow-wrap:anywhere}
.source-box .fine{font-size:.85rem;color:rgba(255,255,255,.6)}

.pn-card{display:flex;align-items:center;gap:1rem;height:100%;padding:1rem;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);color:var(--text);transition:transform .25s,box-shadow .25s,border-color .25s}
.pn-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:var(--blue-line);color:var(--text)}
.pn-card img{width:76px;height:56px;border-radius:10px;object-fit:cover;flex:0 0 auto}
.pn-card .lbl{font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--blue-ink)}
.pn-card .t{font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.95rem}
.pn-card.next{flex-direction:row-reverse;text-align:right}

@media(max-width:991.98px){.article-grid{grid-template-columns:1fr;gap:1.5rem}.side-sticky{position:static}}
@media(max-width:575.98px){.article-body{font-size:1.04rem}.article-body>p:first-child{font-size:1.15rem}.article-hero{aspect-ratio:16/10;border-radius:var(--radius-sm)}.pn-card.next{flex-direction:row;text-align:left}}

/* ---------- footer ---------- */
.site-footer{margin-top:4rem;color:rgba(255,255,255,.72);background:radial-gradient(700px 300px at 100% 0%,rgba(79,134,255,.28),transparent 60%),linear-gradient(180deg,#0A1633,#070E24);border-radius:36px 36px 0 0}
.site-footer h3{color:#fff;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1rem}
.site-footer a{color:rgba(255,255,255,.72)}
.site-footer a:hover{color:#fff}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.site-footer .brand-name{color:#fff}
.site-footer .legal{border-top:1px solid rgba(255,255,255,.12);margin-top:2.5rem;padding-top:1.25rem;font-size:.9rem}

/* ---------- generic cards (legal pages) ---------- */
.card{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);color:var(--text)}
.card-body{padding:clamp(1.25rem,1rem + 1.5vw,2.5rem)}
.card h1{font-size:clamp(1.7rem,1.2rem + 1.6vw,2.3rem);margin-bottom:.5rem}
.card h2{margin-top:2rem;margin-bottom:.6rem}
.card p,.card li{color:var(--text);opacity:.92;line-height:1.75}
.card ul{padding-left:1.2rem}
.form-control{color:var(--text)}
.alert-light{background:var(--surface);color:var(--text);border-color:var(--border)}

/* ---------- small screens ---------- */
@media(max-width:767.98px){
  .hero{padding:1.6rem 0 5.4rem;border-radius:0 0 26px 26px}
  .hero-stats{gap:1rem 1.75rem;margin-top:1.25rem}
  .hero-stats .num{font-size:1.5rem}
  .hero-search{padding-left:1rem}
  .hero-search .btn{padding:.65rem 1.05rem}
  .page-head{border-radius:0 0 22px 22px;padding:1.6rem 0 1.9rem}
  .site-footer{border-radius:26px 26px 0 0}
  .pc-title{font-size:1.05rem}
}
@media(max-width:575.98px){
  .hero-search .btn .t{display:none}
  .brand-sub{display:none}
  .pagination .page-link{min-width:42px;height:42px}
}
.btn,.page-link,.nav-link,.dropdown-item,.icon-btn{min-height:42px}
.nav-link{display:flex;align-items:center}
.dropdown-item{display:flex;align-items:center;justify-content:space-between;gap:1rem}

/* ---------- hero visual: "Most read" glass stack ---------- */
.hero-visual{position:relative;display:grid;gap:.95rem;padding:0 0 0 1.5rem}
.hv-label{display:flex;align-items:center;gap:.5rem;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.7);margin-bottom:.1rem}
.hv-label i{color:var(--amber)}
.hv-card{display:flex;gap:.95rem;align-items:center;padding:.8rem;border-radius:18px;color:#fff;background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.22);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 22px 44px -18px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.25);transition:transform .3s cubic-bezier(.2,.7,.2,1),background .3s}
.hv-card:nth-of-type(2){margin-left:2.2rem}.hv-card:nth-of-type(3){margin-left:.6rem}
.hv-card:hover{color:#fff;transform:translateY(-4px) scale(1.015);background:linear-gradient(135deg,rgba(255,255,255,.24),rgba(255,255,255,.10))}
.hv-card img{width:92px;height:68px;border-radius:12px;object-fit:cover;flex:0 0 auto;box-shadow:0 6px 14px rgba(0,0,0,.35)}
.hv-card .t{font-family:var(--font-head);font-weight:700;word-spacing:.05em;font-size:.97rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hv-card .m{margin-top:.35rem;font-size:.8rem;font-weight:600;color:rgba(255,255,255,.7)}
.hv-card .m i{color:var(--amber);margin-right:.25rem}


/* ---------- research-method badges ---------- */
.mbadge{display:inline-flex;align-items:center;gap:.4rem;padding:.26rem .75rem .26rem .28rem;border-radius:999px;font-size:.74rem;font-weight:700;letter-spacing:.01em;background:var(--surface);border:1px solid var(--border);color:var(--text);white-space:nowrap}
.mbadge .mi{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:.7rem;color:#fff}
.m-quantitative .mi{background:var(--blue)}
.m-qualitative .mi{background:var(--amber);color:var(--navy)}
.m-mixed .mi{background:linear-gradient(135deg,var(--blue) 0%,var(--amber) 100%)}
.m-other .mi{background:var(--navy)}
[data-bs-theme="dark"] .m-other .mi{background:#4A5C94}
.pc-method{position:absolute;top:.8rem;left:.8rem;z-index:4}
.pc-method .mbadge{box-shadow:0 6px 16px -6px rgba(13,27,62,.5);background:rgba(255,255,255,.94);color:#0D1B3E;border-color:rgba(255,255,255,.7)}
[data-bs-theme="dark"] .pc-method .mbadge{background:rgba(14,24,53,.88);color:#E9EEFF;border-color:rgba(255,255,255,.18)}
.mbadge-lg{font-size:.9rem;padding:.34rem .95rem .34rem .34rem}.mbadge-lg .mi{width:28px;height:28px;font-size:.9rem}
.method-strip{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.1rem;padding:1rem 1.2rem;margin:0 0 1.75rem;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm)}
.method-strip .ms-label{font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.method-strip .ms-detail{font-family:var(--font-head);font-weight:700}
.method-strip .ms-text{flex:1 1 260px;color:var(--muted);font-size:.93rem;line-height:1.5;margin:0}
.method-bar{display:flex;gap:.5rem;overflow-x:auto;align-items:center;padding:0 .15rem .9rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.method-bar::-webkit-scrollbar{display:none}
.method-bar .lbl{flex:0 0 auto;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);display:inline-flex;align-items:center;gap:.35rem;margin-right:.25rem}
.method-bar a{flex:0 0 auto;display:inline-flex}
.method-bar a .mbadge{transition:transform .15s,border-color .15s,box-shadow .15s}
.method-bar a:hover .mbadge{transform:translateY(-2px);border-color:var(--blue-line)}
.method-bar a.on .mbadge{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}
.method-bar .all{font-size:.8rem;font-weight:700;padding:.4rem .9rem;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text)}
.method-bar .all.on{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}

.group-bar{display:flex;gap:.45rem;overflow-x:auto;align-items:center;padding:0 .15rem 1rem 1.1rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.group-bar::-webkit-scrollbar{display:none}
.group-bar .lbl{flex:0 0 auto;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);display:inline-flex;align-items:center;gap:.35rem}
.group-bar a{flex:0 0 auto;display:inline-flex;align-items:center;gap:.4rem;padding:.38rem .85rem;border-radius:999px;font-size:.82rem;font-weight:600;color:var(--text);background:var(--surface-2);border:1px solid transparent;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}
.group-bar a .n{font-size:.7rem;font-weight:700;color:var(--muted)}
.group-bar a:hover{border-color:var(--blue-line);transform:translateY(-1px);color:var(--text)}
.group-bar a.on{background:var(--blue-soft);border-color:var(--blue);color:var(--blue-ink)}
.group-bar a.on .n{color:var(--blue-ink)}

/* ---- header layout: logo left · search centered · links right ---- */
@media(min-width:992px){
  .site-header .navbar>.container{display:grid;grid-template-columns:1fr minmax(300px,480px) 1fr;align-items:center;column-gap:1.25rem}
  .site-header .navbar-collapse{display:contents!important}
  .site-header .brand{grid-column:1;justify-self:start;margin:0!important}
  .site-header .nav-search{grid-column:2;margin:0}
  .site-header .nav-search .form-control{min-width:0;width:100%}
  .site-header .navbar-nav{grid-column:3;justify-self:end;flex-direction:row;gap:.15rem;margin:0!important}
}

/* ---------- topics page ---------- */
.topic-card{position:relative;display:flex;flex-direction:column;gap:1rem;height:100%;padding:1.4rem;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);color:var(--text);overflow:hidden;isolation:isolate;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s}
.topic-card::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--blue),var(--amber));opacity:0;transition:opacity .3s}
.topic-card::after{content:"";position:absolute;top:0;left:-130%;width:55%;height:100%;pointer-events:none;background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.45) 50%,transparent 80%);transform:skewX(-18deg);transition:left .9s ease}
.topic-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:var(--blue-line);color:var(--text)}
.topic-card:hover::before{opacity:1}.topic-card:hover::after{left:150%}
.tc-ico{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;font-size:1.5rem;color:#fff;background:linear-gradient(135deg,#4F86FF,#2F6BFF 55%,#163A8A);box-shadow:0 10px 20px -8px rgba(47,107,255,.7),inset 0 1px 0 rgba(255,255,255,.35)}
.tc-body{display:flex;flex-direction:column;gap:.35rem;flex:1}
.tc-name{font-family:var(--font-head);font-weight:800;font-size:1.15rem;line-height:1.25}
.tc-desc{color:var(--muted);font-size:.94rem;line-height:1.5}
.tc-foot{display:flex;align-items:center;justify-content:space-between}
.topic-card .go{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--blue-soft);color:var(--blue-ink);transition:transform .25s,background .25s,color .25s}
.topic-card:hover .go{background:var(--blue);color:#fff;transform:translateX(3px)}
.method-card{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;height:100%;padding:1.1rem 1.2rem;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);color:var(--text);transition:transform .25s,box-shadow .25s,border-color .25s}
.method-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--blue-line);color:var(--text)}
.method-card .mc-text{color:var(--muted);font-size:.9rem;line-height:1.5;flex:1}
.method-card .mc-n{font-weight:700;font-size:.85rem;color:var(--blue-ink)}

/* ================= v18: dark header, lighter hero, roomier hero text ================= */
.site-header{background:#0B1A3D;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:1px solid rgba(255,255,255,.08)}
.site-header.scrolled{box-shadow:0 8px 24px -10px rgba(5,12,32,.6)}
.site-header .brand,.site-header .brand-name{color:#fff}
.site-header .brand-sub{color:#8DB0FF}
.site-header .brand-mark{box-shadow:0 0 0 1px rgba(255,255,255,.25),0 4px 12px rgba(0,0,0,.35)}
.site-header .nav-link{color:rgba(255,255,255,.78)}
.site-header .nav-link:hover,.site-header .nav-link.active,.site-header .show>.nav-link{color:#fff;background:rgba(255,255,255,.14)}
.nav-search i{color:rgba(255,255,255,.65)}
.nav-search .form-control{background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.14)}
.nav-search .form-control::placeholder{color:rgba(255,255,255,.62)}
.nav-search .form-control:focus{background:rgba(255,255,255,.16);color:#fff;border-color:#8DB0FF;box-shadow:0 0 0 4px rgba(141,176,255,.25)}
.nav-search .form-control::-webkit-search-cancel-button{filter:invert(1)}
.site-header .navbar-toggler{border-color:rgba(255,255,255,.3)}
.site-header .navbar-toggler .bi{color:#fff}
.site-header .navbar-toggler:focus{box-shadow:0 0 0 4px rgba(141,176,255,.3)}

/* lighter, brighter hero + page headers */
.hero,.page-head{background:radial-gradient(900px 420px at 90% -10%,rgba(255,255,255,.24),transparent 60%),radial-gradient(620px 300px at 0% 115%,rgba(255,176,32,.26),transparent 65%),linear-gradient(135deg,#1A47C9 0%,#2F6BFF 58%,#5E92FF 118%)}
.hero p.sub{color:rgba(255,255,255,.92)}
.hero-stats .lbl,.page-head p,.page-head .crumbs{color:rgba(255,255,255,.82)}
.hv-label{color:rgba(255,255,255,.88)}
.hv-card{background:linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,255,255,.09));border-color:rgba(255,255,255,.32)}
.hv-card .m{color:rgba(255,255,255,.85)}
.hero h1 .accent{background:linear-gradient(90deg,#FFFFFF,#FFD27A);-webkit-background-clip:text;background-clip:text;color:transparent}

/* use the available width */
.hero h1{max-width:none;text-wrap:balance}
.hero p.sub{max-width:68ch}
@media(min-width:1200px){.hero-visual{padding-left:.5rem}.hv-card:nth-of-type(2){margin-left:1.6rem}}

/* =====================================================================
   v19 — SOFT COBALT. Three colors only:
   INK #132345 · FROST #F4F7FF · COBALT #3158D4  (+ white, tints/shades of these)
   ===================================================================== */
:root{
  --navy:#132345; --blue:#3158D4; --amber:#3158D4;
  --bg:#F4F7FF; --surface:#FFFFFF; --surface-2:#EAF0FF;
  --text:#132345; --muted:#586788; --border:rgba(19,35,69,.10);
  --blue-ink:#2747B0; --blue-soft:rgba(49,88,212,.10); --blue-line:rgba(49,88,212,.38);
  --glass:rgba(19,35,69,.96);
  --shadow-sm:0 1px 2px rgba(19,35,69,.05),0 6px 16px rgba(19,35,69,.05);
  --shadow-lg:0 18px 40px -10px rgba(19,35,69,.22),0 4px 10px rgba(19,35,69,.06);
  --bs-primary:#3158D4; --bs-primary-rgb:49,88,212;
  --bs-link-color:#2747B0; --bs-link-hover-color:#132345;
}
body{background-color:var(--bg);background-image:radial-gradient(900px 420px at 85% -80px,rgba(49,88,212,.07),transparent 70%)}

/* header: solid ink */
.site-header{background:#132345}
.site-header .brand-sub{color:#9DB4F5}

/* buttons */
.btn-brand{background:linear-gradient(135deg,#5877E0 0%,#3158D4 55%,#2747B0 100%);box-shadow:0 8px 20px -6px rgba(49,88,212,.55),inset 0 1px 0 rgba(255,255,255,.35)}
.btn-brand:hover{box-shadow:0 14px 26px -8px rgba(49,88,212,.65),inset 0 1px 0 rgba(255,255,255,.4)}
.btn-amber{color:#132345;background:#fff;box-shadow:0 8px 20px -8px rgba(0,0,0,.45),inset 0 1px 0 #fff}
.btn-amber:hover{color:#132345;background:#EAF0FF}

/* ---------- hero: pale cobalt tint fading into frost ---------- */
.hero{color:var(--text);border-radius:0;margin-top:0;padding:2.5rem 0 6.8rem;
  background:radial-gradient(900px 380px at 88% -10%,rgba(49,88,212,.16),transparent 62%),linear-gradient(180deg,#D5E0FF 0%,#E6EDFF 48%,#F4F7FF 100%)}
.hero::before{background-image:radial-gradient(rgba(49,88,212,.16) 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(180deg,#000 0%,transparent 80%);-webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 80%)}
.hero h1{color:var(--navy)}
.hero h1 .accent{background:none;-webkit-background-clip:initial;background-clip:initial;color:var(--blue)}
.hero p.sub{color:#3A4A6E}
.hero-stats .num{color:var(--navy)}
.hero-stats .num span{color:var(--blue)}
.hero-stats .lbl{color:var(--muted)}
.hv-label{color:var(--muted)}
.hv-label i{color:var(--blue)}
.hv-card{color:var(--navy);background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,255,255,.72));border:1px solid rgba(49,88,212,.18);box-shadow:0 18px 36px -18px rgba(19,35,69,.35),inset 0 1px 0 #fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.hv-card:hover{color:var(--navy);background:#fff;border-color:var(--blue-line)}
.hv-card .m{color:var(--muted)}
.hv-card .m i{color:var(--blue)}

/* page headers (topics / search / filters) */
.page-head{color:var(--text);border-radius:0;margin-bottom:2rem;padding:2rem 0 2.25rem;
  background:radial-gradient(700px 260px at 90% 0%,rgba(49,88,212,.15),transparent 62%),linear-gradient(180deg,#D5E0FF 0%,#E8EEFF 70%,#F4F7FF 100%)}
.page-head h1{color:var(--navy)}
.page-head p{color:#3A4A6E}
.page-head .crumbs{color:var(--muted)}
.page-head .crumbs a{color:var(--blue-ink)}
.page-head .crumbs a:hover{color:var(--navy)}

/* featured card + badges */
.featured{border:1px solid rgba(49,88,212,.14);box-shadow:0 30px 60px -22px rgba(19,35,69,.38),0 6px 16px rgba(19,35,69,.08)}
.f-badge{color:var(--blue-ink);background:#E1E9FF;box-shadow:none;border:1px solid rgba(49,88,212,.22)}

/* accents that used gold */
.section-title h2::before{background:var(--blue)}
.progress-bar-top{background:var(--blue);box-shadow:0 0 12px rgba(49,88,212,.55)}
.side-card::before{background:linear-gradient(90deg,var(--blue),#8AA5F2)}
.topic-card::before{background:linear-gradient(90deg,var(--blue),#8AA5F2)}
.article-body .callout{background:linear-gradient(135deg,var(--blue-soft),rgba(49,88,212,.04));border:1px solid var(--blue-line)}
.avatar{background:linear-gradient(135deg,#5877E0,#132345)}
.tc-ico{background:linear-gradient(135deg,#5877E0,#3158D4 55%,#1E3A8F);box-shadow:0 10px 20px -8px rgba(49,88,212,.65),inset 0 1px 0 rgba(255,255,255,.35)}
.topic-pill.active,.pagination .active .page-link{background:linear-gradient(135deg,#5877E0,#2747B0);box-shadow:0 8px 18px -6px rgba(49,88,212,.6)}
.article-body ul li::before{background:var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%233158D4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.6L12 5.6'/%3E%3C/svg%3E") center/70% no-repeat}

/* dark panels: ink → deep cobalt */
.source-box{background:radial-gradient(500px 200px at 100% 0%,rgba(110,145,255,.38),transparent 60%),linear-gradient(135deg,#132345,#1B3170)}
.site-footer{background:radial-gradient(700px 300px at 100% 0%,rgba(49,88,212,.30),transparent 60%),linear-gradient(180deg,#132345,#0C1830)}

/* research-method badges: cobalt / ink only, told apart by fill + icon */
.m-quantitative .mi{background:var(--blue);color:#fff;box-shadow:none}
.m-qualitative .mi{background:#E1E9FF;color:var(--blue-ink);box-shadow:inset 0 0 0 1.5px var(--blue)}
.m-mixed .mi{background:linear-gradient(135deg,var(--blue) 0 50%,var(--navy) 50% 100%);color:#fff;box-shadow:none}
.m-other .mi{background:var(--navy);color:#fff;box-shadow:none}

@media(max-width:767.98px){.hero{padding:1.75rem 0 5.6rem}.page-head{padding:1.5rem 0 1.75rem}}

/* ---------- topics page: left menu + filters ---------- */
.flt{display:grid;gap:.15rem}
.flt a{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem .75rem;border-radius:10px;color:var(--text);font-weight:500;font-size:.94rem;transition:background .15s}
.flt a:hover{background:var(--blue-soft);color:var(--text)}
.flt a.on{background:var(--blue-soft);color:var(--blue-ink);font-weight:700}
.flt .n{flex:0 0 auto;font-size:.72rem;font-weight:700;color:var(--muted);background:var(--surface-2);border-radius:999px;padding:.1rem .5rem}
.flt a.on .n{background:rgba(49,88,212,.15);color:var(--blue-ink)}
.flt .sub{display:grid;gap:.1rem;margin:.1rem 0 .4rem 1.2rem;padding-left:.55rem;border-left:2px solid var(--blue-line)}
.flt .sub a{font-size:.87rem;padding:.4rem .65rem}
.flt .mbadge{background:transparent;border-color:transparent;padding-left:0}
.active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1.25rem}
.active-filters .lbl{font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.active-filters .clear{margin-left:.35rem;color:var(--blue-ink);text-decoration:underline;text-underline-offset:3px}
.chip-x{padding:.38rem .8rem;border-color:var(--blue-line)}
.chip-x i{font-size:.7rem}
.side-sticky .side-card .sc-b.px-2{padding-bottom:.75rem}

/* article view: clean white page, same ink / cobalt colours */
body.page-article{--bg:#FFFFFF;--bs-body-bg:#FFFFFF;background:#fff;background-image:none}
body.page-article .side-card,body.page-article .method-strip,body.page-article .pn-card,body.page-article .article-body ul li{box-shadow:0 1px 2px rgba(19,35,69,.04),0 4px 14px rgba(19,35,69,.06)}
body.page-article .post-card,body.page-article .pn-card{border-color:rgba(19,35,69,.10)}

/* v22: cards use neutral borders only (no colored accent borders) */
.side-card::before,.topic-card::before{display:none}
.post-card:hover,.pn-card:hover,.method-card:hover,.topic-card:hover{border-color:var(--border)}
.featured{border-color:var(--border)}
.article-body .callout{background:var(--surface-2);border:1px solid var(--border)}
.article-body>p:first-child,.article-body .lead-p{border-left:0;padding-left:0}
.source-card{border-left:1px solid var(--border)}

/* v23: article = white container on the light-blue (Frost) page background */
body.page-article{--bg:#F4F7FF;--bs-body-bg:#F4F7FF;background-color:#F4F7FF;background-image:radial-gradient(900px 420px at 85% -80px,rgba(49,88,212,.07),transparent 70%)}
.article-shell{background:#fff;border:1px solid var(--border);border-radius:28px;box-shadow:0 1px 2px rgba(19,35,69,.05),0 18px 40px -22px rgba(19,35,69,.25);padding:clamp(1.1rem,.4rem + 2.6vw,2.75rem);margin-top:1.5rem}
.article-shell .article-head{padding-top:0}
.article-shell .article-grid{margin-top:1.75rem}
.article-shell .side-card,.article-shell .method-strip,.article-shell .pn-card,.article-shell .article-body ul li{box-shadow:none;border:1px solid var(--border);background:#fff}
.article-shell .side-card{background:var(--surface-2)}
.article-shell .side-card .facts li{border-bottom-color:rgba(19,35,69,.12)}
@media(max-width:575.98px){.article-shell{border-radius:20px;margin-top:1rem}}

/* v24: article reading layout — Key takeaway first, study details in the rail */
.takeaway{background:rgba(49,88,212,.08);border-radius:20px;padding:1.35rem 1.6rem 1.45rem;margin:0 0 2.75rem}
.takeaway .tk-label{display:flex;align-items:center;gap:.5rem;font-family:var(--font-head);font-weight:800;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--blue-ink);margin-bottom:.55rem}
.takeaway p{margin:0;font-family:var(--font-head);font-weight:600;font-size:1.3rem;line-height:1.5;letter-spacing:-.005em;color:var(--text)}
.article-body>p:first-child,.article-body .lead-p{font-family:var(--font-body);font-weight:400;font-size:inherit;line-height:inherit;letter-spacing:0;padding-left:0;border-left:0}
.article-body{font-size:1.0625rem;line-height:1.7;max-width:none}
.article-body p{margin-bottom:1.35rem}
.article-body h2.sec-h{margin-top:3.1rem;margin-bottom:1.1rem}
.article-body ul{gap:.85rem;margin-bottom:1.6rem}
.rail{display:block}
.rail-sticky{position:sticky;top:88px}
@media(max-width:991.98px){.rail-sticky{position:static}.takeaway{padding:1.1rem 1.2rem 1.2rem;margin-bottom:2.25rem}.takeaway p{font-size:1.15rem}}
.sd-method{margin-bottom:1rem}
.sd-list{display:grid;gap:.7rem;margin:0 0 .9rem}
.sd-list>div{display:flex;justify-content:space-between;gap:1rem;font-size:.93rem}
.sd-list dt{color:var(--muted);font-weight:500}
.sd-list dd{margin:0;font-weight:700;text-align:right}
.sd-note{font-size:.87rem;line-height:1.5;color:var(--muted);margin:0 0 1.1rem;padding-bottom:1rem;border-bottom:1px dashed rgba(19,35,69,.14)}
.article-shell .side-card .sc-b{padding-bottom:1.25rem}

/* v25: home hero = white card on the light-blue page background */
.hero{background:none;border-radius:0;padding:1.75rem 0 0;color:var(--text)}
.hero::before{display:none}
.hero-card{background:#fff;border:1px solid var(--border);border-radius:28px;box-shadow:0 1px 2px rgba(19,35,69,.05),0 18px 40px -22px rgba(19,35,69,.25);padding:clamp(1.4rem,.6rem + 3vw,3rem)}
.hero-card .row{--bs-gutter-x:2.5rem}
.hero-card h1{margin-top:0}
.hero-card .hv-card{background:var(--surface-2);border:1px solid rgba(19,35,69,.07);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.hero-card .hv-card:hover{background:#fff;border-color:rgba(19,35,69,.14);box-shadow:var(--shadow-sm)}
.featured-wrap{margin-top:1.75rem}
@media(max-width:991.98px){.featured-wrap{margin-top:1.5rem}}
@media(max-width:767.98px){.hero{padding-top:1.1rem}.hero-card{border-radius:20px}}

/* v26: no featured card — first section after the hero is Recent articles */
.hero + .container .section-title:first-child{margin-top:2rem}

/* v27: metadata / badge text a touch larger for comfortable reading at 100% zoom */
.mbadge{font-size:.8rem}
.pc-chip{font-size:.78rem}.pc-read{font-size:.78rem}
.chip{font-size:.8rem}
.pc-foot{font-size:.88rem}
.byline{font-size:.97rem}
.hero-card .hero-stats{margin-top:1.75rem}

/* v28: "Most read" uses the width — no stagger, views · topic stays on one line */
.hero-visual{padding-left:0}
.hv-card:nth-of-type(2),.hv-card:nth-of-type(3){margin-left:0}
.hero-card .hv-card .m{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-card .hv-card>span{min-width:0}

/* ---------- grid / list view toggle ---------- */
.view-toggle{display:inline-flex;padding:3px;border-radius:12px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm)}
.view-toggle button{display:inline-grid;place-items:center;width:38px;height:34px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:1rem;transition:background .15s,color .15s}
.view-toggle button:hover{color:var(--text)}
.view-toggle button[aria-pressed="true"]{background:var(--blue);color:#fff}
.results-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.1rem;font-size:.93rem}
/* list view: one card per row — image left, text right */
.cards-grid.view-list>*{flex:0 0 100%!important;width:100%!important;max-width:100%}
.view-list .post-card{display:grid;grid-template-columns:minmax(230px,36%) minmax(0,1fr);grid-template-areas:"media body" "media foot"}
.view-list .pc-media{grid-area:media;aspect-ratio:auto;min-height:210px;height:100%}
.view-list .pc-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.view-list .pc-body{grid-area:body;padding:1.35rem 1.6rem .5rem}
.view-list .pc-title{font-size:1.28rem;-webkit-line-clamp:2}
.view-list .pc-excerpt{-webkit-line-clamp:3;font-size:.97rem}
.view-list .pc-foot{grid-area:foot;padding:.85rem 1.6rem 1.1rem;margin-top:0}
@media(max-width:575.98px){
  .view-list .post-card{grid-template-columns:116px minmax(0,1fr)}
  .view-list .pc-media{min-height:128px}
  .view-list .pc-chip,.view-list .pc-read,.view-list .pc-excerpt{display:none}
  .view-list .pc-method{top:.45rem;left:.45rem}
  .view-list .pc-method .mbadge{font-size:.68rem;padding-right:.5rem}
  .view-list .pc-method .mbadge .mi{width:18px;height:18px;font-size:.6rem}
  .view-list .pc-body{padding:.9rem 1rem .3rem}
  .view-list .pc-title{font-size:1rem;-webkit-line-clamp:3}
  .view-list .pc-foot{padding:.55rem 1rem .8rem;font-size:.8rem}
}

/* v29b: phone list-view polish */
.section-title{flex-wrap:wrap;row-gap:.6rem}
@media(max-width:575.98px){
  .view-list .pc-method .mbadge{font-size:0;padding:3px}
  .view-list .pc-method .mbadge .mi{width:22px;height:22px;font-size:.72rem}
  .view-list .pc-foot .pc-views{display:none}
  .view-list .pc-foot{flex-wrap:nowrap}
  .view-list .pc-foot span:first-child{white-space:nowrap}
}

/* ================= accounts: log in / register / reset / dashboard ================= */
.nav-cta{padding:.45rem 1.1rem!important;min-height:38px}
.nav-avatar{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;margin-right:.45rem;font-size:.66rem;font-weight:800;color:#fff;background:linear-gradient(135deg,#5877E0,#2747B0)}
.site-header .nav-linkbtn{background:none;border:0;width:100%;text-align:left}
.foot-small{font-size:.8rem;color:rgba(255,255,255,.55)}
.foot-small a{color:rgba(255,255,255,.65);text-decoration:underline;text-underline-offset:3px}
.foot-small a:hover{color:#fff}

.auth-wrap{display:grid;place-items:start center;padding:3rem 1rem 4rem}
.auth-card{width:100%;max-width:480px;background:#fff;border:1px solid var(--border);border-radius:26px;box-shadow:0 1px 2px rgba(19,35,69,.05),0 24px 48px -26px rgba(19,35,69,.32);padding:clamp(1.5rem,1rem + 2vw,2.5rem)}
.auth-card h1{font-size:clamp(1.65rem,1.3rem + 1.2vw,2.15rem);margin:0 0 .6rem}
.auth-card h1 .accent{color:var(--blue)}
.auth-sub{color:var(--muted);margin:0 0 1.5rem;line-height:1.55}
.auth-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;margin-bottom:1.1rem;font-size:1.6rem;color:var(--blue-ink);background:var(--blue-soft)}
.auth-icon.ok{color:#fff;background:linear-gradient(135deg,#5877E0,#2747B0)}
.btn-google{display:flex;align-items:center;justify-content:center;gap:.7rem;width:100%;height:54px;border-radius:14px;background:#fff;border:1px solid rgba(19,35,69,.28);color:var(--navy);font-weight:600;transition:border-color .15s,box-shadow .15s,transform .15s}
.btn-google:hover{color:var(--navy);border-color:var(--navy);box-shadow:var(--shadow-sm);transform:translateY(-1px)}
.auth-divider{display:flex;align-items:center;gap:1rem;margin:1.4rem 0;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:var(--border)}
.auth-input{display:block;width:100%;height:54px;padding:0 1.1rem;margin-bottom:.9rem;border-radius:14px;border:1px solid rgba(19,35,69,.18);background:#fff;color:var(--text);font-size:1rem;transition:border-color .15s,box-shadow .15s}
.auth-input::placeholder{color:#7C88A8}
.auth-input:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 4px rgba(49,88,212,.14)}
.btn-auth{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;height:54px;border:0;border-radius:14px;font-weight:700;font-size:1rem;color:#fff;background:var(--navy);transition:background .15s,transform .15s,box-shadow .15s}
.btn-auth:hover{color:#fff;background:#1c3266;transform:translateY(-1px);box-shadow:0 12px 24px -12px rgba(19,35,69,.6)}
.btn-auth-ghost{background:#fff;color:var(--navy);border:1px solid rgba(19,35,69,.2)}
.btn-auth-ghost:hover{background:var(--surface-2);color:var(--navy)}
.auth-fine{margin:1.25rem 0 0;font-size:.82rem;line-height:1.55;color:var(--muted);text-align:center}
.auth-fine a{color:var(--blue-ink);text-decoration:underline;text-underline-offset:3px}
.auth-row{display:flex;justify-content:flex-end;margin:-.2rem 0 1.1rem;font-size:.9rem;font-weight:600}
.auth-hint{margin:.55rem 0 1.1rem;font-size:.82rem;color:var(--muted);line-height:1.5}
.auth-two{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
@media(max-width:420px){.auth-two{grid-template-columns:1fr;gap:0}}
.email-chip{display:flex;align-items:center;gap:.6rem;padding:.7rem 1rem;margin:0 0 1.25rem;border-radius:14px;background:var(--surface-2);font-size:.95rem}
.email-chip i{color:var(--muted)}
.email-chip span{flex:1;min-width:0;overflow-wrap:anywhere}
.email-chip a{font-weight:700;color:var(--blue-ink);font-size:.85rem}
.pw-field{position:relative}
.pw-field .auth-input{padding-right:3.2rem}
.pw-eye{position:absolute;right:.35rem;top:7px;width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:1.1rem}
.pw-eye:hover{background:var(--surface-2);color:var(--text)}
.pw-meter{height:5px;margin:-.35rem 0 0;border-radius:5px;background:var(--surface-2);overflow:hidden}
.pw-meter span{display:block;height:100%;width:0;border-radius:5px;background:var(--blue);transition:width .25s,opacity .25s;opacity:.35}
.pw-meter.s2 span{opacity:.55}.pw-meter.s3 span{opacity:.8}.pw-meter.s4 span{opacity:1}
.auth-check{display:flex;align-items:flex-start;gap:.8rem;padding:.9rem 1rem;margin:0 0 .75rem;border-radius:14px;background:var(--surface-2);font-size:.93rem;line-height:1.45;cursor:pointer}
.auth-check input{flex:0 0 auto;width:20px;height:20px;margin-top:1px;accent-color:var(--blue)}
.auth-check a{color:var(--blue-ink);text-decoration:underline;text-underline-offset:3px}
.btn-auth{margin-top:.5rem}
.auth-note{display:flex;gap:.7rem;align-items:flex-start;padding:.85rem 1rem;margin:0 0 1.25rem;border-radius:14px;font-size:.93rem;line-height:1.5;background:var(--surface-2);color:var(--text)}
.auth-note i{font-size:1.1rem;margin-top:1px}
.auth-note.ok i{color:var(--blue)}
.auth-note.bad{background:#FDF1F0;color:#7A1F17}.auth-note.bad i{color:#B42318}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
/* dashboard */
.dash-flash{margin-top:0}
.verify-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;margin-bottom:1.5rem;border-radius:18px;background:var(--blue-soft)}
.verify-banner form{margin:0}
.stat-tile{height:100%;padding:1.1rem 1.2rem;border-radius:var(--radius);background:#fff;border:1px solid var(--border);box-shadow:var(--shadow-sm)}
.stat-tile>i{font-size:1.3rem;color:var(--blue-ink)}
.stat-tile .n{font-family:var(--font-head);font-weight:800;font-size:1.9rem;line-height:1.1;margin-top:.35rem}
.stat-tile .l{font-weight:600}.stat-tile .s{font-size:.82rem;color:var(--muted)}
.dash-table th{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700;border-bottom-color:var(--border);background:transparent}
.dash-table td{border-color:var(--border);background:transparent;font-size:.93rem}
.chip-plain{background:var(--surface-2);color:var(--muted)}
.dash-page .side-card::before{display:none}
.side-card .auth-input{height:48px;margin-bottom:.7rem}
.site-header .navbar-nav .nav-link{white-space:nowrap}

/* ===== Bootstrap 5.3 form validation, themed (cobalt = valid, one red for errors) ===== */
:root{--bs-form-valid-color:#2747B0;--bs-form-valid-border-color:#3158D4;--bs-form-invalid-color:#B42318;--bs-form-invalid-border-color:#B42318}
.auth-field{margin-bottom:.9rem;position:relative}
.auth-field .auth-input,.auth-input.form-control{margin-bottom:0}
.auth-two .auth-field{margin-bottom:.9rem}
.invalid-feedback,.valid-feedback{font-size:.85rem;font-weight:500;margin-top:.4rem}
.was-validated .auth-input:valid,.auth-input.is-valid{border-color:var(--blue);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%233158D4' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e")}
.was-validated .auth-input:valid:focus,.auth-input.is-valid:focus{box-shadow:0 0 0 4px rgba(49,88,212,.14)}
.was-validated .auth-input:invalid,.auth-input.is-invalid{border-color:#B42318}
.was-validated .auth-input:invalid:focus,.auth-input.is-invalid:focus{box-shadow:0 0 0 4px rgba(180,35,24,.14)}
/* password fields carry their own eye button, so no status icon there */
.pw-field .auth-input,.was-validated .pw-field .auth-input:valid,.was-validated .pw-field .auth-input:invalid,.pw-field .auth-input.is-invalid{background-image:none;padding-right:3.2rem}
.pw-field .invalid-feedback{display:none}
.pw-field .auth-input.is-invalid~.invalid-feedback,.was-validated .pw-field .auth-input:invalid~.invalid-feedback{display:block}
/* checkboxes */
.auth-check{flex-wrap:wrap}
.auth-check .invalid-feedback{flex:0 0 100%;margin:.1rem 0 0 2.2rem}
.form-check-input{border-color:rgba(19,35,69,.35)}
.form-check-input:checked{background-color:var(--blue);border-color:var(--blue)}
.form-check-input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(49,88,212,.18)}
.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:#B42318}
.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--text)}
.was-validated .form-check-input:valid~.form-check-label{color:var(--text)}
.was-validated .form-check-input:valid{border-color:var(--blue)}
/* header search keeps its own look: no validation icons */
.nav-search .form-control,.was-validated .nav-search .form-control:valid,.was-validated .nav-search .form-control:invalid{background-image:none}
.auth-check .form-check-label{flex:1 1 0;min-width:0}
.auth-check .form-check-input{flex:0 0 auto;float:none;margin-left:0}

/* v36: logo is its own white rounded tile now — no extra wrapper box */
.brand-mark,.site-footer .brand-mark{background:none;box-shadow:none;padding:0;width:44px;height:44px;border-radius:12px;overflow:hidden}
.brand-mark img{width:44px;height:44px;display:block}
.site-header .brand-mark{box-shadow:0 0 0 1px rgba(255,255,255,.18)}

/* ===== v37: footer always sits at the bottom of the page ===== */
html{min-height:100%}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>main{flex:1 0 auto;width:100%;min-height:0}
body>.site-footer{flex-shrink:0;margin-top:3rem}
body>main:empty{display:block}

/* ===== auth extras ===== */
.auth-forgot{margin:1rem 0 0;text-align:center;font-weight:600;font-size:.95rem}
.auth-switch{margin:1.1rem 0 0;text-align:center;font-size:.95rem;color:var(--muted)}
.auth-switch a{font-weight:700}
.pw-eye-label{top:38px}

/* ===== dashboard tabs ===== */
.dash-tabs{margin:0 0 1.5rem;padding:.5rem;border-radius:18px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow-sm);overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.dash-tabs::-webkit-scrollbar{display:none}
.dash-tabs .nav-link{display:flex;align-items:center;gap:.5rem;padding:.6rem 1.05rem;border-radius:12px;color:var(--muted);font-weight:600;white-space:nowrap;min-height:44px}
.dash-tabs .nav-link i{font-size:1.05rem}
.dash-tabs .nav-link:hover{color:var(--text);background:var(--blue-soft)}
.dash-tabs .nav-link.active{color:#fff;background:linear-gradient(135deg,#4F6FE0,#2747B0);box-shadow:0 8px 18px -8px rgba(49,88,212,.7)}
.dash-page .side-card{margin-bottom:1.5rem}
.dash-page .row>[class*=col-] .side-card{margin-bottom:0}
.dash-page .form-label{font-weight:600;font-size:.9rem;margin-bottom:.4rem}
.empty-state{text-align:center;padding:3rem 1.5rem}
.empty-state>i{font-size:2.6rem;color:var(--blue-ink)}
.empty-state h2{margin:.9rem 0 .4rem}
.empty-state p{max-width:46ch;margin:0 auto 1.25rem}
.act-list{list-style:none;margin:0;padding:0}
.act-list li{display:flex;align-items:center;gap:1rem;padding:.85rem 0;border-bottom:1px solid var(--border)}
.act-list li:last-child{border-bottom:0}
.act-ico{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:12px;background:var(--blue-soft);color:var(--blue-ink)}
.act-text{flex:1;min-width:0;font-weight:500}
.act-time{flex:0 0 auto;color:var(--muted);font-size:.88rem}
@media(max-width:575.98px){.act-list li{flex-wrap:wrap}.act-time{flex:0 0 100%;margin-left:3.1rem}.dash-tabs .nav-link span{display:inline}}
.sub-switch{display:flex;align-items:flex-start;gap:.9rem;padding-left:0}
.sub-switch .form-check-input{flex:0 0 auto;float:none;margin:.2rem 0 0;width:2.9rem;height:1.5rem;cursor:pointer}
.sub-switch .form-check-label{line-height:1.45}
.sub-topics{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.sub-topics li{display:grid;grid-template-columns:minmax(0,1fr) 140px;align-items:center;gap:1rem;padding:.55rem .8rem;border-radius:14px;background:var(--surface-2)}
.sub-topics label{font-weight:600;margin:0}
.sub-topics .form-select,.dash-page .form-select.auth-input{height:46px;padding:0 2.2rem 0 .9rem;margin:0;background-color:#fff}
@media(max-width:480px){.sub-topics li{grid-template-columns:1fr}.sub-topics .form-select{width:100%}}

/* ===== subscribe box (landing + article) ===== */
.subscribe-box{display:grid;grid-template-columns:auto minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:1.4rem;padding:1.5rem 1.75rem;border-radius:var(--radius);background:#fff;border:1px solid var(--border);box-shadow:var(--shadow-sm)}
.sb-ico{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;font-size:1.6rem;color:#fff;background:linear-gradient(135deg,#5877E0,#2747B0);box-shadow:0 10px 20px -8px rgba(49,88,212,.7)}
.sb-text h2{margin:0 0 .25rem;font-size:1.2rem}
.sb-text p{margin:0;color:var(--muted);font-size:.95rem}
.sb-form{display:flex;flex-wrap:wrap;gap:.6rem}
.sb-form .sb-field{flex:1 1 200px;min-width:0}
.sb-form .form-control{height:48px;border-radius:999px;padding:0 1.1rem;border:1px solid rgba(19,35,69,.2)}
.sb-form .form-control:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(49,88,212,.14)}
.sb-form .btn{height:48px;white-space:nowrap}
.sb-fine{margin-top:.55rem;font-size:.78rem;color:var(--muted);line-height:1.45}
.sb-fine a{color:var(--blue-ink);text-decoration:underline;text-underline-offset:2px}
.sb-done{font-weight:700;margin-bottom:.6rem}.sb-done i{color:var(--blue)}
@media(max-width:991.98px){.subscribe-box{grid-template-columns:auto minmax(0,1fr)}.sb-action{grid-column:1/-1}}
@media(max-width:575.98px){.subscribe-box{grid-template-columns:1fr;padding:1.25rem}.sb-ico{width:48px;height:48px;font-size:1.35rem}}
.article-shell .subscribe-box{background:var(--surface-2);box-shadow:none}

/* v38: Log out lives on the dashboard, not in the top navbar */
.dash-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.dash-head h1{margin:.4rem 0 .35rem}
.dash-head p{margin:0}
.dash-logout{margin:0 0 .25rem}

/* ===== engagement: reactions, comments, dashboard lists ===== */
.react-bar{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.react-form{margin:0}
.react-btn{display:inline-flex;align-items:center;gap:.5rem;height:44px;padding:0 1rem;border-radius:999px;border:1px solid rgba(19,35,69,.18);background:#fff;color:var(--text);font-weight:600;font-size:.95rem;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s,color .15s,transform .15s}
.react-btn:hover{background:var(--blue-soft);color:var(--text);border-color:var(--blue-line);transform:translateY(-1px)}
.react-btn i{font-size:1.1rem;color:var(--blue-ink)}
.react-btn .cnt{font-size:.82rem;font-weight:700;color:var(--muted);background:var(--surface-2);border-radius:999px;padding:.05rem .5rem}
.react-btn.on{background:var(--blue);border-color:var(--blue);color:#fff}
.react-btn.on i,.react-btn.on .cnt{color:#fff}.react-btn.on .cnt{background:rgba(255,255,255,.2)}
.react-btn[disabled]{opacity:.6;pointer-events:none}
.react-bar.compact .react-btn{height:40px;padding:0 .85rem}
@media(max-width:575.98px){.react-bar .react-btn .lbl{display:none}.react-bar .react-btn{padding:0 .9rem}.react-bar .react-btn[data-act=save] .lbl,.react-bar.end .react-btn .lbl{display:inline}}
.end-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.9rem;margin:2.5rem 0 0;padding:1.1rem 1.3rem;border-radius:var(--radius);background:var(--surface-2)}
.ea-label{font-family:var(--font-head);font-weight:800}
.end-actions .react-btn{background:#fff}
.end-actions .react-btn.on{background:var(--blue)}
@media(max-width:575.98px){.end-actions .react-btn .lbl{display:inline}.end-actions .react-btn{padding:0 .8rem}}
.comments{margin-top:2.5rem;scroll-margin-top:90px}
.comments>h2{display:flex;align-items:center;gap:.6rem;margin:0 0 1rem}
.comment-form textarea{border-radius:14px;border:1px solid rgba(19,35,69,.18);padding:.9rem 1rem;font-size:1rem}
.comment-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(49,88,212,.14)}
.comment-login{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1.1rem 1.3rem;border-radius:var(--radius);background:var(--surface-2)}
.comment-login>i{font-size:1.7rem;color:var(--blue-ink)}
@media(max-width:575.98px){.comment-login{grid-template-columns:1fr}}
.comment-list{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;gap:1.1rem}
.comment-list li{display:flex;gap:.9rem;scroll-margin-top:90px}
.comment-list li:target .cm-body{background:var(--blue-soft);border-radius:12px;padding:.6rem .8rem;margin-left:-.8rem}
.cm-main{flex:1;min-width:0}
.cm-head{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .8rem;font-size:.95rem}
.cm-head .muted{font-size:.85rem}
.cm-del{margin-left:auto}.cm-del .btn{color:#B42318;text-decoration:none;padding:0}
.cm-body{margin-top:.25rem;line-height:1.65;overflow-wrap:anywhere}
.saved-list,.my-comments{list-style:none;margin:0;padding:0;display:grid;gap:.9rem}
.saved-item{display:grid;grid-template-columns:120px minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.7rem;border-radius:16px;background:var(--surface-2)}
.si-img img{width:120px;height:80px;border-radius:12px;object-fit:cover;display:block}
.si-title{font-family:var(--font-head);font-weight:700;color:var(--text);line-height:1.3;display:block;overflow-wrap:anywhere}
.si-title:hover{color:var(--blue-ink)}
.si-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.45rem;font-size:.85rem}
.si-act{margin:0}
@media(max-width:640px){.saved-item{grid-template-columns:84px minmax(0,1fr)}.si-img img{width:84px;height:64px}.si-act{grid-column:1/-1}.si-act .btn{width:100%}}
.my-comments li{padding:1rem 1.1rem;border-radius:16px;background:var(--surface-2)}
.mc-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.3rem 1rem;font-size:.9rem}
.mc-body{margin:.45rem 0 .6rem;line-height:1.6;overflow-wrap:anywhere}
.my-comments form .btn{color:#B42318;text-decoration:none}
.tab-n{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 .35rem;border-radius:999px;font-size:.72rem;font-weight:800;background:var(--blue-soft);color:var(--blue-ink)}
.dash-tabs .nav-link.active .tab-n{background:rgba(255,255,255,.22);color:#fff}

/* v40: like + comment counts in card footers */
.pc-stats{display:inline-flex;align-items:center;gap:.85rem}
.pc-stats>span{display:inline-flex;align-items:center;white-space:nowrap}
.pc-foot{gap:.6rem}
@media(max-width:400px){.pc-stats{gap:.6rem}.pc-foot{font-size:.82rem}}

/* v41: captcha rows */
.sb-captcha{flex:0 0 100%;margin-top:.2rem}
.sb-captcha .cf-turnstile{margin-bottom:.4rem}
.auth-card .cf-turnstile{margin-top:.2rem}

/* v43: submit buttons wait for the human check */
.cap-hint{margin:.15rem 0 .65rem;font-size:.84rem;line-height:1.4;color:var(--muted)}
.btn-auth:disabled,.btn-auth[disabled]{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none;background:var(--navy)}
.btn-brand:disabled,.btn-brand[disabled]{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none;filter:none}

/* ===== admin console ===== */
.admin-filter{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.admin-filter .form-control{flex:1 1 220px;min-width:0;height:44px;border-radius:999px;padding:0 1.1rem}
.admin-filter .form-select{flex:0 1 auto;width:auto;max-width:100%;height:44px;border-radius:999px;padding:0 2.2rem 0 1rem}
.admin-filter .btn{height:44px}
.admin-mini{list-style:none;margin:0;padding:0}
.admin-mini li{display:flex;flex-direction:column;gap:.1rem;padding:.65rem 0;border-bottom:1px solid var(--border)}
.admin-mini li:last-child{border-bottom:0}
.admin-mini a{font-weight:600}
.admin-mini .muted{font-size:.85rem}
.admin-thumb{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:12px;background:var(--surface-2)}
.admin-page .form-select.auth-input{height:46px}
.admin-page textarea.form-control{border-radius:14px;border:1px solid rgba(19,35,69,.18)}
.admin-page .stat-tile:hover{box-shadow:var(--shadow-lg)}
a.stat-tile{color:var(--text)}
.admin-page .table td,.admin-page .table th{white-space:nowrap}
.admin-page .table td:first-child,.admin-page .table td.wrap{white-space:normal}

/* ===== v45: compact footer (three columns, tight spacing) ===== */
body>.site-footer{margin-top:2rem;border-radius:24px 24px 0 0}
.site-footer>.container{padding-top:1.5rem;padding-bottom:1rem}
.site-footer .brand{gap:.6rem}
.site-footer .brand-mark,.site-footer .brand-mark img{width:36px;height:36px}
.site-footer .brand-name{font-size:.98rem}
.site-footer .brand-sub{font-size:.66rem}
.foot-blurb{margin:.6rem 0 0;max-width:44ch;font-size:.88rem;line-height:1.5;color:rgba(255,255,255,.66)}
.site-footer h3{font-size:.7rem;letter-spacing:.12em;margin:0 0 .5rem}
.site-footer ul{gap:.2rem}
.site-footer li a{font-size:.9rem;line-height:1.35;display:inline-block;padding:.12rem 0}
.site-footer .legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.35rem 1rem;margin-top:1rem;padding-top:.75rem;border-top:1px solid rgba(255,255,255,.12);font-size:.78rem;color:rgba(255,255,255,.55)}
.site-footer .foot-small{font-size:.78rem}
@media(max-width:991.98px){.site-footer>.container{padding-top:1.25rem}.foot-blurb{max-width:none}}
@media(max-width:575.98px){body>.site-footer{border-radius:18px 18px 0 0}.site-footer .legal{flex-direction:column}}

/* v46: log in / register / reset cards sit in the vertical centre between header and footer */
.main-center{display:flex;flex-direction:column}
.main-center>.auth-wrap{flex:1 0 auto;display:grid;place-items:center;padding:2rem 1rem}
@media(max-width:575.98px){.main-center>.auth-wrap{padding:1.25rem 1rem}}
/* v48: on the centred auth pages the footer margin must not count as space below the card */
.main-center+.site-footer{margin-top:0!important}

/* ===== rich text editor (Quill, snow theme, matched to the site) ===== */
.rte-wrap .ql-toolbar.ql-snow{border:1px solid rgba(19,35,69,.18);border-radius:14px 14px 0 0;background:var(--surface-2);padding:.5rem .6rem;font-family:var(--font-body)}
.rte-wrap .ql-container.ql-snow{border:1px solid rgba(19,35,69,.18);border-top:0;border-radius:0 0 14px 14px;background:#fff;font-family:var(--font-body);font-size:1.02rem}
.rte-wrap .ql-editor{min-height:440px;max-height:75vh;overflow-y:auto;padding:1.1rem 1.25rem;line-height:1.75;color:var(--text)}
.rte-wrap .ql-editor p{margin:0 0 1rem}
.rte-wrap .ql-editor h2{font-family:var(--font-head);font-size:1.3rem;font-weight:800;margin:1.6rem 0 .6rem}
.rte-wrap .ql-editor h3{font-family:var(--font-head);font-size:1.1rem;font-weight:700;margin:1.3rem 0 .5rem}
.rte-wrap .ql-editor ul,.rte-wrap .ql-editor ol{margin:0 0 1rem;padding-left:1.2rem}
.rte-wrap .ql-editor li{padding-left:.3rem}
.rte-wrap .ql-editor.ql-blank::before{color:#7C88A8;font-style:normal;left:1.25rem}
.rte-wrap .ql-snow .ql-stroke{stroke:var(--text)}.rte-wrap .ql-snow .ql-fill{fill:var(--text)}
.rte-wrap .ql-snow.ql-toolbar button:hover .ql-stroke,.rte-wrap .ql-snow.ql-toolbar button.ql-active .ql-stroke{stroke:var(--blue)}
.rte-wrap .ql-snow.ql-toolbar button:hover .ql-fill,.rte-wrap .ql-snow.ql-toolbar button.ql-active .ql-fill{fill:var(--blue)}
.rte-wrap .ql-snow.ql-toolbar button:hover,.rte-wrap .ql-snow.ql-toolbar button.ql-active{color:var(--blue)}
.rte-wrap .ql-toolbar button{width:34px;height:30px;border-radius:8px}
.rte-wrap .ql-toolbar button:hover{background:var(--blue-soft)}
.rte-wrap .ql-snow .ql-picker.ql-header{width:150px}
.rte-wrap .ql-snow .ql-picker.ql-header .ql-picker-label::before,.rte-wrap .ql-snow .ql-picker.ql-header .ql-picker-item::before{content:'Paragraph'}
.rte-wrap .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,.rte-wrap .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{content:'Heading'}
.rte-wrap .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,.rte-wrap .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{content:'Subheading'}
.rte-wrap .ql-snow .ql-tooltip{z-index:20;border-radius:12px;box-shadow:var(--shadow-lg);border-color:var(--border)}
.rte-wrap.is-invalid .ql-toolbar.ql-snow,.rte-wrap.is-invalid .ql-container.ql-snow{border-color:#B42318}
.rte-wrap .ql-editor:focus{outline:0}
.rte-wrap:focus-within .ql-container.ql-snow{border-color:var(--blue)}
.rte-wrap:focus-within .ql-toolbar.ql-snow{border-color:var(--blue)}
/* admin article editor: one column, roomy cards, library picker, bottom action bar */
.article-edit .side-card{margin-bottom:1.75rem}
.article-edit .side-card .sc-b{padding:.6rem 1.5rem 1.5rem}.article-edit .side-card .sc-h{padding:1.25rem 1.5rem .5rem}
.lib-panel{margin-top:1.25rem;padding:1rem;border:1px solid var(--border);border-radius:.9rem;background:#F4F7FF}
.lib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.7rem;max-height:420px;overflow:auto;padding:.25rem}
.lib-item{display:block;padding:.35rem;border:2px solid transparent;border-radius:.7rem;background:#fff;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(19,35,69,.08)}
.lib-item:hover{border-color:#B9C8F3}.lib-item.on{border-color:#3158D4}.lib-item[hidden]{display:none}
.lib-item img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;border-radius:.45rem}
.lib-item span{display:block;margin-top:.3rem;font-size:.72rem;color:#5A6785;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lib-search{max-width:240px}
.edit-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin:.25rem 0 1.5rem}
.edit-actions .ea-right{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-left:auto}
.edit-actions .btn-save{min-width:260px;padding:.7rem 2rem}
@media (max-width:575px){.edit-actions .btn-save{min-width:0;width:100%}.edit-actions .ea-right{width:100%}}
.auto-grow{background:#fff;resize:none;overflow:hidden;min-height:54px;padding:.8rem 1.1rem;border-radius:14px;border:1px solid rgba(19,35,69,.18);line-height:1.45;overflow-wrap:anywhere}
.auto-grow:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(49,88,212,.14)}
.auto-grow.is-invalid{border-color:#C0392B}
.focus-bar{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1.25rem}
/* tighter article editor */
.article-edit .side-card{margin-bottom:.9rem}
.article-edit .side-card .sc-h{padding:.8rem 1.25rem .2rem}
.article-edit .side-card .sc-b{padding:.3rem 1.25rem 1rem}
.article-edit .form-label.mt-3{margin-top:.7rem!important}
.article-edit .form-label{margin-bottom:.25rem}
.article-edit .mb-3{margin-bottom:.7rem!important}
.article-edit .form-text{margin-top:.25rem;font-size:.82rem}
.article-edit .auth-input{margin-bottom:0}
.article-edit .auto-grow{min-height:46px;padding:.6rem 1rem}
.article-edit .form-select.auth-input{height:46px}
.article-edit .row.g-3{--bs-gutter-y:.7rem}
.article-edit .lib-panel{margin-top:.8rem}
body:has(.article-edit) .page-head{padding-block:1rem .25rem}
body:has(.article-edit) .page-head .focus-bar{margin-bottom:.6rem}
body:has(.article-edit) .page-head h1{font-size:1.9rem;margin-bottom:0}
body:has(.article-edit) .dash-page{padding-top:.5rem}
.edit-actions{margin:0 0 1rem}
.doi-link{overflow-wrap:anywhere;text-align:left}
.rte-wrap .ql-editor{min-height:140px;max-height:60vh}
.link-status{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.45rem;font-size:.86rem;font-weight:600}
.link-status a{margin-left:.25rem;font-weight:700}
.link-status.ls-ok{color:#3158D4}.link-status.ls-blocked{color:#132345}.link-status.ls-broken{color:#B3261E}.link-status.ls-wait{color:#5A6785}
.ls-spin{display:inline-block;animation:lsspin 1s linear infinite}@keyframes lsspin{to{transform:rotate(360deg)}}
.article-edit .headline-input{font-family:var(--font-head);font-size:1.6rem;font-weight:800;line-height:1.25;color:#132345;padding:.8rem 1.1rem;min-height:64px}
.article-edit #f_title{font-size:1.05rem}
/* top navigation scrolls away with the page (not fixed) */
.site-header{position:relative;top:auto}
.side-sticky{top:24px}.rail-sticky{top:24px}
.admin-social{margin:0 0 1.25rem;padding:1rem 1.25rem;border-radius:16px;background:#fff;border:1px dashed rgba(49,88,212,.45);box-shadow:var(--shadow-sm)}
.admin-social .as-head{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:space-between;font-weight:700;font-size:.85rem;color:#132345;text-transform:uppercase;letter-spacing:.06em}
.admin-social .as-head em{font-style:normal;font-weight:500;text-transform:none;letter-spacing:0;color:#5A6785}
.admin-social .as-actions{display:flex;gap:.5rem}
.admin-social .as-text{margin:.7rem 0 0;font-size:1.02rem;line-height:1.55;color:#132345;white-space:normal}

/* comment replies, edit and report */
.cm-thread{display:block!important;margin:-.2rem 0 0}
.cm-replies{margin:0 0 0 1.1rem;padding-left:1.1rem;border-left:2px solid var(--line,#E2E8F5);gap:.9rem}
.cm-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.2rem 1rem;margin-top:.35rem;font-size:.88rem}
.cm-pop summary{list-style:none;cursor:pointer;color:var(--blue-ink,#3158D4);font-weight:600;padding:.1rem 0}
.cm-pop summary::-webkit-details-marker{display:none}
.cm-pop[open]{flex-basis:100%;order:9}
.cm-pop .cm-form{margin-top:.5rem;max-width:560px}
.cm-pop textarea,.cm-pop select{border-radius:12px;border:1px solid rgba(19,35,69,.18);font-size:.95rem}
.cm-actions .cm-del{margin-left:0}
.cm-report summary{color:var(--muted,#586788);font-weight:500}
.cm-reported{font-size:.85rem}
@media(max-width:575.98px){.cm-replies{margin-left:.4rem;padding-left:.7rem}}

/* admin: bulk bar, history */
.bulk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin:0 0 .8rem;padding:.6rem .8rem;border-radius:14px;background:var(--surface-2,#EEF2FD)}
.bulk-bar .form-select,.bulk-bar .form-control{width:auto;min-width:170px;height:42px}
.bulk-bar .bulk-count{font-size:.95rem;margin-right:.3rem}
.bulk-bar .invalid-feedback{display:none!important}
.hist-card>summary{cursor:pointer;list-style:none}.hist-card>summary::-webkit-details-marker{display:none}
details.side-card>summary.sc-h{cursor:pointer;list-style:none}details.side-card>summary::-webkit-details-marker{display:none}
.hist-list{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.hist-list>li{padding:.7rem .9rem;border-radius:14px;background:var(--surface-2,#F4F7FF)}
.hist-list>li.is-open{background:#fff;box-shadow:inset 0 0 0 1px rgba(19,35,69,.12)}
.hist-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem}
.hist-diff{margin-top:.8rem;display:grid;gap:.9rem}
.hd-label{font-weight:700;margin-bottom:.35rem}
.hd-box{position:relative;padding:.7rem .85rem 2rem;border-radius:12px;font-size:.92rem;line-height:1.6;overflow-wrap:anywhere;background:#F7F8FC;border:1px solid rgba(19,35,69,.1)}
.hd-tag{position:absolute;left:.85rem;bottom:.5rem;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#586788)}
.hd-box del{background:#FDE7E4;color:#7A1F14;text-decoration:line-through}
.hd-box ins{background:#DDE8FF;color:#13306E;text-decoration:none;font-weight:600}

/* Cards are always white (no light-blue card backgrounds) */
.article-shell .side-card,.article-body .callout,.hero-card .hv-card,.article-shell .subscribe-box,.end-actions,.comment-login,.saved-item,.my-comments li,.hist-list>li,.bulk-bar{background:#fff;border:1px solid var(--border)}

.facts li.stack{flex-direction:column;gap:.15rem}.facts li.stack .v{text-align:left}
.side-card .fine{font-size:.8rem;color:var(--muted);line-height:1.5}

/* section headings: no icon, underlined */
.article-body h2.sec-h{display:block;padding-bottom:.55rem;border-bottom:2px solid var(--blue,#3158D4)}

/* Article layout: full-width head, two-column reading area, full-width related research and comments */
.article-hero.in-col{margin:0 0 2.5rem}
.article-shell .full-row{margin-top:3rem;padding-top:2.25rem;border-top:1px solid var(--border)}
.article-shell .full-row.comments-row .comments{margin-top:0}
.article-shell .full-row .section-title{margin-top:0}
.article-shell .comments-row .subscribe-box{margin-top:2.5rem}

/* Article page, compact head and pinned rail */
.article-head .meta-line{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem}
.article-head .meta-line .ml-item{display:inline-flex;align-items:center;gap:.4rem;color:var(--muted);font-size:.93rem;font-weight:500}
.article-head .meta-line .ml-item i{color:var(--blue-ink)}
.article-head .article-title{margin-top:.85rem}
.rail-actions .sc-b{padding:1rem 1.1rem 1.1rem}
.react-bar.rail{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.react-bar.rail .react-form{display:block}
.react-bar.rail .react-btn{width:100%;height:42px;padding:0 .7rem;justify-content:center}
.react-bar.rail .react-btn .lbl{display:inline}
.rail-share{margin-top:1rem;padding-top:.9rem;border-top:1px dashed rgba(19,35,69,.14)}
.rail-share .rs-label{display:block;font-family:var(--font-head);font-weight:800;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:.6rem}
.rail-share .share{display:flex;gap:.5rem;flex-wrap:wrap}


/* Reaction buttons: rounded rectangles of equal width */
.react-btn{border-radius:12px}
.react-bar.rail .react-btn{border-radius:12px}
.article-head .react-bar,.end-actions .react-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;width:100%}
.article-head .react-bar .react-form,.end-actions .react-bar .react-form{display:block}
.article-head .react-bar .react-btn,.end-actions .react-bar .react-btn{width:100%;justify-content:center}
.end-actions{flex-direction:column;align-items:stretch}
@media(max-width:575.98px){.article-head .react-bar,.end-actions .react-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.article-head .react-bar .react-btn .lbl{display:inline}}

/* Rail reactions: one thumbs up | thumbs down button, then full-width comments and save rows */
.react-bar.rail{display:flex;flex-direction:column;gap:.55rem}
.react-bar.rail .react-split{display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(19,35,69,.18);border-radius:12px;overflow:hidden;background:#fff}
.react-bar.rail .react-split .react-form{display:block;margin:0}
.react-bar.rail .react-split .react-btn{border:0;border-radius:0;height:44px;width:100%;justify-content:center;background:transparent;transform:none}
.react-bar.rail .react-split>*:first-child .react-btn,.react-bar.rail .react-split>a.react-btn:first-child{border-right:1px solid rgba(19,35,69,.14)}
.react-bar.rail .react-split .react-btn:hover{background:var(--blue-soft)}
.react-bar.rail .react-split .react-btn.on{background:var(--blue);color:#fff}
.react-bar.rail .react-split .react-btn i{font-size:1.25rem}
.react-bar.rail .react-form{display:block}
.react-bar.rail > .react-btn,.react-bar.rail > .react-form .react-btn{width:100%;height:44px;justify-content:center;border-radius:12px}
.react-bar.rail > .react-btn .cnt{margin-left:.15rem}
.react-bar.rail .react-btn .lbl{display:inline}
.react-bar.rail .react-split .react-btn .lbl{position:absolute}
.react-bar.rail{align-items:stretch}
.react-bar.rail .react-split{width:100%}

/* Head actions (under the headline), jump menu (phones), end-of-article share, one pinned "On this page" card */
.head-actions{margin-top:1.1rem}
.react-bar.head{display:flex;flex-direction:row;flex-wrap:wrap;gap:.6rem;align-items:stretch}
.react-bar.head .react-split{flex:0 0 auto;min-width:170px;width:auto}
.react-bar.head .react-form{display:block}
.react-bar.head > .react-btn,.react-bar.head > .react-form .react-btn{width:auto;height:44px;padding:0 1.1rem;justify-content:center;border-radius:12px}
.react-bar.head > .react-btn .lbl,.react-bar.head > .react-form .react-btn .lbl{display:inline}
@media(max-width:575.98px){
  .react-bar.head .react-split{flex:1 1 100%}
  .react-bar.head > .react-btn,.react-bar.head > .react-form{flex:1 1 calc(50% - .3rem)}
  .react-bar.head > .react-form .react-btn,.react-bar.head > .react-btn{width:100%}
}
#comment-form{scroll-margin-top:96px}
.end-actions .ea-share{width:100%;margin-top:.9rem;padding-top:.9rem;border-top:1px dashed rgba(19,35,69,.14);display:flex;flex-wrap:wrap;align-items:center;gap:.7rem 1rem}
.end-actions .ea-share .rs-label{font-family:var(--font-head);font-weight:800;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.end-actions .ea-share .share{display:flex;gap:.5rem;flex-wrap:wrap}
.about-card{margin:1.25rem 0 0}
.about-card .facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 2rem}
.about-card .facts li,.about-card .facts li.stack{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:.2rem;border-bottom:1px dashed rgba(19,35,69,.12);padding-bottom:.6rem}
.about-card .facts .v{text-align:left}
.about-card .btn{width:auto}
@media(max-width:575.98px){.about-card .facts{grid-template-columns:1fr}}
.jump-menu{margin:0 0 2rem;border:1px solid var(--border);border-radius:14px;background:#fff;overflow:hidden}
.jump-menu summary{display:flex;align-items:center;gap:.6rem;padding:.8rem 1rem;font-weight:700;cursor:pointer;list-style:none;color:var(--text)}
.jump-menu summary::-webkit-details-marker{display:none}
.jump-menu summary i:first-child{color:var(--blue-ink)}
.jump-menu[open] .jm-caret{transform:rotate(180deg)}
.jump-menu .toc{margin:0;padding:0 .5rem .6rem}
.rail-sticky{top:24px}
.react-bar.head .react-split{display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(19,35,69,.18);border-radius:12px;overflow:hidden;background:#fff}
.react-bar.head .react-split .react-form{display:block;margin:0}
.react-bar.head .react-split .react-btn{border:0;border-radius:0;height:44px;width:100%;justify-content:center;background:transparent;transform:none}
.react-bar.head .react-split>*:first-child .react-btn,.react-bar.head .react-split>a.react-btn:first-child{border-right:1px solid rgba(19,35,69,.14)}
.react-bar.head .react-split .react-btn:hover{background:var(--blue-soft)}
.react-bar.head .react-split .react-btn.on{background:var(--blue);color:#fff}
.react-bar.head .react-split .react-btn i{font-size:1.25rem}
.react-bar.head .react-btn .lbl.visually-hidden{display:block}
.head-actions{margin-top:1.35rem}
@media(max-width:575.98px){
  .react-bar.head{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
  .react-bar.head .react-split{grid-column:1 / -1}
  .react-bar.head > .react-btn,.react-bar.head > .react-form{flex:none;width:auto;min-width:0}
  .react-bar.head > .react-btn,.react-bar.head > .react-form .react-btn{width:100%;padding:0 .6rem}
}

#key-takeaway{scroll-margin-top:24px}
/* the sidebar column must be as tall as the article so the pinned card can travel */
.article-grid>aside{align-self:stretch}
.article-grid>aside .rail{height:100%}

/* sidebar: "On this page" first, study details below, the whole column pinned (scrolls inside only if taller than the window) */
.rail-sticky{max-height:calc(100vh - 48px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#C9D4F2 transparent;padding:2px 4px 4px 2px;margin:-2px -4px -4px -2px}
.rail .about-card{margin:1rem 0 0}
.rail .about-card .facts{grid-template-columns:1fr;gap:.7rem}
.rail .about-card .btn{width:100%}
.rail .toc li a{padding-top:.4rem;padding-bottom:.4rem}

/* About the article: "Label:" in bold, value in normal weight on the same line */
.about-card .facts{display:grid;grid-template-columns:1fr;gap:.65rem}
.about-card .facts li,.about-card .facts li.stack{display:block;border-bottom:1px dashed rgba(19,35,69,.12);padding-bottom:.6rem;line-height:1.5}
.about-card .facts li:last-child{border-bottom:1px dashed rgba(19,35,69,.12)}
.about-card .facts .k{display:inline;font-weight:700;color:var(--text)}
.about-card .facts .v{display:inline;font-weight:400;text-align:left;overflow-wrap:anywhere}
.about-card .facts .v a{font-weight:500}

#bottom-line{scroll-margin-top:24px}

/* title now lives in the reading column so the sidebar starts at the top of the card */
.article-shell .article-grid{margin-top:0}
.article-shell .article-grid>article>.article-head{margin-bottom:1.75rem}
.article-shell .article-head .article-title{font-size:clamp(1.7rem,1.25rem + 1.7vw,2.4rem);line-height:1.15}

/* Article bullets: plain list items with a small cobalt dot (no boxes) */
.article-shell .article-body ul{gap:.6rem;margin:0 0 1.5rem}
.article-shell .article-body ul li{padding:0 0 0 1.45rem;border:0;border-radius:0;background:transparent;box-shadow:none;line-height:1.65}
.article-shell .article-body ul li::before{content:"";left:.3rem;top:.72em;width:.45rem;height:.45rem;border-radius:50%;background:var(--blue)}
.article-shell .article-body ul ul{margin:.55rem 0 .2rem}
body.page-article .article-shell .article-body ul li{box-shadow:none;border:0;background:transparent;border-radius:0;padding:0 0 0 1.45rem}
body.page-article .article-shell .article-body ul li::before{box-shadow:none}
.article-shell .article-body ul{margin-top:.5rem}

/* Article text: smaller, tighter, less stretched */
.article-body{font-size:1rem;line-height:1.62;letter-spacing:-.006em}
.article-body p{margin:0 0 1rem}
.article-shell .article-body ul{gap:.4rem;margin:.4rem 0 1.2rem}
.article-shell .article-body ul li{line-height:1.58}
.article-shell .article-body ol{margin:.4rem 0 1.2rem}
.article-shell .article-body ol li{margin-bottom:.35rem;line-height:1.58}
.article-body h3{margin:1.4rem 0 .35rem}
@media(max-width:575.98px){.article-body{font-size:1rem}}

/* Final article typography: Inter 18px, body line-height 1.7, bullets 1.65, takeaway 19px */
.article-body{font-size:1.125rem;line-height:1.7;letter-spacing:-.005em}
.article-body p{margin:0 0 1.1rem}
.article-shell .article-body ul{gap:.5rem;margin:.45rem 0 1.3rem}
.article-shell .article-body ul li,.article-shell .article-body ol li{line-height:1.65}
.article-shell .article-body ol li{margin-bottom:.4rem}
.takeaway p{font-size:1.1875rem;line-height:1.5}
@media(max-width:575.98px){.article-body{font-size:1.0625rem}.takeaway p{font-size:1.1rem}}

/* Body text 17px (trial) */
.article-body{font-size:1.0625rem}
@media(max-width:575.98px){.article-body{font-size:1.0625rem}}

/* body text uses the full column width, same as the takeaway and the cover image */
.article-body{max-width:none}

/* ===== Platform-wide text: 17px Inter, line height 1.7 (public site and admin) ===== */
:root{--bs-body-font-size:1.0625rem;--bs-body-line-height:1.7}
body{font-size:1.0625rem;line-height:1.7}
/* compact controls keep tight lines so buttons, chips, tables and menus do not grow */
.btn,.chip,.badge,.mbadge,.nav-link,.page-link,.react-btn,.dropdown-item,.form-control,.form-select,.form-check-label,.invalid-feedback,
th,.adm-link,.adm-badge,.adm-kpi,.adm-delta,.adm-tabs a,.adm-range a,.sort-link,.sc-h,.toc a,.facts li,.cnt,.chip-plain,.pc-meta,.pc-foot,
.crumbs-lite,.meta-line,.byline,.footer-links a,.site-footer,.small,small,.fine,label.form-label,.nav-avatar,.avatar{line-height:1.45}
td,.adm-table td,.dash-table td,.adm-list li,.adm-attn li a{line-height:1.45}
/* data tables stay compact so every column fits */
.dash-table,.adm-table{font-size:.9rem}
.dash-table .chip,.adm-table .chip{font-size:.74rem}

.rail .about-card{margin:0 0 1rem}

/* "Read the original article": quiet rectangular button like Comments / Save (not blue) */
.orig-link{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;height:44px;padding:0 1rem;border:1px solid rgba(19,35,69,.18);border-radius:12px;background:#fff;color:var(--text);font-weight:600;font-size:.95rem;line-height:1.2;text-decoration:none;transition:background .15s,border-color .15s}
.orig-link:hover{background:var(--blue-soft);border-color:var(--blue-line);color:var(--text)}
.orig-link i{font-size:.95rem;color:var(--blue-ink)}
.rail .about-card .orig-link{margin-top:.9rem!important}

/* Related research: its own white card under the article card */
.related-card{background:#fff;border:1px solid var(--border);border-radius:28px;box-shadow:0 1px 2px rgba(19,35,69,.05),0 18px 40px -22px rgba(19,35,69,.25);padding:clamp(1.1rem,.4rem + 2.6vw,2.75rem);margin-top:1.5rem}
.related-card .section-title{margin-top:0}
@media(max-width:575.98px){.related-card{border-radius:20px}}

/* ===== Feedback card (rate / save / discuss / share) and comments card ===== */
.feedback-card,.comments-card{background:#fff;border:1px solid var(--border);border-radius:28px;box-shadow:0 1px 2px rgba(19,35,69,.05),0 18px 40px -22px rgba(19,35,69,.25);padding:clamp(1.1rem,.4rem + 2.6vw,2.5rem);margin-top:1.5rem}
.comments-card .comments{margin-top:0}
.feedback-card .fb-head h2{font-size:1.35rem;margin:0 0 .25rem}
.feedback-card .fb-head p{margin:0 0 1.4rem;color:var(--muted);font-size:.98rem}
.react-bar.fb{display:grid;grid-template-columns:1.2fr 1fr .9fr;gap:0;align-items:stretch;width:100%}
.react-bar.fb .fb-col{padding:0 1.6rem;border-left:1px solid var(--border);min-width:0}
.react-bar.fb .fb-col:first-child{padding-left:0;border-left:0}
.react-bar.fb .fb-col:last-of-type{padding-right:0}
.react-bar.fb .fb-label{display:block;margin-bottom:.7rem;font-family:var(--font-head);font-weight:800;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.react-bar.fb .react-split{display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(19,35,69,.18);border-radius:12px;overflow:hidden;background:#fff}
.react-bar.fb .react-split .react-form{display:block;margin:0}
.react-bar.fb .react-split .react-btn{border:0;border-radius:0;height:48px;width:100%;justify-content:center;background:transparent;transform:none;padding:0 .6rem;font-size:.95rem}
.react-bar.fb .react-split>*:first-child .react-btn,.react-bar.fb .react-split>a.react-btn:first-child{border-right:1px solid rgba(19,35,69,.14)}
.react-bar.fb .react-split .react-btn:hover{background:var(--blue-soft)}
.react-bar.fb .react-split .react-btn.on{background:var(--blue);color:#fff}
.react-bar.fb .fb-stack{display:grid;gap:.5rem}
.react-bar.fb .fb-stack .react-form{display:block}
.react-bar.fb .fb-stack .react-btn{width:100%;height:48px;justify-content:center;border-radius:12px;font-size:.95rem}
.react-bar.fb .share{display:flex;gap:.5rem;flex-wrap:wrap}
@media(max-width:991.98px){.react-bar.fb{grid-template-columns:1fr 1fr}.react-bar.fb .fb-col:nth-child(3){grid-column:1 / -1;border-left:0;padding:1.2rem 0 0;margin-top:1.2rem;border-top:1px solid var(--border)}.react-bar.fb .fb-col:nth-child(2){padding-right:0}}
@media(max-width:575.98px){.react-bar.fb{grid-template-columns:1fr}.react-bar.fb .fb-col,.react-bar.fb .fb-col:first-child,.react-bar.fb .fb-col:nth-child(2){padding:1.1rem 0 0;margin-top:1.1rem;border-left:0;border-top:1px solid var(--border)}.react-bar.fb .fb-col:first-child{padding-top:0;margin-top:0;border-top:0}.feedback-card,.comments-card{border-radius:20px}}
.react-bar.fb .react-btn .lbl{display:inline!important}

/* ===== Feedback card: one row, every control the same height, saved/selected = soft tint ===== */
.react-bar.fb{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.3fr) auto;gap:0;align-items:start}
.react-bar.fb .fb-group{display:flex;gap:.6rem;align-items:stretch}
.react-bar.fb .fb-group>*{flex:1 1 0;min-width:0}
.react-bar.fb .fb-group .react-form{display:block;margin:0}
.react-bar.fb .react-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;height:48px;padding:0 .8rem;border:1px solid rgba(19,35,69,.18);border-radius:12px;background:#fff;color:var(--text);font-size:.95rem;font-weight:600;line-height:1.2;transform:none;white-space:nowrap}
.react-bar.fb .react-btn:hover{background:var(--blue-soft);border-color:var(--blue-line)}
.react-bar.fb .react-btn i{font-size:1.1rem;color:var(--blue-ink)}
.react-bar.fb .react-btn .cnt{background:var(--surface-2);color:var(--muted)}
.react-bar.fb .react-btn.on{background:var(--blue-soft);border-color:var(--blue);color:var(--blue-ink)}
.react-bar.fb .react-btn.on i{color:var(--blue-ink)}
.react-bar.fb .react-btn.on .cnt{background:#fff;color:var(--blue-ink)}
.react-bar.fb .share{display:flex;gap:.6rem}
.react-bar.fb .share a,.react-bar.fb .share button{flex:none;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid rgba(19,35,69,.18);border-radius:12px;background:#fff;color:var(--text);font-size:1.1rem;cursor:pointer}
.react-bar.fb .share a:hover,.react-bar.fb .share button:hover{background:var(--blue-soft);border-color:var(--blue-line)}
.react-bar.fb .share i{color:var(--blue-ink)}
@media(max-width:991.98px){.react-bar.fb{grid-template-columns:1fr 1fr}.react-bar.fb .fb-col:nth-child(3){grid-column:1 / -1}}
@media(max-width:575.98px){.react-bar.fb{grid-template-columns:1fr}.react-bar.fb .share{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.react-bar.fb .share a,.react-bar.fb .share button{width:100%}.react-bar.fb .react-btn{padding:0 .5rem;font-size:.9rem}}
.react-bar.fb{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr) auto}
.react-bar.fb .react-btn{overflow:hidden}
@media(max-width:991.98px){.react-bar.fb{grid-template-columns:1fr 1fr}}
@media(max-width:575.98px){.react-bar.fb{grid-template-columns:1fr}}
.react-bar.fb{grid-template-columns:minmax(0,1.15fr) minmax(0,1.3fr) auto}
@media(max-width:991.98px){.react-bar.fb{grid-template-columns:1fr 1fr}.react-bar.fb .fb-col:nth-child(3){grid-column:1 / -1}}
@media(max-width:575.98px){.react-bar.fb{grid-template-columns:1fr}}

/* feedback card: rating | save | share */
.react-bar.fb{grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr) auto}
@media(max-width:991.98px){.react-bar.fb{grid-template-columns:1fr 1fr}.react-bar.fb .fb-col:nth-child(3){grid-column:1 / -1}}
@media(max-width:575.98px){.react-bar.fb{grid-template-columns:1fr}}

/* About the article now sits under the Bottom line (all screen sizes); the sidebar only has the pinned "On this page" card */
.about-under .about-card{margin:0}
.about-under .about-card .facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 2rem}
.about-under .about-card .facts li:first-child{grid-column:1 / -1}
.about-under .about-card .orig-link{width:100%}
@media(max-width:575.98px){.about-under .about-card .facts{grid-template-columns:1fr}}
/* "Read the original article" is only as wide as its text */
.orig-link,.about-under .about-card .orig-link{display:inline-flex;width:auto;padding:0 1.25rem}

#article-source,#comments{scroll-margin-top:24px}
