/* ============================================================================
   KadamSetu — classic SarkariResult look & feel (motion-free, plain CSS).
   Structure mirrors sarkariresult.com / sarkariresult.com.cm:
   maroon masthead → dark nav bar → welcome line + LIVE → colorful category
   button grid → dense Result / Admit Card / Latest Jobs columns with colored
   headers and bulleted blue links. White content sheet on a light-grey page.

   PALETTE IS VARIABLE-DRIVEN — swap the two reference looks by changing the
   :root block below (the ".com.cm variant" is provided commented-out).
   ========================================================================== */
:root {
  /* ---- Page / surfaces ---- */
  --page-bg: #e9edf2;         /* light grey page (SR content sits on grey) */
  --content-bg: #ffffff;      /* white content sheet */
  --border: #d7dde5;          /* hairline borders */
  --border-strong: #c3ccd6;

  /* ---- SarkariResult.com.cm palette (bright red masthead + navy nav) ---- */
  --sr-header: #cd0808;       /* masthead bright red */
  --sr-header-2: #a80606;     /* darker red (gradient bottom) */
  --sr-nav: #05055f;          /* navy-blue menu bar */
  --sr-nav-2: #03033f;
  --sr-colhead: #a80909;      /* column header bar (dark red) */
  --sr-colhead-2: #870707;
  --sr-accent: #d10a0a;       /* red accent — NEW badge, bullets, link hover */
  --sr-accent-2: #a80606;
  --sr-serif-head: #123c9e;   /* blue serif accent headings */
  --sr-link: #0b3fb5;         /* blue body/list links */
  --sr-link-hover: #d10a0a;   /* SR red hover */

  /* ---- Text ---- */
  --fg: #1e2733;
  --muted: #5c6673;
  --muted-2: #7b8593;

  /* ---- Status accents ---- */
  --ok: #0a8a4a; --ok-bg: #e8f8ef;
  --warn: #b45309; --warn-bg: #fff6e6;
  --info: #16357f; --info-bg: #eaf0ff;
  --closed: #64748b; --closed-bg: #eef1f4;

  --radius: 4px;              /* SR is boxy — small radius */
  --shadow: 0 1px 3px rgb(20 20 40 / .10);
  --shadow-lg: 0 2px 10px rgb(20 20 40 / .12);
  --font-sans: Arial, "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --maxw: 1180px;

  /* Back-compat aliases — inline styles in the templates still reference the old
     --slate/--brand/--accent scales; map them onto the SR palette so nothing breaks. */
  --slate-100: #eef1f4; --slate-200: #e2e6ec; --slate-300: #c3ccd6; --slate-400: #94a3b8;
  --slate-500: #5c6673; --slate-600: #4b5563; --slate-700: #334155; --slate-800: #1e293b; --slate-900: #17202b;
  --brand-50: #eaf0ff; --brand-100: #d7e2ff; --brand-500: #0b3fb5; --brand-600: #0b3fb5;
  --brand-700: #0b3fb5; --brand-800: #123c9e; --brand-900: #0d2a6b;
  --accent-50: #fdeaee; --accent-100: #fbd5db; --accent-600: #d10a0a; --accent-700: #a80606;
}

/* ---- .com (original) variant — maroon + black. To use, copy into :root above:
  --sr-header:#ab183d; --sr-header-2:#8d1231;
  --sr-nav:#131313;    --sr-nav-2:#000000;
  --sr-colhead:#ab183d;--sr-colhead-2:#8d1231;
  --sr-accent:#c0182f; --sr-accent-2:#9e0f24; --sr-serif-head:#16357f;
---------------------------------------------------------------------------- */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page-bg); color: var(--fg);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--sr-link); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Visible keyboard-focus state (accessibility) — never for mouse clicks. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--sr-serif-head); outline-offset: 2px; border-radius: 2px;
}
.nav-menu a:focus-visible, .sr-btngrid a:focus-visible { outline-color: #fff; }
h1, h2, h3, h4 { line-height: 1.25; }

/* Content width helper — used by full-bleed bars (transparent) AND the sheet. */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 12px; padding-right: 12px; }
@media (min-width: 640px) { .wrap { padding-left: 16px; padding-right: 16px; } }

/* The white content sheet that holds the page body (SR's white box on grey). */
main.main {
  max-width: var(--maxw); margin: 0 auto; background: var(--content-bg);
  border: 1px solid var(--border); border-top: 0;
  padding: 14px 14px 26px; box-shadow: var(--shadow);
}
@media (min-width: 640px) { main.main { padding: 18px 20px 34px; } }

/* ============================ HEADER ================================== */
.trustbar { background: #0d0f14; color: #cfd6e0; font-size: 11.5px; }
.trustbar .wrap { padding: 5px 12px; text-align: center; }

/* Masthead — big colored bar with centered site title (SR signature). */
.site-head { position: static; }
.sr-masthead {
  background: linear-gradient(180deg, var(--sr-header), var(--sr-header-2));
  color: #fff;
}
.sr-masthead .wrap {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 16px 12px; position: relative; text-align: center;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark {
  font-family: var(--font-serif); font-weight: 700; letter-spacing: .5px;
  font-size: clamp(1.6rem, 5.5vw, 2.6rem); line-height: 1.05; color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / .25);
}
.brand-mark .brand-blue { color: #ffe08a; }   /* gold accent on 2nd word */
.brand-sub {
  font-size: clamp(.62rem, 2.6vw, .82rem); letter-spacing: 1.5px;
  text-transform: uppercase; color: #ffdfe6; margin-top: 3px; font-weight: 700;
}

/* Navigation bar — dark, horizontal menu (SR's black/navy bar). */
.site-nav { background: linear-gradient(180deg, var(--sr-nav), var(--sr-nav-2)); }
.nav-inner { display: flex; align-items: stretch; }
.nav-menu {
  display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-menu a {
  white-space: nowrap; color: #fff; font-size: 13.5px; font-weight: 700;
  padding: 12px 15px; border-left: 1px solid rgb(255 255 255 / .09);
  letter-spacing: .2px;
}
.nav-menu a:first-child { border-left: 0; }
.nav-menu a:hover { background: var(--sr-accent); text-decoration: none; }
.nav-menu a.is-active { background: var(--sr-accent); }
/* Search toggle at the far right of the nav bar. */
.nav-search { display: flex; align-items: stretch; border-left: 1px solid rgb(255 255 255 / .12); }
.nav-search form { display: flex; align-items: center; }
.nav-search input {
  border: 0; background: rgb(255 255 255 / .14); color: #fff; font: inherit;
  font-size: 13px; padding: 8px 12px; width: 116px; min-width: 0; outline: none;
}
.nav-search input::placeholder { color: #d7d7e0; }
.nav-search input:focus { background: #fff; color: #111; }
.nav-search button {
  border: 0; background: transparent; color: #fff; cursor: pointer;
  padding: 8px 14px; font-size: 16px; line-height: 1;
}
.nav-search button:hover { background: var(--sr-accent); }
/* a usable search field at every width (never collapsed) */
@media (min-width: 560px) { .nav-search input { width: 160px; } }
@media (min-width: 860px) { .nav-search input { width: 210px; } }

/* Optional announcement / maintenance strip already themed inline. */

/* ============================ HOME: welcome / LIVE =================== */
.sr-welcome { text-align: center; padding: 6px 4px 2px; }
.sr-welcome h1 {
  font-family: var(--font-serif); color: var(--sr-serif-head);
  font-size: clamp(1.05rem, 3.6vw, 1.6rem); font-weight: 700; margin: 6px 0;
}
.sr-welcome h1 .red { color: var(--sr-accent); }
.sr-intro {
  text-align: center; font-size: 14px; color: #2b2f36; line-height: 1.6;
  margin: 4px auto 6px; max-width: 900px;
}
.sr-intro b { color: #111; }
.sr-live {
  display: inline-block; margin: 4px 0; font-weight: 800; font-size: 12px;
  letter-spacing: 1px; color: #fff; background: var(--sr-accent);
  border-radius: 999px; padding: 3px 12px; text-transform: uppercase;
}
.sr-live::before { content: "● "; color: #fff; }
/* Row of quick highlighted links (apps / social / trending headlines). */
.sr-quicklinks { text-align: center; margin: 8px 0 4px; line-height: 2; }
.sr-quicklinks a {
  font-family: var(--font-serif); font-weight: 700; color: var(--sr-link);
  font-size: 15px;
}
.sr-quicklinks a:hover { color: var(--sr-link-hover); }
.sr-quicklinks .sep { color: var(--muted-2); margin: 0 6px; font-weight: 700; }

/* Colorful category button grid (SR's 6-colm box). */
.sr-btngrid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0 14px;
}
@media (min-width: 700px) { .sr-btngrid { grid-template-columns: repeat(4, 1fr); } }
.sr-btngrid a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 8px 10px; color: #fff; font-weight: 800;
  font-size: 13px; line-height: 1.25; border-radius: var(--radius);
  box-shadow: 0 1px 0 rgb(0 0 0 / .18);
}
.sr-btngrid a:hover { filter: brightness(1.08); text-decoration: none; }
.sr-btngrid a:nth-child(8n+1) { background: #e11d1d; }
.sr-btngrid a:nth-child(8n+2) { background: #ea6a0a; }
.sr-btngrid a:nth-child(8n+3) { background: #c81ec2; }
.sr-btngrid a:nth-child(8n+4) { background: #1d38b5; }
.sr-btngrid a:nth-child(8n+5) { background: #7a8a0d; }
.sr-btngrid a:nth-child(8n+6) { background: #0a9bd6; }
.sr-btngrid a:nth-child(8n+7) { background: #7a0d1a; }
.sr-btngrid a:nth-child(8n+8) { background: #0f7a2e; }

/* Trending marquee (kept, restyled to SR yellow strip). */
.sr-trend {
  display: flex; align-items: center; gap: 8px; background: #fff7d6;
  border: 1px solid #f2d574; border-radius: var(--radius);
  padding: 6px 8px; margin: 10px 0 14px; overflow: hidden;
}
.sr-trend .lbl {
  flex-shrink: 0; background: var(--sr-accent); color: #fff; font-weight: 800;
  font-size: 11px; border-radius: 3px; padding: 3px 8px; text-transform: uppercase;
  letter-spacing: .5px;
}
.sr-trend .track { white-space: nowrap; overflow: hidden; flex: 1; }
.sr-trend .scroll { display: inline-block; padding-left: 100%; animation: sr-marquee 34s linear infinite; }
.sr-trend:hover .scroll { animation-play-state: paused; }
.sr-trend a { color: var(--sr-link); font-weight: 700; font-size: 14px; }
.sr-trend a:hover { color: var(--sr-link-hover); }
.sr-trend .dot { color: #c9a94a; margin: 0 8px; }
@keyframes sr-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .sr-trend .scroll { animation: none; padding-left: 0; white-space: normal; }
}

/* Trust strip (live counts). */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center;
  margin: 4px 0 14px; padding: 8px 10px; background: #f6f8fb;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 13px; color: var(--muted);
}
.trust-strip b { color: var(--sr-accent); }

/* ============================ COLUMNS =============================== */
.cols { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 14px 0; }
@media (min-width: 620px) { .cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .cols { grid-template-columns: repeat(3, 1fr); } }
.cols + .cols { margin-top: 6px; }

.col {
  display: flex; flex-direction: column;
  border: 1px solid var(--sr-colhead); border-radius: var(--radius); overflow: hidden;
  background: #fff;
}
/* Column header bar — colored, white centered bold text. */
.sr-colhead {
  margin: 0; background: linear-gradient(180deg, var(--sr-colhead), var(--sr-colhead-2));
  color: #fff; font-weight: 800; text-align: center; font-size: 1.05rem;
  padding: 8px 10px; letter-spacing: .3px; text-transform: none;
}
.col-body { flex: 1; padding: 4px 0; }
/* A list link row — bulleted, blue, underlined-on-hover (SR classic). */
.sr-row {
  display: block; position: relative; padding: 8px 12px 8px 26px;
  border-bottom: 1px dotted #d9d9d9; color: var(--sr-link); font-size: 14px;
  line-height: 1.45; font-weight: 600;
}
.sr-row::before {
  content: ""; position: absolute; left: 12px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--sr-accent);
}
.sr-row:hover { color: var(--sr-link-hover); text-decoration: underline; background: #fafbfe; }
.sr-row:last-child { border-bottom: 0; }
.tag-new {
  display: inline-block; background: var(--sr-accent); color: #fff; font-size: 10px;
  font-weight: 800; padding: 1px 5px; border-radius: 3px; margin-left: 5px;
  vertical-align: middle; letter-spacing: .3px;
}
.tag-res { color: var(--ok); font-weight: 800; margin-left: 5px; font-size: 12px; }
.tag-soon { color: var(--sr-accent); font-weight: 800; margin-left: 5px; font-size: 12px; }
.col-foot {
  display: block; text-align: center; background: #f3f5f8;
  border-top: 1px solid var(--border); padding: 8px; font-size: 13px; font-weight: 800;
  color: var(--sr-colhead);
}
.col-foot:hover { background: var(--sr-colhead); color: #fff; text-decoration: none; }
.col-empty { padding: 20px; text-align: center; color: var(--muted-2); font-size: 13px; }

/* Section header with a "view all" (Closing soon / Guides). */
.home-sec { margin: 16px 0; }
.home-sec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 10px; border-bottom: 2px solid var(--sr-colhead); padding-bottom: 6px;
}
.home-sec-head h2 {
  font-size: 1.1rem; font-weight: 800; color: var(--sr-colhead); margin: 0;
}
.home-sec-head a { font-size: 13px; font-weight: 700; color: var(--sr-link); white-space: nowrap; }

/* ============================ BROWSE / chips ======================== */
.browse { margin: 18px 0; }
.browse h2 {
  font-size: 1.05rem; font-weight: 800; color: var(--sr-colhead); margin: 0 0 10px;
  border-bottom: 2px solid var(--sr-colhead); padding-bottom: 6px;
}
.browse h2.mt { margin-top: 16px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chips-row a {
  display: inline-flex; align-items: center; border: 1px solid var(--border-strong);
  border-radius: var(--radius); background: #f7f9fc; padding: 6px 11px; font-size: 13.5px;
  font-weight: 700; color: var(--sr-link);
}
.chips-row a:hover { border-color: var(--sr-colhead); background: #fff; text-decoration: none; }
.chip-n { margin-left: 6px; background: var(--sr-colhead); color: #fff; font-size: 11px; font-weight: 800; border-radius: 3px; padding: 0 5px; }

/* Top exams / departments tiles. */
.exam-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .exam-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .exam-tiles { grid-template-columns: repeat(6, 1fr); } }
.exam-tiles a {
  display: flex; flex-direction: column; gap: 2px; padding: 9px 10px;
  border: 1px solid var(--border-strong); border-radius: var(--radius); background: #f7f9fc;
}
.exam-tiles a:hover { border-color: var(--sr-colhead); background: #fff; text-decoration: none; }
.et-name { font-weight: 800; color: var(--sr-colhead); font-size: 14px; }
.et-n { font-size: 11.5px; color: var(--muted); }

/* Home FAQ. */
.home-faq { margin: 18px 0; }
.home-faq > h2 {
  font-size: 1.1rem; font-weight: 800; color: var(--sr-colhead); margin: 0 0 10px;
  border-bottom: 2px solid var(--sr-colhead); padding-bottom: 6px;
}

/* SEO prose block. */
.seo-about { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 14px; }
.seo-about h2 { font-size: 1.05rem; font-weight: 800; color: var(--sr-colhead); margin: 0 0 8px; }
.seo-about p { font-size: 13.5px; line-height: 1.7; color: #333a44; margin: 0 0 9px; }

/* ============================ BUTTONS / pills ======================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--radius); padding: 9px 16px; font-weight: 800; font-size: 14px;
  line-height: 1; cursor: pointer; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--sr-colhead); color: #fff; }
.btn-primary:hover { background: var(--sr-colhead-2); }
.btn-accent { background: var(--sr-accent); color: #fff; }
.btn-accent:hover { background: var(--sr-accent-2); }
.btn-block { width: 100%; }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.chip {
  display: inline-flex; align-items: center; gap: 4px; border-radius: 3px;
  background: #eef1f5; color: var(--muted); padding: 2px 8px; font-size: 11.5px; font-weight: 700;
}
.pill {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 800;
}
.st-open { background: var(--ok-bg); color: var(--ok); }
.st-closed { background: var(--closed-bg); color: var(--closed); }
.st-result { background: var(--info-bg); color: var(--info); }
.st-await { background: var(--warn-bg); color: var(--warn); }
.st-upcoming { background: #f2ecff; color: #6d28d9; }
.st-guide { background: #e6f7f4; color: #0f766e; }

/* ============================ LISTING (rows + cards) ================ */
.job-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.job-row {
  display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.job-row:hover { border-color: var(--sr-colhead); background: #fbfcfe; text-decoration: none; }
.jr-avatar { flex: none; }
.jr-main { min-width: 0; flex: 1; }
.jr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.jr-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; color: #17202b; }
.job-row:hover .jr-title { color: var(--sr-link); }
.jr-meta { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12.5px; color: var(--muted); }
.jr-meta .jr-org { font-weight: 700; color: var(--muted); }
.jr-meta .soon { color: var(--sr-accent); font-weight: 800; }
.jr-view { flex: none; align-self: center; font-size: 13px; font-weight: 800; color: var(--sr-link); white-space: nowrap; }
@media (max-width: 600px) { .jr-top { flex-direction: column; gap: 5px; } .jr-view { display: none; } }

.grid-jobs { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 640px) { .grid-jobs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-jobs { grid-template-columns: repeat(3, 1fr); } }
.jcard { display: flex; flex-direction: column; gap: 9px; min-width: 0; overflow: hidden; padding: 12px; }
.jcard:hover { border-color: var(--sr-colhead); background: #fbfcfe; text-decoration: none; }
.jcard-head { display: flex; align-items: flex-start; gap: 10px; }
.avatar { display: flex; height: 40px; width: 40px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: var(--radius); font-size: 12px; font-weight: 800; }
.av-blue { background: #e7effd; color: #1d4ed8; } .av-indigo { background: #ecebfd; color: #4338ca; }
.av-emerald { background: #e6f7ef; color: #047857; } .av-amber { background: #fdf3e0; color: #b45309; }
.av-rose { background: #fdeaee; color: #be123c; } .av-violet { background: #f1ecfd; color: #6d28d9; }
.jcard-title { font-weight: 700; line-height: 1.3; color: #17202b; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.jcard:hover .jcard-title { color: var(--sr-link); }
.jcard-org { margin: 2px 0 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jcard-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jcard-qual { margin: 0; font-size: 12px; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.jcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); padding-top: 9px; font-size: 12px; color: var(--muted); }
.jcard-foot .soon { color: var(--sr-accent); font-weight: 800; }

/* Listing header. */
.list-head { border-bottom: 2px solid var(--sr-colhead); padding-bottom: 10px; }
.list-head h1 { font-size: 1.5rem; font-weight: 800; color: var(--sr-colhead); margin: 0; }
@media (min-width: 640px) { .list-head h1 { font-size: 1.75rem; } }
.list-head .sub { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.list-head .count { margin: 6px 0 0; font-size: 12.5px; color: var(--muted-2); }
.count-pill { display: inline-block; background: var(--info-bg); color: var(--info); font-weight: 800; padding: 1px 7px; border-radius: 3px; }
.list-head .list-intro { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: #333a44; max-width: 78ch; }
.empty { margin-top: 20px; border: 1px dashed var(--border-strong); background: #fff; border-radius: var(--radius); padding: 36px; text-align: center; color: var(--muted-2); }

/* Pagination. */
.pager { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.pager a, .pager span { display: inline-flex; min-width: 36px; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 7px 11px; font-size: 14px; font-weight: 700; background: #fff; color: var(--fg); }
.pager a:hover { border-color: var(--sr-colhead); color: var(--sr-colhead); text-decoration: none; }
.pager .cur { background: var(--sr-colhead); border-color: var(--sr-colhead); color: #fff; }

/* ============================ JOB DETAIL =========================== */
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--sr-link); }
.crumbs a:hover { color: var(--sr-link-hover); }
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.job-title {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; line-height: 1.2;
  color: var(--sr-serif-head); margin: 0; text-align: center;
}
@media (min-width: 640px) { .job-title { font-size: 1.9rem; } }
.banner { margin-top: 12px; border-radius: var(--radius); padding: 9px 12px; font-size: 13.5px; border: 1px solid transparent; }
.banner-ok { background: var(--ok-bg); border-color: #a7e8c4; color: #0a6b3a; }
.banner-info { background: var(--info-bg); border-color: #c3d3ff; color: #16357f; }
.banner-closed { background: var(--closed-bg); border-color: var(--border-strong); color: var(--closed); }
.cycle-box { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding: 9px 13px; border-radius: var(--radius); background: var(--ok-bg); border: 1px solid #8fe0b4; color: #0a6b3a; font-size: 14px; line-height: 1.5; }
.cycle-box:hover { background: #d8f5e5; text-decoration: none; }
.cycle-box b { color: var(--ok); }
.cycle-cta { margin-left: auto; font-weight: 800; color: var(--ok); white-space: nowrap; }
.intro { margin-top: 14px; line-height: 1.75; color: #2b333d; font-size: 15.5px; }
.overview { margin-top: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: #f7f9fc; padding: 14px; }
/* Auto-fit: adapts to however many facts we actually have (1–4) — never a stretched empty cell. */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 10px; }
.fact { border-radius: var(--radius); border: 1px solid var(--border); background: #fff; padding: 10px; }
.fact-l { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; color: var(--muted-2); }
.fact-v { margin-top: 3px; font-size: 13.5px; font-weight: 800; color: #17202b; word-break: break-word; }
.overview-cta { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.sections { margin-top: 18px; display: flex; flex-direction: column; gap: 18px; }
/* Section header = a full colored band (SR signature). */
.sec-h { background: linear-gradient(180deg, var(--sr-colhead), var(--sr-colhead-2)); color: #fff; text-align: center; font-weight: 800; font-size: 1.05rem; margin: 0 0 10px; padding: 8px 12px; border-radius: var(--radius); }

/* Short-information box — the dense summary with bold highlights at the very top. */
.short-info { border: 1px solid var(--border-strong); border-left: 4px solid var(--sr-colhead); border-radius: var(--radius); background: #f9fbfe; padding: 12px 15px; margin-top: 12px; }
.short-info p { margin: .4rem 0; line-height: 1.75; color: #2b333d; font-size: 15px; }
.short-info p:first-child { margin-top: 0; } .short-info p:last-child { margin-bottom: 0; }
.short-info b, .short-info strong { color: #17202b; font-weight: 800; }
.post-meta { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; text-align: center; }

/* Important Dates + Application Fee SIDE BY SIDE (the #1 SR signature). */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.info-box { border: 1px solid var(--sr-colhead); border-radius: var(--radius); overflow: hidden; align-self: start; }
.ib-head { background: linear-gradient(180deg, var(--sr-colhead), var(--sr-colhead-2)); color: #fff; text-align: center; font-weight: 800; padding: 8px 10px; font-size: 1rem; }
.info-box table.tbl { border: 0; }
.info-box table.tbl th { display: none; } /* the colored band IS the header */

.tbl-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.tbl { width: 100%; min-width: 20rem; border-collapse: collapse; font-size: 13.5px; }
table.tbl th { background: #eef1f5; text-align: left; font-weight: 800; color: #3a4250; padding: 9px 11px; }
table.tbl td { border-top: 1px solid var(--border); color: #333a44; padding: 9px 11px; word-break: break-word; }

.faq { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 12px; }
.faq + .faq { margin-top: 8px; }
.faq-q { font-weight: 800; color: #17202b; margin: 0; }
.faq-a { margin: 5px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* Important links table — SR's dense link block. */
.links-card { overflow: hidden; border: 1px solid var(--sr-colhead); }
.link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.link-row:nth-child(odd) { background: #f9fafc; }
.link-row:last-child { border-bottom: 0; }
.link-row .l { font-size: 14px; font-weight: 700; color: #2b333d; }
.link-row a.btn { font-size: 13px; padding: 6px 13px; }
.link-na { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.note { margin-top: 8px; font-size: 12px; color: var(--muted); }

.related { list-style: none; margin: 0; padding: 0; }
.related li { margin: 5px 0; }
.related a { font-weight: 600; color: var(--sr-link); }
.rel-jobs { margin-top: 4px; }
.rel-group { margin: 0 0 20px; }
.rel-grp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--border); }
.rel-grp-title { font-size: 15px; font-weight: 800; color: #2b333d; }
.rel-all { font-size: 13px; font-weight: 700; color: var(--sr-link); white-space: nowrap; }
.rel-grid { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .rel-grid { grid-template-columns: repeat(2, 1fr); } }
.rel-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px 26px 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.rel-card:hover { border-color: var(--sr-colhead); }
.rel-card-title { font-size: 13.5px; font-weight: 700; color: #2b333d; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-card-org { font-size: 11.5px; color: var(--muted); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rel-card-arrow { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: #c3ccd6; font-weight: 800; }
.rel-card:hover .rel-card-arrow { color: var(--sr-colhead); }
.rel-tag { align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; }
.rel-tag-latest-job { background: var(--info-bg); color: var(--info); }
.rel-tag-result { background: var(--ok-bg); color: var(--ok); }
.rel-tag-admit-card { background: var(--warn-bg); color: var(--warn); }
.rel-tag-answer-key { background: #f2ecff; color: #6d28d9; }
.rel-tag-syllabus { background: #eef1f5; color: var(--muted); }
.rel-tag-cutoff { background: #fdeaee; color: var(--sr-accent); }

.mobile-apply { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; border-top: 1px solid var(--border-strong); background: #fff; padding: 10px; box-shadow: 0 -2px 10px rgb(20 20 40 / .12); }
@media (min-width: 1024px) { .mobile-apply { display: none; } }
.has-mobile-cta { padding-bottom: 74px; }
@media (min-width: 1024px) { .has-mobile-cta { padding-bottom: 26px; } }

/* Share row. */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 4px; }
.share-row .share-lbl { font-size: 13px; font-weight: 800; color: var(--muted); margin-right: 2px; }
.share-btn { display: inline-flex; align-items: center; gap: 5px; border-radius: var(--radius); padding: 6px 11px; font-size: 12.5px; font-weight: 700; color: #fff; border: 0; cursor: pointer; }
.share-btn:hover { filter: brightness(1.07); text-decoration: none; }
.share-wa { background: #25d366; } .share-tg { background: #229ed9; } .share-fb { background: #1877f2; }
.share-x { background: #000; } .share-copy { background: var(--muted); }

/* ============================ ARTICLE (enriched body) ============== */
.article { color: #2b333d; font-size: 15.5px; line-height: 1.8; overflow-wrap: break-word; word-break: break-word; }
.article > *:first-child { margin-top: 0; }
.article h2 { background: linear-gradient(180deg, var(--sr-colhead), var(--sr-colhead-2)); color: #fff; text-align: center; font-size: 1.1rem; font-weight: 800; margin: 22px 0 12px; padding: 8px 12px; border-radius: var(--radius); }
.article h3 { font-size: 1.08rem; font-weight: 800; margin: 20px 0 6px; color: var(--sr-serif-head); }
.article p { margin: 11px 0; }
.article a { color: var(--sr-link); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.article a:hover { color: var(--sr-link-hover); }
.article strong { color: #17202b; font-weight: 800; }
.article ul, .article ol { margin: 11px 0; padding-left: 22px; }
.article li { margin: 6px 0; }
.article ol { list-style: decimal; } .article ul { list-style: disc; }
.article ul li::marker { color: var(--sr-accent); }
.article ol li::marker { color: var(--sr-colhead); font-weight: 800; }
.article table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; border: 1px solid var(--border); }
.article th, .article td { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); padding: 9px 12px; text-align: left; white-space: normal; vertical-align: top; }
.article thead th { background: var(--sr-colhead); color: #fff; font-weight: 800; border-color: var(--sr-colhead); }
.article tbody tr:nth-child(even) { background: #f7f9fc; }
.article blockquote { margin: 14px 0; padding: 9px 14px; border-left: 4px solid var(--sr-colhead); background: #f7f9fc; color: #333a44; }
/* Pure-Hindi summary — highlighted callout. */
.art-hindi { margin: 22px 0 6px; padding: 14px 16px; background: linear-gradient(180deg, #fff7e6, #fffdf7); border: 1px solid #f2cf8a; border-left: 4px solid #e0a220; border-radius: var(--radius); }
.art-hindi h2 { margin: 0 0 8px; border-bottom: 0; padding-bottom: 0; color: #92400e; font-size: 1.15rem; }
.art-hindi p, .art-hindi li { color: #6b3d10; }

/* ============================ STATIC PROSE / FORMS ================= */
.prose { max-width: 48rem; margin: 0 auto; }
.prose h1 { font-size: 1.5rem; font-weight: 800; color: var(--sr-colhead); }
@media (min-width: 640px) { .prose h1 { font-size: 1.8rem; } }
.prose h2 { font-size: 1.15rem; font-weight: 800; margin-top: 20px; color: var(--sr-serif-head); }
.prose p { line-height: 1.7; color: #333a44; }

.contact-wrap { max-width: 40rem; }
.form-flash { border-radius: var(--radius); padding: 11px 13px; margin: 14px 0; font-size: 14px; line-height: 1.5; }
.form-success { background: var(--ok-bg); color: #0a6b3a; border: 1px solid #8fe0b4; }
.form-error-top { background: #fdecec; color: #991b1b; border: 1px solid #f3b6b6; }
.contact-form { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: flex; flex-direction: column; gap: 5px; }
.cf-row label { font-size: 13.5px; font-weight: 700; color: #333a44; }
.cf-row .req { color: var(--sr-accent); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 9px 11px; font: inherit; font-size: 15px; color: #17202b; background: #fff; }
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--sr-colhead); box-shadow: 0 0 0 3px rgb(171 24 61 / .12); }
.contact-form .is-bad { border-color: var(--sr-accent); }
.cf-err { font-size: 12.5px; color: #b91c1c; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.cf-submit { background: var(--sr-colhead); color: #fff; border: 0; border-radius: var(--radius); padding: 10px 22px; font-weight: 800; font-size: 15px; cursor: pointer; }
.cf-submit:hover { background: var(--sr-colhead-2); }
.cf-or { font-size: 13.5px; color: var(--muted); }
.cf-note { font-size: 12.5px; color: var(--muted-2); margin: 0; }

/* ============================ FOOTER =============================== */
.site-foot { margin-top: 22px; background: #1a1d24; color: #c7cdd6; }
.foot-hubs { display: grid; gap: 18px 24px; grid-template-columns: repeat(2, 1fr); padding: 24px 12px 6px; }
@media (min-width: 768px) { .foot-hubs { grid-template-columns: repeat(4, 1fr); } }
.foot-hubs h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #ffd7df; margin: 0 0 8px; }
.foot-hubs ul { list-style: none; margin: 0; padding: 0; }
.foot-hubs li { margin: 5px 0; font-size: 13px; }
.foot-hubs a { color: #c7cdd6; }
.foot-hubs a:hover { color: #fff; }
.foot-grid { display: grid; gap: 22px; padding: 20px 12px; border-top: 1px solid rgb(255 255 255 / .08); }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-grid .brand-mark { font-family: var(--font-serif); font-size: 1.5rem; color: #fff; }
.foot-grid .brand-mark .brand-blue { color: #ffd7df; }
.foot-grid p { color: #9aa2ad; font-size: 13px; line-height: 1.65; margin: 8px 0 0; }
.foot-grid h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #ffd7df; margin: 0 0 8px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 5px 0; font-size: 13px; }
.foot-grid a { color: #c7cdd6; }
.foot-grid a:hover { color: #fff; }
.foot-legal { border-top: 1px solid rgb(255 255 255 / .08); }
.foot-legal .wrap { padding: 12px; font-size: 12px; color: #8a929d; text-align: center; }

/* ============================ MISC utility ========================= */
.mt { margin-top: 16px; }
