/* assets/css/style.css — AllGovtTest theme (deep teal + marigold) */
:root {
    --brand-900: #062e2b;
    --brand-800: #083b37;
    --brand-700: #0b4f4a;
    --brand-600: #0d7a6f;
    --brand-500: #14a394;
    --brand-100: #d5efea;
    --brand-50:  #eef8f6;

    --accent-600: #d97a06;
    --accent-500: #f0a020;
    --accent-100: #fdf0d5;

    --ink:       #10201e;
    --ink-2:     #33463f;
    --muted:     #63746f;
    --line:      #dde6e2;
    --line-soft: #ebf1ee;
    --surface:   #ffffff;
    --page:      #f4f6f2;

    --new:  #dc2626;

    /* Section colours (tags, column headers, page bands) */
    --c-jobs:      #0d7a6f;
    --c-results:   #1f4e8c;
    --c-admit:     #b35c12;
    --c-answerkey: #9b1c3a;
    --c-syllabus:  #5b4b8a;
    --c-admission: #4d6b13;
    --c-solution:  #3d4f5c;

    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(6, 46, 43, .06), 0 1px 3px rgba(6, 46, 43, .05);
    --shadow-md: 0 6px 20px rgba(6, 46, 43, .08);
    --container-width: 1240px;

    /* legacy names used by older views */
    --primary-color: var(--brand-600);
    --primary-hover: var(--brand-700);
    --secondary-color: #475a55;
    --bg-color: var(--page);
    --text-color: var(--ink);
    --text-muted: var(--muted);
    --card-bg: var(--surface);
    --border-color: var(--line);
    --highlight: var(--accent-500);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    background-color: var(--page);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, .logo-text strong, .block-title {
    font-family: 'Baloo 2', 'Mukta', system-ui, sans-serif;
    line-height: 1.2;
}

a { color: var(--brand-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-700); }
img { max-width: 100%; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.main-content { min-height: 60vh; }
section.container { margin-top: 40px; }
.section-last { margin-bottom: 56px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
    font-family: inherit; cursor: pointer; border: 1px solid transparent;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
    white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-accent { background: var(--accent-500); color: var(--brand-900); }
.btn-accent:hover { background: #ffb53f; color: var(--brand-900); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-secondary { background: var(--secondary-color); color: #fff; }
.btn-success { background: #15803d; color: #fff; }
.btn-outline { border-color: var(--brand-600); color: var(--brand-600); background: transparent; }
.btn-outline:hover { background: var(--brand-600); color: #fff; }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .7; cursor: default; }

/* ── Alert strip ─────────────────────────────────────── */
.alert-strip { background: var(--brand-900); color: #e7f3f0; font-size: 14px; }
.alert-strip__inner { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.alert-strip__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-500); box-shadow: 0 0 0 0 rgba(240,160,32,.6); animation: pulse 1.8s infinite; flex-shrink: 0; }
.alert-strip__label { font-weight: 800; color: var(--accent-500); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; flex-shrink: 0; }
.alert-strip__text { color: #fff; font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alert-strip__text:hover { color: var(--accent-500); }
.alert-strip__cta { color: var(--accent-500); font-weight: 700; flex-shrink: 0; }
.alert-strip__close { background: none; border: 0; color: #9fbdb7; font-size: 20px; cursor: pointer; line-height: 1; padding: 0 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,160,32,.6);} 70% { box-shadow: 0 0 0 8px rgba(240,160,32,0);} 100% { box-shadow: 0 0 0 0 rgba(240,160,32,0);} }

/* ── Header ──────────────────────────────────────────── */
.main-header {
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 100;
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-mark {
    width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--brand-700); color: #fff; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 15px; letter-spacing: -.03em; white-space: nowrap; flex-shrink: 0;
    box-shadow: inset 0 -3px 0 var(--accent-500);
}
.logo-mark b { color: var(--accent-500); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.logo-text strong span { color: var(--brand-600); }
.logo-text small { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo-text strong span { color: var(--accent-500); }
.logo--light .logo-text small { color: #9fbdb7; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
    color: var(--ink-2); font-weight: 600; font-size: 15.5px; padding: 8px 14px; border-radius: 999px;
    background: none; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap; line-height: 1.3;
}
.nav-link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav-link.is-active { color: var(--brand-700); background: var(--brand-100); }
.nav-link--pill { border: 1.5px solid var(--accent-500); color: var(--brand-800); }
.nav-link--pill:hover, .nav-link--pill.is-active { background: var(--accent-100); color: var(--brand-800); }

.nav-dropdown { position: relative; }
.nav-dropdown__toggle span { font-size: 11px; opacity: .7; }
.nav-dropdown__menu {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px; background: #fff; border: 1px solid var(--line);
    border-radius: 12px; box-shadow: var(--shadow-md); padding: 6px; display: none; z-index: 200;
}
.nav-dropdown__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-dropdown:hover .nav-dropdown__menu, .nav-dropdown.is-open .nav-dropdown__menu { display: block; }
.nav-dropdown__menu a { display: block; padding: 9px 12px; color: var(--ink-2); border-radius: 8px; font-weight: 600; }
.nav-dropdown__menu a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-mobile-auth { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
    display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s;
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--brand-50); color: var(--brand-700); }
.btn-login { padding: 9px 22px; }

.header-search { border-top: 1px solid var(--line); background: var(--brand-50); padding: 12px 0; }
.header-search__form { display: flex; gap: 10px; }
.header-search__form input {
    flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; font: inherit; font-size: 16px; background: #fff; outline: none;
}
.header-search__form input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }

.nav-user-dropdown { position: relative; }
.nav-user-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font: inherit; padding: 4px; border-radius: 999px; }
.nav-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-100); }
.nav-user-name { font-weight: 600; font-size: 15px; color: var(--ink-2); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user-dropdown-content {
    display: none; position: absolute; top: 100%; right: 0; background: #fff; min-width: 180px; box-shadow: var(--shadow-md);
    border-radius: 12px; z-index: 1000; overflow: hidden; border: 1px solid var(--line); padding: 6px;
}
.nav-user-dropdown:hover .nav-user-dropdown-content, .nav-user-dropdown.is-open .nav-user-dropdown-content { display: block; }
.nav-user-dropdown-content a { color: var(--ink-2); padding: 9px 12px; display: block; border-radius: 8px; font-weight: 600; }
.nav-user-dropdown-content a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-user-dropdown-content a.is-danger { color: #b91c1c; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 4px; cursor: pointer; background: none; border: 0; padding: 10px 6px; }
.mobile-menu-btn span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Section colour helpers ──────────────────────────── */
.tag--jobs, .tile--jobs, .board--jobs, .band--jobs { --c: var(--c-jobs); }
.tag--results, .tile--results, .board--results, .band--results { --c: var(--c-results); }
.tag--admit, .tile--admit, .board--admit, .band--admit { --c: var(--c-admit); }
.tag--answerkey, .tile--answerkey, .board--answerkey, .band--answerkey { --c: var(--c-answerkey); }
.tag--syllabus, .tile--syllabus, .board--syllabus, .band--syllabus { --c: var(--c-syllabus); }
.tag--admission, .tile--admission, .board--admission, .band--admission { --c: var(--c-admission); }
.tag--solution, .tile--solution, .board--solution, .band--solution { --c: var(--c-solution); }

.type-tag {
    display: inline-block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    padding: 3px 9px; border-radius: 6px; color: var(--c, var(--brand-600));
    background: color-mix(in srgb, var(--c, var(--brand-600)) 12%, #fff); white-space: nowrap; line-height: 1.5;
}
.badge-new, .badge-hot {
    display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--new);
    padding: 1px 7px; border-radius: 4px; vertical-align: 2px; margin-left: 6px; line-height: 1.6; animation: blink 1.6s ease-in-out infinite;
}
.badge-hot { background: var(--accent-600); animation: none; }
@keyframes blink { 50% { opacity: .55; } }

/* ── Home hero ───────────────────────────────────────── */
.home-hero { padding: 28px 0 0; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; }
.hero-slider {
    position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; color: #fff;
    background:
        radial-gradient(circle at 85% 15%, rgba(240,160,32,.28), transparent 40%),
        radial-gradient(circle at 10% 110%, rgba(20,163,148,.55), transparent 45%),
        linear-gradient(140deg, var(--brand-800), var(--brand-900));
}
.hero-slider::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
    background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.hero-slide { position: absolute; inset: 0; padding: 40px 44px 76px; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; z-index: 1; }
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: 360px; }
.hero-slide__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hero-slide__tag {
    display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px; background: var(--accent-500); color: var(--brand-900); width: fit-content;
}
.hero-slide__tag--plain { background: rgba(255,255,255,.12); color: #e7f3f0; text-transform: none; letter-spacing: 0; font-weight: 600; }
.hero-slide__title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; max-width: 760px; letter-spacing: -.01em; margin-bottom: 12px; }
.hero-slide__title em { font-style: normal; color: var(--accent-500); }
.hero-slide__meta { color: #b9d6d0; font-weight: 500; margin-bottom: 26px; }
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slider__nav { position: absolute; left: 44px; right: 44px; bottom: 24px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.hero-slider__count { font-size: 13px; font-weight: 700; color: #9fbdb7; letter-spacing: .08em; }
.hero-slider__count b { color: #fff; }
.hero-slider__dots { display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s, background .3s; }
.hero-dot.is-active { width: 30px; background: var(--accent-500); }

.quick-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.quick-search { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--page); }
.quick-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 16px; font: inherit; font-size: 15px; outline: none; }
.quick-search button { border: 0; background: var(--brand-600); color: #fff; width: 46px; cursor: pointer; display: grid; place-items: center; }
.quick-search:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-tile {
    position: relative; display: flex; align-items: flex-end; min-height: 64px; padding: 10px 12px; border-radius: 12px; color: var(--c);
    background: color-mix(in srgb, var(--c) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c) 18%, #fff); font-weight: 800; font-size: 15px; line-height: 1.2;
    transition: transform .15s, background .2s;
}
.quick-tile::before { content: ""; position: absolute; top: 12px; left: 12px; width: 18px; height: 4px; border-radius: 4px; background: var(--c); }
.quick-tile:hover { color: #fff; background: var(--c); transform: translateY(-2px); }
.quick-tile:hover::before { background: #fff; }
.quick-mock { display: block; border-radius: 12px; padding: 14px 16px; background: var(--accent-100); color: var(--brand-900); border: 1px dashed var(--accent-500); }
.quick-mock strong { display: block; font-size: 16px; }
.quick-mock span { font-size: 13.5px; color: #6b4a12; }
.quick-mock:hover { background: #fbe6bd; color: var(--brand-900); }

/* ── Follow strip ────────────────────────────────────── */
.follow-strip {
    margin-top: 20px !important; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent-500); border-radius: var(--radius); padding: 14px 20px;
}
.follow-strip__text strong { display: block; font-size: 16px; }
.follow-strip__text span { color: var(--muted); font-size: 14px; }
.follow-strip__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.social-chip { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; background: var(--ink-2); }
.social-chip:hover { color: #fff; opacity: .9; }
.social-chip--telegram { background: #229ed9; }
.social-chip--whatsapp { background: #1fa855; }
.social-chip--youtube { background: #e02424; }
.social-chip--facebook { background: #1b5fd1; }
.social-chip--instagram { background: #c13584; }

/* ── Blocks ──────────────────────────────────────────── */
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.block-title { font-size: 26px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.block-title::after { content: ""; width: 34px; height: 4px; border-radius: 4px; background: var(--accent-500); margin-left: 4px; }
.block-count { font-size: 13px; font-weight: 800; color: var(--new); background: #fde8e8; padding: 3px 10px; border-radius: 999px; }
.block-sub { font-size: 14px; color: var(--muted); font-weight: 600; }
.block-link { font-weight: 700; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--new); animation: pulse-red 1.6s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(220,38,38,.5);} 70% { box-shadow: 0 0 0 8px rgba(220,38,38,0);} 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0);} }

.updates-feed { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); max-height: 380px; overflow: hidden; position: relative; }
.updates-feed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.updates-feed.is-scrollable { overflow-y: auto; }
.updates-list { list-style: none; }
.updates-list.is-marquee { animation: feed-scroll var(--feed-duration, 40s) linear infinite; }
.updates-feed:hover .updates-list.is-marquee, .updates-feed:focus-within .updates-list.is-marquee { animation-play-state: paused; }
@keyframes feed-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.update-row { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.update-row:hover { background: var(--brand-50); color: var(--brand-800); }
.update-row .type-tag { flex-shrink: 0; min-width: 96px; text-align: center; }
.update-row__title { flex: 1; min-width: 0; font-weight: 600; }
.update-row__date { flex-shrink: 0; font-size: 13px; color: var(--muted); font-weight: 600; }

/* Category boards */
.board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.board { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.board__head {
    background: var(--c); color: #fff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 10px, transparent 10px 20px);
}
.board__head h3 { font-size: 21px; font-weight: 800; }
.board__count { font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.18); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.board__list { list-style: none; padding: 6px 0; flex: 1; }
.board__list li { padding: 9px 18px 9px 34px; position: relative; border-bottom: 1px dashed var(--line-soft); line-height: 1.4; }
.board__list li:last-child { border-bottom: 0; }
.board__list li::before { content: ""; position: absolute; left: 18px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.board__list a { color: var(--ink); font-weight: 600; font-size: 15px; }
.board__list a:hover { color: var(--c); text-decoration: underline; }
.board__empty { padding: 26px 18px; color: var(--muted); flex: 1; }
.board__more { display: block; text-align: center; padding: 12px; font-weight: 800; color: var(--c, var(--brand-600)); border-top: 1px solid var(--line-soft); background: color-mix(in srgb, var(--c, var(--brand-600)) 5%, #fff); }
.board__more:hover { background: var(--c, var(--brand-600)); color: #fff; }

/* Mock band */
.mock-band {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 32px 36px; border-radius: var(--radius-lg); color: #fff;
    background: radial-gradient(circle at 100% 0, rgba(240,160,32,.35), transparent 45%), var(--brand-700);
}
.mock-band__eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-500); }
.mock-band h2 { font-size: 28px; margin: 4px 0 6px; }
.mock-band p { color: #cfe5e0; max-width: 620px; }

/* Browse */
.browse-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.browse-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.browse-card h3 { font-size: 18px; margin-bottom: 12px; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: 14px; border: 1px solid var(--brand-100); }
.chip:hover { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); transition: border-color .2s, transform .15s; }
.article-card:hover { border-color: var(--brand-500); transform: translateY(-2px); color: var(--ink); }
.article-card time { font-size: 12.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.article-card h3 { font-size: 18px; font-weight: 700; line-height: 1.35; flex: 1; }
.article-card__more { color: var(--brand-600); font-weight: 700; font-size: 14px; }

/* ── Listing pages ───────────────────────────────────── */
.page-band { --c: var(--c-jobs); background: var(--c); color: #fff; padding: 30px 0 34px; background-image: radial-gradient(circle at 100% 0, rgba(240,160,32,.3), transparent 40%), repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px); }
.page-band--slim { padding: 14px 0; }
.page-band h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 6px 0 6px; }
.page-band__desc { color: rgba(255,255,255,.85); max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.75); }
.breadcrumb a { color: #fff; font-weight: 600; }
.breadcrumb a:hover { color: var(--accent-500); }
.band-search { display: flex; gap: 10px; margin-top: 18px; max-width: 620px; }
.band-search input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-size: 16px; outline: none; }
.band-search input:focus { box-shadow: 0 0 0 3px rgba(240,160,32,.5); }

.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; margin-top: 26px; margin-bottom: 56px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.filter-bar__label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.filter-bar select { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; background: #fff; color: var(--ink-2); cursor: pointer; max-width: 100%; }
.filter-bar__clear { padding: 8px 14px; border-radius: 999px; background: #fde8e8; color: #b91c1c; font-weight: 700; font-size: 14px; }

.list-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.list-card__head { display: flex; justify-content: space-between; gap: 10px; padding: 12px 20px; font-size: 14px; font-weight: 700; color: var(--muted); background: var(--page); border-bottom: 1px solid var(--line); }
.post-list { list-style: none; }
.post-row { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.post-list li:last-child .post-row { border-bottom: 0; }
.post-row:hover { background: var(--brand-50); color: var(--ink); }
.post-row__date { flex-shrink: 0; width: 54px; text-align: center; border-radius: 10px; background: var(--brand-50); border: 1px solid var(--brand-100); padding: 4px 0; line-height: 1.1; }
.post-row__date b { display: block; font-size: 20px; color: var(--brand-700); font-family: 'Baloo 2', sans-serif; }
.post-row__date small { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.post-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.post-row__title { font-weight: 700; font-size: 16.5px; line-height: 1.4; }
.post-row:hover .post-row__title { color: var(--brand-700); }
.post-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.post-row__arrow { font-size: 26px; color: var(--line); flex-shrink: 0; }
.post-row:hover .post-row__arrow { color: var(--brand-600); }
.list-empty { padding: 50px 20px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.list-empty strong { color: var(--ink); font-size: 18px; }

.listing-side { display: flex; flex-direction: column; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; }
.side-card h3 { font-size: 18px; margin-bottom: 8px; }
.side-links { list-style: none; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 600; }
.side-links a:hover, .side-links a.is-active { background: var(--brand-50); color: var(--brand-700); }
.side-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex-shrink: 0; }
.side-promo { display: block; padding: 20px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(circle at 100% 0, rgba(240,160,32,.4), transparent 50%), var(--brand-700); }
.side-promo strong { display: block; font-family: 'Baloo 2', sans-serif; font-size: 21px; }
.side-promo span { display: block; color: #cfe5e0; font-size: 14px; margin: 4px 0 10px; }
.side-promo em { font-style: normal; font-weight: 800; color: var(--accent-500); }
.side-promo:hover { color: #fff; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.pagination a { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: #fff; font-weight: 700; }
.pagination a:hover { border-color: var(--brand-500); color: var(--brand-700); }
.pagination a.active { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.pagination__gap { padding: 8px 4px; color: var(--muted); }

/* ── Legacy layout (detail, blog, pages, profile) ────── */
.main-layout { display: flex; gap: 28px; margin-top: 28px; margin-bottom: 60px; }
.content-left { flex: 3; min-width: 0; }
.sidebar { flex: 1; min-width: 0; }
.detail-layout .sidebar { position: sticky; top: 90px; align-self: flex-start; }

.job-section h2 { font-size: 20px; margin-bottom: 20px; border-bottom: 2px solid var(--line); padding-bottom: 10px; }
.highlight { color: var(--accent-600); }
.job-list { display: flex; flex-direction: column; gap: 15px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.job-card.featured { border-left: 4px solid var(--accent-500); background: #fffcf5; }

.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 18px; }
.widget h3 { font-size: 18px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.apply-widget { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.apply-widget h3 { border-color: rgba(255,255,255,.2); }
.apply-widget p { color: #cfe5e0; font-size: 14px; margin-bottom: 12px; }
.related-list { list-style: none; }
.related-list li { border-bottom: 1px dashed var(--line); }
.related-list li:last-child { border-bottom: 0; }
.related-list a { display: block; padding: 9px 0; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.4; }
.related-list a:hover { color: var(--brand-600); }
.related-widget .board__more { margin: 8px -18px -18px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

.cat-list { list-style: none; }
.cat-list li { margin-bottom: 8px; }
.cat-list a { color: var(--ink); display: block; padding: 6px 0; transition: padding-left .2s; }
.cat-list a:hover { color: var(--brand-600); padding-left: 5px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--page); border: 1px solid var(--line); padding: 4px 10px; border-radius: 12px; font-size: 13px; color: var(--muted); }
.tag:hover { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

.page-header { margin: 30px auto; }
.job-detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.job-detail-card .job-title { font-size: clamp(24px, 3vw, 32px); color: var(--ink); margin-bottom: 10px; }
.job-meta { display: flex; gap: 20px; color: var(--muted); font-size: 14px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.job-tags { margin-bottom: 20px; display: flex; gap: 10px; }
.apply-box { background: var(--page); padding: 20px; border-radius: var(--radius); text-align: center; margin-bottom: 30px; border: 1px dashed var(--line); }
.job-content-section { margin-top: 30px; }
.job-content-section h2 { font-size: 22px; margin-bottom: 15px; color: var(--brand-700); }
.job-content-section table th { background: var(--brand-700) !important; }
.content-block { color: #2f3f3b; overflow-wrap: anywhere; }
.content-block ul, .content-block ol { margin-left: 20px; margin-bottom: 15px; }
.content-block p { margin-bottom: 15px; }
.content-block table { width: 100%; border-collapse: collapse; margin-bottom: 15px; }
.content-block table td, .content-block table th { border: 1px solid var(--line); padding: 10px; }
.content-block img { height: auto; }

.mt-30 { margin-top: 30px; }
.share-buttons { display: flex; gap: 10px; }
.share-btn { flex: 1; text-align: center; padding: 9px; border-radius: 999px; color: #fff !important; font-size: 14px; font-weight: 700; }
.whatsapp { background: #1fa855; }
.email { background: var(--secondary-color); }

/* ── Footer ──────────────────────────────────────────── */
.main-footer { background: var(--brand-900); color: #b9d6d0; padding: 52px 0 0; margin-top: 40px; border-top: 4px solid var(--accent-500); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-col h3 { color: #fff; margin-bottom: 14px; font-size: 18px; }
.footer-col a { display: block; color: #b9d6d0; margin-bottom: 8px; font-weight: 500; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent-500); }
.footer-col a.logo { display: inline-flex; margin-bottom: 0; }
.footer-col--brand p { margin-top: 14px; max-width: 360px; font-size: 15px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; margin: 0; }
.footer-social a:hover { background: var(--accent-500); color: var(--brand-900); }
.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: 14px; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer-note { color: #86a9a2; }

.to-top {
    position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--brand-700); color: #fff; font-size: 20px; font-weight: 800; box-shadow: var(--shadow-md);
    opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; z-index: 90;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--accent-500); color: var(--brand-900); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
    .home-hero__grid { grid-template-columns: 1fr; }
    .quick-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
    .quick-panel .quick-search { grid-column: 1 / -1; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .board-grid, .browse-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1050px) {
    .main-layout { flex-direction: column; }
    .detail-layout .sidebar { position: static; }
    .mobile-menu-btn { display: flex; }
    .header-row { gap: 12px; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 12px 16px 16px; max-height: calc(100vh - 70px); overflow-y: auto;
    }
    .main-nav.active { display: flex; }
    .nav-link { text-align: left; border-radius: 10px; padding: 11px 14px; }
    .nav-dropdown__menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
    .nav-dropdown__toggle span { display: none; }
    .nav-mobile-auth { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
    .nav-mobile-auth a { padding: 10px 14px; font-weight: 700; color: var(--brand-700); }
    .listing-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .container { padding: 0 16px; }
    section.container { margin-top: 30px; }
    .alert-strip__cta { display: none; }
    .logo-text small, .nav-user-name, .btn-login { display: none; }
    .logo-mark { width: 38px; height: 38px; font-size: 13px; }
    .logo-text strong { font-size: 20px; }
    .home-hero { padding-top: 16px; }
    .hero-slider, .hero-slide.is-active { min-height: 330px; }
    .hero-slide { padding: 26px 22px 68px; }
    .hero-slider__nav { left: 22px; right: 22px; bottom: 20px; }
    .quick-panel { display: flex; align-items: stretch; }
    .quick-grid { grid-template-columns: 1fr 1fr; }
    .board-grid, .browse-grid, .article-grid { grid-template-columns: 1fr; }
    .block-title { font-size: 22px; }
    .update-row { flex-wrap: wrap; gap: 6px 10px; padding: 12px 16px; }
    .update-row .type-tag { min-width: 0; }
    .update-row__title { flex-basis: 100%; order: 3; }
    .update-row__date { margin-left: auto; }
    .mock-band { padding: 24px 22px; }
    .mock-band h2 { font-size: 23px; }
    .band-search { flex-direction: column; }
    .post-row { padding: 12px 14px; gap: 12px; }
    .post-row__arrow { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-col--brand { grid-column: 1 / -1; }
    .job-detail-card { padding: 20px; }
}

/* ── Push alerts: soft prompt, toast, button states ──── */
.push-prompt {
    position: fixed; right: 20px; bottom: 20px; z-index: 1000; width: min(380px, calc(100vw - 32px));
    display: flex; gap: 14px; padding: 18px 18px 16px; background: #fff; border-radius: var(--radius-lg);
    border: 1px solid var(--line); border-top: 5px solid var(--accent-500); box-shadow: 0 18px 45px rgba(6, 46, 43, .22);
    opacity: 0; transform: translateY(20px); transition: opacity .3s ease, transform .3s ease;
}
.push-prompt.is-visible { opacity: 1; transform: none; }
.push-prompt__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--brand-50); animation: bell 2.4s ease-in-out infinite; }
@keyframes bell { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 85% { transform: rotate(-12deg); } 95% { transform: rotate(6deg); } }
.push-prompt__body strong { display: block; font-family: 'Baloo 2', sans-serif; font-size: 18px; line-height: 1.25; color: var(--ink); padding-right: 18px; }
.push-prompt__body p { font-size: 14px; color: var(--muted); margin: 4px 0 12px; line-height: 1.45; }
.push-prompt__actions { display: flex; justify-content: flex-end; gap: 8px; }
.push-prompt__later { background: transparent; color: var(--muted); }
.push-prompt__later:hover { background: var(--page); color: var(--ink); }
.push-prompt__close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 4px; }

.push-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 1001; max-width: min(520px, calc(100vw - 32px));
    padding: 12px 18px; border-radius: 12px; background: var(--brand-800); color: #fff; font-weight: 600; font-size: 15px;
    box-shadow: var(--shadow-md); opacity: 0; transform: translate(-50%, 16px); transition: opacity .3s, transform .3s;
}
.push-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.push-toast--success { background: var(--brand-600); }
.push-toast--error { background: #9b1c1c; }
.push-toast--help { background: var(--ink); border-left: 5px solid var(--accent-500); }

[data-push-subscribe].is-on { background: var(--brand-100); color: var(--brand-700); opacity: 1; }
[data-push-subscribe].is-blocked { background: #f3f4f2; color: var(--muted); border-color: var(--line); }

@media (max-width: 720px) {
    .push-prompt { left: 16px; right: 16px; bottom: 16px; width: auto; }
}

/* ── Post detail page ────────────────────────────────── */
.detail-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; margin-top: 24px; margin-bottom: 60px; align-items: start; }
.detail-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.detail-side { position: sticky; top: 88px; display: flex; flex-direction: column; }

.detail-head {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px;
    border-top: 5px solid var(--c, var(--brand-600)); box-shadow: var(--shadow-sm);
}
.detail-head__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.detail-head__tags .badge-new { margin-left: 0; }
.detail-head__org { font-size: 14px; font-weight: 700; color: var(--ink-2); background: var(--page); border: 1px solid var(--line); padding: 2px 10px; border-radius: 6px; }
.detail-head__title { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-bottom: 12px; }
.detail-head__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.detail-head__deadline { color: #b91c1c; background: #fde8e8; padding: 1px 10px; border-radius: 999px; }
.detail-head__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-head__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.btn-share { background: var(--page); color: var(--ink-2); border-color: var(--line); }
.btn-share:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.btn-share--wa:hover { background: #1fa855; color: #fff; border-color: #1fa855; }
.btn-share--tg:hover { background: #229ed9; color: #fff; border-color: #229ed9; }

.glance { background: var(--brand-800); color: #fff; border-radius: var(--radius-lg); padding: 18px 20px 20px;
    background-image: radial-gradient(circle at 100% 0, rgba(240,160,32,.28), transparent 45%); }
.glance__title { font-size: 15px; font-family: 'Mukta', sans-serif; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-500); margin-bottom: 12px; }
.glance__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.glance__tile { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.glance__icon { grid-row: span 2; font-size: 22px; }
.glance__label { font-size: 12.5px; font-weight: 700; color: #a9cbc4; text-transform: uppercase; letter-spacing: .04em; }
.glance__value { font-size: 16.5px; line-height: 1.3; color: #fff; overflow-wrap: anywhere; }
.glance__tile.is-deadline { background: rgba(240,160,32,.16); border-color: rgba(240,160,32,.5); }
.glance__tile.is-deadline .glance__value { color: #ffd38a; }

.detail-banner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; justify-content: center; }
.detail-banner img { display: block; max-height: 340px; width: auto; max-width: 100%; object-fit: contain; }

.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.toc__list { list-style: none; counter-reset: toc; }
.toc__list li { counter-increment: toc; }
.toc__list a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.toc__list a::before { content: counter(toc, decimal-leading-zero); color: var(--muted); font-size: 12px; font-weight: 800; padding-top: 2px; min-width: 18px; }
.toc__list a:hover, .toc__list a.is-active { background: var(--brand-50); color: var(--brand-700); }
.toc__list a.is-active::before { color: var(--accent-600); }
.toc--side { padding: 16px 10px 12px; max-height: calc(100vh - 360px); overflow-y: auto; }
.toc--side h3 { margin: 0 8px 8px; }
.toc--inline { display: none; }
.toc--inline summary { padding: 14px 18px; font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.toc--inline summary::after { content: "▾"; color: var(--muted); }
.toc--inline[open] summary::after { content: "▴"; }
.toc--inline .toc__list { padding: 0 8px 12px; }

/* Post body typography */
.detail-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; font-size: 17px; color: #2a3b37; line-height: 1.75; }
.detail-body > *:first-child { margin-top: 0; }
.detail-body h2 {
    font-size: 23px; font-weight: 800; color: var(--ink); margin: 34px 0 14px; padding: 10px 14px; line-height: 1.3;
    background: var(--brand-50); border-left: 5px solid var(--brand-600); border-radius: 0 10px 10px 0; scroll-margin-top: 90px;
}
.detail-body h3 { font-size: 19px; font-weight: 800; color: var(--brand-800); margin: 24px 0 10px; scroll-margin-top: 90px; }
.detail-body h4 { font-size: 17px; font-weight: 800; margin: 18px 0 8px; }
.detail-body p { margin-bottom: 14px; }
.detail-body strong { color: var(--ink); }
.detail-body ul, .detail-body ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.detail-body li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.detail-body ul > li::before { content: "✓"; position: absolute; left: 4px; top: 1px; color: var(--brand-600); font-weight: 800; }
.detail-body ol { counter-reset: step; }
.detail-body ol > li { counter-increment: step; padding-left: 36px; }
.detail-body ol > li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-600); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.detail-body a { color: var(--brand-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.detail-body a:hover { color: var(--accent-600); }
.detail-body blockquote { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--accent-500); background: var(--accent-100); border-radius: 0 10px 10px 0; }

.detail-body .table-wrap { margin: 18px 0 24px; border: 1px solid var(--line); border-radius: 12px; }
.detail-body table { width: 100%; border-collapse: collapse; margin: 0; font-size: 16px; box-shadow: none; }
.detail-body table th { background: var(--brand-700) !important; color: #fff; text-align: left; padding: 12px 16px; font-weight: 700; border: 0; }
.detail-body table td { padding: 11px 16px; border: 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; background: #fff; }
.detail-body table tr:nth-child(even) td { background: #f8fbfa; }
.detail-body table tr:last-child td { border-bottom: 0; }
.detail-body table td:first-child { font-weight: 700; color: var(--ink); width: 42%; }
.detail-body table tr:hover td { background: var(--brand-50); }
.detail-body a.link-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; text-decoration: none;
    background: var(--accent-500); color: var(--brand-900); font-size: 14px; font-weight: 800; white-space: nowrap;
}
.detail-body a.link-btn::after { content: "↗"; }
.detail-body a.link-btn:hover { background: var(--brand-600); color: #fff; }

/* FAQ blocks: a question heading followed by its answer */
.detail-body .faq-q { background: var(--brand-50); border-radius: 10px 10px 0 0; padding: 10px 14px; margin-bottom: 0; font-size: 17.5px; }
.detail-body .faq-q + p { background: var(--page); border: 1px solid var(--line-soft); border-radius: 0 0 10px 10px; padding: 10px 14px; margin-top: -10px; }

.alert-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--accent-100); border: 1px dashed var(--accent-500); border-radius: var(--radius-lg); padding: 18px 20px; }
.alert-cta__icon { font-size: 28px; }
.alert-cta__text { flex: 1; min-width: 220px; }
.alert-cta__text strong { display: block; font-size: 17px; color: var(--brand-900); }
.alert-cta__text span { font-size: 14.5px; color: #6b4a12; }
.detail-disclaimer { font-size: 13.5px; color: var(--muted); text-align: center; }

/* Comments */
.comments { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; }
.comments__title { font-size: 22px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.comments__title span { font-family: 'Mukta', sans-serif; font-size: 13px; background: var(--brand-100); color: var(--brand-700); padding: 2px 10px; border-radius: 999px; }
.comments__empty { color: var(--muted); padding: 6px 0 16px; }
.comment-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.comment-item__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-600); color: #fff; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.comment-item__head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.comment-item__head time { font-size: 13px; color: var(--muted); }
.comment-item p { margin-top: 2px; color: var(--ink-2); }
.comment-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.comment-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comment-form label { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.comment-form label > input, .comment-form label > textarea { display: block; width: 100%; margin-top: 6px; }
.comment-form label span { color: #b91c1c; }
.comment-form input, .comment-form textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--page); }
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); background: #fff; }
.comment-form .comment-btn { align-self: flex-start; }
.comment-form__note { color: var(--muted); }
.comment-form__response { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.comment-form__response.is-ok { background: #dcfce7; color: #166534; }
.comment-form__response.is-error { background: #fee2e2; color: #991b1b; }

.apply-bar { display: none; }

@media (max-width: 1050px) {
    .detail-shell { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .toc--side { display: none; }
    .toc--inline:not([hidden]) { display: block; }
}

@media (max-width: 720px) {
    .detail-head { padding: 18px; }
    .detail-head__actions .btn { flex: 1 1 auto; }
    .detail-head__actions .btn-accent { flex-basis: 100%; }
    .glance__grid { grid-template-columns: 1fr 1fr; }
    .glance__tile { grid-template-columns: 1fr; }
    .glance__icon { grid-row: auto; font-size: 18px; }
    .detail-body { padding: 18px 16px; font-size: 16.5px; }
    .detail-body h2 { font-size: 20px; margin-left: -4px; margin-right: -4px; }
    .detail-body table { font-size: 15px; }
    .detail-body table td, .detail-body table th { padding: 10px 12px; }
    .comments { padding: 18px 16px; }
    .comment-form__row { grid-template-columns: 1fr; }

    .apply-bar {
        display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(6,46,43,.1);
        transform: translateY(110%); transition: transform .25s ease;
    }
    .apply-bar.is-visible { transform: none; }
    .apply-bar__share { display: grid; place-items: center; padding: 0 16px; border-radius: 999px; background: #1fa855; color: #fff; font-weight: 800; }
    .apply-bar__share:hover { color: #fff; }
    .apply-bar__cta { flex: 1; }
    body:has(.apply-bar.is-visible) .to-top { bottom: 80px; }
    body:has(.apply-bar) .push-prompt { bottom: 84px; }
}

/* ── Inner pages: blog, static pages, auth, profile, mock tests ── */
.notice { padding: 12px 16px; border-radius: 10px; font-weight: 600; margin-bottom: 16px; }
.notice--ok { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.notice--error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.stack-form { display: flex; flex-direction: column; gap: 14px; }
.stack-form label { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.stack-form label > input, .stack-form label > textarea, .stack-form label > select { display: block; margin-top: 6px; }
.stack-form .label-row { margin-bottom: 0; }
.stack-form label > span:not(.label-row) { color: #b91c1c; }
.stack-form input, .stack-form textarea, .stack-form select {
    font: inherit; font-size: 16px; font-weight: 400; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--page); color: var(--ink); width: 100%;
}
.stack-form textarea { resize: vertical; }
.stack-form input:focus, .stack-form textarea:focus, .stack-form select:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); background: #fff; }
.stack-form input:disabled { color: var(--muted); cursor: not-allowed; }
.stack-form .btn { margin-top: 4px; }
.label-row { display: flex; justify-content: space-between; gap: 10px; }
.label-row a { font-weight: 600; font-size: 13.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.form-card h1, .form-card h2 { font-size: 24px; margin-bottom: 4px; }
.form-card > p { color: var(--muted); margin-bottom: 16px; }
.form-card__section { font-size: 18px !important; margin: 10px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.form-card__section small { font-family: 'Mukta', sans-serif; color: var(--muted); font-weight: 500; font-size: 14px; }

/* Blog list */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: transform .15s, border-color .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); border-color: var(--brand-500); box-shadow: var(--shadow-md); color: var(--ink); }
.blog-card__img { display: block; aspect-ratio: 16 / 9; background: var(--brand-50); overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__img--empty { display: grid; place-items: center; font-family: 'Baloo 2', sans-serif; font-size: 54px; font-weight: 800; color: var(--brand-600);
    background: radial-gradient(circle at 85% 15%, rgba(240,160,32,.25), transparent 45%), linear-gradient(140deg, var(--brand-50), var(--brand-100)); }
.blog-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.blog-card__body time { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.blog-card__body h2 { font-size: 19px; line-height: 1.3; }
.blog-card__body p { color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.blog-card--lead { grid-column: span 2; flex-direction: row; }
.blog-card--lead .blog-card__img { aspect-ratio: auto; flex: 1.1; min-height: 240px; }
.blog-card--lead .blog-card__body { flex: 1; justify-content: center; padding: 24px; }
.blog-card--lead .blog-card__body h2 { font-size: 25px; }
.more-reading { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.article-grid--compact { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.article-grid--compact .article-card { background: var(--page); }

/* Static pages */
.page-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; margin-top: 26px; margin-bottom: 60px; align-items: start; }
.page-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.page-side { position: sticky; top: 88px; display: flex; flex-direction: column; }
.page-side .side-links a span { width: 22px; text-align: center; }
.page-band__icon { margin-right: 12px; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cat-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 700; }
.cat-tile:hover { border-color: var(--brand-500); background: var(--brand-50); color: var(--brand-800); }
.cat-tile__mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); font-family: 'Baloo 2', sans-serif; font-weight: 800; flex-shrink: 0; }
.cat-tile__arrow { margin-left: auto; font-size: 22px; color: var(--muted); }

/* Auth */
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; max-width: 940px; margin: 40px auto 60px; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); padding: 0; }
.auth-shell--single { grid-template-columns: 1fr; max-width: 480px; }
.auth-aside { padding: 40px 36px; color: #fff; background: radial-gradient(circle at 100% 0, rgba(240,160,32,.35), transparent 45%), linear-gradient(160deg, var(--brand-700), var(--brand-900)); }
.auth-aside .logo-mark { margin-bottom: 22px; background: rgba(255,255,255,.12); }
.auth-aside h2 { font-size: 28px; margin-bottom: 18px; }
.auth-aside ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.auth-aside li { position: relative; padding-left: 30px; color: #d6ebe6; }
.auth-aside li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-500); color: var(--brand-900); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.auth-card { padding: 40px 36px; }
.auth-card h1 { font-size: 28px; margin-bottom: 4px; }
.auth-card__sub { color: var(--muted); margin-bottom: 20px; }
.auth-card__alt { margin-top: 18px; text-align: center; color: var(--muted); }
.auth-card__alt a { font-weight: 700; }

/* Profile */
.profile-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; margin-top: 26px; margin-bottom: 60px; align-items: start; }
.profile-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.profile-avatar { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.profile-avatar img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid var(--brand-100); }
.profile-avatar label { cursor: pointer; }
.profile-side h2 { font-size: 21px; margin-top: 4px; }
.profile-side p { color: var(--muted); margin-top: -6px; }
.profile-side__logout { color: #b91c1c; font-weight: 700; font-size: 14px; }

/* Mock tests */
.mock-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mock-stats span { background: rgba(255,255,255,.14); padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.mock-page { margin-top: 24px; margin-bottom: 60px; }
.mock-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.category-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px 22px; margin-bottom: 20px; scroll-margin-top: 90px; }
.category-section-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.category-section-header h2 { font-size: 23px; display: flex; align-items: center; gap: 10px; }
.category-section-header h2::before { content: ""; width: 5px; height: 24px; border-radius: 4px; background: var(--accent-500); }
.category-section-header h2 a { color: var(--ink); }
.category-section-header h2 a:hover { color: var(--brand-700); }
.btn-view-all { padding: 7px 14px; border-radius: 999px; background: var(--brand-50); border: 1px solid var(--brand-100); font-weight: 700; font-size: 14px; white-space: nowrap; }
.btn-view-all:hover { background: var(--brand-600); color: #fff; }
.category-section__empty { color: var(--muted); }
.category-section__more { margin: 16px -22px -22px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.test-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.test-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--page); color: var(--ink); transition: border-color .2s, background .2s, transform .15s; }
.test-card:hover { border-color: var(--brand-500); background: #fff; transform: translateY(-2px); color: var(--ink); }
.test-icon { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--brand-600); color: #fff; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; box-shadow: inset 0 -3px 0 var(--accent-500); }
.test-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.test-card-title { font-weight: 700; line-height: 1.3; }
.test-card-meta { font-size: 13.5px; color: var(--muted); }
.test-card__go { font-weight: 800; font-size: 14px; color: var(--brand-600); white-space: nowrap; }

@media (max-width: 1050px) {
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-shell { grid-template-columns: 1fr; }
    .page-side { position: static; }
    .profile-shell { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card--lead { grid-column: auto; flex-direction: column; }
    .blog-card--lead .blog-card__img { aspect-ratio: 16 / 9; min-height: 0; }
    .blog-card--lead .blog-card__body { padding: 16px 18px 18px; }
    .blog-card--lead .blog-card__body h2 { font-size: 20px; }
    .auth-shell { grid-template-columns: 1fr; margin: 20px 16px 40px; border-radius: 18px; }
    .auth-aside { padding: 24px 22px; }
    .auth-aside h2 { font-size: 22px; margin-bottom: 12px; }
    .auth-aside .logo-mark { display: none; }
    .auth-card { padding: 24px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 18px 16px; }
    .category-section { padding: 16px; }
    .category-section__more { margin: 14px -16px -16px; }
    .more-reading { padding: 18px 16px; }
}
.detail-body td ul, .detail-body td ol { margin: 0; }
.detail-body td li { margin-bottom: 2px; }
.detail-body h1 { font-size: 26px; margin: 0 0 14px; }
.comment-reply { margin-top: 10px; padding: 10px 14px; background: var(--brand-50); border-left: 3px solid var(--brand-600); border-radius: 0 10px 10px 0; }
.comment-reply strong { font-size: 13px; color: var(--brand-700); text-transform: uppercase; letter-spacing: .04em; }
.comment-reply p { margin-top: 2px; }

.comments { scroll-margin-top: 84px; }
.btn-share--ask:hover { background: var(--accent-100); color: var(--brand-900); border-color: var(--accent-500); }

/* Info pages: lead text, cards, callouts */
.page-body .page-lead { font-size: 19px; color: var(--ink); line-height: 1.65; }
.page-body .page-meta { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.page-body .info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 20px; }
.page-body .info-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-body .info-card { background: var(--page); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.page-body .info-card__icon { font-size: 24px; display: block; margin-bottom: 6px; }
.page-body .info-card h3 { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.page-body .info-card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.page-body .callout { padding: 14px 18px; border-radius: 12px; margin: 6px 0 18px; line-height: 1.6; }
.page-body .callout--warn { background: var(--accent-100); border: 1px solid #f4cf86; color: #5c3d07; }

/* Contact form + captcha */
.contact-card { scroll-margin-top: 90px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha-box { background: var(--brand-50); border: 1px dashed var(--brand-100); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.captcha-box__label { font-weight: 800; font-size: 14.5px; color: var(--ink-2); }
.captcha-box__label span { color: #b91c1c; }
.captcha-box__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-box__img { border-radius: 10px; border: 1px solid var(--line); background: #fff; user-select: none; }
.captcha-box__input input { max-width: 220px; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; }

@media (max-width: 720px) {
    .page-body .info-grid, .page-body .info-grid--2 { grid-template-columns: 1fr; }
    .page-body .page-lead { font-size: 17.5px; }
    .captcha-box__input input { max-width: none; }
}

/* ==========================================================================
   Title covers (core/covers.php): one layout per content type
   ========================================================================== */
.cover {
    --fs: 6.6cqw;
    display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
    container-type: inline-size;
    font-family: 'Baloo 2', 'Mukta', system-ui, sans-serif; text-align: left;
}
.cover span, .cover b, .cover i { font-style: normal; }
.cover__art { position: absolute; inset: 0; display: block; overflow: hidden; }
.cover--banner { --fs: 4.4cqw; }
.cover--thumb { --fs: 11cqw; }
.cover.cover--banner { aspect-ratio: 21 / 8; }
.cover.cover--thumb { aspect-ratio: 3 / 2; }
.cover__title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
    font-size: var(--fs); font-weight: 800; line-height: 1.16; overflow-wrap: anywhere;
}
.cover__body { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; }
.cover__icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.cover__label, .cover__kicker, .cover__note, .cover__chip, .cover__stamp, .cover__band, .cover__tab, .cover__solved, .cover__byline {
    font-family: 'Mukta', system-ui, sans-serif; font-size: 2.9cqw; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
}
.cover--banner .cover__label, .cover--banner .cover__kicker, .cover--banner .cover__note, .cover--banner .cover__chip,
.cover--banner .cover__stamp, .cover--banner .cover__band, .cover--banner .cover__tab, .cover--banner .cover__solved, .cover--banner .cover__byline { font-size: 1.75cqw; }

/* Job: notice board with a marigold rail */
.cover--job { color: #fff; background: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.4px) 0 0 / 3.4cqw 3.4cqw, linear-gradient(120deg, var(--brand-800), var(--brand-600)); }
.cover--job .cover__rail { position: absolute; inset: 0 auto 0 0; width: 2.6cqw; background: var(--accent-500); }
.cover--job .cover__body { position: absolute; inset: 0; padding: 9cqw 7.6cqw; align-items: center; justify-content: center; text-align: center; }
.cover--job .cover__chip { position: absolute; top: 3.4cqw; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5em; max-width: 84%; white-space: nowrap; padding: .45em .8em; border-radius: 99px; background: rgba(255,255,255,.14); }
.cover--job .cover__ghost { position: absolute; right: -7cqw; bottom: -8cqw; color: #fff; opacity: .11; font-size: 36cqw; line-height: 0; }

/* Admit card: a perforated hall ticket */
.cover--admit-card { background: repeating-linear-gradient(45deg, #f6e4cb 0 2cqw, #f1dbbc 2cqw 4cqw); color: #4a2a0a; padding: 5cqw; }
.cover--admit-card .cover__ticket { display: flex; height: 100%; background: #fffdf8; border-radius: 2cqw; overflow: hidden; box-shadow: 0 1.2cqw 3cqw rgba(74,42,10,.2); }
.cover--admit-card .cover__stub { flex: 0 0 15%; display: grid; place-items: center; background: var(--c-admit); color: #fff; border-right: .5cqw dashed #fffdf8; }
.cover--admit-card .cover__stub span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: 'Mukta', sans-serif; font-weight: 800; font-size: 2.9cqw; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.cover--admit-card .cover__body { flex: 1; padding: 3.6cqw 4cqw; justify-content: space-between; gap: 1.4cqw; }
.cover--admit-card .cover__label { color: var(--c-admit); }
.cover--admit-card .cover__barcode { display: block; width: 62%; height: 6cqw; color: #4a2a0a; }
.cover--admit-card.cover--banner { padding: 2.6cqw; }
.cover--admit-card.cover--banner .cover__stub { flex-basis: 10%; }
.cover--admit-card.cover--banner .cover__stub span { font-size: 1.9cqw; }
.cover--admit-card.cover--banner .cover__barcode { width: 34%; height: 3.4cqw; }

/* Result: scoreboard panel on the right */
.cover--results { display: flex; color: #fff; background: linear-gradient(135deg, #12315c, var(--c-results)); }
.cover--results .cover__body { flex: 1; padding: 5cqw; justify-content: center; gap: 2.4cqw; }
.cover--results .cover__stamp { align-self: flex-start; padding: .4em .8em; border: .35cqw solid var(--accent-500); border-radius: 4px; color: var(--accent-500); transform: rotate(-3deg); }
.cover--results .cover__board { flex: 0 0 34%; display: flex; flex-direction: column; justify-content: center; gap: 2.6cqw; padding: 4cqw; background: rgba(255,255,255,.1); }
.cover--results .cover__rank { display: flex; align-items: center; gap: 1.6cqw; }
.cover--results .cover__rank b { flex-shrink: 0; display: grid; place-items: center; width: 5.4cqw; height: 5.4cqw; border-radius: 50%; background: var(--accent-500); color: #12315c; font-size: 3cqw; }
.cover--results .cover__rank i { display: block; height: 2cqw; border-radius: 99px; background: rgba(255,255,255,.75); }
.cover--results.cover--banner .cover__board { flex-basis: 26%; gap: 1.6cqw; padding: 2.6cqw; }
.cover--results.cover--banner .cover__rank b { width: 3.4cqw; height: 3.4cqw; font-size: 1.9cqw; }
.cover--results.cover--banner .cover__rank i { height: 1.2cqw; }

/* Answer key: OMR sheet */
.cover--answer-key { display: flex; flex-direction: column; background: #fff7f8; color: #5f1024; }
.cover--answer-key .cover__band { padding: 2cqw 5cqw; background: var(--c-answerkey); color: #fff; }
.cover--answer-key .cover__sheet-row { flex: 1; min-height: 0; display: flex; align-items: center; gap: 4cqw; padding: 2.6cqw 5cqw; }
.cover--answer-key .cover__title { flex: 1; }
.cover--answer-key .cover__omr { flex: 0 0 28%; max-height: 100%; }
.cover--answer-key .cover__omr circle { fill: none; stroke: #d7a3af; stroke-width: 1.6; }
.cover--answer-key .cover__omr circle.is-on { fill: var(--c-answerkey); stroke: var(--c-answerkey); }
.cover--answer-key.cover--banner .cover__band { padding: 1.2cqw 3.6cqw; }
.cover--answer-key.cover--banner .cover__sheet-row { padding: 1.6cqw 3.6cqw; }
.cover--answer-key.cover--banner .cover__omr { flex-basis: 17%; }

/* Syllabus: ruled notebook with a spiral edge */
.cover--syllabus { color: #352a5c; background: repeating-linear-gradient(transparent 0 5.6cqw, #d9d2ee 5.6cqw 5.85cqw), #f8f6fd; }
.cover--syllabus .cover__spiral { position: absolute; inset: 0 auto 0 0; width: 8cqw; background: radial-gradient(circle at 50% 50%, #f8f6fd 0 1.1cqw, transparent 1.2cqw) 0 0 / 100% 6cqw, var(--c-syllabus); }
.cover--syllabus .cover__tab { position: absolute; top: 0; right: 5cqw; padding: 1.3cqw 2cqw 1.1cqw; border-radius: 0 0 1.2cqw 1.2cqw; background: var(--accent-500); color: #352a5c; }
.cover--syllabus .cover__body { position: absolute; inset: 0 5cqw 0 12cqw; justify-content: center; gap: 2cqw; }
.cover--syllabus .cover__note { color: var(--c-syllabus); text-transform: none; letter-spacing: 0; font-weight: 700; }
.cover--syllabus.cover--banner { background: repeating-linear-gradient(transparent 0 3.4cqw, #d9d2ee 3.4cqw 3.55cqw), #f8f6fd; }
.cover--syllabus.cover--banner .cover__spiral { width: 5cqw; background: radial-gradient(circle at 50% 50%, #f8f6fd 0 .7cqw, transparent .78cqw) 0 0 / 100% 3.6cqw, var(--c-syllabus); }
.cover--syllabus.cover--banner .cover__body { left: 8cqw; }
.cover--syllabus.cover--banner .cover__tab { padding: .8cqw 1.4cqw .7cqw; }

/* Admission: centred, with campus arches */
.cover--admission { color: #fff; background: linear-gradient(170deg, #5d8018, #36500a); }
.cover--admission .cover__arches { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; opacity: .2; background: radial-gradient(circle at 50% 100%, transparent 0 4.4cqw, #fff 4.5cqw 5.4cqw, transparent 5.5cqw) 0 100% / 12.5cqw 100%; }
.cover--admission .cover__body { position: absolute; inset: 0; padding: 4cqw 8cqw 6cqw; align-items: center; justify-content: center; gap: 1.6cqw; text-align: center; }
.cover--admission .cover__icon { width: 9cqw; height: 9cqw; color: var(--accent-500); }
.cover--admission .cover__note { color: var(--accent-100); }
.cover--admission.cover--banner .cover__icon { width: 5cqw; height: 5cqw; }
.cover--admission.cover--banner .cover__arches { background-size: 8cqw 100%; }

/* Solution: chalkboard in a wooden frame */
.cover--solution { color: #f4f7f5; border: 1.8cqw solid #8a6a3f; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 4cqw 4cqw, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 4cqw 4cqw, #26343d; }
.cover--solution .cover__formula { position: absolute; right: 4cqw; top: 3cqw; font-family: Georgia, serif; font-style: italic; font-size: 5.4cqw; color: rgba(255,255,255,.26); }
.cover--solution .cover__body { position: absolute; inset: 0; padding: 4cqw 5cqw; justify-content: flex-end; gap: 1.6cqw; }
.cover--solution .cover__solved { display: inline-flex; align-items: center; gap: .4em; align-self: flex-start; color: #8fe0a8; }
.cover--solution.cover--banner { border-width: 1.1cqw; }
.cover--solution.cover--banner .cover__formula { font-size: 3.4cqw; }

/* Blog: editorial page */
.cover--blog { color: var(--brand-900); background: #fbf6ea; }
.cover--blog .cover__corner { position: absolute; right: -9cqw; bottom: -9cqw; width: 30cqw; height: 30cqw; border-radius: 50%; background: var(--brand-600); box-shadow: 0 0 0 3cqw var(--accent-100); }
.cover--blog .cover__body { position: absolute; inset: 0 20% 0 0; padding: 4.4cqw 0 4.4cqw 5.4cqw; gap: 1.2cqw; }
.cover--blog .cover__quote { height: .46em; font-family: Georgia, serif; font-size: 15cqw; line-height: .9; color: var(--accent-500); }
.cover--blog .cover__kicker { color: var(--brand-600); }
.cover--blog .cover__byline { margin-top: auto; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 700; }
.cover--blog.cover--banner .cover__corner { right: -5cqw; bottom: -8cqw; width: 20cqw; height: 20cqw; box-shadow: 0 0 0 2cqw var(--accent-100); }
.cover--blog.cover--banner .cover__quote { font-size: 8cqw; }

/* Mock test: exam timer and answer bubbles */
.cover--test { display: flex; align-items: center; gap: 3cqw; padding: 5cqw; color: #fff; background: linear-gradient(135deg, var(--brand-900), var(--brand-700)); }
.cover--test .cover__body { flex: 1; gap: 2cqw; }
.cover--test .cover__title { font-size: 5.3cqw; -webkit-line-clamp: 5; }
.cover--test .cover__label { color: var(--accent-500); }
.cover--test .cover__bubbles { display: flex; gap: 1.4cqw; margin-top: 1cqw; }
.cover--test .cover__bubbles i { display: grid; place-items: center; width: 6cqw; height: 6cqw; border-radius: 50%; border: .35cqw solid rgba(255,255,255,.45); font-family: 'Mukta', sans-serif; font-size: 2.9cqw; font-weight: 800; }
.cover--test .cover__bubbles i.is-on { border-color: var(--accent-500); background: var(--accent-500); color: var(--brand-900); }
.cover--test .cover__timer { position: relative; flex: 0 0 25%; aspect-ratio: 1; }
.cover--test .cover__timer svg { display: block; width: 100%; height: 100%; }
.cover--test .cover__timer circle { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 7; }
.cover--test .cover__timer circle.is-on { stroke: var(--accent-500); stroke-linecap: round; }
.cover--test .cover__timer > span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Mukta', sans-serif; font-size: 2.6cqw; font-weight: 700; line-height: 1.05; }
.cover--test .cover__timer b { font-family: 'Baloo 2', sans-serif; font-size: 6.4cqw; font-weight: 800; line-height: 1; }

/* Subject: colour tile with a large letter */
.cover--subject { color: #fff; background: var(--tint, var(--brand-600)); }
.cover--subject .cover__letter { position: absolute; right: -1cqw; bottom: -10cqw; font-size: 56cqw; font-weight: 800; line-height: 1; opacity: .17; }
.cover--subject .cover__body { position: absolute; inset: 0; padding: 5cqw; justify-content: flex-end; gap: 1cqw; }
.cover--subject .cover__label { opacity: .85; }

/* Small list thumbnails: keep the look, drop the small print */
.cover--thumb .cover__chip, .cover--thumb .cover__ghost, .cover--thumb .cover__stub span, .cover--thumb .cover__label,
.cover--thumb .cover__barcode, .cover--thumb .cover__stamp, .cover--thumb .cover__board, .cover--thumb .cover__band, .cover--thumb .cover__omr,
.cover--thumb .cover__tab, .cover--thumb .cover__note, .cover--thumb .cover__icon, .cover--thumb .cover__formula, .cover--thumb .cover__solved,
.cover--thumb .cover__kicker, .cover--thumb .cover__byline, .cover--thumb .cover__corner, .cover--thumb .cover__quote, .cover--thumb .cover__arches { display: none; }
.cover--thumb .cover__title { -webkit-line-clamp: 4; }
.cover--job.cover--thumb .cover__body { inset: 0; padding: 6cqw 6cqw 6cqw 12cqw; justify-content: center; }
.cover--job.cover--thumb .cover__rail { width: 6cqw; }
.cover--admit-card.cover--thumb { padding: 6cqw; }
.cover--admit-card.cover--thumb .cover__stub { flex-basis: 14%; }
.cover--admit-card.cover--thumb .cover__body { padding: 5cqw; justify-content: center; }
.cover--results.cover--thumb .cover__body { padding: 7cqw; border-right: 7cqw solid var(--accent-500); }
.cover--answer-key.cover--thumb { border-top: 10cqw solid var(--c-answerkey); }
.cover--answer-key.cover--thumb .cover__sheet-row { padding: 6cqw; }
.cover--syllabus.cover--thumb .cover__spiral { width: 13cqw; background: radial-gradient(circle at 50% 50%, #f8f6fd 0 2.4cqw, transparent 2.6cqw) 0 0 / 100% 14cqw, var(--c-syllabus); }
.cover--syllabus.cover--thumb .cover__body { inset: 0 4cqw 0 18cqw; }
.cover--admission.cover--thumb .cover__body { padding: 7cqw; }
.cover--solution.cover--thumb { border-width: 4cqw; }
.cover--solution.cover--thumb .cover__body { justify-content: center; padding: 6cqw; }

/* Phones: wide banners would get too short for the title */
@media (max-width: 720px) {
    .cover--banner { --fs: 6.6cqw; }
    .cover.cover--banner { aspect-ratio: 16 / 9; }
    .cover--banner .cover__label, .cover--banner .cover__kicker, .cover--banner .cover__note, .cover--banner .cover__chip,
    .cover--banner .cover__stamp, .cover--banner .cover__band, .cover--banner .cover__tab, .cover--banner .cover__solved, .cover--banner .cover__byline { font-size: 2.9cqw; }
}

/* Where covers sit */
.detail-banner--cover { display: block; }
.blog-card__img .cover { height: 100%; aspect-ratio: auto; }
.post-row__thumb { flex-shrink: 0; width: 132px; border-radius: 8px; overflow: hidden; background: var(--brand-50); }
.post-row__thumb img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-row__date-inline { display: none; }
.chapter-cover { display: block; margin: -20px -20px 0; border-radius: 12px 12px 0 0; overflow: hidden; }
.test-card--cover { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; background: #fff; }
.test-card--cover .test-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; }
@media (max-width: 720px) {
    .post-row__date { display: none; }
    .post-row__thumb { width: 96px; }
    .post-row__date-inline { display: inline; }
}
