/* ================================================================
   Cshmg – "Bold Creative" Design System
   A completely new visual identity:
     Palette : Indigo #4f46e5 + Coral #f97316 on Lavender #f8f9ff
     Fonts   : Plus Jakarta Sans (body) + Playfair Display (headings)
     Shapes  : 16–24 px radii, soft shadows, gradient hero
   ================================================================ */

/* ---------- 1  Design Tokens ---------- */
:root {
  --bg:#f8f9ff;--bg2:#eef0ff;--bg3:#e8e6ff;
  --surface:#ffffff;--surface2:#f4f3ff;
  --fg:#1e1b4b;--fg2:#312e81;--fg-h:#0f0d2e;
  --muted:#64648b;--muted2:#9494b8;
  --border:#e0e0f0;--border2:#ededf8;
  --pri:#4f46e5;--pri-d:#3730a3;--pri-l:#818cf8;--pri-bg:rgba(79,70,229,.07);
  --acc:#f97316;--acc-d:#ea580c;--acc-l:#fb923c;--acc-bg:rgba(249,115,22,.07);
  --ok:#10b981;--ok-bg:rgba(16,185,129,.07);
  --danger:#ef4444;
  --fh:"Playfair Display",Georgia,serif;
  --fb:"Plus Jakarta Sans","Inter",ui-sans-serif,system-ui,sans-serif;
  --r-s:8px;--r-m:14px;--r-l:20px;--r-xl:24px;--r-pill:999px;
  --sh-s:0 1px 3px rgba(30,27,75,.05),0 1px 2px rgba(30,27,75,.03);
  --sh-m:0 4px 16px rgba(30,27,75,.07);
  --sh-l:0 12px 40px rgba(30,27,75,.10);
  --sh-xl:0 24px 60px rgba(30,27,75,.14);
  --max:1200px;
  --hdr-h:64px;
}

/* ---------- 2  Dark Mode ---------- */
.dark {
  --bg:#0c0a1d;--bg2:#141230;--bg3:#1a1840;
  --surface:#1e1b4b;--surface2:#252260;
  --fg:#e0e7ff;--fg2:#c7d2fe;--fg-h:#f0f0ff;
  --muted:#a5a5cc;--muted2:#7878a8;
  --border:#2e2b60;--border2:#252260;
  --pri:#818cf8;--pri-d:#6366f1;--pri-l:#a5b4fc;--pri-bg:rgba(129,140,248,.10);
  --acc:#fb923c;--acc-d:#f97316;--acc-l:#fdba74;--acc-bg:rgba(251,146,60,.10);
  --ok:#34d399;--ok-bg:rgba(52,211,153,.10);
  --sh-s:0 1px 3px rgba(0,0,0,.25);
  --sh-m:0 4px 16px rgba(0,0,0,.30);
  --sh-l:0 12px 40px rgba(0,0,0,.35);
  --sh-xl:0 24px 60px rgba(0,0,0,.40);
}

/* ---------- 3  Reset & Base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--fg);font-family:var(--fb);font-size:16px;line-height:1.7;font-weight:400;transition:background .3s,color .3s;overflow-x:hidden;min-height:100vh;display:flex;flex-direction:column;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;letter-spacing:-.01em}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none;transition:color .2s}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
ul,ol{list-style:none}
.i{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- 4  Scrollbar ---------- */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--pri);border-radius:3px}
.dark ::-webkit-scrollbar-thumb{background:var(--pri-d)}

/* ---------- 5  Layout Helpers ---------- */
.container{max-width:var(--max);margin:0 auto;padding:0 24px}
.container-narrow{max-width:780px;margin:0 auto;padding:0 24px}
@media(min-width:768px){.container,.container-narrow{padding:0 40px}}
.main{flex:1}

/* ---------- 6  Utility ---------- */
.font-serif,.font-heading{font-family:var(--fh)}
.text-primary{color:var(--pri)}.text-accent{color:var(--acc)}.text-muted{color:var(--muted)}
.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.line-clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sm-only{display:none}@media(min-width:768px){.sm-only{display:inline}}
.ad-slot{width:100%;text-align:center;padding:20px 0}

/* ---------- 7  Reading Progress ---------- */
.reading-progress{position:fixed;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,var(--pri),var(--acc));z-index:9999;transition:width .12s linear;border-radius:0 2px 2px 0}

/* ================================================================
   HEADER
   ================================================================ */
.site-header{background:var(--surface);border-bottom:1px solid var(--border2);transition:background .3s,border-color .3s,box-shadow .3s}
.site-header.scrolled{box-shadow:var(--sh-s)}
.header-inner{max-width:var(--max);margin:0 auto;padding:0 24px}
.header-row{display:flex;align-items:center;justify-content:space-between;height:var(--hdr-h)}
@media(min-width:768px){.header-inner{padding:0 40px}}

/* Brand */
.brand{display:flex;align-items:center;gap:10px}
.brand-logo{width:34px;height:34px;border-radius:var(--r-s);overflow:hidden;transition:transform .25s}
.brand:hover .brand-logo{transform:scale(1.06)}
.brand-logo img{width:100%;height:100%;object-fit:cover}
.brand-name{font-family:var(--fb);font-weight:800;font-size:20px;letter-spacing:-.03em;color:var(--fg-h)}

/* Desktop Nav */
.desktop-nav{display:none;align-items:center;gap:2px}
.desktop-nav a{padding:8px 14px;font-size:14px;font-weight:600;color:var(--muted);border-radius:var(--r-s);transition:color .2s,background .2s;letter-spacing:-.01em}
.desktop-nav a:hover{color:var(--fg-h);background:var(--pri-bg)}
.desktop-nav a[aria-current="page"]{color:var(--pri);background:var(--pri-bg);font-weight:700}
@media(min-width:1024px){.desktop-nav{display:flex}}

/* Header Actions */
.header-actions{display:flex;align-items:center;gap:6px}
.theme-toggle{width:38px;height:38px;border-radius:var(--r-s);display:inline-flex;align-items:center;justify-content:center;transition:background .2s}
.theme-toggle:hover{background:var(--pri-bg)}
.theme-toggle svg{width:18px;height:18px}
.theme-toggle .icon-sun{display:none;color:var(--acc)}.theme-toggle .icon-moon{display:block;color:var(--pri)}
.dark .theme-toggle .icon-sun{display:block}.dark .theme-toggle .icon-moon{display:none}
.menu-button{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:var(--r-s);transition:background .2s}
.menu-button:hover{background:var(--pri-bg)}.menu-button svg{width:20px;height:20px}
@media(min-width:1024px){.menu-button{display:none}}

/* ================================================================
   MOBILE NAV
   ================================================================ */
.mobile-nav-overlay{position:fixed;inset:0;z-index:110;background:rgba(15,13,46,.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .3s}
.mobile-nav-panel{position:fixed;top:0;right:0;z-index:120;width:300px;max-width:85vw;height:100vh;background:var(--surface);border-radius:var(--r-xl) 0 0 var(--r-xl);box-shadow:var(--sh-xl);overflow-y:auto;transform:translateX(100%);transition:transform .35s cubic-bezier(.4,0,.2,1)}
body.menu-open .mobile-nav-overlay{opacity:1;pointer-events:auto}
body.menu-open .mobile-nav-panel{transform:translateX(0)}
body.menu-open{overflow:hidden}
.mobile-nav-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border2)}
.mobile-nav-close{width:36px;height:36px;border-radius:var(--r-s);display:inline-flex;align-items:center;justify-content:center;transition:background .2s}
.mobile-nav-close:hover{background:var(--acc-bg)}.mobile-nav-close svg{width:18px;height:18px}
.mobile-nav-links{display:flex;flex-direction:column;padding:12px 16px;gap:2px}
.mobile-nav-links a{padding:14px 18px;font-size:15px;font-weight:600;border-radius:var(--r-m);transition:color .2s,background .2s}
.mobile-nav-links a:hover{background:var(--pri-bg);color:var(--pri)}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;background:var(--pri);color:#fff;font-family:var(--fb);font-weight:700;font-size:14px;border-radius:var(--r-pill);letter-spacing:-.01em;transition:background .2s,transform .15s,box-shadow .2s;box-shadow:0 4px 14px rgba(79,70,229,.30);word-break:break-all}
.btn-primary:hover{background:var(--pri-d);transform:translateY(-1px);box-shadow:0 6px 20px rgba(79,70,229,.35)}
.btn-primary svg{width:14px;height:14px;flex-shrink:0}

/* ================================================================
   SECTIONS
   ================================================================ */
.section-pad{padding:56px 0}@media(min-width:768px){.section-pad{padding:80px 0}}
.section-alt{background:var(--bg2);border-radius:var(--r-xl);margin:0 16px}@media(min-width:768px){.section-alt{margin:0 40px}}
.section-heading{margin-bottom:36px}
.section-heading .eyebrow{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--acc);margin-bottom:6px;padding:4px 12px;background:var(--acc-bg);border-radius:var(--r-pill)}
.section-heading h2{font-family:var(--fh);font-size:28px;font-weight:700;color:var(--fg-h);letter-spacing:-.02em;line-height:1.25}@media(min-width:768px){.section-heading h2{font-size:36px}}

/* ================================================================
   HERO  –  Full-width gradient with bold typography
   ================================================================ */
.hero{position:relative;overflow:hidden;padding:0}
.hero-bg{position:absolute;inset:0;background:linear-gradient(135deg,#1e1b4b 0%,#312e81 30%,#4f46e5 60%,#818cf8 100%);background-size:cover;background-position:center}
.hero-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 70% 20%,rgba(249,115,22,.20) 0%,transparent 60%),radial-gradient(ellipse at 20% 80%,rgba(129,140,248,.25) 0%,transparent 50%)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 0%,rgba(15,13,46,.30) 100%)}
.hero-fade{display:none}
.hero-content{position:relative;z-index:10;max-width:var(--max);margin:0 auto;padding:56px 24px 64px}@media(min-width:768px){.hero-content{padding:80px 40px 96px}}
.hero-grid{display:grid;grid-template-columns:1fr;gap:40px;align-items:center}@media(min-width:1024px){.hero-grid{grid-template-columns:1.1fr .9fr;gap:56px}}

/* Hero Card (left) */
.hero-card{display:block;border-radius:var(--r-xl);overflow:hidden;box-shadow:0 32px 64px -16px rgba(15,13,46,.50);transition:transform .4s,box-shadow .4s}
.hero-card:hover{transform:translateY(-6px);box-shadow:0 40px 80px -16px rgba(15,13,46,.55)}
.hero-card-media{position:relative;aspect-ratio:16/10}
.hero-card-media img{width:100%;height:100%;object-fit:cover}
.hero-card-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,13,46,.80),transparent 55%);pointer-events:none}
.hero-card-title{position:absolute;bottom:0;left:0;right:0;z-index:10;padding:28px;font-family:var(--fh);font-size:22px;font-weight:700;color:#fff;line-height:1.3;letter-spacing:-.02em}@media(min-width:768px){.hero-card-title{font-size:28px}}@media(min-width:1024px){.hero-card-title{font-size:32px;padding:36px}}

/* Hero Right */
.hero-left{display:none}
.hero-right{display:flex;flex-direction:column;justify-content:center}
@media(min-width:1024px){.hero-left{display:block}}
.hero-tag{display:inline-flex;align-items:center;gap:6px;padding:6px 16px;background:rgba(255,255,255,.12);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15);border-radius:var(--r-pill);font-size:12px;font-weight:700;color:var(--acc-l);letter-spacing:.08em;text-transform:uppercase;margin-bottom:20px;width:fit-content}
.hero-tag svg{width:14px;height:14px}
.hero-excerpt{color:rgba(224,231,255,.85);font-size:15px;line-height:1.8;margin-bottom:20px}@media(min-width:768px){.hero-excerpt{font-size:17px}}
.hero-meta{display:flex;align-items:center;gap:12px;font-size:13px;color:rgba(224,231,255,.55);margin-bottom:28px}
.hero-meta .dot{width:4px;height:4px;border-radius:var(--r-pill);background:rgba(224,231,255,.30)}.hero-meta svg{width:13px;height:13px}
.hero-cta{display:inline-flex;align-items:center;gap:10px;padding:14px 28px;background:var(--acc);color:#fff;font-weight:700;font-size:14px;border-radius:var(--r-pill);letter-spacing:-.01em;transition:background .2s,transform .15s,box-shadow .2s;box-shadow:0 6px 20px rgba(249,115,22,.35);width:fit-content}
.hero-cta:hover{background:var(--acc-d);transform:translateY(-2px);box-shadow:0 10px 28px rgba(249,115,22,.40)}.hero-cta svg{width:16px;height:16px}
.hero-eyebrow{display:none}

/* ================================================================
   CATEGORY PILLS
   ================================================================ */
.cat-strip{display:flex;gap:8px;overflow-x:auto;padding:24px 0 8px;scrollbar-width:none;-ms-overflow-style:none}
.cat-strip::-webkit-scrollbar{display:none}
.cat-pill{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;padding:10px 20px;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--r-pill);font-size:13px;font-weight:700;color:var(--muted);transition:all .2s;box-shadow:var(--sh-s)}
.cat-pill:hover{border-color:var(--pri);color:var(--pri);transform:translateY(-1px);box-shadow:var(--sh-m)}.cat-pill svg{width:14px;height:14px}
.cat-pill.active{background:var(--pri);color:#fff;border-color:var(--pri);box-shadow:0 4px 12px rgba(79,70,229,.25)}

/* ================================================================
   CARD GRID
   ================================================================ */
.card-grid{display:grid;grid-template-columns:1fr;gap:24px}@media(min-width:640px){.card-grid{grid-template-columns:repeat(2,1fr)}}@media(min-width:1024px){.card-grid{grid-template-columns:repeat(3,1fr)}}

/* Article Card */
.article-card{display:block;transition:transform .3s}.article-card:hover{transform:translateY(-6px)}
.article-card-inner{position:relative;height:100%;border-radius:var(--r-l);overflow:hidden;background:var(--surface);box-shadow:var(--sh-m);transition:box-shadow .3s}
.article-card:hover .article-card-inner{box-shadow:var(--sh-l)}
.article-card-inner::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--pri),var(--acc));border-radius:var(--r-l) var(--r-l) 0 0;z-index:2;opacity:0;transition:opacity .25s}
.article-card:hover .article-card-inner::before{opacity:1}
.card-image-wrap{position:relative;aspect-ratio:16/10;overflow:hidden}
.card-image-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.article-card:hover .card-image-wrap img{transform:scale(1.06)}
.card-hover-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,13,46,.45),transparent 55%);opacity:0;transition:opacity .3s}.article-card:hover .card-hover-shade{opacity:1}
.card-hover-arrow{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:var(--r-s);background:rgba(255,255,255,.95);display:flex;align-items:center;justify-content:center;opacity:0;transform:translate(4px,-4px);transition:opacity .3s,transform .3s;box-shadow:var(--sh-s)}
.article-card:hover .card-hover-arrow{opacity:1;transform:translate(0,0)}.card-hover-arrow svg{width:14px;height:14px;color:var(--pri)}
.card-body{padding:20px 22px 22px}
.card-body .card-cat{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--acc);margin-bottom:8px}
.card-body h3{font-family:var(--fh);font-size:17px;font-weight:700;line-height:1.35;color:var(--fg-h);margin-bottom:10px;letter-spacing:-.02em;transition:color .2s}@media(min-width:768px){.card-body h3{font-size:19px}}.article-card:hover .card-body h3{color:var(--pri)}
.card-body .card-excerpt{color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:14px}
.card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid var(--border2)}
.card-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted2)}.card-meta .dot{width:3px;height:3px;border-radius:var(--r-pill);background:var(--border)}.card-meta svg{width:12px;height:12px}

/* ================================================================
   EDITORS GRID  –  Magazine-style featured layout
   ================================================================ */
.editors-grid{display:grid;grid-template-columns:1fr;gap:24px}@media(min-width:1024px){.editors-grid{grid-template-columns:7fr 5fr;gap:28px}}
.editors-main{grid-column:span 1}@media(min-width:1024px){.editors-main{grid-column:span 1}}
.editors-side{grid-column:span 1;display:flex;flex-direction:column;gap:16px}

/* Main Featured Card */
.editors-main-card{display:flex;flex-direction:column;height:100%;border-radius:var(--r-l);overflow:hidden;background:var(--surface);box-shadow:var(--sh-m);transition:box-shadow .3s,transform .3s}
.editors-main-card:hover{box-shadow:var(--sh-l);transform:translateY(-4px)}
.editors-main-media{position:relative;aspect-ratio:16/9;overflow:hidden}
.editors-main-media img{width:100%;height:100%;object-fit:cover}
.editors-main-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,13,46,.75),transparent 55%)}
.editors-main-title{position:absolute;bottom:0;left:0;right:0;z-index:10;padding:24px;font-family:var(--fh);font-size:20px;font-weight:700;color:#fff;line-height:1.3;letter-spacing:-.02em}@media(min-width:768px){.editors-main-title{font-size:26px;padding:32px}}.editors-main-card:hover .editors-main-title{color:var(--acc-l)}
.editors-main-body{padding:22px 24px 24px}
.editors-main-body p{color:var(--muted);font-size:14px;line-height:1.7;margin-bottom:12px}
.editors-main-body .card-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted2)}.editors-main-body .card-meta svg{width:12px;height:12px}

/* Mini Card */
.mini-card{display:flex;gap:14px;padding:14px;border-radius:var(--r-m);background:var(--surface);box-shadow:var(--sh-m);transition:box-shadow .2s,transform .2s;flex:1}
.mini-card:hover{box-shadow:var(--sh-l);transform:translateX(4px)}
.mini-thumb{flex-shrink:0;width:88px;height:88px;border-radius:var(--r-s);overflow:hidden}.mini-thumb img{width:100%;height:100%;object-fit:cover}.mini-thumb .cover-fallback{width:100%;height:100%}
.mini-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.mini-body h3{font-family:var(--fh);font-size:14px;font-weight:700;line-height:1.4;color:var(--fg-h)}@media(min-width:768px){.mini-body h3{font-size:15px}}.mini-card:hover .mini-body h3{color:var(--pri)}
.mini-meta{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted2);margin-top:6px}.mini-meta svg{width:11px;height:11px}

/* ================================================================
   SIMPLE CARD
   ================================================================ */
.simple-card{display:block;height:100%;border-radius:var(--r-l);overflow:hidden;background:var(--surface);box-shadow:var(--sh-m);transition:box-shadow .25s,transform .25s}
.simple-card:hover{box-shadow:var(--sh-l);transform:translateY(-4px)}
.simple-card-media{position:relative;aspect-ratio:16/10;overflow:hidden}.simple-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.simple-card:hover .simple-card-media img{transform:scale(1.05)}
.simple-card-body{padding:18px 20px 20px}.simple-card-body h3{font-family:var(--fh);font-size:15px;font-weight:700;line-height:1.35;color:var(--fg-h);margin-bottom:8px}@media(min-width:768px){.simple-card-body h3{font-size:17px}}.simple-card:hover .simple-card-body h3{color:var(--pri)}.simple-card-body .mini-meta{font-size:11px}

/* ================================================================
   COVER FALLBACK
   ================================================================ */
.cover-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--pri-bg);position:relative}.cover-fallback svg{width:56px;height:56px;color:var(--pri);opacity:.30;position:relative;z-index:1}.cover-fallback .blur-icon{position:absolute;inset:0;margin:auto;width:80px;height:80px;color:var(--pri);opacity:.12;filter:blur(24px);z-index:0}


/* ================================================================
   CATEGORY PAGE
   ================================================================ */
.category-banner{position:relative;overflow:hidden;padding:48px 0 28px;background:linear-gradient(135deg,var(--pri-bg) 0%,var(--bg2) 50%,var(--acc-bg) 100%)}@media(min-width:768px){.category-banner{padding:72px 0 36px}}
.category-banner-inner{position:relative;z-index:10;max-width:var(--max);margin:0 auto;padding:0 24px}@media(min-width:768px){.category-banner-inner{padding:0 40px}}
.category-banner-blur{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.blur-circle{position:absolute;border-radius:50%;filter:blur(80px);opacity:.15}
.blur-circle-top{width:300px;height:300px;top:-80px;right:10%}
.blur-circle-bottom{width:250px;height:250px;bottom:-60px;left:5%}

/* Breadcrumbs */
.breadcrumbs{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);margin-bottom:28px;overflow-x:auto;white-space:nowrap}
.breadcrumbs a{display:inline-flex;align-items:center;gap:4px;font-weight:600}.breadcrumbs a:hover{color:var(--pri)}.breadcrumbs svg{width:13px;height:13px;flex-shrink:0}.breadcrumbs .current{color:var(--fg);font-weight:700}
.breadcrumbs-light{color:rgba(224,231,255,.60)}.breadcrumbs-light a:hover{color:#fff}.breadcrumbs-light .current{color:rgba(224,231,255,.90)}

/* Category Title */
.category-title-row{display:flex;align-items:flex-start;gap:18px;margin-bottom:16px}
.category-icon-box{width:56px;height:56px;flex-shrink:0;border-radius:var(--r-m);display:flex;align-items:center;justify-content:center;box-shadow:var(--sh-m)}.category-icon-box svg{width:28px;height:28px;color:#fff}@media(min-width:768px){.category-icon-box{width:64px;height:64px}.category-icon-box svg{width:32px;height:32px}}
.category-title-row h1{font-family:var(--fh);font-size:28px;font-weight:700;line-height:1.2;color:var(--fg-h);letter-spacing:-.03em;margin-bottom:8px}@media(min-width:768px){.category-title-row h1{font-size:38px}}@media(min-width:1024px){.category-title-row h1{font-size:44px}}
.category-title-row p{color:var(--muted);font-size:14px;line-height:1.7;max-width:640px}@media(min-width:768px){.category-title-row p{font-size:16px}}
.category-count{margin-top:20px;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.category-count span{padding:6px 16px;border-radius:var(--r-pill);background:var(--surface);box-shadow:var(--sh-s);font-weight:700}

/* Featured Article Card */
.featured-article{margin-bottom:32px}
.featured-card{display:grid;grid-template-columns:1fr;gap:0;border-radius:var(--r-l);overflow:hidden;background:var(--surface);box-shadow:var(--sh-m);transition:box-shadow .3s,transform .3s}.featured-card:hover{box-shadow:var(--sh-l);transform:translateY(-4px)}@media(min-width:1024px){.featured-card{grid-template-columns:7fr 5fr}}
.featured-media{position:relative;aspect-ratio:16/10;background:var(--pri-bg)}@media(min-width:1024px){.featured-media{aspect-ratio:auto;min-height:320px}}.featured-media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.featured-media .cover-fallback{position:absolute;inset:0}
.featured-media-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,13,46,.45),transparent 55%);pointer-events:none}@media(min-width:1024px){.featured-media-shade{background:linear-gradient(to right,rgba(15,13,46,.30),transparent 55%)}}
.featured-badge{position:absolute;top:16px;left:16px;display:inline-block;padding:5px 14px;font-size:11px;font-weight:800;color:#fff;border-radius:var(--r-pill);background:var(--acc);letter-spacing:.06em;text-transform:uppercase;box-shadow:0 4px 12px rgba(249,115,22,.30)}
.featured-body{padding:24px;display:flex;flex-direction:column;justify-content:center}@media(min-width:768px){.featured-body{padding:32px}}
.featured-body h2{font-family:var(--fh);font-size:20px;font-weight:700;line-height:1.35;margin-bottom:12px;transition:color .2s;letter-spacing:-.02em}@media(min-width:768px){.featured-body h2{font-size:24px}}.featured-card:hover .featured-body h2{color:var(--pri)}
.featured-body p{color:var(--muted);font-size:14px;line-height:1.7;margin-bottom:16px}
.featured-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);flex-wrap:wrap}.featured-meta span{display:inline-flex;align-items:center;gap:6px}.featured-meta svg{width:14px;height:14px}.featured-meta .dot{width:4px;height:4px;border-radius:var(--r-pill);background:var(--border)}

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination{margin-top:40px;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}@media(min-width:768px){.pagination{margin-top:56px}}
.pagination a,.pagination span{display:flex;align-items:center;justify-content:center;gap:4px;min-width:40px;height:40px;padding:0 14px;border-radius:var(--r-s);border:1.5px solid var(--border);font-size:14px;font-weight:700;transition:border-color .2s,background .2s,color .2s}
.pagination a:hover{border-color:var(--pri);background:var(--pri-bg);color:var(--pri)}
.pagination a.current{background:var(--pri);color:#fff;border-color:var(--pri);box-shadow:0 4px 12px rgba(79,70,229,.25)}
.pagination .disabled{color:var(--muted2);cursor:not-allowed;opacity:.5}.pagination svg{width:16px;height:16px}

/* Empty State */
.empty-state{text-align:center;padding:64px 0}.empty-state .empty-icon{width:80px;height:80px;border-radius:var(--r-l);background:var(--pri-bg);display:flex;align-items:center;justify-content:center;margin:0 auto 16px}.empty-state .empty-icon svg{width:40px;height:40px;color:var(--pri);opacity:.40}.empty-state p{color:var(--muted);font-size:14px}@media(min-width:768px){.empty-state p{font-size:18px}}

/* ================================================================
   ARTICLE PAGE
   ================================================================ */
.article-hero{position:relative;overflow:hidden;min-height:380px}@media(min-width:768px){.article-hero{min-height:440px}}
.article-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat}
.article-hero-shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,13,46,.92),rgba(30,27,75,.70) 50%,rgba(79,70,229,.40))}
.article-hero-fallback{position:absolute;inset:0;background:linear-gradient(135deg,#1e1b4b,#312e81 40%,#4f46e5)}
.article-hero-content{position:relative;z-index:10;max-width:780px;margin:0 auto;padding:48px 24px}@media(min-width:768px){.article-hero-content{padding:72px 40px}}
.article-hero-content h1{font-family:var(--fh);font-size:28px;font-weight:700;color:#fff;line-height:1.3;margin-bottom:24px;letter-spacing:-.03em}@media(min-width:768px){.article-hero-content h1{font-size:38px}}@media(min-width:1024px){.article-hero-content h1{font-size:46px}}
.article-lead{color:rgba(224,231,255,.80);font-size:14px;line-height:1.8;margin-bottom:24px;max-width:768px}@media(min-width:768px){.article-lead{font-size:17px}}
.article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:16px;font-size:12px;color:rgba(224,231,255,.55)}.article-meta span{display:inline-flex;align-items:center;gap:6px}.article-meta svg{width:14px;height:14px}.article-meta .dot{width:4px;height:4px;border-radius:var(--r-pill);background:rgba(224,231,255,.30)}
.article-body-wrap{max-width:780px;margin:0 auto;padding:40px 24px 56px}@media(min-width:768px){.article-body-wrap{padding:56px 40px 72px}}

/* Disclaimer */
.disclaimer{margin-top:40px;padding:20px;border-radius:var(--r-m);background:#fef3c7;border:1px solid #fde68a}.dark .disclaimer{background:rgba(69,50,10,.3);border-color:rgba(146,108,18,.5)}.disclaimer p{font-size:12px;color:#92400e;line-height:1.7}.dark .disclaimer p{color:#fcd34d}

/* ================================================================
   PROSE  –  Article Content Typography
   ================================================================ */
.prose{max-width:none}
.prose h1{font-family:var(--fh);font-size:1.8rem;font-weight:700;margin:2.5rem 0 1rem;color:var(--fg-h);line-height:1.3;letter-spacing:-.02em}
.prose h2{font-family:var(--fh);font-size:1.5rem;font-weight:700;margin:2rem 0 1rem;color:var(--fg-h);line-height:1.3;letter-spacing:-.02em}
.prose h3{font-family:var(--fh);font-size:1.2rem;font-weight:700;margin:1.5rem 0 .75rem;color:var(--fg-h);letter-spacing:-.01em}
.prose h4{font-weight:800;margin:1.25rem 0 .5rem;color:var(--fg-h)}
.prose p{margin-bottom:1.25rem;line-height:1.8;color:var(--muted)}.prose ul,.prose ol{margin-bottom:1.25rem;padding-left:1.5rem}.prose ul li{list-style:disc}.prose ol li{list-style:decimal}
.prose li{margin-bottom:.5rem;line-height:1.7;color:var(--muted)}.prose strong{color:var(--fg);font-weight:700}
.prose blockquote{border-left:4px solid var(--pri);padding:16px 24px;margin:24px 0;font-style:italic;color:var(--muted);background:var(--pri-bg);border-radius:0 var(--r-s) var(--r-s) 0}.dark .prose blockquote{color:var(--pri-l)}
.prose img{border-radius:var(--r-m);margin:24px 0;box-shadow:var(--sh-m)}
.prose a{color:var(--pri);text-decoration:underline;text-underline-offset:3px;font-weight:600}.prose a:hover{text-decoration-thickness:2px}.dark .prose a:hover{color:var(--pri-l)}
.prose code{background:var(--pri-bg);color:var(--pri-d);padding:.15em .4em;border-radius:4px;font-size:.875em;font-weight:700}.dark .prose code{background:rgba(129,140,248,.12);color:var(--pri-l)}
@media(max-width:768px){.prose h2{font-size:1.3rem}.prose h3{font-size:1.05rem}.prose p,.prose li{font-size:.95rem;line-height:1.75}}

/* ================================================================
   CONTENT PAGES  (about / contact / privacy / terms / 404)
   ================================================================ */
.content-section{margin-bottom:40px}@media(min-width:768px){.content-section{margin-bottom:56px}}
.content-page{max-width:780px;margin:0 auto;padding:40px 24px 56px}.content-page-contact{max-width:768px}@media(min-width:768px){.content-page{padding:56px 40px 72px}}
.content-hero{text-align:center;margin-bottom:48px}@media(min-width:768px){.content-hero{margin-bottom:64px}}
.content-hero .hero-icon-box{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:var(--r-l);background:linear-gradient(135deg,var(--pri),var(--acc));box-shadow:0 8px 24px rgba(79,70,229,.30);margin-bottom:24px}@media(min-width:768px){.content-hero .hero-icon-box{width:80px;height:80px}}.content-hero .hero-icon-box svg{width:32px;height:32px;color:#fff}@media(min-width:768px){.content-hero .hero-icon-box svg{width:40px;height:40px}}
.content-hero h1{font-family:var(--fh);font-size:30px;font-weight:700;margin-bottom:16px;letter-spacing:-.03em;color:var(--fg-h)}@media(min-width:768px){.content-hero h1{font-size:40px}}@media(min-width:1024px){.content-hero h1{font-size:48px}}
.content-hero .hero-sub{color:var(--muted);font-size:15px;line-height:1.7;max-width:672px;margin:0 auto}@media(min-width:768px){.content-hero .hero-sub{font-size:18px}}

/* Info Card */
.info-card{padding:24px;border-radius:var(--r-l);background:var(--surface);box-shadow:var(--sh-m)}@media(min-width:768px){.info-card{padding:32px}}
.info-card-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.info-card-head .icon-chip{width:40px;height:40px;border-radius:10px;background:var(--pri-bg);display:flex;align-items:center;justify-content:center}.info-card-head .icon-chip svg{width:20px;height:20px;color:var(--pri)}.info-card-head h2{font-family:var(--fh);font-size:20px;font-weight:700;color:var(--fg-h)}@media(min-width:768px){.info-card-head h2{font-size:24px}}
.info-card p{color:var(--muted);font-size:14px;line-height:1.7}@media(min-width:768px){.info-card p{font-size:16px}}.info-card p+p{margin-top:16px}

/* Value Grid */
.value-grid{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:640px){.value-grid{grid-template-columns:repeat(3,1fr);gap:24px}}
.value-card{padding:20px;border-radius:var(--r-l);background:var(--surface);box-shadow:var(--sh-m);transition:box-shadow .2s,transform .2s}@media(min-width:768px){.value-card{padding:28px}}.value-card:hover{box-shadow:var(--sh-l);transform:translateY(-3px)}
.value-card .icon-chip{width:40px;height:40px;border-radius:10px;background:var(--pri-bg);display:flex;align-items:center;justify-content:center;margin-bottom:14px}.value-card .icon-chip svg{width:20px;height:20px;color:var(--pri)}
.value-card h3{font-family:var(--fh);font-weight:700;font-size:16px;margin-bottom:8px;color:var(--fg-h)}@media(min-width:768px){.value-card h3{font-size:18px}}.value-card p{color:var(--muted);font-size:13px;line-height:1.7}@media(min-width:768px){.value-card p{font-size:14px}}

/* Cover Grid */
.cover-grid{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:640px){.cover-grid{grid-template-columns:repeat(2,1fr);gap:24px}}
.cover-card{padding:20px;border-radius:var(--r-l);background:var(--surface);box-shadow:var(--sh-m);transition:box-shadow .2s,transform .2s}@media(min-width:768px){.cover-card{padding:24px}}.cover-card:hover{box-shadow:var(--sh-l);transform:translateY(-3px)}
.cover-card>svg{width:28px;height:28px;color:var(--pri);margin-bottom:10px}@media(min-width:768px){.cover-card>svg{width:32px;height:32px;margin-bottom:12px}}
.cover-card h3{font-family:var(--fh);font-weight:700;font-size:16px;margin-bottom:6px;color:var(--fg-h)}@media(min-width:768px){.cover-card h3{font-size:18px;margin-bottom:8px}}.cover-card p{color:var(--muted);font-size:12px;line-height:1.7}@media(min-width:768px){.cover-card p{font-size:14px}}
.section-title-center{font-family:var(--fh);font-size:22px;font-weight:700;text-align:center;margin-bottom:24px;color:var(--fg-h)}@media(min-width:768px){.section-title-center{font-size:28px;margin-bottom:32px}}

/* Contact Card */
.contact-card{border-radius:var(--r-l);background:var(--surface);box-shadow:var(--sh-m);padding:24px;text-align:center}@media(min-width:768px){.contact-card{padding:40px}}
.contact-card h2{font-family:var(--fh);font-size:22px;font-weight:700;margin-bottom:12px;color:var(--fg-h)}@media(min-width:768px){.contact-card h2{font-size:28px}}
.contact-card .contact-desc{color:var(--muted);font-size:14px;line-height:1.7;max-width:512px;margin:0 auto 24px}@media(min-width:768px){.contact-card .contact-desc{font-size:16px}}
.content-updated{text-align:center;color:var(--muted2);font-size:13px}@media(min-width:768px){.content-updated{font-size:14px}}

/* Terms */
.terms-intro{margin-bottom:40px;padding:20px;border-radius:var(--r-m);background:var(--pri-bg);border:1px solid rgba(79,70,229,.12)}@media(min-width:768px){.terms-intro{padding:24px}}.terms-intro p{font-size:14px;line-height:1.7}@media(min-width:768px){.terms-intro p{font-size:16px}}
.terms-important{padding:16px;border-radius:var(--r-s);background:#fef3c7;border:1px solid #fde68a;margin-bottom:16px}.dark .terms-important{background:rgba(69,50,10,.3);border-color:rgba(146,108,18,.5)}.terms-important .important-title{font-weight:800;font-size:14px;margin-bottom:8px}.terms-important p{font-size:14px;line-height:1.7}@media(min-width:768px){.terms-important p{font-size:16px}}
.contact-box{padding:20px;border-radius:var(--r-s);background:var(--pri-bg);border:1px solid rgba(79,70,229,.12)}.contact-box p{font-size:14px;line-height:1.7}

/* ================================================================
   FOOTER  –  Dark Indigo with rounded top corners
   ================================================================ */
.site-footer{background:linear-gradient(180deg,#1e1b4b,#0f0d2e);color:#c7d2fe;border-radius:var(--r-xl) var(--r-xl) 0 0}
.footer-inner{max-width:var(--max);margin:0 auto;padding:48px 24px}@media(min-width:768px){.footer-inner{padding:64px 40px}}
.footer-grid{display:grid;grid-template-columns:1fr;gap:32px 16px}@media(min-width:1024px){.footer-grid{grid-template-columns:repeat(2,1fr);gap:32px 48px}}
.footer-brand{display:flex;align-items:center;gap:6px;margin-bottom:16px}.footer-brand .brand-logo{width:28px;height:28px;border-radius:6px;overflow:hidden}.footer-brand .brand-logo img{width:100%;height:100%}.footer-brand span{font-family:var(--fb);font-weight:800;font-size:18px;color:#fff}.footer-brand .wise{color:var(--acc-l)}
.footer-desc{font-size:14px;line-height:1.7;color:#a5b4fc;max-width:320px;margin-bottom:16px}
.footer-title{font-weight:800;font-size:12px;color:#fff;margin-bottom:16px;text-transform:uppercase;letter-spacing:.08em}
.footer-links{display:flex;flex-direction:column;gap:10px}.footer-links a{font-size:14px;color:#c7d2fe;display:inline-flex;align-items:center;gap:4px;transition:color .2s}.footer-links a:hover{color:var(--acc-l)}.footer-links a svg{width:12px;height:12px;opacity:0;transition:opacity .2s}.footer-links a:hover svg{opacity:1}
.footer-bottom{margin-top:40px;padding-top:24px;border-top:1px solid rgba(255,255,255,.10);display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:12px}@media(min-width:768px){.footer-bottom{flex-direction:row}}.footer-bottom p{font-size:12px;color:#818cf8}.footer-bottom .tagline{display:inline-flex;align-items:center;gap:4px}

/* ================================================================
   SCROLL TOP BUTTON
   ================================================================ */
.scroll-top{position:fixed;bottom:32px;right:32px;z-index:40;width:48px;height:48px;padding:0;border-radius:var(--r-pill);background:var(--pri);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(79,70,229,.35);transition:background .3s,opacity .3s,transform .3s;opacity:0;pointer-events:none;transform:translateY(8px)}
.scroll-top.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}.scroll-top:hover{background:var(--pri-d);box-shadow:0 10px 28px rgba(79,70,229,.45)}.scroll-top svg{width:20px;height:20px}

/* ================================================================
   404 PAGE
   ================================================================ */
.notfound-card{border-radius:var(--r-l);background:var(--surface);box-shadow:var(--sh-m);text-align:center;padding:48px 24px}
.notfound-card .code{color:var(--acc);font-weight:800;font-size:14px;letter-spacing:.12em;margin-bottom:8px}
.notfound-card h1{font-family:var(--fh);font-size:26px;font-weight:700;margin-bottom:8px;color:var(--fg-h)}
.notfound-card p{color:var(--muted);font-size:14px;margin-bottom:24px}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in-up{animation:fadeInUp .5s ease forwards}
