/* ==========================================================================
   Government portal layer — v16 (28 Oct 2026)
   Palette: Navy · White · Light Grey · Saffron accent
   Loads after style.css: only tokens + new components.
   ========================================================================== */

:root {
  --saffron: #004D40;   /* legacy name, now teal accent */
  --saffron-deep: #004D40;
  --saffron-text: #004D40;
  --saffron-tint: rgba(255, 153, 51, 0.14);
  --saffron-line: rgba(255, 153, 51, 0.42);
  --grey-50: #F7F9FC;
  --grey-100: #EEF2F7;
}

/* ---------- utility bar (contact + language) ---------- */
.gov-top {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.gov-top-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.42rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.gov-contact { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.gov-contact a,
.gov-contact span { color: rgba(255, 255, 255, 0.78); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.gov-contact a:hover { color: #fff; }
.gov-contact .i { width: 13px; height: 13px; stroke: var(--saffron); }
.gov-right { display: flex; align-items: center; gap: 0.9rem; }
.gov-right .sep { opacity: 0.28; }

.gov-lang { display: inline-flex; align-items: center; gap: 0.1rem; background: rgba(255, 255, 255, 0.08); border-radius: 50px; padding: 2px; }
.gov-lang a,
.gov-lang span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.16rem 0.62rem;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.4;
}
.gov-lang .on { background: var(--saffron); color: #3A1A00; }
.gov-lang .soon { opacity: 0.55; cursor: not-allowed; }

/* ---------- header ---------- */
.gov-head { position: sticky; top: 0; z-index: 60; background: var(--card); box-shadow: 0 1px 2px rgba(15, 39, 71, 0.06); }
.gov-head.scrolled { box-shadow: var(--shadow); }
.gov-head-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  justify-content: space-between;
}
.gov-brand { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.gov-brand .emblem { width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 3px 10px rgba(15, 39, 71, 0.18); flex-shrink: 0; }
.gov-brand .gov-name {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.28;
  margin: 0;
}
.gov-brand .gov-sub { font-size: 0.66rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 0.1rem; }

.gov-head::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron) 0%, var(--saffron) 33%, #fff 33%, #fff 66%, #138808 66%, #138808 100%);
  opacity: 0.9;
}

/* ---------- nav ---------- */
.gov-nav { display: flex; align-items: center; gap: 0.05rem; list-style: none; flex-wrap: nowrap; }
.gov-nav a {
  display: block;
  padding: 0.5rem 0.62rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
}
.gov-nav a:hover { background: var(--grey-100); color: var(--navy); }
.gov-nav a.active { color: var(--navy); }
.gov-nav a.active::after {
  content: '';
  position: absolute;
  left: 0.62rem; right: 0.62rem; bottom: 0.16rem;
  height: 2px;
  background: var(--saffron);
  border-radius: 2px;
}
.gov-burger { display: none; }

/* ---------- hero ---------- */
.gov-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.gov-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 14% 12%, rgba(255, 153, 51, 0.16) 0%, transparent 60%),
    radial-gradient(700px 380px at 90% 90%, rgba(37, 99, 235, 0.28) 0%, transparent 62%);
}
.gov-hero-in {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 3.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.6rem;
  align-items: center;
}
.gov-hero h2 {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 0.7rem;
  text-wrap: balance;
}
.gov-hero h2 span { color: var(--saffron); }
.gov-hero p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 54ch;
  margin-bottom: 1.4rem;
}
.gov-hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gov-hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(3, 12, 26, 0.5);
  display: block;
}

/* announcement board overlapping the hero */
.notice-board {
  max-width: 1200px;
  margin: -1.7rem auto 0;
  position: relative;
  z-index: 5;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  overflow: hidden;
}
.notice-board .nb-head {
  background: var(--saffron);
  color: #3A1A00;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 0.8rem;
  line-height: 1.35;
}
.notice-board .nb-head .i { stroke: #3A1A00; width: 16px; height: 16px; }
.notice-board .nb-body { padding: 0.55rem 1rem; min-height: 56px; display: flex; align-items: center; gap: 0.6rem; }
.nb-track { flex: 1; min-width: 0; }
.nb-item { display: none; font-size: 0.84rem; color: var(--text); }
.nb-item.on { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.nb-item .tag {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--saffron-text);
  background: var(--saffron-tint);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
}
.nb-item.on { opacity: 0; transition: opacity 0.45s ease; }
.nb-item.on.show { opacity: 1; }
.nb-dots { display: flex; gap: 5px; flex-shrink: 0; }
.nb-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}
.nb-dots button[aria-current='true'] { background: var(--saffron); }

/* ---------- sections ---------- */
.gov-section { max-width: 1200px; margin: 0 auto; padding: 3.4rem 1.5rem; }
.gov-grey { background: var(--grey-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.gov-grey > .gov-section { padding-top: 3.4rem; padding-bottom: 3.4rem; }

.gov-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.7rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}
.gov-head-row h2 {
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
  position: relative;
  padding-left: 0.7rem;
}
.gov-head-row h2::before {
  content: '';
  position: absolute;
  left: 0; top: 0.15em; bottom: 0.15em;
  width: 3px;
  background: var(--saffron);
  border-radius: 2px;
}
.gov-head-row .lead { font-size: 0.84rem; color: var(--muted); margin-top: 0.2rem; }
.gov-head-row .gov-more {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.gov-head-row .gov-more:hover { text-decoration: underline; }

/* ---------- quick services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.svc-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--saffron);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}
.svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--saffron-line); }
.svc-card:hover::before { transform: scaleY(1); }
.svc-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.svc-ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--saffron-tint);
  color: var(--saffron-text);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.7rem;
}
.svc-ico .i { width: 21px; height: 21px; }
.svc-card h3 { font-size: 0.94rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.svc-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ---------- notices ---------- */
.notice-list { list-style: none; border-top: 1px solid var(--border); }
.notice-list li { border-bottom: 1px solid var(--border); }
.notice-list a {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem 0.2rem;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease;
}
.notice-list a:hover { background: var(--grey-50); }
.notice-list .n-date { font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.notice-list .n-title { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.notice-list .n-tag { font-size: 0.62rem; font-weight: 800; color: var(--saffron-text); background: var(--saffron-tint); border-radius: 4px; padding: 0.12rem 0.4rem; }
.notice-list .n-arrow { color: var(--muted); }

/* ---------- executive ---------- */
.exec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; max-width: 780px; margin: 0 auto; }
.exec-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.exec-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.exec-photo { aspect-ratio: 4 / 5; background: var(--grey-100); overflow: hidden; }
.exec-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.exec-body { padding: 0.8rem 0.7rem 0.9rem; }
.exec-body h3 { font-size: 0.92rem; color: var(--navy); font-weight: 700; }
.exec-body .role { font-size: 0.74rem; color: var(--saffron-text); font-weight: 600; margin-top: 0.15rem; }

/* ---------- district structure ---------- */
.dist-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem; align-items: start; }
.struct-list { list-style: none; position: relative; padding-left: 1.4rem; }
.struct-list::before {
  content: '';
  position: absolute;
  left: 0.35rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: var(--saffron-line);
}
.struct-list li { position: relative; padding: 0 0 1.1rem 0.3rem; }
.struct-list li::before {
  content: '';
  position: absolute;
  left: -1.13rem; top: 0.42rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 3px var(--card);
}
.struct-list h3 { font-size: 0.92rem; color: var(--navy); font-weight: 700; margin-bottom: 0.15rem; }
.struct-list p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

.dist-search { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.dist-search h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 0.3rem; }
.dist-search p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.9rem; }
.dist-search label { display: block; font-size: 0.74rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.dist-search input,
.dist-search select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--text);
  background: #fff;
}
.dist-search input:focus { outline: 3px solid var(--blue-tint-strong); border-color: var(--blue); }
.dist-search .btn { margin-top: 0.7rem; width: 100%; justify-content: center; }

/* ---------- gallery ---------- */
.gov-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; }
.gov-gallery a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--grey-100);
}
.gov-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gov-gallery a:hover img { transform: scale(1.05); }

/* ---------- statistics ---------- */
.stats-strip { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(760px 320px at 85% 10%, rgba(255, 153, 51, 0.16), transparent 70%);
}
.stats-strip-in {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.stats-strip .st { text-align: center; padding: 0.4rem; }
.stats-strip .st:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.12); }
.stats-strip .n { font-size: 1.85rem; font-weight: 900; color: var(--saffron); line-height: 1.15; font-variant-numeric: tabular-nums; }
.stats-strip .l { font-size: 0.72rem; color: rgba(255, 255, 255, 0.75); margin-top: 0.15rem; }

/* ---------- contact ---------- */
.gov-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gov-contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  text-align: center;
}
.gov-contact-card .ci {
  width: 42px; height: 42px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: var(--saffron-tint);
  color: var(--saffron-text);
  display: flex; align-items: center; justify-content: center;
}
.gov-contact-card h3 { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 0.35rem; }
.gov-contact-card p { font-size: 0.9rem; font-weight: 600; color: var(--navy); line-height: 1.6; }
.gov-contact-card a { color: var(--blue); text-decoration: none; }
.gov-contact-card a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.gov-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); padding: 2.4rem 1.5rem 1rem; }
.gov-footer-in { max-width: 1200px; margin: 0 auto; }
.gov-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.6rem; }
.gov-footer h4 { color: #fff; font-size: 0.92rem; font-weight: 700; margin-bottom: 0.4rem; }
.gov-footer p { font-size: 0.8rem; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }
.gov-footer h5 { color: var(--saffron); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.55rem; }
.gov-footer ul { list-style: none; }
.gov-footer li { margin-bottom: 0.35rem; }
.gov-footer a { color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; text-decoration: none; }
.gov-footer a:hover { color: #fff; text-decoration: underline; }
.gov-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- smooth, slow scroll ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
[id] { scroll-margin-top: 96px; }

/* fade-in only — no slides, no scale */
.reveal { opacity: 0; transition: opacity 0.7s ease; }
.reveal.visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .gov-nav a { padding: 0.42rem 0.45rem; font-size: 0.71rem; }
  .gov-brand .gov-name { font-size: 0.88rem; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .gov-hero-in { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .gov-hero-media { max-width: 520px; margin: 0 auto; width: 100%; }
  .dist-layout { grid-template-columns: minmax(0, 1fr); }
  .gov-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gov-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .gov-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--navy);
    cursor: pointer;
  }
  .gov-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 0.8rem 0.7rem;
    display: none;
    max-height: 70vh;
    overflow-y: auto;
  }
  .gov-nav.open { display: flex; }
  .gov-nav a { padding: 0.6rem 0.4rem; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 0.82rem; }
  .gov-nav a.active::after { display: none; }
  .gov-nav a.active { background: var(--grey-50); }
  .gov-head-in { position: relative; }
  .gov-top-in { justify-content: center; }
  .gov-contact { justify-content: center; }
}
@media (max-width: 640px) {
  .gov-contact span { display: none; }   /* hours: desktop-only, keeps the bar to two rows */
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .gov-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-strip-in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .stats-strip .st:nth-child(2) { border-right: none; }
  .gov-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .gov-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .notice-board { grid-template-columns: minmax(0, 1fr); }
  .notice-board .nb-head { padding: 0.6rem 0.9rem; }
  .notice-list a { grid-template-columns: minmax(0, 1fr) auto; }
  .notice-list .n-date { grid-column: 1 / -1; font-size: 0.68rem; }
  .gov-section { padding: 2.4rem 1.2rem; }
}

/* ==========================================================================
   COLOUR SYSTEM v17 — Government blue / deep teal / maroon
   No yellow, no saffron, no neon. Buttons are blue and teal only.
   Every rule that used the old saffron token is re-pointed here.
   ========================================================================== */
:root {
  --primary: #0A2240;
  --secondary: #004D40;
  --accent: #B71C1C;

  /* remap the older names so the whole site inherits the new palette */
  --navy: #0A2240;
  --blue: #0A2240;
  --green: #004D40;
  --green-dark: #004D40;
  --danger: #B71C1C;
  --danger-rgb: 183,28,28;

  --border: #E5E7EB;
  --surface: #F5F7FA;
  --grey-50: #F5F7FA;
  --grey-100: #EEF1F5;
  --text: #1F2937;
  --muted: #5B6472;

  --primary-tint: rgba(11, 61, 145, 0.08);
  --secondary-tint: rgba(0, 77, 64, 0.09);
  --accent-tint: rgba(183, 28, 28, 0.08);

  /* the old saffron variables now mean "teal accent" */
  --saffron: #004D40;
  --saffron-deep: #004D40;
  --saffron-text: #004D40;
  --saffron-tint: rgba(0, 77, 64, 0.09);
  --saffron-line: rgba(0, 77, 64, 0.30);
}

/* header rule: blue → teal, no flag tricolour */
.gov-head::after {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 62%, var(--secondary) 62%, var(--secondary) 100%);
  opacity: 1;
  height: 3px;
}

/* language switcher: white pill on the dark bar */
.gov-lang .on { background: #fff; color: var(--primary); }

/* nav underline + section markers in teal */
.gov-nav a.active::after { background: var(--secondary); }
.gov-head-row h2::before { background: var(--secondary); }

/* announcement board: maroon head, white text */
.notice-board .nb-head { background: var(--accent); color: #fff; }
.notice-board .nb-head .i { stroke: #fff; }
.nb-item .tag { background: var(--accent-tint); color: var(--accent); }

/* service cards */
.svc-card::before { background: var(--secondary); }
.svc-ico { background: var(--secondary-tint); color: var(--secondary); }
.svc-card:hover { border-color: rgba(0, 77, 64, 0.32); }

/* people */
.exec-body .role { color: var(--secondary); }

/* statistics: white figures on the blue band, teal glow */
.stats-strip .n { color: #fff; }
.stats-strip::before { background: radial-gradient(760px 320px at 85% 10%, rgba(0, 77, 64, 0.35), transparent 70%); }

/* notice list tags read as "important" in maroon */
.notice-list .n-tag { background: var(--accent-tint); color: var(--accent); }

/* contact tiles */
.gov-contact-card .ci { background: var(--secondary-tint); color: var(--secondary); }

/* footer headings: light teal on navy (AA) */
.gov-footer h5 { color: #9BD4C8; }
.gov-footer { background: #06172E; }

/* buttons: blue primary, teal secondary, no other fills */
.btn-primary { background: var(--primary); box-shadow: 0 6px 18px rgba(11, 61, 145, 0.24); }
.btn-primary:hover { background: #06172E; box-shadow: 0 8px 22px rgba(11, 61, 145, 0.28); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.85rem 1.9rem; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 700; border: none; cursor: pointer;
  background: var(--secondary); color: #fff;
  transition: var(--transition);
}
.btn-secondary:hover { background: #00352C; color: #fff; transform: translateY(-2px); }
.btn-outline { border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-ghost { background: #fff; color: var(--primary); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
:focus-visible { outline-color: var(--primary); }

/* district chips */
.district-grid a:hover { border-color: rgba(0, 77, 64, 0.35); background: #fff; }

/* long-form article body */
.prose { font-size: 0.95rem; line-height: 1.85; color: var(--text); }
.prose p { margin-bottom: 0.9rem; }

/* ==========================================================================
   v18 — PREMIUM NAVY SYSTEM
   Primary #0A2240 · Secondary #123A6D · Teal #004D40 · Maroon #B71C1C
   Navy is the dominant brand colour: header, nav, footer, headings, key buttons.
   No yellow, no bright blue. Text on navy lifted for contrast.
   ========================================================================== */
:root {
  --primary: #0A2240;
  --primary-dark: #06172E;
  --secondary: #123A6D;
  --accent: #004D40;
  --support: #B71C1C;

  --navy: #0A2240;
  --blue: #123A6D;
  --green: #004D40;
  --green-dark: #004D40;

  --surface: #F5F7FA;
  --grey-50: #F5F7FA;
  --grey-100: #EEF1F5;
  --border: #E5E7EB;
  --text: #374151;
  --muted: #4B5563;

  --on-navy: rgba(255, 255, 255, 0.9);
  --on-navy-dim: rgba(255, 255, 255, 0.74);
  --teal-light: #3FA796;       /* marks + icons on navy (3.6:1) */
  --teal-bright: #6FD3C4;      /* accent words on navy (7.4:1) */
}

/* ---------------- utility bar ---------------- */
.gov-top { background: #06172E; border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.gov-top, .gov-contact a, .gov-contact span, .gov-right > span { color: var(--on-navy-dim); }
.gov-contact a:hover { color: #fff; }
.gov-contact .i { stroke: var(--teal-light); }
.gov-lang .on { background: #fff; color: #0A2240; }

/* ---------------- header: navy band ---------------- */
.gov-head {
  background: #0A2240;
  box-shadow: 0 2px 12px rgba(10, 34, 64, 0.24);
}
.gov-head.scrolled { box-shadow: 0 8px 26px rgba(10, 34, 64, 0.32); }
.gov-head::after { background: #004D40; height: 3px; opacity: 1; }
.gov-brand .gov-name { color: #fff; }
.gov-brand .gov-sub { color: var(--on-navy-dim); }
.gov-brand .emblem { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }

/* ---------------- navigation ---------------- */
.gov-nav a { color: var(--on-navy); }
.gov-nav a:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }
.gov-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.07); }
.gov-nav a.active::after { background: var(--teal-light); height: 2px; }
.gov-burger { border-color: rgba(255, 255, 255, 0.30); background: transparent; color: #fff; }
@media (max-width: 1040px) {
  .gov-nav { background: #0A2240; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .gov-nav a { border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
  .gov-nav a.active { background: rgba(255, 255, 255, 0.08); }
}

/* ---------------- hero ---------------- */
.gov-hero { background: #0A2240; }
.gov-hero::before {
  background:
    radial-gradient(900px 460px at 14% 12%, rgba(0, 77, 64, 0.30) 0%, transparent 62%),
    radial-gradient(700px 380px at 90% 90%, rgba(18, 58, 109, 0.55) 0%, transparent 66%);
}
.gov-hero h1, .gov-hero h2 { color: #fff; }
.gov-hero h1 span, .gov-hero h2 span { color: var(--teal-bright); }
.gov-hero p { color: var(--on-navy); }
/* on a navy field the strongest button is the white one */
.gov-hero .btn-primary { background: #fff; color: #0A2240; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24); }
.gov-hero .btn-primary:hover { background: #F5F7FA; color: #0A2240; }
.gov-hero .btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }

/* ---------------- announcement board: maximum prominence ---------------- */
.notice-board {
  border: 1px solid #E5E7EB;
  border-left: 5px solid #B71C1C;
  box-shadow: 0 14px 34px rgba(10, 34, 64, 0.18);
}
.notice-board .nb-head {
  background: #B71C1C;
  color: #fff;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}
.notice-board .nb-head .i { stroke: #fff; }
.nb-item { color: #374151; font-weight: 500; }
.nb-item .tag { background: rgba(183, 28, 28, 0.10); color: #B71C1C; font-weight: 800; }
.nb-dots button[aria-current='true'] { background: #B71C1C; }

/* ---------------- headings ---------------- */
.gov-head-row { border-bottom: 1px solid #E5E7EB; }
.gov-head-row h2 { color: #0A2240; font-weight: 800; font-size: clamp(1.18rem, 2.2vw, 1.6rem); }
.gov-head-row h2::before { background: #004D40; width: 4px; }
.gov-head-row .lead { color: #4B5563; }
.gov-head-row .gov-more { color: #123A6D; }
.gov-head-row .gov-more:hover { color: #0A2240; }

/* ---------------- cards ---------------- */
.svc-card { border-color: #E5E7EB; }
.svc-card h3 { color: #0A2240; }
.svc-card p { color: #4B5563; }
.svc-card::before { background: #004D40; width: 4px; }
.svc-card:hover { border-color: rgba(0, 77, 64, 0.42); box-shadow: 0 10px 26px rgba(10, 34, 64, 0.10); }
.svc-ico { background: rgba(0, 77, 64, 0.10); color: #004D40; }

.exec-card:hover { box-shadow: 0 12px 30px rgba(10, 34, 64, 0.12); }
.exec-body h3 { color: #0A2240; }
.exec-body .role { color: #004D40; }

/* ---------------- notice list ---------------- */
.notice-list a:hover { background: #F5F7FA; }
.notice-list .n-title { color: #0A2240; font-weight: 700; }
.notice-list .n-date { color: #4B5563; }
.notice-list .n-tag { background: rgba(183, 28, 28, 0.10); color: #B71C1C; font-weight: 800; }

/* ---------------- statistics ---------------- */
.stats-strip { background: #0A2240; }
.stats-strip::before { background: radial-gradient(760px 320px at 85% 10%, rgba(0, 77, 64, 0.45), transparent 70%); }
.stats-strip .n { color: #fff; }
.stats-strip .l { color: var(--on-navy-dim); }
.stats-strip .st:not(:last-child) { border-right-color: rgba(255, 255, 255, 0.16); }

/* ---------------- buttons ---------------- */
.btn-primary { background: #0A2240; color: #fff; box-shadow: 0 6px 18px rgba(10, 34, 64, 0.26); }
.btn-primary:hover { background: #123A6D; color: #fff; box-shadow: 0 8px 22px rgba(18, 58, 109, 0.30); }
.btn-secondary { background: #004D40; color: #fff; }
.btn-secondary:hover { background: #00352C; }
.btn-ghost { background: #fff; color: #0A2240; border-color: #E5E7EB; }
.btn-ghost:hover { border-color: #0A2240; color: #0A2240; }
:focus-visible { outline: 3px solid #123A6D; outline-offset: 2px; }

/* ---------------- contact ---------------- */
.gov-contact-card { border-color: #E5E7EB; }
.gov-contact-card h3 { color: #4B5563; }
.gov-contact-card p { color: #0A2240; font-weight: 700; }
.gov-contact-card .ci { background: rgba(0, 77, 64, 0.10); color: #004D40; }
.gov-contact-card a { color: #123A6D; }

/* ---------------- footer ---------------- */
.gov-footer { background: #0A2240; border-top: 3px solid #004D40; }
.gov-footer h4 { color: #fff; }
.gov-footer p { color: var(--on-navy-dim); }
.gov-footer h5 { color: var(--teal-bright); }
.gov-footer a { color: rgba(255, 255, 255, 0.82); }
.gov-footer a:hover { color: #fff; }
.gov-footer-bottom { border-top-color: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.68); }

/* ---------------- breadcrumbs + inner page header ---------------- */
.crumbs { background: #F5F7FA; border-bottom: 1px solid #E5E7EB; }
.crumbs a { color: #4B5563; }
.crumbs a:hover { color: #0A2240; }
.crumbs [aria-current] { color: #0A2240; font-weight: 700; }

/* ---------------- staff panel chrome ---------------- */
.adm-side { background: #0A2240; }
.adm-side a:hover, .adm-side a.on { background: rgba(255, 255, 255, 0.12); box-shadow: inset 3px 0 0 #3FA796; }
.adm-top h1 { color: #0A2240; }
.kpi .k b { color: #0A2240; }
table.t th { color: #0A2240; }
.btn-sm { color: #0A2240; }
.fld label { color: #0A2240; }

/* ==========================================================================
   v18.1 — finishing pass: hierarchy between navy bands, brighter nav,
   louder announcement board.
   ========================================================================== */
.gov-head::after { height: 4px; }
.gov-nav a { color: #FFFFFF; font-weight: 600; }
.gov-nav a:hover { background: rgba(255, 255, 255, 0.14); }
.gov-head-in { padding-top: 0.7rem; padding-bottom: 0.7rem; }
.gov-brand .gov-name { font-size: 1.02rem; letter-spacing: 0.01em; }
.gov-brand .gov-sub { font-size: 0.68rem; }

/* hero: one step lighter than the header so the two bands read as layers */
.gov-hero {
  background: linear-gradient(160deg, #0A2240 0%, #0C2A4F 52%, #123A6D 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.gov-hero::before {
  background:
    radial-gradient(820px 420px at 12% 10%, rgba(0, 77, 64, 0.34) 0%, transparent 62%),
    radial-gradient(620px 340px at 92% 92%, rgba(6, 23, 46, 0.55) 0%, transparent 68%);
}
.gov-hero h1 { letter-spacing: -0.005em; text-shadow: 0 2px 18px rgba(6, 23, 46, 0.4); }
.gov-hero p { color: rgba(255, 255, 255, 0.92); font-size: 0.99rem; }

/* announcement board: the loudest thing on the page */
.notice-board { margin-top: -1.9rem; }
.notice-board .nb-head { font-size: 0.88rem; padding: 1rem 0.9rem; letter-spacing: 0.02em; }
.notice-board .nb-body { min-height: 64px; padding: 0.7rem 1.1rem; }
.nb-item { font-size: 0.9rem; line-height: 1.55; }
.nb-item .tag { font-size: 0.66rem; padding: 0.14rem 0.46rem; letter-spacing: 0.03em; }
.nb-dots button { width: 9px; height: 9px; }
.nb-dots button[aria-current='true'] { background: #B71C1C; }

/* section headings: bigger and darker */
.gov-head-row { padding-bottom: 0.85rem; margin-bottom: 1.8rem; }
.gov-head-row h2 { font-size: clamp(1.22rem, 2.3vw, 1.68rem); }
.gov-head-row .lead { font-size: 0.86rem; }

/* list rows a touch taller for scannability */
.notice-list a { padding: 0.9rem 0.3rem; }
.notice-list .n-title { font-size: 0.92rem; }
.notice-list .n-tag { font-size: 0.66rem; padding: 0.14rem 0.46rem; }

/* hero button pairing: white primary + teal-outline secondary */
.gov-hero .btn-outline { border-color: rgba(111, 211, 196, 0.65); color: #D8F3EE; }
.gov-hero .btn-outline:hover { background: rgba(111, 211, 196, 0.14); border-color: #6FD3C4; color: #fff; }

/* mobile: keep the navy band compact */
@media (max-width: 640px) {
  .gov-brand .gov-name { font-size: 0.86rem; }
  .notice-board { margin-top: -1.4rem; }
  .notice-board .nb-body { min-height: 0; }
  .nb-item { font-size: 0.84rem; }
}
