/* ==========================================================================
   NaukriTicket — public site styles
   Light glassmorphism + "Admit Card" ticket language. Mobile-first.
   ========================================================================== */

:root {
  /* colour tokens (text pairs checked for WCAG AA on white / --bg) */
  --primary: #1d5bf0;
  --primary-strong: #1544c0;
  --primary-soft: #e6ecff;
  --verify: #0b7563;          /* text-safe teal */
  --verify-soft: #dcf3ee;
  --deadline: #b87300;        /* ring stroke (non-text) */
  --deadline-text: #7a4a00;
  --deadline-soft: #fff1d6;
  --urgent: #c2410c;
  --urgent-soft: #fde7dc;
  --ink: #16203a;
  --ink-2: #3a4560;
  --muted: #55607a;
  --line: #d5d9e3;
  --line-soft: #e7eaf1;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.85);
  --demo: #6b3fb8;
  --demo-soft: #efe7fb;

  /* shape + depth */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 1px 2px rgba(22, 32, 58, 0.04), 0 6px 20px rgba(22, 32, 58, 0.06);
  --shadow-lift: 0 2px 4px rgba(22, 32, 58, 0.05), 0 12px 28px rgba(22, 32, 58, 0.1);
  --blur: 14px;

  /* spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;

  --font: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hi: "Noto Sans Devanagari", "Mukta", var(--font);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  font-variant-numeric: tabular-nums;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Pastel backdrop on its own fixed, composited layer (cheaper than background-attachment: fixed). */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1100px 520px at 8% -8%, rgba(160, 182, 255, 0.35), transparent 60%),
    radial-gradient(900px 480px at 100% 0%, rgba(205, 186, 255, 0.28), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(170, 225, 215, 0.22), transparent 60%);
}
img, svg { max-width: 100%; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 var(--s3); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem); font-weight: 800; }
h2 { font-size: 1.15rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 var(--s3); }
[lang="hi"] { font-family: var(--font-hi); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.wrap { width: 100%; max-width: none; margin: 0 auto; padding: 0 clamp(16px, 3vw, 48px); }
.narrow { max-width: 760px; }
.main { flex: 1; padding-top: var(--s4); padding-bottom: var(--s7); }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.ico-lg { width: 28px; height: 28px; }
.ico-xl { width: 44px; height: 44px; }

/* ---------- glass surfaces (with solid fallback) ---------- */
.glass {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
@supports ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    backdrop-filter: blur(var(--blur)) saturate(140%);
  }
}
.panel { border-radius: var(--radius); padding: var(--s5); margin-bottom: var(--s4); }
.panel h2 { display: flex; align-items: center; gap: var(--s2); }
.panel h2 .ico { color: var(--primary); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; border-radius: 0; border-width: 0 0 1px; border-color: rgba(213, 217, 227, 0.7); }
.header-row { display: flex; align-items: center; gap: var(--s3); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--primary), #5b7cf0); box-shadow: 0 4px 12px rgba(41, 82, 204, 0.3); }
.brand-mark .ico { width: 20px; height: 20px; }
.header-search { display: none; position: relative; flex: 1; max-width: 460px; margin-left: auto; }
.header-search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.header-search input { width: 100%; height: 42px; padding: 0 14px 0 38px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.85); font: inherit; color: var(--ink); }
.menu-btn { margin-left: auto; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }
.primary-nav { display: none; border-top: 1px solid var(--line-soft); }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: var(--s2) 16px var(--s3); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.primary-nav a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; }
.primary-nav a:hover { background: var(--primary-soft); color: var(--primary-strong); }
.primary-nav a[aria-current="page"] { background: var(--primary); color: #fff; }

@media (min-width: 900px) {
  .header-search { display: block; }
  .menu-btn { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 16px; }
  .primary-nav a { padding: 7px 12px; font-size: 0.9rem; }
}

/* ---------- ticker ---------- */
.ticker { display: flex; align-items: center; gap: var(--s3); border-radius: 999px; padding: 6px 6px 6px 6px; margin-bottom: var(--s5); overflow: hidden; }
.ticker-label { display: inline-flex; align-items: center; gap: 6px; flex: none; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.ticker-track { overflow-x: auto; scrollbar-width: none; flex: 1; }
.ticker-track::-webkit-scrollbar { display: none; }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s5); white-space: nowrap; }
.ticker li { display: inline-flex; gap: 8px; align-items: baseline; font-size: 0.9rem; }
.ticker a { color: var(--ink); text-decoration: none; font-weight: 600; }
.ticker a:hover { color: var(--primary); text-decoration: underline; }
.ticker-time { color: var(--muted); font-size: 0.78rem; }

/* ---------- hero ---------- */
.hero { display: grid; gap: var(--s5); align-items: center; margin: var(--s2) 0 var(--s6); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--verify); background: var(--verify-soft); font-weight: 700; font-size: 0.82rem; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.1rem); line-height: 1.1; margin: var(--s4) 0 var(--s3); }
.hl { background: linear-gradient(transparent 62%, rgba(41, 82, 204, 0.18) 0); }
.hero-sub { color: var(--ink-2); font-size: 1.05rem; max-width: 560px; }
.hero-search { position: relative; display: flex; gap: 8px; max-width: 600px; margin-top: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px; box-shadow: var(--shadow); }
.hero-search > .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 10px 10px 10px 40px; background: transparent; color: var(--ink); }
.hero-search:focus-within { outline: 3px solid rgba(41, 82, 204, 0.35); }
.hero-search--page { margin: 0 0 var(--s5); }
.hero-art { display: none; position: relative; height: 240px; }
.hero-ticket { position: absolute; inset: 30px 30px auto 10px; height: 150px; display: flex; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lift); transform: rotate(-4deg); z-index: 2; }
.hero-ticket--back { inset: 70px 0 auto 60px; transform: rotate(5deg); background: linear-gradient(135deg, #dfe6ff, #efe7fb); z-index: 1; box-shadow: var(--shadow); }
.ht-main { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ht-chip { align-self: flex-start; font-size: 0.72rem; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 3px 10px; border-radius: 999px; }
.ht-line { height: 10px; border-radius: 6px; background: var(--line-soft); }
.w80 { width: 80%; } .w55 { width: 55%; } .w65 { width: 65%; } .w60 { width: 60%; }
.ht-stub { width: 110px; border-left: 2px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 12px; }
.ht-ring { width: 54px; height: 54px; border-radius: 50%; border: 6px solid var(--line-soft); border-top-color: var(--deadline); border-right-color: var(--deadline); transform: rotate(20deg); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.25fr 0.75fr; }
  .hero-art { display: block; }
}

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); margin-bottom: var(--s6); }
.cat-tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: var(--s4); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--ink); }
.cat-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; margin-bottom: var(--s2); color: var(--tone, var(--primary)); background: var(--tone-soft, var(--primary-soft)); }
.cat-icon .ico { width: 22px; height: 22px; }
.cat-name { font-weight: 700; }
.cat-hi { font-size: 0.85rem; color: var(--muted); }
.cat-count { margin-top: 6px; font-size: 0.8rem; color: var(--muted); }
.cat-count b { color: var(--verify); }
.cat--results, .chip--results { --tone: #0b7563; --tone-soft: #dcf3ee; }
.cat--admit-card, .chip--admit-card { --tone: #8a4b00; --tone-soft: #fff1d6; }
.cat--answer-key, .chip--answer-key { --tone: #6b3fb8; --tone-soft: #efe7fb; }
.cat--online-form, .chip--online-form { --tone: #b4235a; --tone-soft: #fde4ee; }
.cat--exam-dates, .chip--exam-dates { --tone: #9a3412; --tone-soft: #fde7dc; }
.cat--syllabus, .chip--syllabus { --tone: #0e6a8a; --tone-soft: #dcf0f8; }
.cat--admissions, .chip--admissions { --tone: #3f6212; --tone-soft: #e8f5d6; }
.cat--scholarships, .chip--scholarships { --tone: #7c4a03; --tone-soft: #fbefd5; }
.cat--notices, .chip--notices { --tone: #374151; --tone-soft: #eceef3; }
@media (max-width: 639px) {
  .cat-grid { gap: var(--s2); }
  .cat-tile { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; row-gap: 0; padding: 12px; align-items: center; }
  .cat-icon { grid-row: span 3; width: 36px; height: 36px; border-radius: 11px; margin: 0; align-self: start; }
  .cat-icon .ico { width: 18px; height: 18px; }
  .cat-name { font-size: 0.92rem; line-height: 1.25; }
  .cat-hi { font-size: 0.78rem; }
  .cat-count { margin-top: 2px; font-size: 0.74rem; }
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---------- blocks / sections ---------- */
.block { margin-bottom: var(--s6); }
.block.panel { margin-bottom: 0; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.block-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.block-head h2 .ico { color: var(--primary); }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.sections { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
@media (min-width: 860px) { .sections { grid-template-columns: 1fr 1fr; } }

.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.mini-list li:first-child { border-top: 0; padding-top: 0; }
.mini-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.mini-list a:hover { color: var(--primary); text-decoration: underline; }
.mini-list li.is-expired a { color: var(--muted); }
.mini-meta { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- chips, pills, stamps ---------- */
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.01em; padding: 3px 10px; border-radius: 999px; color: var(--tone, var(--primary)); background: var(--tone-soft, var(--primary-soft)); text-decoration: none; }
.chip--demo { color: var(--demo); background: var(--demo-soft); border: 1px dashed rgba(107, 63, 184, 0.5); }
.chip--muted { color: var(--muted); background: #eef0f5; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 0.78rem; font-weight: 600; padding: 2px 9px; border-radius: 8px; background: #eef1f8; color: var(--ink-2); }
.pill .ico { width: 14px; height: 14px; }
.pill--soon { background: var(--deadline-soft); color: var(--deadline-text); }
.pill--over { background: #eceef3; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.pill--updated { background: var(--primary-soft); color: var(--primary-strong); }
.pill--quiet { background: transparent; color: var(--muted); padding-left: 0; }

.stamp {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 2px 8px; border: 2px solid currentColor; border-radius: 6px; transform: rotate(-6deg);
  box-shadow: inset 0 0 0 1px currentColor; opacity: 0.9;
}
.stamp--expired { color: var(--urgent); }
.stamp--withdrawn { color: #7f1d1d; }
.stamp--updated { color: var(--primary); }
.stamp--result { color: var(--verify); }

/* ---------- ticket card (signature component) ---------- */
.ticket-list { display: grid; gap: var(--s3); }
.ticket-list--grid { grid-template-columns: 1fr; }
@media (min-width: 760px) { .ticket-list--grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .ticket-list--grid { grid-template-columns: 1fr 1fr 1fr; } }

.ticket, .post-ticket {
  --notch: 11px;
  --stub-w: 112px;
  position: relative; display: flex; min-width: 0;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid rgba(213, 217, 227, 0.6);
  /* notches cut into the top and bottom edges at the perforation */
  -webkit-mask:
    radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 0, transparent 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 0, transparent 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket-shell { position: relative; min-width: 0; filter: drop-shadow(0 1px 1px rgba(22, 32, 58, 0.05)) drop-shadow(0 6px 12px rgba(22, 32, 58, 0.07)); transition: transform .2s var(--ease), filter .2s var(--ease); border-radius: var(--radius); }
.ticket-shell:not(.ticket-shell--static):hover { transform: translateY(-2px); filter: drop-shadow(0 2px 2px rgba(22, 32, 58, 0.06)) drop-shadow(0 12px 20px rgba(22, 32, 58, 0.12)); }
.ticket-shell:focus-within { outline: 3px solid var(--primary); outline-offset: 3px; }
.ticket-main { flex: 1; min-width: 0; padding: var(--s4) var(--s4) var(--s4) var(--s5); }
.ticket-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.ticket-title { font-size: 1.02rem; margin: 0 0 4px; overflow-wrap: anywhere; }
.ticket-title a { color: var(--ink); text-decoration: none; }
.ticket-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */
.ticket-title a:hover { color: var(--primary); }
.ticket-title a:focus-visible { outline: none; }
.ticket-org { color: var(--muted); font-size: 0.88rem; margin: 0; }
.ticket-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 10px 0 0; font-size: 0.82rem; color: var(--ink-2); }
.ticket-facts li { display: inline-flex; align-items: center; gap: 5px; }
.ticket-facts .ico { width: 15px; height: 15px; color: var(--muted); }
.ticket-verified { color: var(--verify) !important; }
.ticket-verified .ico { color: var(--verify) !important; }
.ticket-stub {
  width: var(--stub-w); flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: var(--s3) var(--s2); border-left: 2px dashed var(--line); text-align: center;
  background: linear-gradient(180deg, #fbfcff, #f5f7fd); border-radius: 0 var(--radius) var(--radius) 0;
}
.stub-label { font-size: 0.7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.stub-date { font-size: 1.02rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.stub-date--lg { font-size: 1.1rem; }
.stub-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.stub-icon .ico { width: 22px; height: 22px; }
.ticket.is-expired .ticket-title a { color: var(--ink-2); }
.ticket.is-expired .ticket-stub { background: repeating-linear-gradient(-45deg, #f6f7fa, #f6f7fa 6px, #f0f2f6 6px, #f0f2f6 12px); }
.ticket--compact { --stub-w: 96px; }
.ticket--compact .ticket-main { padding: var(--s3) var(--s3) var(--s3) var(--s4); }
.ticket--compact .ticket-title { font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ticket--compact .stub-date { font-size: 0.92rem; }

@media (max-width: 339px) {
  .ticket { flex-direction: column; -webkit-mask: none; mask: none; }
  .ticket-stub { width: auto; flex-direction: row; gap: 10px; border-left: 0; border-top: 2px dashed var(--line); border-radius: 0 0 var(--radius) var(--radius); }
}

/* horizontal rail of compact tickets */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 86%); gap: var(--s3); overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { grid-auto-columns: 360px; } }

/* ---------- deadline ring ---------- */
.ring { position: relative; display: inline-grid; place-items: center; width: var(--size, 56px); height: var(--size, 56px); }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring-track { stroke: var(--line-soft); }
.ring-bar { stroke: var(--primary); stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease); }
.ring--soon .ring-bar { stroke: var(--deadline); }
.ring--urgent .ring-bar { stroke: var(--urgent); }
.ring--over .ring-bar { stroke: transparent; }
.ring-num { position: relative; font-weight: 800; font-size: calc(var(--size, 56px) * 0.32); line-height: 1; margin-top: -6%; }
.ring-cap { position: absolute; bottom: 20%; font-size: calc(var(--size, 56px) * 0.15); color: var(--muted); font-weight: 700; }
.ring--soon .ring-num { color: var(--deadline-text); }
.ring--urgent .ring-num { color: var(--urgent); }
.ring--over .ring-num { color: var(--muted); }

/* ---------- page head / breadcrumbs / filters ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 var(--s4); font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.page-head { margin-bottom: var(--s4); }
.h-hi { font-size: 0.55em; font-weight: 600; color: var(--muted); margin-left: 6px; }
.cat-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: var(--s3); scrollbar-width: none; }
.chip-link { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.86rem; }
.chip-link:hover { border-color: var(--primary); color: var(--primary); }
.chip-link.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters { display: grid; gap: var(--s3); padding: var(--s4); border-radius: var(--radius); margin-bottom: var(--s5); align-items: end; }
@media (min-width: 760px) { .filters { grid-template-columns: 1fr 180px 200px auto; } }

/* ---------- forms + buttons ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s3); }
.filters .field { margin: 0; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-xs); padding: 10px 12px; min-height: 44px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(41, 82, 204, 0.3); border-color: var(--primary); }
.field-row { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hint { font-size: 0.82rem; color: var(--muted); margin: 0; }
.req { color: var(--urgent); }
.hp { position: absolute; left: -9999px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s var(--ease), box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(41, 82, 204, 0.28); }
.btn-primary:hover { background: var(--primary-strong); color: #fff; }
.btn-secondary { background: var(--primary-soft); color: var(--primary-strong); }
.btn-secondary:hover { background: #d6e0ff; color: var(--primary-strong); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; justify-content: flex-start; text-align: left; }
.btn-block span { display: flex; flex-direction: column; line-height: 1.25; }
.btn-block small { font-weight: 500; font-size: 0.76rem; opacity: 0.8; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }

/* ---------- notices ---------- */
.notice { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border-radius: var(--radius-sm); margin-bottom: var(--s4); border: 1px solid; }
.notice .ico { margin-top: 2px; flex: none; }
.notice--danger { background: #fdecec; border-color: #f5c2c2; color: #7f1d1d; }
.notice--muted { background: #f1f3f7; border-color: var(--line); color: var(--ink-2); }
.notice--info { background: var(--primary-soft); border-color: #c5d3ff; color: #1b347f; }
.notice--warn { background: var(--demo-soft); border-color: #d9c8f5; color: #4c2a86; }
.notice--ok { background: var(--verify-soft); border-color: #a9e0d4; color: #064e42; }

/* ---------- post detail ---------- */
.post-ticket { --stub-w: 150px; }
.ticket-shell--static { margin-bottom: var(--s4); }
.ticket-shell--static:focus-within { outline: none; }
.post-ticket .ticket-main { padding: var(--s5); }
.post-title { font-size: clamp(1.35rem, 1rem + 1.6vw, 2rem); margin: 6px 0 6px; overflow-wrap: anywhere; }
.post-ticket .ticket-org { font-size: 1rem; }
.seal { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s3); padding: 5px 12px; border-radius: 999px; border: 1px solid #a9e0d4; background: var(--verify-soft); color: var(--verify); font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.seal-info { margin-top: var(--s2); font-size: 0.86rem; background: #f7faf9; border: 1px solid var(--line-soft); border-radius: 10px; padding: 10px 12px; }
.seal-info p { margin: 0 0 4px; }
@media (max-width: 559px) {
  .post-ticket { flex-direction: column; -webkit-mask: none; mask: none; }
  .post-ticket .ticket-stub { width: auto; flex-direction: row; justify-content: flex-start; gap: 14px; padding: var(--s3) var(--s5); border-left: 0; border-top: 2px dashed var(--line); border-radius: 0 0 var(--radius) var(--radius); }
  .post-ticket .stub-label { margin-top: 0; }
}

.post-grid { display: grid; gap: var(--s4); }
@media (min-width: 960px) {
  .post-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .post-side { position: sticky; top: calc(var(--header-h) + 56px); }
}
.lead { font-size: 1.04rem; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: var(--s4) 0 0; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: var(--s3); padding: 10px 14px; border-top: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.6); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.excerpt { margin-top: var(--s4); }
.excerpt summary { cursor: pointer; font-weight: 600; color: var(--primary); }
.excerpt p { margin-top: var(--s2); color: var(--ink-2); }
.two-col { display: grid; gap: var(--s4); }
.two-col .panel { margin-bottom: 0; }
.two-col + .panel { margin-top: var(--s4); }
@media (min-width: 700px) { .two-col { grid-template-columns: 1fr 1fr; } }
.big-figure { font-size: 1.8rem; font-weight: 800; margin: 0 0 4px; }
.big-figure span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.h-sub { font-size: 0.92rem; color: var(--ink-2); margin-top: var(--s3); }
.table-lite { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.table-lite th, .table-lite td { text-align: left; padding: 9px 4px; border-top: 1px solid var(--line-soft); }
.table-lite tr:first-child th, .table-lite tr:first-child td { border-top: 0; }
.table-lite th { font-weight: 600; color: var(--ink-2); }
.table-lite td { font-weight: 700; text-align: right; }

/* timeline rail */
.timeline { list-style: none; margin: 0; padding: 0 0 0 6px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: var(--s3); padding: 8px 0 8px 30px; align-items: baseline; }
.tl-dot { position: absolute; left: 0; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--primary); }
.timeline li.is-past .tl-dot { background: var(--primary); border-color: var(--primary); }
.timeline li.is-past .tl-date, .timeline li.is-past .tl-label { color: var(--muted); }
.tl-date { font-weight: 800; }
.tl-label { color: var(--ink-2); }
.tl-today .tl-dot { border-color: var(--deadline); background: var(--deadline-soft); box-shadow: 0 0 0 4px rgba(184, 115, 0, 0.15); }
.tl-today .tl-date { color: var(--deadline-text); }
.tl-today .tl-label { color: var(--deadline-text); font-size: 0.86rem; }
@media (max-width: 420px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }

.links-panel .link-list { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: var(--s2); }
.rev-list { list-style: none; padding: 0; margin: 0; }
.rev-list li { padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 0.92rem; }
.rev-list li:first-child { border-top: 0; }
.rev-type { display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); background: var(--primary-soft); padding: 1px 8px; border-radius: 6px; margin-right: 6px; }

/* floating official-links action bar (mobile) */
.action-bar { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 6px; padding: 6px; border-radius: 18px; box-shadow: var(--shadow-lift); }
.ab-btn { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px; border-radius: 13px; text-decoration: none; font-weight: 700; font-size: 0.82rem; color: var(--ink); background: rgba(255, 255, 255, 0.8); }
.ab-btn small { font-weight: 500; font-size: 0.66rem; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-btn .ico { width: 18px; height: 18px; }
.ab-primary { background: var(--primary); color: #fff; }
.ab-primary small { color: rgba(255, 255, 255, 0.85); }
.ab-primary:hover { color: #fff; background: var(--primary-strong); }
@media (min-width: 960px) { .action-bar { display: none; } }
@media (max-width: 959px) { .post { padding-bottom: 72px; } }

/* ---------- empty / error / trust ---------- */
.empty { text-align: center; padding: var(--s7) var(--s5); border-radius: var(--radius); color: var(--ink-2); }
.empty .ico-xl { color: var(--primary); margin-bottom: var(--s3); }
.err-code { font-size: 4rem; font-weight: 800; color: var(--primary); margin: 0; line-height: 1; }
.trust { display: grid; gap: var(--s5); padding: var(--s5); border-radius: var(--radius); margin-top: var(--s6); }
.trust .ico { color: var(--verify); }
.trust h3 { margin: var(--s2) 0 4px; }
.trust p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); } }

.prose h2 { margin-top: var(--s5); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* ---------- pagination ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s2); margin: var(--s6) 0 0; }
.pager ol { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; }
.pager a, .pager span[aria-current] { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.pager ol a { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.pager span[aria-current] { background: var(--ink); color: #fff; }
.pager-btn { display: inline-flex !important; gap: 4px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.pager-gap { display: grid; place-items: center; width: 24px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); padding-top: var(--s6); }
.footer-grid { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-note { margin-top: var(--s3); color: var(--ink-2); font-size: 0.9rem; max-width: 520px; }
.footer-h { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; }
.site-footer nav a:hover { color: var(--primary); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between; padding-top: var(--s5); padding-bottom: var(--s5); margin-top: var(--s5); border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 0.82rem; }

/* ==========================================================================
   Reference layout: header · hero search panel · stat cards · "Latest Updates" rows
   ========================================================================== */
.site-header { background: rgba(255, 255, 255, 0.86); }
.header-row { gap: var(--s4); height: 70px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.7rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; }

.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; border-top: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.97); box-shadow: var(--shadow-lift); }
.primary-nav.is-open { display: block; }
.primary-nav > ul { list-style: none; margin: 0; padding: var(--s3) 16px var(--s4); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.primary-nav a, .nav-more summary { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.primary-nav a:hover, .nav-more summary:hover { background: var(--primary-soft); color: var(--primary-strong); }
.primary-nav a[aria-current="page"] { background: var(--primary); color: #fff; }
.nav-more { display: none; position: relative; }
.nav-more summary { list-style: none; display: inline-flex; align-items: center; gap: 2px; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary .ico { width: 15px; height: 15px; }
.more-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; list-style: none; margin: 0; padding: 6px; border-radius: 14px; box-shadow: var(--shadow-lift); background: var(--glass-strong); z-index: 40; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--primary); margin-left: auto; }
.icon-btn:hover { background: var(--primary-soft); }
.icon-btn .ico { width: 22px; height: 22px; }
.menu-btn { margin-left: 0; }
@media (min-width: 960px) {
  .primary-nav { display: block; position: static; border: 0; background: none; box-shadow: none; margin-left: auto; }
  .primary-nav > ul { display: flex; align-items: center; padding: 0; gap: 2px; }
  .primary-nav a, .nav-more summary { padding: 8px 12px; font-size: 0.92rem; }
  .nav-more { display: block; }
  .nav-mobile-only { display: none; }
  .icon-btn { margin-left: 0; }
  .menu-btn { display: none; }
  .primary-nav a[aria-current="page"] { background: none; color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); border-radius: 0; }
}

.hero-panel {
  position: relative; isolation: isolate; overflow: hidden; text-align: center; border-radius: 24px;
  padding: clamp(28px, 6vw, 56px) clamp(16px, 5vw, 48px); margin: var(--s2) 0 var(--s5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(232, 239, 255, 0.85));
}
.hero-panel::before, .hero-panel::after { content: ""; position: absolute; border-radius: 50%; filter: blur(40px); z-index: -1; }
.hero-panel::before { width: 320px; height: 320px; left: -80px; top: -120px; background: rgba(120, 160, 255, 0.35); }
.hero-panel::after { width: 300px; height: 300px; right: -60px; bottom: -140px; background: rgba(150, 230, 230, 0.35); }
.hero-panel h1 { font-size: clamp(1.45rem, 1rem + 2.4vw, 2.3rem); margin: 0 0 var(--s2); }
.hero-panel .hero-sub { margin: 0 auto; color: var(--ink-2); font-size: clamp(0.92rem, 0.85rem + 0.3vw, 1.05rem); }
.hero-search { position: relative; display: flex; gap: 6px; max-width: 760px; margin: var(--s5) auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px 6px 6px 8px; box-shadow: 0 8px 24px rgba(29, 91, 240, 0.12); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 10px; background: transparent; color: var(--ink); }
.hero-search .btn { border-radius: 12px; padding: 10px 22px; }
.hero-search--page { margin: 0 0 var(--s5); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-bottom: var(--s5); }
@media (min-width: 820px) { .stat-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s4); } }
.stat-card { display: flex; align-items: center; gap: var(--s3); padding: var(--s4); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--ink); }
.stat-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--tone); background: var(--tone-soft); }
.stat-ico .ico { width: 22px; height: 22px; }
.stat-txt { display: flex; flex-direction: column; min-width: 0; }
.stat-txt b { font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); font-weight: 800; line-height: 1.15; }
.stat-txt span { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.tone-blue { --tone: #1d5bf0; --tone-soft: #e3ebff; }
.tone-green { --tone: #15803d; --tone-soft: #dcf5e5; }
.tone-orange { --tone: #c2410c; --tone-soft: #ffeadb; }
.tone-purple { --tone: #7c3aed; --tone-soft: #efe7ff; }
@media (max-width: 400px) { .stat-card { padding: 12px; gap: 10px; } .stat-ico { width: 38px; height: 38px; border-radius: 11px; } }

.updates { border-radius: var(--radius); padding: var(--s4) var(--s4) var(--s2); margin-bottom: var(--s5); }
@media (min-width: 640px) { .updates { padding: var(--s5) var(--s5) var(--s3); } }
.updates .block-head { margin-bottom: var(--s3); }
.updates .block-head h2 { font-size: 1.15rem; }
.sections .updates { margin-bottom: 0; }
.u-list { list-style: none; margin: 0; padding: 0; }
.u-row { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "badge title" ". meta"; gap: 4px 12px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--line-soft); }
.u-row:first-child { border-top: 0; }
.u-badge { grid-area: badge; justify-self: start; align-self: start; margin-top: 1px; min-width: 70px; text-align: center; font-size: 0.72rem; font-weight: 700; color: #fff; padding: 4px 9px; border-radius: 6px; white-space: nowrap; background: var(--b, #475569); }
.u-title { grid-area: title; color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.u-title:hover { color: var(--primary); text-decoration: underline; }
.u-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.u-date { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.u-flag { font-size: 0.72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.u-flag--soon { background: var(--deadline-soft); color: var(--deadline-text); }
.u-flag--over { background: #eceef3; color: var(--muted); }
.u-flag--bad { background: var(--urgent-soft); color: #8a1c12; }
.u-flag--upd { background: var(--primary-soft); color: var(--primary-strong); }
.u-row.is-expired .u-title { color: var(--muted); }
@media (min-width: 760px) {
  .u-row { grid-template-columns: 112px 1fr auto; grid-template-areas: "badge title meta"; padding: 12px 6px; }
  .u-badge { align-self: center; margin: 0; }
  .u-meta { justify-content: flex-end; }
  .u-list--compact .u-row { grid-template-columns: 112px 1fr; grid-template-areas: "badge title" ". meta"; }
  .u-list--compact .u-meta { justify-content: flex-start; }
}
.ub--jobs { --b: #15803d; } .ub--online-form { --b: #be185d; } .ub--results { --b: #1d4ed8; }
.ub--admit-card { --b: #c2410c; } .ub--answer-key { --b: #7c3aed; } .ub--exam-dates { --b: #be123c; }
.ub--syllabus { --b: #0f766e; } .ub--admissions { --b: #4d7c0f; } .ub--scholarships { --b: #a16207; } .ub--notices { --b: #475569; }
.cat-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s5); }


@media (max-width: 759px) {
  .u-row { grid-template-columns: 76px 1fr; gap: 2px 10px; padding: 10px 2px; }
  .u-badge { justify-self: stretch; min-width: 0; font-size: 0.64rem; padding: 3px 4px; border-radius: 5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
  .u-title { font-size: 0.9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .u-meta { gap: 4px; }
  .u-meta .chip { font-size: 0.66rem; padding: 1px 7px; }
  .u-date { font-size: 0.74rem; }
}
@media (max-width: 559px) {
  .search-link { display: none; }
  .menu-btn { margin-left: auto; }
  .brand-sub { font-size: 0.64rem; white-space: nowrap; }
  .brand-name { font-size: 1.1rem; }
  .brand-mark { width: 36px; height: 36px; }
  .hero-search .btn { padding: 10px 14px; }
  .stat-txt span { font-size: 0.74rem; line-height: 1.25; }
}
@media (max-width: 380px) { .hero-search .btn span, .brand-sub { display: none; } }

/* Blinking "NEW" tag for recently published posts.
   Slow 1.2 s cycle (well under the 3-flashes-per-second limit); static under reduced motion. */
.new-tag {
  display: inline-block; vertical-align: 2px; margin-left: 4px;
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1;
  padding: 3px 6px; border-radius: 4px; color: #fff;
  background: linear-gradient(135deg, #e11d48, #f97316);
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5);
  animation: new-blink 1.2s steps(1, end) infinite, new-glow 1.2s ease-out infinite;
  text-decoration: none;
}
.u-title:hover .new-tag { text-decoration: none; }
@keyframes new-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes new-glow { 0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.45); } 100% { box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); } }
@media (prefers-reduced-motion: reduce) { .new-tag { animation: none !important; opacity: 1 !important; } }

/* ==========================================================================
   Animated hero + layout polish
   All motion is decorative and switched off under prefers-reduced-motion.
   ========================================================================== */
.hero-panel { padding: clamp(36px, 7vw, 76px) clamp(16px, 5vw, 56px) clamp(32px, 6vw, 60px); border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(236, 242, 255, 0.88)); border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px rgba(22, 32, 58, 0.04), 0 20px 50px -20px rgba(29, 91, 240, 0.25); }
.hero-panel::before, .hero-panel::after { display: none; }
.hero-inner { position: relative; z-index: 2; }

/* moving gradient blobs + faint grid */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: 0.55; will-change: transform; }
.blob-1 { width: 420px; height: 420px; left: -120px; top: -170px; background: radial-gradient(circle, #7aa2ff, transparent 70%); animation: drift-1 16s ease-in-out infinite alternate; }
.blob-2 { width: 380px; height: 380px; right: -110px; bottom: -190px; background: radial-gradient(circle, #6ee7e0, transparent 70%); animation: drift-2 19s ease-in-out infinite alternate; }
.blob-3 { width: 300px; height: 300px; left: 46%; top: -160px; background: radial-gradient(circle, #c4a8ff, transparent 70%); opacity: 0.45; animation: drift-3 22s ease-in-out infinite alternate; }
.hero-grid { position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(29, 91, 240, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 91, 240, 0.06) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
@keyframes drift-1 { to { transform: translate(140px, 80px) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-160px, -60px) scale(1.1); } }
@keyframes drift-3 { to { transform: translate(-120px, 70px) scale(0.9); } }

/* floating glass chips (desktop only) */
.float-chips { display: none; }
@media (min-width: 1100px) {
  .float-chips { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .fchip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px;
    background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 12px 30px -12px rgba(22, 32, 58, 0.25);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 0.85rem; color: var(--ink);
    opacity: 0; animation: chip-in .7s var(--ease) forwards, bob 6s ease-in-out infinite; }
  .fchip .stat-ico { width: 34px; height: 34px; border-radius: 10px; }
  .fchip .stat-ico .ico { width: 18px; height: 18px; }
  .fchip-1 { left: 6%; top: 22%; animation-delay: .9s, .9s; }
  .fchip-2 { left: 9%; bottom: 16%; animation-delay: 1.1s, 2.2s; }
  .fchip-3 { right: 6%; top: 20%; animation-delay: 1.3s, 1.4s; }
  .fchip-4 { right: 9%; bottom: 18%; animation-delay: 1.5s, 3s; }
}
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* live pill */
.hero-live { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--s4); padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line-soft); font-size: 0.8rem; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 4px 14px -6px rgba(22, 32, 58, 0.18); animation: rise .6s var(--ease) both; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #16a34a; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

/* headline: word-by-word rise + gradient "Government Job" with drawn swoosh */
.hero-title { font-size: clamp(1.7rem, 1rem + 3.4vw, 3.4rem) !important; line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 var(--s3) !important; }
.hero-title .w { display: inline-block; animation: rise .7s var(--ease) both; }
.hero-title .w:nth-child(1) { animation-delay: .08s; }
.hero-title .w:nth-child(2) { animation-delay: .16s; }
.hero-title .w:nth-child(3) { animation-delay: .24s; }
.hero-title .w:nth-child(4) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hl-wrap { position: relative; white-space: nowrap; }
.hl-grad { background: linear-gradient(90deg, #1d5bf0, #7c3aed, #0ea5e9, #1d5bf0); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
@keyframes shimmer { to { background-position: 300% 0; } }
.swoosh { position: absolute; left: 0; right: 0; bottom: -0.18em; width: 100%; height: 0.32em; overflow: visible; }
.swoosh path { fill: none; stroke: #f43f5e; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1s .9s var(--ease) forwards; opacity: .85; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-panel .hero-sub { animation: rise .7s .45s var(--ease) both; }
.rotator { display: inline-block; height: 1.5em; overflow: hidden; vertical-align: bottom; }
.rotator-track { display: flex; flex-direction: column; animation: rotate-words 10s cubic-bezier(.7, 0, .3, 1) infinite; }
.rotator-track span { display: block; text-align: center; height: 1.5em; line-height: 1.5em; font-weight: 700; color: var(--primary); }
@keyframes rotate-words {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.5em); }
  50%, 70% { transform: translateY(-3em); }
  75%, 95% { transform: translateY(-4.5em); }
  100% { transform: translateY(-6em); }
}

/* search box */
.hero-search { animation: rise .7s .6s var(--ease) both; padding-left: 4px; transition: box-shadow .25s, border-color .25s, transform .25s; }
.hs-ico { display: grid; place-items: center; width: 36px; color: var(--muted); flex: none; }
.hero-search:focus-within { outline: none; border-color: var(--primary); box-shadow: 0 0 0 5px rgba(29, 91, 240, 0.14), 0 14px 34px -10px rgba(29, 91, 240, 0.35); transform: translateY(-1px); }
.hero-search .btn { position: relative; overflow: hidden; }
.hero-search .btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 4.5s 1.6s ease-in-out infinite; }
@keyframes sweep { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (max-width: 559px) { .hs-ico { display: none; } .hero-search { padding-left: 8px; } }

.hero-popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: var(--s4); font-size: 0.85rem; animation: rise .7s .75s var(--ease) both; }
.hero-popular a { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line-soft); color: var(--ink-2); text-decoration: none; font-weight: 600; transition: all .2s var(--ease); }
.hero-popular a:hover { color: #fff; background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }

/* stat cards: staggered pop-in, hover arrow */
.pop-in { animation: rise .6s calc(.7s + var(--d, 0ms)) var(--ease) both; }
.stat-card { position: relative; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--tone); opacity: 0; transition: opacity .2s; }
.stat-card:hover::before { opacity: 1; }
.stat-arrow { margin-left: auto; color: var(--tone); opacity: 0; transform: translateX(-6px); transition: all .25s var(--ease); }
.stat-card:hover .stat-arrow { opacity: 1; transform: none; }
@media (max-width: 819px) { .stat-arrow { display: none; } }
.stat-card:hover .stat-ico { transform: scale(1.08) rotate(-4deg); }
.stat-ico { transition: transform .25s var(--ease); }

/* section headings with icon tiles */
.h-ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; margin-right: 8px; color: var(--tone); background: var(--tone-soft); flex: none; }
.h-ico .ico { width: 17px; height: 17px; }
.block-head h2 .h-ico .ico { color: var(--tone); }
.trust .h-ico { width: 44px; height: 44px; border-radius: 13px; margin: 0; }
.trust .h-ico .ico { width: 22px; height: 22px; }

/* list rows: hover lift with accent */
.u-row { position: relative; border-radius: 10px; transition: background .2s, transform .2s var(--ease); }
.u-row:hover { background: rgba(29, 91, 240, 0.045); transform: translateX(3px); }
.u-row::before { content: ""; position: absolute; left: -2px; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: var(--primary); opacity: 0; transition: opacity .2s; }
.u-row:hover::before { opacity: 1; }
.updates { box-shadow: 0 1px 2px rgba(22, 32, 58, 0.04), 0 10px 30px -18px rgba(22, 32, 58, 0.25); }
.link-more .ico { transition: transform .2s var(--ease); }
.link-more:hover .ico { transform: translateX(3px); }

.browse { margin-bottom: var(--s5); }
.browse .cat-grid { margin-bottom: 0; }
.cat-tile:hover .cat-icon { transform: scale(1.08); }
.cat-icon { transition: transform .25s var(--ease); }

/* scroll reveal (only when JS is active, see app.js) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .swoosh path { stroke-dashoffset: 0; }
  .fchip { opacity: 1; }
  .rotator-track { transform: none !important; }
}

/* ==========================================================================
   Logo lockup · 4-column footer · social buttons · share bar
   ========================================================================== */
.brand { gap: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 6px 10px rgba(37, 99, 235, 0.28)); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-l1 { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.logo-l2 { margin-top: 3px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  background: linear-gradient(90deg, #2563eb, #4f46e5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-bell { transform-origin: 39.5px 8.5px; animation: bell-pop 4s ease-in-out 1.2s infinite; }
@keyframes bell-pop { 0%, 86%, 100% { transform: scale(1); } 90% { transform: scale(1.18); } 94% { transform: scale(.94); } }
.brand:hover .logo-mark { transform: rotate(-4deg); }
.logo-mark { transition: transform .25s var(--ease); }
.logo--lg .logo-mark { width: 52px; height: 52px; }
.logo--lg .logo-l1 { font-size: 1.4rem; }
.logo--lg .logo-l2 { font-size: 0.74rem; }
.logo--sm .logo-mark { width: 36px; height: 36px; }
.logo--sm .logo-l1 { font-size: 1rem; }
.logo--sm .logo-l2 { font-size: 0.58rem; letter-spacing: 0.24em; }
@media (max-width: 380px) { .logo-mark { width: 38px; height: 38px; } .logo-l1 { font-size: 1.05rem; } .logo-l2 { font-size: 0.6rem; letter-spacing: 0.24em; } }
.brand-text, .brand-sub { display: none; }

/* footer */
.site-footer { margin-top: var(--s6); padding-top: var(--s7); border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(235, 241, 255, 0.9)); }
.footer-grid { display: grid; gap: var(--s6) var(--s5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.f-col .footer-h { margin: 6px 0 var(--s4); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: var(--ink); position: relative; padding-bottom: 10px; }
.f-col .footer-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #2563eb, #f97316); }
.site-footer ul { gap: 9px; }
.site-footer nav a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s, transform .2s var(--ease); }
.site-footer nav a:hover { transform: translateX(3px); }
.site-footer nav a::before { content: "›"; color: var(--primary); font-weight: 800; }
.footer-note { margin: var(--s4) 0 var(--s3); }
.footer-disclaimer { display: flex; gap: 8px; align-items: flex-start; font-size: 0.82rem; color: var(--ink-2); background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px 12px; max-width: 520px; }
.footer-disclaimer .ico { color: var(--primary); margin-top: 2px; flex: none; }
.social-list { display: flex !important; flex-wrap: wrap; gap: 10px !important; margin: var(--s2) 0 var(--s4) !important; }
.social-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: var(--sc);
  box-shadow: 0 6px 14px -6px var(--sc); transition: transform .2s var(--ease), box-shadow .2s; }
.social-btn .ico { width: 20px; height: 20px; }
a.social-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -8px var(--sc); color: #fff; }
.social-btn.is-off { opacity: 0.35; filter: grayscale(0.4); cursor: default; box-shadow: none; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-2); text-decoration: none; }
.footer-mail:hover { color: var(--primary); }
.footer-base { margin-top: var(--s6); border-top: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.6); }
.footer-base-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px var(--s5); padding-top: var(--s4); padding-bottom: var(--s4); color: var(--muted); font-size: 0.82rem; }

/* share bar */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px var(--s3); padding: 12px var(--s4); border-radius: var(--radius); margin-bottom: var(--s4); }
.share-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.share-label .ico { color: var(--primary); }
.share-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 10px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 0.85rem; font-weight: 700; color: #fff; background: var(--sc, var(--ink-2)); text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.share-btn .ico { width: 17px; height: 17px; }
.share-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 16px -8px var(--sc, #333); filter: brightness(1.05); }
.share-copy, .share-native { --sc: #475569; }
.share-copy.is-done { --sc: #15803d; }
.share-status { font-size: 0.82rem; font-weight: 700; color: var(--verify); }
@media (max-width: 640px) {
  .share-name { display: none; }
  .share-btn { width: 40px; height: 40px; padding: 0; justify-content: center; }
}


/* ==========================================================================
   Floating capsule header + "Closing Soon" strip
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 30; padding: 12px clamp(12px, 3vw, 48px) 0; background: none; border: 0; box-shadow: none; }
.header-capsule {
  position: relative; display: flex; align-items: center; gap: var(--s3); height: 64px; padding: 0 8px 0 14px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 30px -12px rgba(22, 32, 58, 0.22), 0 2px 6px rgba(22, 32, 58, 0.05);
}
@supports ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .header-capsule { background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
}
.header-capsule .logo-mark { width: 40px; height: 40px; }
.header-capsule .logo-l1 { font-size: 1.1rem; }
.header-capsule .logo-l2 { font-size: 0.62rem; }

/* nav inside capsule */
.site-header .primary-nav { top: calc(100% + 8px); left: 0; right: 0; border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 22px; background: rgba(255, 255, 255, 0.97); }
.site-header .primary-nav a, .site-header .nav-more summary { border-radius: 999px; }
.site-header .primary-nav a[aria-current="page"] { background: var(--primary); color: #fff; box-shadow: 0 6px 14px -6px rgba(29, 91, 240, 0.6); }
.search-link { border-radius: 50%; width: 46px; height: 46px; color: #fff; background: linear-gradient(135deg, #2563eb, #4f46e5); box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.7); }
.search-link:hover { background: linear-gradient(135deg, #1d4ed8, #4338ca); color: #fff; transform: translateY(-1px); }
.search-link .ico { width: 20px; height: 20px; }
.site-header .menu-btn { border-radius: 50%; width: 46px; height: 46px; border-color: var(--line-soft); }
@media (min-width: 960px) {
  .site-header .primary-nav { position: static; border: 0; background: none; margin-left: auto; }
  .site-header .primary-nav > ul { gap: 2px; padding: 4px; border-radius: 999px; background: rgba(240, 244, 255, 0.75); border: 1px solid rgba(225, 232, 250, 0.9); }
  .site-header .primary-nav a, .site-header .nav-more summary { padding: 8px 15px; font-size: 0.9rem; }
  .site-header .primary-nav a[aria-current="page"] { box-shadow: 0 6px 14px -6px rgba(29, 91, 240, 0.6); }
  .site-header .search-link { margin-left: 4px; }
  .more-menu { border-radius: 18px; }
}
@media (max-width: 559px) {
  .site-header { padding-top: 8px; }
  .header-capsule { height: 58px; padding: 0 6px 0 10px; }
  .header-capsule .logo-mark { width: 36px; height: 36px; }
  .search-link { display: inline-grid !important; width: 42px; height: 42px; margin-left: auto; }
  .site-header .menu-btn { width: 42px; height: 42px; margin-left: 0; }
}
.main { padding-top: var(--s3); }

/* closing soon strip */
.closing-wrap { margin-top: 10px; }
.closing-strip { display: flex; align-items: center; gap: 10px; height: 42px; padding: 4px 4px 4px 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 237, 213, 0.95); box-shadow: 0 6px 18px -12px rgba(194, 65, 12, 0.35); overflow: hidden; }
.cs-label { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 14px; border-radius: 999px; text-decoration: none;
  color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; background: linear-gradient(135deg, #f97316, #e11d48); box-shadow: 0 4px 12px -4px rgba(225, 29, 72, 0.55); }
.cs-label:hover { color: #fff; filter: brightness(1.05); }
.cs-label .ico { width: 15px; height: 15px; animation: tick 2s steps(2) infinite; }
@keyframes tick { 50% { transform: rotate(12deg); } }
.cs-viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.cs-track { display: flex; width: max-content; height: 100%; animation: marquee var(--dur, 40s) linear infinite; }
.closing-strip:hover .cs-track, .closing-strip:focus-within .cs-track { animation-play-state: paused; }
.cs-track ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0 12px 0 0; gap: 8px; }
.cs-track li a { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 6px 0 12px; border-radius: 999px; white-space: nowrap;
  text-decoration: none; color: var(--ink); font-size: 0.84rem; font-weight: 600; background: rgba(248, 250, 255, 0.9); border: 1px solid var(--line-soft); transition: background .2s, border-color .2s; }
.cs-track li a:hover { border-color: #fdba74; background: #fff7ed; color: var(--ink); }
.cs-days { font-size: 0.7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.cs-urgent { background: var(--urgent-soft); color: #9a2a0c; }
.cs-soon { background: var(--deadline-soft); color: var(--deadline-text); }
.cs-ok { background: var(--primary-soft); color: var(--primary-strong); }
@keyframes marquee { to { transform: translateX(-50%); } }
.cs-track.is-static { animation: none; }
.cs-viewport:has(.is-static) { overflow-x: auto; scrollbar-width: none; }
@media (max-width: 559px) { .cs-label { padding: 0 10px; font-size: 0.68rem; gap: 4px; } .cs-label .ico { width: 13px; height: 13px; } .closing-strip { height: 40px; } .cs-title { max-width: 112px; overflow: hidden; text-overflow: ellipsis; } .cs-track li a { font-size: 0.78rem; } }
@media (prefers-reduced-motion: reduce) {
  .cs-viewport { overflow-x: auto; }
  .cs-track { animation: none; }
  .cs-track ul[aria-hidden="true"] { display: none; }
}


/* Header scrolls away with the page (not sticky) */
.site-header { position: relative; top: auto; }

/* Rounded floating footer card (matches the capsule header) */
.site-footer {
  margin: var(--s6) clamp(12px, 3vw, 48px) clamp(12px, 2vw, 20px); padding-top: clamp(28px, 4vw, 48px);
  border-radius: clamp(24px, 3vw, 36px); border: 1px solid rgba(255, 255, 255, 0.95); overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(232, 239, 255, 0.92));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 20px 50px -24px rgba(22, 32, 58, 0.3), 0 2px 6px rgba(22, 32, 58, 0.04);
}
.site-footer > .wrap { padding-left: clamp(18px, 3vw, 44px); padding-right: clamp(18px, 3vw, 44px); }
.site-footer .footer-base { margin: var(--s6) clamp(10px, 1.5vw, 16px) clamp(10px, 1.5vw, 16px); border: 1px solid var(--line-soft); border-radius: 999px; background: rgba(255, 255, 255, 0.8); padding: 0; display: block; }
.site-footer .footer-base-row { padding: 12px clamp(16px, 2.5vw, 28px); }
.footer-disclaimer { border-radius: 16px; }
@media (max-width: 559px) {
  .site-footer .footer-base { border-radius: 20px; }
  .site-footer .footer-base-row { flex-direction: column; text-align: center; align-items: center; }
}


/* Compact single-line update rows (overrides earlier two-line grid layout) */
.u-list .u-row { display: flex; align-items: center; gap: 10px; padding: 8px 6px; grid-template-columns: none; grid-template-areas: none; }
.u-list .u-badge { flex: none; width: 88px; min-width: 0; margin: 0; padding: 3px 4px; font-size: 0.66rem; border-radius: 5px; text-align: center; overflow: hidden; text-overflow: ellipsis; align-self: center; }
.u-list .u-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 0.9rem; line-height: 1.3; -webkit-line-clamp: unset; }
.u-ttext { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.u-title .new-tag { flex: none; margin-left: 0; }
.u-list .u-meta { flex: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 5px; justify-content: flex-end; }
.u-list .u-meta .chip { font-size: 0.62rem; padding: 1px 6px; }
.u-list .u-flag { font-size: 0.66rem; padding: 1px 7px; white-space: nowrap; }
.u-list .u-date { font-size: 0.74rem; white-space: nowrap; }
.u-dl { color: var(--muted); }
.updates .u-list .u-row:hover { transform: translateX(2px); }
/* grid tracks must be allowed to shrink below the long one-line titles */
.sections > * { min-width: 0; }
@media (min-width: 860px) { .sections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .sections { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.updates, .u-list, .u-row { min-width: 0; }
.sections { gap: var(--s3); }
.sections .updates { padding: 14px 16px 8px; }
.sections .updates .block-head { margin-bottom: 4px; }
.sections .updates .block-head h2 { font-size: 1rem; }
.sections .link-more { font-size: 0.82rem; }
/* narrower cards (3-column sections) and phones: drop low-priority bits to keep one line */
.sections .u-badge { width: 76px; }
.sections .u-demo, .sections .u-dl { display: none; }
@media (max-width: 759px) {
  .u-list .u-row { gap: 8px; padding: 8px 2px; }
  .u-list .u-badge { width: 66px; font-size: 0.6rem; padding: 3px 2px; }
  .u-list .u-title { font-size: 0.84rem; }
  .u-demo, .u-dl { display: none; }
  .u-list .u-date { font-size: 0.7rem; }
  .u-title .new-tag { font-size: 0.55rem; padding: 2px 4px; letter-spacing: 0.02em; }
  .u-list .u-flag { font-size: 0.6rem; padding: 1px 5px; }
}
@media (max-width: 380px) { .u-list .u-flag--upd { display: none; } }


/* Language toggle (EN | हिं) inside the capsule header */
.lang-toggle { display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 3px 3px 3px 10px; border-radius: 999px;
  background: rgba(240, 244, 255, 0.85); border: 1px solid rgba(225, 232, 250, 0.95); color: var(--primary); flex: none; }
.lang-toggle > .ico { width: 16px; height: 16px; margin-right: 4px; }
.lang-toggle button { height: 32px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: inherit; font-size: 0.82rem; font-weight: 800; color: var(--ink-2); transition: background .2s, color .2s; }
.lang-toggle button[lang=hi] { font-family: var(--font-hi); font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.lang-toggle button:hover { color: var(--primary); }
.lang-toggle button[aria-pressed=true] { background: var(--primary); color: #fff; box-shadow: 0 4px 10px -4px rgba(29, 91, 240, 0.6); }
@media (min-width: 960px) { .lang-toggle { margin-left: 6px; } }
@media (max-width: 959px) { .lang-toggle { margin-left: auto; } .site-header .search-link { margin-left: 0; } }
@media (max-width: 559px) { .lang-toggle { height: 36px; padding: 2px; } .lang-toggle > .ico { display: none; } .lang-toggle button { height: 30px; min-width: 34px; padding: 0 7px; font-size: 0.74rem; } .lang-toggle button[lang=hi] { font-size: 0.86rem; } }
@media (max-width: 380px) { .header-capsule { gap: 6px; } .header-capsule .logo-l1 { font-size: 0.95rem; } .header-capsule .logo-l2 { letter-spacing: 0.18em; } }

/* Google Translate: hide its banner/tooltips, keep our layout intact */
.gt-mount { position: absolute !important; left: -9999px !important; top: 0; width: 1px; height: 1px; overflow: hidden; }
body > .skiptranslate, iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font { background: none !important; box-shadow: none !important; }
.is-hi body, .is-hi .u-title, .is-hi h1, .is-hi h2, .is-hi h3 { font-family: var(--font-hi); }


/* Small third-party source note at the bottom of a post */
.src-note { display: flex; align-items: flex-start; gap: 6px; margin: var(--s2) 0 var(--s4); padding: 8px 12px; border-radius: 10px;
  font-size: 0.76rem; line-height: 1.45; color: var(--muted); background: rgba(255, 255, 255, 0.6); border: 1px dashed var(--line); }
.src-note .ico { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--muted); }
.src-note b { color: var(--ink-2); font-weight: 600; }


/* Codinza credit in the footer bar */
.codinza-credit { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; text-decoration: none;
  background: #fff; border: 1px solid var(--line-soft); box-shadow: 0 4px 12px -8px rgba(22,32,58,.35); color: var(--muted); font-size: 0.8rem; transition: transform .2s var(--ease), box-shadow .2s; }
.codinza-credit:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(37,99,235,.55); color: var(--muted); }
.cc-brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.cc-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: #fff; font-size: .72rem; font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #7c3aed); }
.cc-url { color: var(--primary); font-weight: 600; }
.footer-base-row { align-items: center; }
@media (max-width: 559px) { .codinza-credit { order: -1; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .stamp { transform: none; }
}
@media print {
  .site-header, .site-footer, .action-bar, .ticker, .filters { display: none !important; }
  body { background: #fff; }
}

/* Full-width layout: on wide screens show category sections in 3 columns */
@media (min-width: 1500px) { .sections { grid-template-columns: repeat(3, 1fr); } }

/* compact Codinza credit */
.codinza-credit { gap: 5px; padding: 2px 9px 2px 3px; font-size: 0.68rem; box-shadow: none; }
.cc-brand { gap: 4px; }
.cc-mark { width: 15px; height: 15px; border-radius: 5px; font-size: .58rem; }
.cc-url::before { content: "·"; margin-right: 5px; color: var(--muted); }
