/* Self-hosted fonts (SIL OFL): Inter (UI/body), Anek Latin (headings), Anek Devanagari (Hindi) */
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:italic;font-display:swap;font-weight:100 900;src:url(../fonts/inter-latin-wght-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F}
@font-face{font-family:"Anek Latin";font-style:normal;font-display:swap;font-weight:100 800;src:url(../fonts/anek-latin-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Anek Latin";font-style:normal;font-display:swap;font-weight:100 800;src:url(../fonts/anek-latin-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Anek Devanagari";font-style:normal;font-display:swap;font-weight:100 800;src:url(../fonts/anek-devanagari-devanagari-wght-normal.woff2) format("woff2");unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF}
@font-face{font-family:"Anek Devanagari";font-style:normal;font-display:swap;font-weight:100 800;src:url(../fonts/anek-devanagari-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+FEFF,U+FFFD}
/* Minimal grid + utilities (subset of Bootstrap 5.3 class names, so templates stay familiar) */
*,*::before,*::after{box-sizing:border-box}
body{margin:0}
.container{width:100%;max-width:1240px;margin-inline:auto;padding-inline:16px}
@media (min-width:768px){.container{padding-inline:24px}}
.row{--gx:1.5rem;--gy:0;display:flex;flex-wrap:wrap;margin-inline:calc(var(--gx) * -.5);margin-top:calc(var(--gy) * -1)}
.row>*{flex-shrink:0;width:100%;max-width:100%;padding-inline:calc(var(--gx) * .5);margin-top:var(--gy)}
.g-4{--gx:1.5rem;--gy:1.5rem}
.col-6{flex:0 0 auto;width:50%}
@media (min-width:992px){.col-lg-2{flex:0 0 auto;width:16.6667%}.col-lg-4{flex:0 0 auto;width:33.3333%}.col-lg-5{flex:0 0 auto;width:41.6667%}.col-lg-7{flex:0 0 auto;width:58.3333%}.col-lg-8{flex:0 0 auto;width:66.6667%}.d-lg-none{display:none!important}}
.d-none{display:none!important}.d-flex{display:flex!important}
@media (min-width:768px){.d-md-inline{display:inline!important}}
.align-items-center{align-items:center!important}.gap-3{gap:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mb-0{margin-bottom:0!important}.mb-4{margin-bottom:1.5rem!important}.small{font-size:.875rem}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;line-height:1.25}
p{margin-top:0;margin-bottom:1rem}
ul,ol{padding-left:2rem;margin-top:0;margin-bottom:1rem}
button,input{font:inherit}
button{cursor:pointer}
.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}
/* PSC Expert — editorial theme. Mobile-first, light/dark via [data-theme]. */
:root{
  --bg:#ffffff; --surface:#f7f8fa; --surface-2:#eef1f5; --text:#1b1f27; --muted:#5b6474; --line:#e3e7ee;
  --brand:#0b3d91; --brand-ink:#082b66; --accent:#c2410c; --accent-soft:#fff1e8; --link:#0b3d91;
  --radius:12px; --shadow:0 1px 2px rgba(16,24,40,.06),0 4px 16px rgba(16,24,40,.06);
  --serif: "Anek Latin", "Anek Devanagari", system-ui, "Segoe UI", sans-serif;
  --sans: "Inter", "Anek Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hindi: "Anek Devanagari", "Inter", system-ui, sans-serif;
}
[data-theme="dark"]{
  --bg:#0f1218; --surface:#171b23; --surface-2:#1e2430; --text:#e7eaf0; --muted:#9aa4b5; --line:#2a3140;
  --brand:#8fb4ff; --brand-ink:#b9cfff; --accent:#ff9a62; --accent-soft:#2a1d16; --link:#9cc0ff;
  --shadow:0 1px 2px rgba(0,0,0,.4);
}
html{scroll-behavior:smooth;scroll-padding-top:120px}
body{background:var(--bg);color:var(--text);font-family:var(--sans);font-size:1rem;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:4px}
img{max-width:100%;height:auto}
.muted{color:var(--muted)}
.skip-link{position:absolute;left:-999px;top:0;background:var(--brand);color:#fff;padding:.5rem 1rem;z-index:1000}
.skip-link:focus{left:1rem}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Top bar + ticker */
.topbar{background:var(--brand-ink);color:#dfe8ff;font-size:.82rem}
[data-theme="dark"] .topbar{background:#0a0d12}
.topbar .container{min-height:34px}
.ticker{display:flex;align-items:center;gap:.75rem;min-width:0;flex:1}
.ticker-label{background:var(--accent);color:#fff;font-weight:700;padding:.15rem .55rem;border-radius:4px;white-space:nowrap;font-size:.75rem;text-transform:uppercase;letter-spacing:.04em}
.ticker-track{overflow:hidden;flex:1;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.ticker-items{display:inline-flex;gap:2.5rem;white-space:nowrap;animation:tick 60s linear infinite;padding-left:100%}
.ticker-items a{color:#fff}
.ticker:hover .ticker-items{animation-play-state:paused}
@keyframes tick{to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){.ticker-items{animation:none;padding-left:0}.ticker-track{overflow-x:auto}}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:1rem;min-height:68px}
.brand{display:flex;align-items:center;gap:.6rem;color:var(--text);text-decoration:none!important;flex-shrink:0}
.brand img{border-radius:8px}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-name{font-family:var(--serif);font-weight:800;font-size:1.45rem;color:var(--brand)}
.brand-tag{font-size:.72rem;color:var(--muted);letter-spacing:.02em}
.header-search{flex:1;max-width:460px;margin-left:auto;display:none;position:relative}
.header-search input{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:999px;padding:.55rem 2.6rem .55rem 1rem;font-size:.92rem}
.header-search button{position:absolute;right:.35rem;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--muted);padding:.4rem}
.header-actions{display:flex;gap:.25rem;margin-left:auto}
.icon-btn{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;width:40px;height:40px;display:grid;place-items:center}
@media (min-width:768px){.header-search{display:block}.header-actions{margin-left:0}}

.main-nav{border-top:1px solid var(--line);background:var(--bg)}
.nav-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:.25rem}
.nav-list::-webkit-scrollbar{display:none}
.nav-list>li{position:relative}
.nav-list a{display:block;padding:.7rem .8rem;color:var(--text);font-weight:600;font-size:.92rem;white-space:nowrap}
.nav-list a:hover{color:var(--accent);text-decoration:none}
.nav-list .sub{display:none;position:absolute;left:0;top:100%;min-width:240px;list-style:none;margin:0;padding:.4rem;background:var(--bg);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);z-index:60}
.nav-list .sub a{font-weight:500;padding:.45rem .7rem;border-radius:6px}
.nav-list .sub a:hover{background:var(--surface)}
@media (min-width:992px){.nav-list{overflow:visible;flex-wrap:wrap}.nav-list>li.has-sub:hover>.sub,.nav-list>li.has-sub:focus-within>.sub{display:block}}
@media (max-width:991.98px){
  .main-nav{display:none}
  .main-nav.open{display:block}
  .nav-list{flex-direction:column;overflow:visible}
  .nav-list .sub{display:block;position:static;border:0;box-shadow:none;padding:0 0 0 1rem}
}

/* Shared */
.kicker{display:inline-block;color:var(--accent);font-weight:700;font-size:.74rem;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.3rem}
.meta{color:var(--muted);font-size:.8rem}
.img-fallback{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(135deg,var(--surface-2),var(--surface));color:var(--brand);font-family:var(--serif);font-size:2.4rem;font-weight:800}
.section-head{display:flex;align-items:baseline;justify-content:space-between;border-bottom:2px solid var(--text);margin-bottom:1rem;padding-bottom:.35rem}
.section-head h2{font-family:var(--serif);font-size:1.35rem;font-weight:800;margin:0}
.section-head a{font-size:.85rem;font-weight:600}
.home-section{margin:2rem 0}

/* Hero */
.home-hero{margin-top:1.5rem}
.hero-card{background:var(--surface);border-radius:var(--radius);overflow:hidden;height:100%}
.hero-media{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--surface-2)}
.hero-media img,.hero-media picture{width:100%;height:100%;object-fit:cover;display:block}
.hero-body{padding:1.1rem 1.25rem 1.4rem}
.hero-title{font-family:var(--serif);font-weight:800;font-size:clamp(1.4rem,2.6vw,2.05rem);line-height:1.2;margin:.1rem 0 .5rem}
.hero-title a{color:var(--text)}
.hero-excerpt{color:var(--muted);margin-bottom:.5rem}
.hero-side{display:flex;flex-direction:column;gap:1rem}

/* Cards */
.grid-cards{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media (min-width:576px){.grid-cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:992px){.grid-cards:not(.grid-2){grid-template-columns:repeat(2,1fr)}}
.a-card{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s}
.a-card:hover{box-shadow:var(--shadow)}
.a-card-media{display:block;aspect-ratio:16/9;background:var(--surface-2);overflow:hidden}
.a-card-media img,.a-card-media picture{width:100%;height:100%;object-fit:cover;display:block}
.a-card-body{padding:.85rem 1rem 1rem}
.a-card-title{font-family:var(--serif);font-size:1.08rem;font-weight:700;line-height:1.3;margin:0 0 .35rem}
.a-card-title a,.list-title a,.mini-card a{color:var(--text)}
.list-card{display:grid;grid-template-columns:120px 1fr;gap:.9rem;align-items:start}
@media (min-width:576px){.list-card{grid-template-columns:160px 1fr}}
.list-media{display:block;aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:var(--surface-2)}
.list-media img,.list-media picture{width:100%;height:100%;object-fit:cover;display:block}
.list-media .img-fallback{font-size:1.6rem}
.list-title{font-family:var(--serif);font-size:1.02rem;font-weight:700;line-height:1.3;margin:0 0 .25rem}
.list-excerpt{color:var(--muted);font-size:.9rem;margin:0 0 .25rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.list-stack{display:flex;flex-direction:column;gap:1.25rem}
.section-split{display:grid;gap:1.25rem}
@media (min-width:768px){.section-split{grid-template-columns:1fr 1fr}}
.section-list{display:flex;flex-direction:column;gap:1rem}
.section-list .list-card{grid-template-columns:96px 1fr}
.section-list .list-excerpt{display:none}
.mini-card{padding:.6rem 0;border-bottom:1px solid var(--line)}
.mini-card a{font-weight:600;line-height:1.35}

/* Sidebar */
.sidebar{display:flex;flex-direction:column;gap:1.25rem}
@media (min-width:992px){.sidebar{padding-top:2rem}}
.side-box{background:var(--surface);border-radius:var(--radius);padding:1.1rem 1.2rem}
.side-h{font-family:var(--serif);font-size:1.1rem;font-weight:800;margin:0 0 .5rem}
.popular-list{counter-reset:p;list-style:none;padding:0;margin:0}
.popular-list li{counter-increment:p;display:grid;grid-template-columns:2rem 1fr;align-items:start}
.popular-list li::before{content:counter(p);font-family:var(--serif);font-weight:800;font-size:1.4rem;color:var(--accent);line-height:1.6}

/* Newsletter */
.nl-row{display:flex;gap:.4rem}
.nl-row input{flex:1;min-width:0;border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:8px;padding:.55rem .75rem}
.nl-row button,.search-big button{border:0;background:var(--accent);color:#fff;font-weight:700;border-radius:8px;padding:.55rem 1rem}
.nl-msg{font-size:.85rem;margin:.4rem 0 0;min-height:1.2em}

/* Article */
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem;padding:0;margin:1.1rem 0 .5rem;font-size:.82rem;color:var(--muted)}
.crumbs li+li::before{content:"›";margin-right:.3rem}
.article-head{margin-bottom:1rem}
.article-title{font-family:var(--serif);font-weight:800;font-size:clamp(1.65rem,3.6vw,2.6rem);line-height:1.18;margin:.15rem 0 .7rem}
.article-meta{display:flex;flex-wrap:wrap;gap:.35rem 1.1rem;color:var(--muted);font-size:.86rem}
.archive-note{background:var(--accent-soft);border-left:4px solid var(--accent);padding:.6rem .9rem;border-radius:6px;font-size:.88rem;margin-top:.9rem}
.article-figure{margin:0 0 1.25rem}
.article-figure img,.article-figure picture{width:100%;border-radius:var(--radius);display:block}
.article-figure figcaption{font-size:.82rem;color:var(--muted);margin-top:.4rem}
.toc{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:.8rem 1.1rem;margin:0 0 1.5rem}
.toc summary{font-weight:700;cursor:pointer}
.toc ol{margin:.5rem 0 0;padding-left:1.2rem}
.toc .toc-l3{margin-left:1rem;list-style:circle}
.article-body{font-size:1.08rem;line-height:1.78;overflow-wrap:anywhere}
.article-body:lang(hi),.article[lang="hi"] .article-body{font-size:1.12rem;line-height:1.95}
.article-body h2{font-family:var(--serif);font-weight:800;font-size:1.55rem;margin:2rem 0 .8rem;line-height:1.3}
.article-body h3{font-family:var(--serif);font-weight:700;font-size:1.25rem;margin:1.6rem 0 .6rem}
.article-body h1{font-size:1.6rem;font-family:var(--serif)}
.article-body img{border-radius:8px;height:auto}
.article-body blockquote{border-left:4px solid var(--brand);padding:.3rem 1rem;color:var(--muted);margin:1.2rem 0}
.article-body table{width:100%;border-collapse:collapse;font-size:.95rem}
.article-body th,.article-body td{border:1px solid var(--line);padding:.5rem .6rem;vertical-align:top}
.article-body th{background:var(--surface)}
.article-body .table-responsive{margin:1rem 0}
.article-body figure{margin:1.2rem 0}
.article-body figcaption{font-size:.85rem;color:var(--muted)}
.article-body [style*="color: #ff0000"]{color:var(--accent)!important}
.faq,.sources,.related{margin-top:2.25rem}
.faq h2,.sources h2,.related h2{font-family:var(--serif);font-size:1.4rem;font-weight:800}
.faq-item{border:1px solid var(--line);border-radius:10px;padding:.7rem 1rem;margin-bottom:.5rem}
.faq-item summary{font-weight:600;cursor:pointer}
.faq-item div{margin-top:.5rem;color:var(--muted)}
.sources ol{font-size:.92rem;padding-left:1.2rem}
.tag-list{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1.5rem}
.tag-list a{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.2rem .7rem;font-size:.82rem;color:var(--text)}
.share{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:1.25rem;font-size:.88rem}
.share a{border:1px solid var(--line);border-radius:8px;padding:.25rem .65rem;color:var(--text)}

/* Archive */
.archive-head{margin:.5rem 0 1.5rem}
.archive-head h1{font-family:var(--serif);font-weight:800;font-size:clamp(1.6rem,3.2vw,2.3rem)}
.archive-desc{color:var(--muted);max-width:60ch}
.search-big{display:flex;gap:.5rem;max-width:560px;margin:.75rem 0}
.search-big input{flex:1;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:8px;padding:.6rem .8rem}
.pager{display:flex;justify-content:space-between;align-items:center;margin:2rem 0;font-size:.92rem}
.pager a{font-weight:700}
.empty{padding:2rem;background:var(--surface);border-radius:var(--radius);color:var(--muted)}
.notfound{padding:3rem 0}
.notfound h1{font-family:var(--serif);font-weight:800}

/* Ads: reserved space limits layout shift */
.ad-wrap{margin:1.25rem auto}
.ad-slot{text-align:center;min-height:100px;margin:1.5rem 0}
.ad-sidebar,.ad-side .ad-slot{min-height:250px}
.ad-label{display:block;font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.2rem}

/* Footer */
.site-footer{background:var(--surface);border-top:1px solid var(--line);margin-top:3rem;padding:2.5rem 0 1.2rem;font-size:.92rem}
.footer-brand{font-family:var(--serif);font-weight:800;font-size:1.35rem;color:var(--brand)}
.footer-about{color:var(--muted);margin-top:.4rem}
.footer-h{font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700;margin-bottom:.6rem}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin:.3rem 0}
.footer-links a{color:var(--text)}
.footer-bottom{border-top:1px solid var(--line);margin-top:2rem;padding-top:1rem;color:var(--muted);font-size:.82rem}

/* ===================== v2: study hub + refreshed UI ===================== */
:root{--accent-2:#0f766e;--gold:#b45309;--grad:linear-gradient(135deg,#0b3d91 0%,#1e40af 45%,#0f766e 100%)}
[data-theme="dark"]{--grad:linear-gradient(135deg,#0b1b3a 0%,#13245a 50%,#0b3b37 100%)}
body{font-size:1.02rem}
.site-header{box-shadow:0 1px 0 var(--line)}
.site-header.scrolled{box-shadow:0 6px 20px rgba(16,24,40,.08)}
.nav-list a{border-bottom:3px solid transparent}
.nav-list a:hover,.nav-list a[aria-current]{color:var(--brand);border-bottom-color:var(--accent);text-decoration:none}
.nav-list .nav-hl>a{color:var(--accent-2)}
.progress{position:fixed;top:0;left:0;height:3px;background:var(--accent);width:0;z-index:100;transition:width .1s linear}

/* Hero band */
.hero-band{background:var(--grad);color:#fff;padding:2.6rem 0 2.2rem;position:relative;overflow:hidden}
.hero-band::after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.12),transparent);pointer-events:none}
.hero-band h1{font-family:var(--serif);font-weight:800;font-size:clamp(1.8rem,4.2vw,2.9rem);line-height:1.15;margin:0 0 .6rem;max-width:22ch}
.hero-band p.lead{font-size:1.08rem;opacity:.92;max-width:60ch;margin-bottom:1.2rem}
.hero-search{display:flex;max-width:620px;background:#fff;border-radius:14px;padding:.35rem;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.hero-search input{flex:1;border:0;outline:0;padding:.75rem .9rem;font-size:1rem;color:#1b1f27;background:transparent;min-width:0}
.hero-search button{border:0;border-radius:10px;background:var(--accent);color:#fff;font-weight:700;padding:.6rem 1.2rem}
.quick-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.quick-chips a{display:inline-flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);color:#fff;border-radius:999px;padding:.38rem .85rem;font-weight:600;font-size:.9rem}
.quick-chips a:hover{background:rgba(255,255,255,.24);text-decoration:none}
.hero-stats{display:flex;flex-wrap:wrap;gap:1.6rem;margin-top:1.4rem;font-size:.9rem;opacity:.95}
.hero-stats strong{display:block;font-size:1.5rem;font-family:var(--serif)}

/* Exam cards */
.exam-strip{margin-top:-1.4rem;position:relative;z-index:2}
.exam-grid{display:grid;gap:.9rem;grid-template-columns:repeat(2,1fr)}
@media (min-width:768px){.exam-grid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1100px){.exam-grid{grid-template-columns:repeat(6,1fr)}}
.exam-card{display:flex;flex-direction:column;gap:.25rem;background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:1rem;box-shadow:var(--shadow);color:var(--text);transition:transform .15s,border-color .15s}
.exam-card:hover{transform:translateY(-2px);border-color:var(--brand);text-decoration:none}
.exam-badge{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-weight:800;color:#fff;background:var(--brand);font-size:.8rem;letter-spacing:.02em}
.exam-card:nth-child(2) .exam-badge{background:var(--accent)}
.exam-card:nth-child(3) .exam-badge{background:var(--accent-2)}
.exam-card:nth-child(4) .exam-badge{background:#7c3aed}
.exam-card:nth-child(5) .exam-badge{background:var(--gold)}
.exam-card:nth-child(6) .exam-badge{background:#be123c}
.exam-card strong{font-size:1rem;margin-top:.4rem}
.exam-card span{font-size:.8rem;color:var(--muted)}

/* Subject tiles */
.subject-grid{display:grid;gap:.9rem;grid-template-columns:repeat(2,1fr)}
@media (min-width:768px){.subject-grid{grid-template-columns:repeat(4,1fr)}}
.subject-tile{display:flex;gap:.8rem;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:.9rem 1rem;color:var(--text)}
.subject-tile:hover{border-color:var(--accent-2);text-decoration:none;background:var(--bg)}
.subject-ico{flex-shrink:0;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-weight:800;font-size:1.05rem;font-family:var(--serif)}
.subject-tile b{display:block;line-height:1.2}
.subject-tile small{color:var(--muted)}

/* Study pages */
.page-head{background:var(--surface);border-bottom:1px solid var(--line);padding:1.4rem 0 1.6rem;margin-bottom:1.5rem}
.page-head h1{font-family:var(--serif);font-weight:800;font-size:clamp(1.6rem,3.4vw,2.4rem);margin:.2rem 0 .4rem}
.page-head p{color:var(--muted);max-width:70ch;margin:0}
.pill{display:inline-flex;align-items:center;gap:.3rem;border-radius:999px;padding:.18rem .65rem;font-size:.78rem;font-weight:700;background:var(--surface-2);color:var(--text);border:1px solid var(--line)}
.pill-q{background:#fef3c7;color:#92400e;border-color:#fde68a}
.pill-m{background:#dcfce7;color:#166534;border-color:#bbf7d0}
[data-theme="dark"] .pill-q{background:#3b2a06;color:#fcd34d;border-color:#5b4209}
[data-theme="dark"] .pill-m{background:#0b3320;color:#86efac;border-color:#14532d}
.pattern-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;font-size:.94rem}
.pattern-table th,.pattern-table td{padding:.65rem .8rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.pattern-table th{background:var(--surface);font-weight:700}
.pattern-table tr:last-child td{border-bottom:0}
.stage-h{display:flex;align-items:center;gap:.6rem;font-family:var(--serif);font-weight:800;font-size:1.4rem;margin:2rem 0 .8rem}
.stage-h::before{content:"";width:6px;height:1.4rem;border-radius:3px;background:var(--accent)}
.paper-card{border:1px solid var(--line);border-radius:14px;margin-bottom:1rem;background:var(--bg);overflow:hidden}
.paper-card>summary{list-style:none;cursor:pointer;padding:1rem 1.1rem;display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:center;justify-content:space-between}
.paper-card>summary::-webkit-details-marker{display:none}
.paper-card>summary h3{font-family:var(--serif);font-size:1.12rem;font-weight:800;margin:0}
.paper-card[open]>summary{border-bottom:1px solid var(--line);background:var(--surface)}
.paper-meta{display:flex;flex-wrap:wrap;gap:.35rem}
.paper-body{padding:1rem 1.1rem}
.unit{padding:.75rem 0;border-bottom:1px dashed var(--line)}
.unit:last-child{border-bottom:0}
.unit-t{font-weight:700;margin:0 0 .25rem}
.unit-d{color:var(--muted);font-size:.95rem;margin:0}
.unit-links{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.5rem}
.unit-links a{display:inline-flex;align-items:center;gap:.3rem;font-size:.84rem;font-weight:600;border-radius:8px;padding:.25rem .6rem;background:var(--accent-soft);color:var(--accent)}
.unit-links a.old{background:var(--surface-2);color:var(--link)}
.unit-links a:hover{text-decoration:none;filter:brightness(.95)}
.unit .unit{padding-left:1rem;border-left:2px solid var(--line);border-bottom:0}
.source-note{font-size:.84rem;color:var(--muted);background:var(--surface);border-radius:10px;padding:.7rem .9rem;margin-top:1.2rem}
.cta-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.btn-p,.btn-s{display:inline-flex;align-items:center;gap:.4rem;border-radius:10px;padding:.55rem 1rem;font-weight:700;font-size:.92rem}
.btn-p{background:var(--brand);color:#fff}
.btn-s{background:var(--surface-2);color:var(--text);border:1px solid var(--line)}
.btn-p:hover,.btn-s:hover{text-decoration:none;filter:brightness(1.05)}

/* Note page */
.note-wrap{display:grid;gap:2rem;grid-template-columns:1fr}
@media (min-width:1100px){.note-wrap{grid-template-columns:240px minmax(0,1fr) 300px}}
.note-toc{display:none}
@media (min-width:1100px){.note-toc{display:block;position:sticky;top:130px;align-self:start;max-height:calc(100vh - 150px);overflow:auto;font-size:.88rem}}
.note-toc h2{font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:.5rem}
.note-toc a{display:block;padding:.28rem .6rem;border-left:2px solid var(--line);color:var(--muted)}
.note-toc a.active,.note-toc a:hover{border-left-color:var(--accent);color:var(--text);text-decoration:none}
.note-toc .l3{padding-left:1.2rem;font-size:.84rem}
.in-syllabus{display:flex;flex-wrap:wrap;gap:.4rem;margin:.8rem 0 0}
.in-syllabus a{font-size:.8rem;font-weight:700;border-radius:999px;padding:.2rem .7rem;background:#e0ecff;color:#0b3d91}
[data-theme="dark"] .in-syllabus a{background:#13245a;color:#bcd3ff}
.keybox{background:linear-gradient(180deg,var(--accent-soft),transparent);border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:12px;padding:1rem 1.2rem;margin:1.2rem 0 1.6rem}
.keybox h2{font-family:var(--sans);font-size:1rem;font-weight:800;margin:0 0 .5rem;text-transform:uppercase;letter-spacing:.05em;color:var(--accent)}
.keybox ul{margin:0;padding-left:1.1rem}
.keybox li{margin:.3rem 0}
.article-body .tip,.article-body .note-box{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.8rem 1rem;margin:1.2rem 0}
.article-body .tip::before{content:"Exam tip";display:block;font-weight:800;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--accent-2);margin-bottom:.25rem}
.article-body .mnemonic{background:#fef9c3;border-radius:10px;padding:.7rem .9rem;border:1px dashed #eab308;color:#422006}
[data-theme="dark"] .article-body .mnemonic{background:#3a2f05;color:#fde68a}
.mcq-wrap{margin-top:2.2rem}
.mcq-wrap h2{font-family:var(--serif);font-weight:800;font-size:1.4rem}
.mcq-score{font-weight:700;color:var(--accent-2);margin:.3rem 0 1rem}
.mcq{border:1px solid var(--line);border-radius:14px;padding:1rem 1.1rem;margin-bottom:.9rem;background:var(--bg)}
.mcq-q{font-weight:700;margin:0 0 .7rem}
.mcq-opts{display:grid;gap:.45rem}
.mcq-opt{text-align:left;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;padding:.55rem .8rem;font-size:.96rem}
.mcq-opt:hover{border-color:var(--brand)}
.mcq-opt.is-right{background:#dcfce7;border-color:#22c55e;color:#14532d}
.mcq-opt.is-wrong{background:#fee2e2;border-color:#ef4444;color:#7f1d1d}
.mcq.answered .mcq-opt{cursor:default}
.mcq-explain{margin-top:.7rem;font-size:.93rem;color:var(--muted);border-top:1px dashed var(--line);padding-top:.6rem}
.note-nav{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:2rem}
.note-nav a{border:1px solid var(--line);border-radius:12px;padding:.8rem 1rem;color:var(--text);font-weight:600}
.note-nav a small{display:block;color:var(--muted);font-weight:500}
.note-nav a:hover{border-color:var(--brand);text-decoration:none}
.note-nav .next{text-align:right}
.side-list a{display:block;padding:.45rem 0;border-bottom:1px solid var(--line);color:var(--text);font-size:.92rem}
.side-list a.cur{color:var(--accent);font-weight:700}
.notes-list{display:grid;gap:1rem;grid-template-columns:1fr}
@media (min-width:768px){.notes-list{grid-template-columns:1fr 1fr}}
.note-card{display:block;border:1px solid var(--line);border-radius:14px;padding:1rem 1.1rem;background:var(--bg);color:var(--text)}
.note-card:hover{border-color:var(--accent-2);box-shadow:var(--shadow);text-decoration:none}
.note-card h3{font-family:var(--serif);font-weight:800;font-size:1.08rem;margin:.2rem 0 .35rem}
.note-card p{color:var(--muted);font-size:.92rem;margin:0}
.pyq-year{margin-bottom:1.4rem}
.pyq-year h2{font-family:var(--serif);font-weight:800;font-size:1.3rem;margin-bottom:.6rem}
.pyq-row{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:12px;padding:.7rem .9rem;margin-bottom:.5rem}
.pyq-row .acts{display:flex;gap:.4rem;flex-wrap:wrap}
.pyq-row .acts a{font-size:.85rem;font-weight:700;border-radius:8px;padding:.25rem .65rem;background:var(--surface-2);color:var(--link)}
.pyq-row .acts a.dl{background:var(--brand);color:#fff}
.section-head h2 small{font-family:var(--sans);font-size:.82rem;color:var(--muted);font-weight:500;margin-left:.4rem}
@media print{.site-header,.topbar,.site-footer,.sidebar,.note-toc,.ad-slot,.ad-wrap,.share,.progress,.mcq-wrap{display:none!important}.article-body{font-size:11pt}}
/* v2 fixes: badge text colour/size, grid items that must be allowed to shrink on phones */
.exam-card .exam-badge{color:#fff;font-size:.66rem;width:auto;min-width:42px;padding:0 .45rem;letter-spacing:.01em}
.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:768px){.subject-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.subject-tile{min-width:0}.subject-tile b{overflow-wrap:anywhere}
@media (max-width:420px){.subject-tile{padding:.75rem;gap:.55rem}.subject-tile b{font-size:.92rem}}
/* Tables on phones: never break words letter-by-letter; scroll sideways instead */
.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-responsive th,.table-responsive td{word-break:normal;overflow-wrap:normal;hyphens:manual}
@media (max-width:600px){.table-responsive table{min-width:520px}.table-responsive td,.table-responsive th{min-width:5.5rem}}
.note-wrap>*,.row>*{min-width:0}

/* ================= v3: typography, header, mobile drawer, bottom nav, home redesign, social ================= */
body{font-feature-settings:"cv11","ss01";letter-spacing:-.003em}
h1,h2,h3,.brand-name,.section-head h2,.side-h{font-family:var(--serif);letter-spacing:-.01em}
.article-title,.hero-title,.a-card-title,.list-title,.archive-head h1,.page-head h1{font-family:var(--serif);font-weight:700;letter-spacing:-.012em}
.brand-name{font-weight:700;font-size:1.5rem}
/* Hindi: Anek Devanagari everywhere, slightly larger and airier */
.lang-hi,.lang-hi h1,.lang-hi h2,.lang-hi h3,.lang-hi .brand-name,[lang="hi"]{font-family:var(--hindi)}
.lang-hi .article-body,.lang-hi .note-body{font-size:1.1rem;line-height:1.85}
.lang-hi h1,.lang-hi h2,.lang-hi h3{line-height:1.35;letter-spacing:0}
.ico{width:1.05em;height:1.05em;fill:currentColor;vertical-align:-.15em;flex-shrink:0}

/* Top bar socials */
.topbar-social{margin-left:auto;gap:.6rem;align-items:center}
.topbar-social a{color:#cfdcff;display:grid;place-items:center;width:26px;height:26px;border-radius:50%}
.topbar-social a:hover{color:#fff;background:rgba(255,255,255,.12)}
.lang-btn{display:inline-flex;align-items:center;gap:.35rem;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:999px;padding:0 .8rem;height:40px;font-weight:600;font-size:.9rem;text-decoration:none!important}
.lang-btn:hover{border-color:var(--brand);color:var(--brand)}
@media (max-width:420px){.lang-btn span{display:none}.lang-btn{padding:0;width:40px;justify-content:center}}

/* Mobile header + slide-in drawer */
@media (max-width:991.98px){
  .topbar-date{display:none!important}
  .header-inner{min-height:60px;gap:.5rem}
  .brand img{width:34px;height:34px}
  .brand-name{font-size:1.25rem}
  .brand-tag{display:none}
  .main-nav{display:block!important;position:fixed;top:0;right:0;bottom:0;width:min(86vw,340px);z-index:120;transform:translateX(105%);transition:transform .25s ease;overflow-y:auto;border:0;box-shadow:-8px 0 30px rgba(0,0,0,.18);padding:.75rem 0 5rem}
  .main-nav.open{transform:none}
  .main-nav .container{padding-inline:1rem}
  .nav-overlay{position:fixed;inset:0;background:rgba(10,14,22,.45);z-index:110}
  body.nav-open{overflow:hidden}
  .drawer-head{display:flex!important;align-items:center;justify-content:space-between;margin-bottom:.75rem}
  .drawer-search{display:flex!important;position:relative;margin-bottom:.75rem}
  .drawer-search input{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;padding:.7rem 2.6rem .7rem .9rem}
  .drawer-search button{position:absolute;right:.4rem;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--muted);padding:.4rem}
  .nav-list>li>a{padding:.8rem .6rem;border-radius:10px;font-size:1rem}
  .nav-list>li>a:hover{background:var(--surface)}
  .drawer-social{display:flex!important;gap:.6rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}
  .drawer-social a{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--surface);color:var(--text)}
  body{padding-bottom:64px}
}
@media (min-width:992px){.drawer-head,.drawer-search,.drawer-social,.nav-overlay{display:none!important}}

/* Bottom navigation (phones/tablets) */
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:90;display:grid;grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:saturate(160%) blur(10px);-webkit-backdrop-filter:saturate(160%) blur(10px);border-top:1px solid var(--line);padding:.35rem .25rem calc(.35rem + env(safe-area-inset-bottom))}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:.15rem;color:var(--muted);font-size:.7rem;font-weight:600;padding:.25rem 0;text-decoration:none!important;border-radius:10px}
.bottom-nav .ico{width:1.35rem;height:1.35rem}
.bottom-nav a[aria-current="page"],.bottom-nav a:hover{color:var(--brand)}

/* Buttons */
.btn-primary,.btn-ghost{display:inline-flex;align-items:center;gap:.5rem;border-radius:12px;padding:.75rem 1.15rem;font-weight:700;text-decoration:none!important;transition:transform .15s ease,box-shadow .15s ease}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 6px 18px rgba(194,65,12,.3)}
.btn-primary:hover{transform:translateY(-1px)}
.btn-ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}
.btn-ghost:hover{background:rgba(255,255,255,.2)}

/* Hero v3 */
.hero-v3{position:relative;overflow:hidden;color:#fff;background:radial-gradient(1200px 500px at 85% -10%,rgba(255,154,98,.35),transparent 60%),radial-gradient(800px 400px at -10% 110%,rgba(56,189,248,.28),transparent 60%),linear-gradient(135deg,#0a2f73 0%,#0b3d91 45%,#1e40af 100%)}
.hero-v3::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.09) 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(180deg,#000,transparent 85%);pointer-events:none}
.hero-v3-inner{position:relative;z-index:1;display:grid;gap:1.75rem;padding-block:2.25rem 2rem}
@media (min-width:992px){.hero-v3-inner{grid-template-columns:1.35fr .9fr;align-items:center;padding-block:3.5rem}}
.hero-pill{display:inline-flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:.3rem .8rem;font-size:.8rem;font-weight:600;margin-bottom:1rem}
.hero-v3 h1{font-weight:700;font-size:clamp(1.85rem,5vw,3.1rem);line-height:1.1;margin:0 0 .8rem;max-width:20ch}
.hero-v3 .hl{background:linear-gradient(90deg,#ffd29a,#ff9a62);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-v3 .lead{color:#dbe6ff;font-size:1.05rem;max-width:54ch;margin-bottom:1.2rem}
.hero-v3 .hero-search{position:relative;display:flex;background:#fff;border-radius:14px;padding:.35rem;box-shadow:0 12px 30px rgba(0,0,0,.25);max-width:560px}
.hero-v3 .hero-search .hs-ico{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#64748b}
.hero-v3 .hero-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#111827;padding:.65rem .5rem .65rem 2.5rem;font-size:1rem}
.hero-v3 .hero-search button{border:0;border-radius:10px;background:var(--accent);color:#fff;font-weight:700;padding:0 1.15rem}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.hero-stats-v3{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}
.hero-stats-v3 .stat{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:1rem;backdrop-filter:blur(4px)}
.hero-stats-v3 .stat .ico{width:1.4rem;height:1.4rem;color:#ffd29a}
.hero-stats-v3 strong{display:block;font-family:var(--serif);font-size:1.75rem;line-height:1.1;margin-top:.4rem}
.hero-stats-v3 span{font-size:.85rem;color:#dbe6ff}
@media (max-width:575.98px){.hero-stats-v3{grid-template-columns:repeat(4,1fr);gap:.4rem}.hero-stats-v3 .stat{padding:.6rem .4rem;text-align:center;border-radius:12px}.hero-stats-v3 .stat .ico{display:none}.hero-stats-v3 strong{font-size:1.15rem;margin:0}.hero-stats-v3 span{font-size:.68rem;display:block;line-height:1.2}.hero-ctas a{flex:1;justify-content:center}}

/* Generic home blocks */
.block{margin-block:2.25rem}
.block-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.block-head h2{font-size:clamp(1.3rem,2.6vw,1.7rem);font-weight:700;margin:0}
.eyebrow{display:block;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);margin-bottom:.15rem}
.more{display:inline-flex;align-items:center;gap:.3rem;font-weight:600;font-size:.9rem;white-space:nowrap}

/* Exam tiles */
.exam-rail{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.9rem}
.exam-tile{--c1:#0b3d91;--c2:#2563eb;position:relative;display:flex;flex-direction:column;gap:.15rem;padding:1.1rem;border-radius:18px;color:#fff;text-decoration:none!important;background:linear-gradient(140deg,var(--c1),var(--c2));box-shadow:0 8px 22px color-mix(in srgb,var(--c1) 30%,transparent);overflow:hidden;transition:transform .15s ease}
.exam-tile:hover{transform:translateY(-3px)}
.exam-tile::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.12)}
.exam-abbr{font-family:var(--serif);font-weight:800;font-size:1.6rem;line-height:1}
.exam-tile strong{font-size:1rem;margin-top:.4rem}
.exam-tile small{opacity:.85;font-size:.78rem;line-height:1.3}
.exam-go{margin-top:.6rem;font-size:.8rem;font-weight:600;display:inline-flex;gap:.3rem;align-items:center;opacity:.95}
.t-blue{--c1:#0b3d91;--c2:#2563eb}.t-orange{--c1:#c2410c;--c2:#f97316}.t-teal{--c1:#0f766e;--c2:#14b8a6}.t-violet{--c1:#6d28d9;--c2:#a855f7}.t-amber{--c1:#b45309;--c2:#f59e0b}.t-rose{--c1:#be123c;--c2:#f43f5e}
@media (max-width:767.98px){.exam-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:-16px;padding:0 16px .5rem;gap:.75rem;scrollbar-width:none}.exam-rail::-webkit-scrollbar{display:none}.exam-tile{flex:0 0 62%;scroll-snap-align:start}}

/* Subject chips */
.subject-rail{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem}
.subj-chip{display:flex;align-items:center;gap:.75rem;padding:.8rem .9rem;border:1px solid var(--line);border-radius:14px;background:var(--bg);color:var(--text);text-decoration:none!important;transition:border-color .15s,box-shadow .15s,transform .15s}
.subj-chip:hover{border-color:var(--brand);box-shadow:var(--shadow);transform:translateY(-2px)}
.subj-ico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:1.25rem;background:var(--accent-soft);flex-shrink:0}
.subj-txt{display:flex;flex-direction:column;min-width:0}
.subj-txt b{font-size:.95rem;line-height:1.25}
.subj-txt small{color:var(--muted);font-size:.78rem}
@media (max-width:575.98px){.subject-rail{grid-template-columns:1fr 1fr;gap:.55rem}.subj-chip{flex-direction:column;align-items:flex-start;gap:.45rem;padding:.75rem}.subj-txt b{font-size:.88rem}}

/* Horizontal scrollers */
.h-scroll{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem;scrollbar-width:thin}
.h-scroll>*{flex:0 0 300px;scroll-snap-align:start}
.h-scroll.cards>*{flex-basis:280px}
@media (max-width:575.98px){.h-scroll{margin-inline:-16px;padding-inline:16px;scrollbar-width:none}.h-scroll::-webkit-scrollbar{display:none}.h-scroll>*{flex-basis:78%}}
.note-tile{display:flex;flex-direction:column;padding:1.1rem;border-radius:16px;border:1px solid var(--line);background:linear-gradient(180deg,var(--surface),var(--bg));color:var(--text);text-decoration:none!important;transition:box-shadow .15s,transform .15s}
.note-tile:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.note-tile h3{font-size:1.08rem;font-weight:700;line-height:1.3;margin:.1rem 0 .4rem}
.note-tile p{color:var(--muted);font-size:.88rem;margin:0 0 .8rem;flex:1}
.note-tile-foot{font-size:.76rem;font-weight:600;color:#15803d;display:flex;align-items:center;gap:.3rem}

/* Featured */
.feat-grid{display:grid;gap:1.25rem}
@media (min-width:992px){.feat-grid{grid-template-columns:1.35fr 1fr}}
.feat-list{display:flex;flex-direction:column;gap:.9rem}
.grid-cards.g3{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.1rem}
@media (max-width:575.98px){.grid-cards.g3{grid-template-columns:1fr}.grid-cards.g3 .a-card{display:grid;grid-template-columns:110px 1fr;gap:.75rem;align-items:start}.grid-cards.g3 .a-card-media{aspect-ratio:1/1;border-radius:10px}.grid-cards.g3 .a-card-body{padding:0}.grid-cards.g3 .a-card-title{font-size:.98rem}}
.a-card,.list-card,.hero-card{border-radius:16px}
.a-card-media,.hero-media{border-radius:14px;overflow:hidden}
.img-fallback{background:linear-gradient(135deg,#0b3d91,#2563eb);color:#fff;font-family:var(--serif)}

/* CTA band */
.cta-band{display:grid;gap:1.25rem;align-items:center;padding:1.75rem;border-radius:22px;color:#fff;background:linear-gradient(120deg,#c2410c,#ea580c 45%,#f59e0b)}
@media (min-width:992px){.cta-band{grid-template-columns:1.1fr 1fr;padding:2.25rem 2.5rem}}
.cta-band h2{font-size:clamp(1.35rem,3vw,1.9rem);margin:0 0 .3rem;font-weight:700}
.cta-band p{margin:0 0 .8rem;color:#fff4ea}
.cta-band .nl-row{background:#fff;border-radius:14px;padding:.35rem;display:flex}
.cta-band .nl-row input{flex:1;min-width:0;border:0;outline:0;padding:.6rem .75rem;color:#111;background:transparent}
.cta-band .nl-row button{border:0;border-radius:10px;background:#0b3d91;color:#fff;font-weight:700;padding:0 1rem}
.cta-band .nl-msg{color:#fff;margin:.4rem 0 0}

/* Popular */
.popular-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.6rem 1.5rem;counter-reset:pp}
.popular-grid li{counter-increment:pp;display:flex;gap:.8rem;align-items:flex-start;padding:.7rem 0;border-bottom:1px dashed var(--line)}
.popular-grid li::before{content:counter(pp,decimal-leading-zero);font-family:var(--serif);font-weight:800;font-size:1.5rem;line-height:1;color:var(--accent);opacity:.85;min-width:2ch}

/* Social icons */
.social-row{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0}
.soc{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#fff;transition:transform .15s}
.soc:hover{transform:translateY(-2px);color:#fff}
.soc .ico{width:18px;height:18px}
.social-row.big .soc{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.18)!important}
.soc-facebook{background:#1877f2}.soc-instagram{background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af)}.soc-youtube{background:#ff0000}.soc-telegram{background:#229ed9}.soc-whatsapp{background:#25d366}.soc-x{background:#111}.soc-linkedin{background:#0a66c2}.soc-threads{background:#000}
.footer-lang{font-size:.85rem;margin-top:.6rem}

/* Share bar (notes and articles) */
.share-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin:1.25rem 0}
.share-bar>span{font-size:.82rem;font-weight:700;color:var(--muted);margin-right:.2rem}
.share-bar a,.share-bar button{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:0;color:#fff}
.share-bar button{background:var(--surface-2);color:var(--text)}
.share-bar button.done{background:#16a34a;color:#fff}
html,body{overflow-x:clip}
@media (max-width:991.98px){.main-nav{visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}.main-nav.open{visibility:visible;transition:transform .25s ease}}
.note-lead{font-size:1.12rem;color:var(--muted)}
.lang-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .75rem;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:700;font-size:.85rem;text-decoration:none!important}
.lang-pill:hover{background:var(--accent);color:#fff}
.page-head .lang-pill{margin-top:.25rem}
.hero-v3-inner>*{min-width:0}
.hero-v3 .hero-search{width:100%}
body.nav-open .bottom-nav{display:none}
@media (max-width:575.98px){.hero-ctas a{padding:.7rem .6rem;font-size:.92rem}}
/* ---- exam groups (v4) */
.t-green{--c1:#15803d;--c2:#22c55e}
.cat-chips{display:flex;gap:.5rem;overflow-x:auto;scrollbar-width:none;padding:.2rem 0 .9rem;margin-bottom:.2rem}
.cat-chips::-webkit-scrollbar{display:none}
.cat-chips .chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:.4rem;border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:999px;padding:.42rem .95rem;font:600 .86rem/1 var(--sans);cursor:pointer;text-decoration:none!important;transition:background .15s,border-color .15s,color .15s}
.cat-chips .chip b{font-weight:700;font-size:.72rem;background:var(--soft,#eef2ff);color:var(--brand);border-radius:999px;padding:.15rem .45rem}
.cat-chips .chip:hover{border-color:var(--brand)}
.cat-chips .chip[aria-selected="true"],.cat-chips .chip[aria-current="true"]{background:var(--brand);border-color:var(--brand);color:#fff}
.cat-chips .chip[aria-selected="true"] b,.cat-chips .chip[aria-current="true"] b{background:rgba(255,255,255,.2);color:#fff}
.exam-group{margin:1.2rem 0 2rem;scroll-margin-top:90px}
.group-h{display:flex;align-items:center;gap:.6rem;font-size:1.25rem;margin:0 0 .9rem}
.group-h .dot{width:12px;height:12px;border-radius:4px;background:linear-gradient(140deg,var(--c1),var(--c2))}
.exam-card[class*=" t-"] .exam-badge{background:linear-gradient(140deg,var(--c1),var(--c2))!important}
.exam-card .exam-sum{font-size:.82rem;line-height:1.45;color:var(--muted)}
.exam-card .exam-foot{margin-top:auto;padding-top:.4rem;font-weight:600;color:var(--brand)!important}
.exam-tile[hidden]{display:none!important}
.exam-group .exam-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.exam-card .exam-badge{align-self:flex-start}
