/* ==========================================================================
   IIHWD — Institutional / Government-portal theme
   Layout & visual language modelled on nmc.org.in
   Loaded AFTER Tailwind so these component classes always win.
   ========================================================================== */

:root {
    /* Core institutional palette */
    --ink-900: #2b126d;   /* deep indigo — nav, headings, dark panels   */
    --ink-800: #35198a;
    --ink-700: #4729a3;   /* section headings                           */
    --ink-600: #5635bd;   /* footer, primary buttons                    */
    --ink-500: #6b46d6;
    --ink-400: #8a6edc;   /* side info boxes                            */
    --ink-300: #bdadeb;
    --ink-100: #eeecfa;   /* tint background, inactive tabs             */
    --ink-050: #f6f5fd;

    --navy: #001f67;      /* government top strip                        */
    --gold: #c58f3b;      /* IIHWD brand accent                          */
    --gold-dark: #a9762a;
    --alert: #b20000;     /* "New!" / blinking highlights                */
    --go: #23a94b;        /* success / live                              */
    --mint: #3df363;      /* links on dark violet boxes                  */

    --body: #333333;
    --muted: #6b6b73;
    --line: #e2e0ef;
    --page-bg: #f4f3fa;

    --radius: 6px;
    --shadow-sm: 0 1px 3px rgba(43, 18, 109, .08);
    --shadow-md: 0 4px 14px rgba(43, 18, 109, .10);
    --shadow-lg: 0 12px 34px rgba(43, 18, 109, .16);

    --shell: 1360px;
    --fs: 100%;   /* driven by the A- / A / A+ resizer */
}

/* ---------- Base ---------------------------------------------------- */

html { scroll-behavior: smooth; }

body.gov-body {
    background: var(--page-bg);
    color: var(--body);
    font-family: 'Mukta', 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.fontSize { font-size: var(--fs); }

h1, h2, h3, h4, h5, h6 { font-family: 'Mukta', 'Inter', system-ui, sans-serif; color: var(--ink-900); }

a { color: var(--ink-700); text-decoration: none; }
a:hover { color: var(--gold-dark); }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 16px; }
.shell-narrow { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.clearfix::after { content: ''; display: table; clear: both; }
.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;
}

/* ---------- Government top strip ------------------------------------ */

.gov-topbar {
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    border-bottom: 3px solid var(--ink-600);
}
.gov-topbar .shell {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; min-height: 40px; flex-wrap: wrap;
}
.gov-topbar a { color: #fff; }
.gov-topbar a:hover { color: #ffd88a; }

.gov-tagline { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.gov-tagline img, .gov-tagline .flagicon { height: 18px; width: auto; display: block; }

.top-links { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.top-links li { display: flex; align-items: center; }
.top-links li + li::before { content: ''; width: 1px; height: 13px; background: rgba(255,255,255,.28); margin: 0 12px; }
.top-links a { font-size: 12.5px; white-space: nowrap; }
.top-links .hi { color: #ffd88a; font-weight: 700; }

.employee-btn {
    background: var(--gold); color: #fff !important; padding: 4px 12px;
    border-radius: 3px; font-weight: 600; font-size: 12px; white-space: nowrap;
}
.employee-btn:hover { background: var(--gold-dark); color: #fff !important; }

.font-resize { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.font-resize a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 24px; height: 22px; padding: 0 5px; border-radius: 3px;
    background: rgba(255,255,255,.14); color: #fff; font-size: 12px; font-weight: 700; line-height: 1;
}
.font-resize a:hover, .font-resize a.is-active { background: var(--gold); color: #fff; }

.top-social { display: flex; align-items: center; gap: 10px; }
.top-social a { font-size: 14px; opacity: .85; }
.top-social a:hover { opacity: 1; }

/* ---------- Brand band ---------------------------------------------- */

.brand-band { background: #fff; border-bottom: 1px solid var(--line); }
.brand-band .shell {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap;
}

.brand-lockup { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-lockup .emblem { width: 46px; height: auto; flex-shrink: 0; }
.brand-lockup .brand-mark {
    width: 70px; height: 70px; object-fit: contain; flex-shrink: 0;
}
.brand-lockup .brand-text { min-width: 0; }
.brand-lockup .brand-text .l1 {
    display: block; font-size: 20px; font-weight: 800; color: #1c1c22;
    line-height: 1.22; letter-spacing: -.01em; margin: 0;
}
.brand-lockup .brand-text .l2 {
    display: block; font-size: 15px; font-weight: 700; color: var(--ink-700);
    line-height: 1.3; margin: 2px 0 0; text-transform: uppercase; letter-spacing: .02em;
}
.brand-lockup .brand-text small {
    display: block; font-size: 11.5px; color: #55555f; margin-top: 4px; font-weight: 500;
}

.brand-side { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-side .seal {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; min-width: 74px; padding: 6px 10px;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-050);
    line-height: 1.15;
}
.brand-side .seal i { color: var(--ink-600); font-size: 17px; margin-bottom: 3px; }
.brand-side .seal strong { font-size: 11px; color: var(--ink-900); font-weight: 800; letter-spacing: .03em; }
.brand-side .seal span { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.brand-side .seal:hover { border-color: var(--ink-400); background: #fff; }

.brand-search { position: relative; }
.brand-search input {
    width: 200px; height: 36px; padding: 0 34px 0 12px; font-size: 13px;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--body);
}
.brand-search input:focus { outline: none; border-color: var(--ink-400); box-shadow: 0 0 0 3px rgba(138,110,220,.18); }
.brand-search button {
    position: absolute; right: 4px; top: 4px; width: 28px; height: 28px;
    border: 0; background: var(--ink-600); color: #fff; border-radius: 4px; cursor: pointer; font-size: 12px;
}
.brand-search button:hover { background: var(--ink-700); }

/* ---------- Primary navigation --------------------------------------- */

.nav-band { background: var(--ink-900); position: sticky; top: 0; z-index: 60; box-shadow: var(--shadow-md); }
.nav-band .shell { padding: 0 16px; display: flex; align-items: stretch; justify-content: space-between; gap: 8px; }

.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; flex: 1 1 auto; min-width: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px;
    color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,.10);
}
.nav-menu > li:first-child > a { border-left: 1px solid rgba(255,255,255,.10); }
.nav-menu > li > a .caret { font-size: 9px; opacity: .7; }
.nav-menu > li:hover > a,
.nav-menu > li.is-current > a { background: var(--ink-600); color: #fff; }

.nav-menu .flag-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #ff5a5a; display: inline-block;
    animation: nmcPulse 1.4s infinite;
}
@keyframes nmcPulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.nav-cta {
    display: flex; align-items: center; gap: 8px; padding: 5px 0 5px 12px; flex-shrink: 0;
}
.nav-cta a {
    display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
    border-radius: 3px; font-size: 12px; font-weight: 800; text-transform: uppercase;
    letter-spacing: .06em; white-space: nowrap;
}
.nav-cta .cta-gold { background: var(--gold); color: #fff; }
.nav-cta .cta-gold:hover { background: var(--gold-dark); color: #fff; }
.nav-cta .cta-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.nav-cta .cta-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Dropdowns (2 levels) */
.nav-menu .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 262px; margin: 0; padding: 6px 0;
    list-style: none; background: #fff; border: 1px solid var(--line);
    border-top: 3px solid var(--ink-600); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 70;
}
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu li { position: relative; }
.nav-menu .sub-menu a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 16px; font-size: 13px; font-weight: 500; color: #3b3b46; line-height: 1.35;
    border-bottom: 1px solid #f2f1f8;
}
.nav-menu .sub-menu li:last-child > a { border-bottom: 0; }
.nav-menu .sub-menu a:hover { background: var(--ink-100); color: var(--ink-900); padding-left: 20px; }
.nav-menu .sub-menu .sub-menu { top: -6px; left: 100%; }
.nav-menu .sub-menu > li:hover > a { background: var(--ink-100); color: var(--ink-900); }

/* Right-edge dropdowns flip inward */
.nav-menu > li.flip > .sub-menu { left: auto; right: 0; }
.nav-menu > li.flip .sub-menu .sub-menu { left: auto; right: 100%; }

/* Mobile toggle */
.nav-toggle {
    display: none; align-items: center; gap: 8px; height: 46px; padding: 0 14px;
    background: transparent; border: 0; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
}

/* ---------- Hero row (mission / slider / what's new) ------------------ */

.home-hero { background: var(--ink-900); color: #fff; padding: 22px 0 26px; }
.home-hero .hero-grid {
    display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 20px; align-items: stretch;
}

.hero-col { min-width: 0; display: flex; flex-direction: column; }

.hero-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 2px 0 9px; border-bottom: 1px solid rgba(255,255,255,.16); margin-bottom: 12px;
}
.hero-head h2 {
    font-size: 19px; font-weight: 800; color: #fff; margin: 0; letter-spacing: .01em;
}
.hero-head .head-actions { display: flex; gap: 8px; align-items: center; }
.hero-head .head-actions a { color: #ffd88a; font-size: 11px; font-weight: 700; text-transform: uppercase; }

.hero-copy { font-size: 13.5px; color: #ded7f5; line-height: 1.6; }
.hero-copy strong { color: #fff; }
.hero-copy ul { list-style: none; margin: 8px 0 0; padding: 0; }
.hero-copy ul li { position: relative; padding-left: 18px; margin-bottom: 7px; }
.hero-copy ul li::before {
    content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 2px; top: 0; color: #ffd88a;
}
.readmore-link { display: inline-block; margin-top: 6px; color: #ffd88a; font-weight: 700; font-size: 12.5px; }
.readmore-link:hover { color: #fff; }

.quote-card {
    display: flex; gap: 12px; padding: 12px; border-radius: 12px; margin-top: 16px;
    background: linear-gradient(135deg, #7c5ce0, #a855f7); color: #fff;
}
.quote-card .avatar {
    width: 58px; height: 58px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,.5);
}
.quote-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-card .avatar i { font-size: 22px; color: #fff; }
.quote-card .quote { font-size: 12px; line-height: 1.5; margin: 0; color: #fff; }
.quote-card .quote a { color: #ffe9a8; font-weight: 700; }
.quote-card .name { font-size: 12.5px; font-weight: 700; margin: 6px 0 0; color: #fff; }
.quote-card .title { font-size: 11.5px; opacity: .88; margin: 0; color: #fff; }

/* Slider */
.hero-slider { position: relative; border-radius: 8px; overflow: hidden; background: #1b0d47; box-shadow: var(--shadow-lg); height: 100%; min-height: 330px; }
.hero-slider .slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: block;
}
.hero-slider .slide.active { opacity: 1; position: relative; }
.hero-slider .slide img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; display: block; }
.hero-slider .slide-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 20px 16px;
    background: linear-gradient(to top, rgba(16,7,45,.92), rgba(16,7,45,0));
    color: #fff;
}
.hero-slider .slide-cap .kicker {
    display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase;
    letter-spacing: .12em; color: #ffd88a; margin-bottom: 4px;
}
.hero-slider .slide-cap h3 { font-size: 19px; font-weight: 800; color: #fff; margin: 0 0 3px; line-height: 1.25; }
.hero-slider .slide-cap p { font-size: 12.5px; margin: 0; color: #ddd5f4; }
.hero-slider .nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px;
    border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--ink-900);
    cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; z-index: 3;
}
.hero-slider .nav-arrow:hover { background: #fff; }
.hero-slider .nav-arrow.prev { left: 12px; }
.hero-slider .nav-arrow.next { right: 12px; }
.hero-slider .dots {
    position: absolute; bottom: 10px; right: 14px; display: flex; gap: 6px; z-index: 3;
}
.hero-slider .dots button {
    width: 8px; height: 8px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.45); padding: 0;
}
.hero-slider .dots button.active { background: var(--gold); width: 20px; border-radius: 4px; }

/* What's New */
.whatsnew-box {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; flex: 1;
}
.whatsnew-scroll { flex: 1; min-height: 240px; overflow: hidden; position: relative; }
.whatsnew-scroll ul { list-style: none; margin: 0; padding: 0; }
.whatsnew-scroll li { padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.16); }
.whatsnew-scroll li a { color: #efeafc; font-size: 12.5px; line-height: 1.45; display: block; }
.whatsnew-scroll li a:hover { color: #ffd88a; }
.whatsnew-scroll .date { display: block; font-size: 10.5px; color: #b6a7e8; margin-top: 3px; font-weight: 600; }
.tag-new {
    display: inline-block; margin-left: 6px; font-size: 9px; font-weight: 800; color: #fff;
    background: var(--alert); padding: 1px 5px; border-radius: 2px; text-transform: uppercase;
    letter-spacing: .06em; animation: nmcPulse 1.2s infinite; vertical-align: middle;
}
.whatsnew-foot { display: flex; gap: 14px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 8px; }
.whatsnew-foot a { color: #ffd88a; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }

/* ---------- Announcement ticker --------------------------------------- */

.ticker-bar { background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ticker-bar .shell { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.ticker-label {
    display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
    background: var(--alert); color: #fff; font-size: 11.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .07em; padding: 5px 12px; border-radius: 3px;
}
.ticker-label i { animation: nmcPulse 1s infinite; }
.ticker-view { flex: 1; overflow: hidden; position: relative; }
.ticker-track { display: inline-flex; gap: 44px; white-space: nowrap; animation: tickerRun 42s linear infinite; }
.ticker-view:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.ticker-track a:hover { color: var(--gold-dark); }
@keyframes tickerRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Quick-link card grid -------------------------------------- */

.section-band { padding: 32px 0; }
.section-band.tint { background: var(--ink-100); }
.section-band.white { background: #fff; }

.band-head { text-align: center; margin-bottom: 24px; }
.band-head .kicker {
    display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em;
    text-transform: uppercase; color: var(--gold-dark); margin-bottom: 5px;
}
.band-head h2 { font-size: 27px; font-weight: 800; color: var(--ink-700); margin: 0; }
.band-head p { font-size: 13.5px; color: var(--muted); margin: 7px auto 0; max-width: 720px; }
.band-head .rule { width: 62px; height: 3px; background: var(--gold); margin: 10px auto 0; border-radius: 2px; }

.quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.link-btn {
    display: block; height: 100%; background: #fff; border: 1px solid var(--line);
    border-radius: 8px; padding: 18px; box-shadow: var(--shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.link-btn:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--ink-400); }
.link-btn .hed_icn { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.link-btn .hed_icn .ico {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink-100); border: 1px solid var(--ink-300); color: var(--ink-700); font-size: 22px;
    transition: background .3s ease, color .3s ease;
}
.link-btn:hover .hed_icn .ico { background: var(--ink-600); color: #fff; border-color: var(--ink-600); }
.link-btn .hed_icn h3 {
    font-size: 14px; font-weight: 800; color: var(--ink-900); margin: 0;
    text-transform: uppercase; line-height: 1.28; letter-spacing: .01em;
}
.link-btn p { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.link-btn .blink-new {
    color: var(--alert); font-weight: 800; font-size: 11px; animation: nmcPulse 1.1s infinite;
}

/* ---------- Information box (tabs) + side boxes ------------------------ */

.info-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }

.tabs-title { font-size: 25px; font-weight: 800; color: var(--ink-700); margin: 0 0 14px; }

.tabs-head { display: flex; background: var(--ink-100); border-radius: 6px 6px 0 0; overflow: hidden; flex-wrap: wrap; }
.tabs-head button {
    flex: 1 1 auto; min-width: 150px; border: 0; cursor: pointer; background: var(--ink-100);
    color: var(--ink-900); font-size: 13.5px; font-weight: 700; padding: 14px 16px;
    display: flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.25;
    transition: background .2s ease, color .2s ease;
    font-family: inherit;
}
.tabs-head button:hover { background: #e2ddf8; }
.tabs-head button.active { background: var(--ink-900); color: #fff; }

.tabs-body { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; padding: 20px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.tab-pane > p.lede { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.tab-inner { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.tab-inner figure { margin: 0; flex: 0 0 220px; max-width: 220px; }
.tab-inner figure img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; display: block; }
.clg-list { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 240px; }
.clg-list li { border-bottom: 1px dashed var(--line); }
.clg-list li:last-child { border-bottom: 0; }
.clg-list a {
    display: flex; align-items: flex-start; gap: 9px; padding: 9px 0;
    font-size: 13.5px; font-weight: 600; color: #3b3b46; line-height: 1.4;
}
.clg-list a::before {
    content: '\f0da'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: var(--ink-600); flex-shrink: 0; margin-top: 1px;
}
.clg-list a:hover { color: var(--ink-700); }
.clg-list a:hover::before { color: var(--gold); }

.side-stack { display: flex; flex-direction: column; gap: 12px; }
.side-box {
    background: var(--ink-900); color: #fff; padding: 16px; border-radius: 6px;
}
.side-box p.lbl { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 6px; line-height: 1.3; }
.side-box .val { font-size: 13px; color: #ddd5f4; display: block; }
.side-box.violet { background: var(--ink-400); }
.side-box.violet p.lbl { font-size: 14px; }
.side-box.violet a { color: var(--mint); font-weight: 600; }
.side-box.violet a:hover { color: #fff; }
.side-box.link-row {
    background: var(--ink-400); display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; font-size: 13px; font-weight: 600;
}
.side-box.link-row a { color: var(--mint); }
.side-box.link-row i { color: #fff; }

.side-panel {
    background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink-600);
    border-radius: 6px; overflow: hidden;
}
.side-panel > h3 {
    margin: 0; padding: 12px 16px; font-size: 14.5px; font-weight: 800;
    color: var(--ink-900); background: var(--ink-100); text-transform: uppercase; letter-spacing: .03em;
}
.side-panel .body { padding: 14px 16px; }

/* ---------- Partner strip --------------------------------------------- */

.partner-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; }
.partner-track { display: flex; align-items: center; gap: 42px; animation: tickerRun 34s linear infinite; width: max-content; }
.partner-strip:hover .partner-track { animation-play-state: paused; }
.partner-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 168px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 6px;
    background: var(--ink-050); text-align: center; flex-shrink: 0;
}
.partner-item:hover { border-color: var(--ink-400); background: #fff; }
.partner-item strong { font-size: 13px; font-weight: 700; color: var(--ink-900); line-height: 1.25; }
.partner-item span { font-size: 10.5px; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }

/* ---------- Footer ----------------------------------------------------- */

.newsletter-band { background: var(--ink-100); border-top: 1px solid var(--line); padding: 30px 0; text-align: center; }
.newsletter-band h4 { font-size: 20px; font-weight: 800; color: var(--ink-700); margin: 0 0 6px; }
.newsletter-band p { font-size: 13px; color: var(--muted); max-width: 620px; margin: 0 auto 14px; }
.newsletter-form { display: flex; max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 4px; }
.newsletter-form input {
    flex: 1; border: 0; padding: 8px 12px; font-size: 13px; background: transparent; color: var(--body); min-width: 0;
}
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
    border: 0; background: var(--ink-600); color: #fff; font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .07em; padding: 9px 18px; border-radius: 3px; cursor: pointer;
}
.newsletter-form button:hover { background: var(--ink-700); }
.newsletter-msg { max-width: 480px; margin: 12px auto 0; font-size: 12.5px; font-weight: 600; padding: 9px 14px; border-radius: 4px; }
.newsletter-msg.ok { background: #e7f7ec; color: #14682f; border: 1px solid #b7e5c5; }
.newsletter-msg.warn { background: #fdf3e3; color: #8a5a10; border: 1px solid #f0d6a5; }

.site-footer { background: var(--ink-600); color: #fff; padding: 34px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 28px; }
.footer-col h4 {
    font-size: 13px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .09em;
    margin: 0 0 12px; padding-left: 10px; border-left: 3px solid #ffd88a;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: rgba(255,255,255,.82); font-size: 13px; }
.footer-col ul li a:hover { color: #fff; padding-left: 3px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 5px; padding: 3px; }
.footer-brand strong { font-size: 14px; font-weight: 800; color: #fff; line-height: 1.25; }
.footer-about { font-size: 12.5px; color: rgba(255,255,255,.78); line-height: 1.6; }
.footer-social { display: flex; gap: 9px; margin-top: 12px; }
.footer-social a {
    width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px;
}
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-contact li { display: flex; gap: 9px; font-size: 12.5px; color: rgba(255,255,255,.82); margin-bottom: 9px; line-height: 1.5; }
.footer-contact li i { color: #ffd88a; margin-top: 3px; flex-shrink: 0; }

.footer-menu-band { background: var(--ink-700); padding: 12px 0; }
.footer-menu-band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.footer-menu-band li + li::before { content: '|'; color: rgba(255,255,255,.3); margin: 0 14px; }
.footer-menu-band a { color: #fff; font-size: 13px; font-weight: 600; }
.footer-menu-band a:hover { color: #ffd88a; }

.footer-bottom { background: var(--ink-900); color: rgba(255,255,255,.72); padding: 12px 0; font-size: 12px; }
.footer-bottom .shell { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; margin: 0; padding: 0; }
.footer-bottom ul li + li::before { content: '|'; color: rgba(255,255,255,.3); margin: 0 10px; }
.footer-bottom a { color: rgba(255,255,255,.85); }
.footer-bottom a:hover { color: #ffd88a; }

/* ---------- Inner page shell ------------------------------------------ */

.page-banner {
    background: linear-gradient(120deg, var(--ink-900) 0%, var(--ink-700) 55%, var(--ink-600) 100%);
    color: #fff; padding: 28px 0; position: relative; overflow: hidden;
}
.page-banner::after {
    content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
    border-radius: 50%; background: rgba(255,255,255,.05);
}
.page-banner h1 { font-size: 30px; font-weight: 800; color: #fff; margin: 0; line-height: 1.2; }
.page-banner p { font-size: 13.5px; color: #ded7f5; margin: 7px 0 0; max-width: 780px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; margin: 0 0 8px; padding: 0; font-size: 12px; }
.breadcrumb li { color: rgba(255,255,255,.72); }
.breadcrumb li + li::before { content: '/'; margin: 0 8px; color: rgba(255,255,255,.4); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #ffd88a; }

main.page-main { padding: 28px 0 40px; }

/* Inner page: content + right rail */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.page-layout.narrow { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 991px) { .page-layout, .page-layout.narrow { grid-template-columns: 1fr; } }

.card-panel {
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.card-panel > .head {
    padding: 14px 20px; background: var(--ink-100); border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.card-panel > .head h2, .card-panel > .head h3 {
    margin: 0; font-size: 16px; font-weight: 800; color: var(--ink-900);
    text-transform: uppercase; letter-spacing: .03em;
}
.card-panel > .body { padding: 20px; }

.section-title {
    font-size: 22px; font-weight: 800; color: var(--ink-700); margin: 0 0 4px;
}
.section-sub { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.title-rule { width: 54px; height: 3px; background: var(--gold); border-radius: 2px; margin: 8px 0 16px; }

/* Generic content typography inside page bodies */
.rich-text p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: #444; }
.rich-text h3 { font-size: 18px; font-weight: 800; color: var(--ink-700); margin: 20px 0 8px; }
.rich-text h4 { font-size: 15px; font-weight: 800; color: var(--ink-900); margin: 16px 0 6px; }
.rich-text ul { margin: 0 0 12px; padding-left: 0; list-style: none; }
.rich-text ul li { position: relative; padding-left: 20px; margin-bottom: 6px; font-size: 14px; color: #444; }
.rich-text ul li::before {
    content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 1px; color: var(--ink-600); font-size: 12px;
}

/* ---------- Buttons ---------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: 4px; font-size: 12.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .07em; cursor: pointer; border: 1px solid transparent;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
    font-family: inherit; line-height: 1.2; text-align: center;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink-600); color: #fff; }
.btn-primary:hover { background: var(--ink-700); color: #fff; }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--ink-700); border-color: var(--ink-300); }
.btn-outline:hover { background: var(--ink-100); color: var(--ink-900); border-color: var(--ink-400); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 11px; }
.btn-lg { padding: 13px 26px; font-size: 13.5px; }
.btn-block { display: flex; width: 100%; }

/* ---------- Forms ------------------------------------------------------ */

.field { margin-bottom: 16px; }
.field > label, .form-label {
    display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-900);
    margin-bottom: 6px; letter-spacing: .01em;
}
.field .req, .req { color: var(--alert); }
.form-control, .field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=number], .field input[type=date], .field input[type=password],
.field input[type=url], .field select, .field textarea {
    width: 100%; padding: 10px 12px; font-size: 13.5px; color: var(--body);
    border: 1px solid var(--line); border-radius: 4px; background: #fff;
    font-family: inherit; transition: border-color .18s ease, box-shadow .18s ease;
}
.form-control:focus, .field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--ink-400); box-shadow: 0 0 0 3px rgba(138,110,220,.18);
}
.field .hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }

.fieldset-block {
    border: 1px solid var(--line); border-radius: 6px; padding: 18px; margin-bottom: 20px; background: #fff;
}
.fieldset-block > legend, .fieldset-block > .legend {
    font-size: 13px; font-weight: 800; color: var(--ink-700); text-transform: uppercase;
    letter-spacing: .06em; padding: 0 8px; margin-left: -8px;
}

.alert-box { padding: 12px 16px; border-radius: 5px; font-size: 13px; font-weight: 600; margin-bottom: 16px; border: 1px solid; }
.alert-ok { background: #e7f7ec; border-color: #b7e5c5; color: #14682f; }
.alert-err { background: #fdeaea; border-color: #f2bcbc; color: #9b1c1c; }
.alert-info { background: var(--ink-100); border-color: var(--ink-300); color: var(--ink-900); }
.alert-warn { background: #fdf3e3; border-color: #f0d6a5; color: #8a5a10; }

/* ---------- Tables ----------------------------------------------------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data-table thead th {
    background: var(--ink-900); color: #fff; text-align: left; padding: 11px 14px;
    font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
table.data-table tbody td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: #444; }
table.data-table tbody tr:nth-child(even) { background: var(--ink-050); }
table.data-table tbody tr:hover { background: var(--ink-100); }

/* ---------- Chips / badges --------------------------------------------- */

.chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.chip-ink { background: var(--ink-100); color: var(--ink-900); }
.chip-gold { background: #fdf1dd; color: var(--gold-dark); }
.chip-go { background: #e7f7ec; color: #14682f; }
.chip-alert { background: #fdeaea; color: var(--alert); }
.chip-solid { background: var(--ink-900); color: #fff; }

/* ---------- Generic card grid ------------------------------------------ */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.tile {
    background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--ink-300); }
.tile .thumb { position: relative; height: 168px; background: var(--ink-100); overflow: hidden; }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .thumb .tag {
    position: absolute; top: 10px; right: 10px; background: var(--ink-900); color: #fff;
    font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
    padding: 4px 9px; border-radius: 3px;
}
.tile .tile-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tile .tile-body h3 { font-size: 15px; font-weight: 800; color: var(--ink-900); margin: 0; line-height: 1.3; }
.tile .tile-body p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }
.tile .tile-foot {
    margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}

/* ---------- Government application forms -------------------------------- */

.form-tabs {
    display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 22px;
    background: var(--ink-100); border-radius: 6px; padding: 4px;
}
.form-tabs a {
    flex: 1 1 auto; text-align: center; padding: 11px 14px; border-radius: 4px;
    font-size: 13px; font-weight: 700; color: var(--ink-900); white-space: nowrap;
    display: flex; align-items: center; justify-content: center; gap: 7px;
}
.form-tabs a:hover { background: #e2ddf8; color: var(--ink-900); }
.form-tabs a.active { background: var(--ink-900); color: #fff; }
.form-tabs a.active:hover { background: var(--ink-800); color: #fff; }

.tick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 18px; }
.tick-grid.two { grid-template-columns: repeat(2, 1fr); }
.tick-grid li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-900); font-weight: 500; line-height: 1.5; }
.tick-grid li i { color: var(--gold); font-size: 11px; margin-top: 4px; flex-shrink: 0; }
@media (max-width: 767px) { .tick-grid, .tick-grid.two { grid-template-columns: 1fr; } }

/* Selectable option chips (checkbox / radio driven) */
.opt-chip {
    display: block; padding: 9px 12px; font-size: 12.5px; line-height: 1.4;
    border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #4a4a55;
    cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease;
    height: 100%;
}
.opt-chip:hover { border-color: var(--ink-400); background: var(--ink-050); }
input:checked + .opt-chip {
    background: var(--ink-100); border-color: var(--ink-600); color: var(--ink-900); font-weight: 700;
}
input:focus-visible + .opt-chip { box-shadow: 0 0 0 3px rgba(138,110,220,.28); }

/* Restyle the existing utility-class form internals into the institutional look */
.gov-form form label.block {
    font-size: 13px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; display: block;
}
.gov-form form label.block .font-normal { color: var(--muted); font-weight: 500; }
.gov-form form h4 {
    font-size: 13px; font-weight: 800; color: #fff; letter-spacing: .06em; text-transform: uppercase;
    background: var(--ink-700); padding: 10px 14px; border-radius: 4px; border: 0;
    display: flex; align-items: center; gap: 9px; margin: 26px 0 4px;
}
.gov-form form h4:first-of-type { margin-top: 0; }
.gov-form form h4 i { color: #ffd88a; }
.gov-form form h5 { font-size: 13.5px; font-weight: 800; color: var(--ink-900); margin: 14px 0 6px; }
.gov-form form textarea { min-height: 96px; resize: vertical; }
.gov-form form button[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--gold); color: #fff; border: 0; border-radius: 4px;
    padding: 14px 30px; font-size: 13.5px; font-weight: 800; text-transform: uppercase;
    letter-spacing: .07em; cursor: pointer; font-family: inherit; transition: background .2s ease;
}
.gov-form form button[type="submit"]:hover { background: var(--gold-dark); }
.gov-form form button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- Media grid (gallery) ---------------------------------------- */

.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 991px) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
    position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0;
    border: 1px solid var(--line); border-radius: 6px; overflow: hidden; cursor: pointer;
    background: var(--ink-100);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover { border-color: var(--ink-400); }
.gallery-item .play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(16,7,45,.28); color: var(--ink-900); font-size: 15px;
}
.gallery-item .play i {
    width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.94);
    display: flex; align-items: center; justify-content: center; padding-left: 3px;
}
.gallery-item .cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px;
    background: linear-gradient(to top, rgba(16,7,45,.85), transparent);
    color: #fff; font-size: 11px; text-align: left;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Modal dialog ------------------------------------------------ */

.modal-backdrop {
    position: fixed; inset: 0; background: rgba(16, 7, 45, .6); z-index: 100;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal-card {
    background: #fff; border-radius: 8px; padding: 24px; width: 100%; max-width: 430px;
    box-shadow: var(--shadow-lg); border-top: 4px solid var(--ink-600);
}

/* ---------- Accordion (FAQ / disclosure lists) -------------------------- */

.acc-list { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-item > button {
    width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
    background: #fff; border: 0; cursor: pointer; padding: 15px 18px; text-align: left;
    font-family: inherit; transition: background .18s ease;
}
.acc-item > button:hover { background: var(--ink-050); }
.acc-item > button .q { font-size: 14.5px; font-weight: 700; color: var(--ink-900); line-height: 1.4; margin: 0; }
.acc-item > button .cat {
    display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
    color: var(--gold-dark); margin-bottom: 4px;
}
.acc-item > button .chev {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--ink-100);
    color: var(--ink-700); display: flex; align-items: center; justify-content: center; font-size: 11px;
    transition: transform .22s ease, background .18s ease, color .18s ease;
}
.acc-item.open > button { background: var(--ink-100); }
.acc-item.open > button .chev { transform: rotate(180deg); background: var(--ink-600); color: #fff; }
.acc-item .acc-body { display: none; padding: 0 18px 18px; border-top: 1px dashed var(--line); }
.acc-item.open .acc-body { display: block; }
.acc-item .acc-body p { font-size: 13.5px; line-height: 1.7; color: #4a4a55; margin: 14px 0 0; }

.empty-state {
    text-align: center; padding: 46px 20px; background: #fff; border: 1px dashed var(--ink-300);
    border-radius: 8px;
}
.empty-state i { font-size: 34px; color: var(--ink-300); display: block; margin-bottom: 12px; }
.empty-state h3 { font-size: 17px; font-weight: 800; color: var(--ink-700); margin: 0 0 6px; }
.empty-state p { font-size: 13.5px; color: var(--muted); margin: 0 auto 16px; max-width: 520px; line-height: 1.6; }
.empty-state .btn:last-child { margin-bottom: 0; }

.stat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.stat-strip .stat { padding: 18px 12px; text-align: center; border-right: 1px solid var(--line); }
.stat-strip .stat:last-child { border-right: 0; }
.stat-strip .stat b { display: block; font-size: 28px; font-weight: 800; color: var(--ink-700); line-height: 1.1; }
.stat-strip .stat span { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }

/* Floating helpers */
.float-stack { position: fixed; right: 18px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
    width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; box-shadow: var(--shadow-md); border: 0; cursor: pointer;
}
.float-btn.wa { background: #25d366; }
.float-btn.tg { background: #29a9eb; }
.float-btn.top { background: var(--ink-700); font-size: 16px; }
.float-btn:hover { filter: brightness(1.08); color: #fff; }

/* ---------- Mobile drawer ---------------------------------------------- */

.drawer-backdrop {
    position: fixed; inset: 0; background: rgba(16,7,45,.55); z-index: 95;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }

.mobile-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; width: 310px; max-width: 86vw; background: #fff;
    z-index: 96; transform: translateX(-100%); transition: transform .28s ease;
    display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer .drawer-head {
    background: var(--ink-900); color: #fff; padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-shrink: 0;
}
.mobile-drawer .drawer-head strong { font-size: 14px; font-weight: 800; }
.mobile-drawer .drawer-head button { background: transparent; border: 0; color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.mobile-drawer .drawer-body { overflow-y: auto; flex: 1; padding: 12px 0 24px; }
.mobile-drawer .m-search { padding: 12px 16px; }
.mobile-drawer .m-search input {
    width: 100%; height: 38px; padding: 0 12px; font-size: 13px; border: 1px solid var(--line); border-radius: 4px;
}
.m-acc { border-bottom: 1px solid var(--line); }
.m-acc > button {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: transparent; border: 0; cursor: pointer; padding: 12px 16px;
    font-size: 13px; font-weight: 800; color: var(--ink-900); text-transform: uppercase;
    letter-spacing: .03em; font-family: inherit; text-align: left;
}
.m-acc > button i { font-size: 11px; color: var(--muted); transition: transform .25s ease; }
.m-acc.open > button { background: var(--ink-100); }
.m-acc.open > button i { transform: rotate(180deg); }
.m-acc .m-sub { display: none; padding: 0 0 8px; background: #fbfaff; }
.m-acc.open .m-sub { display: block; }
.m-acc .m-sub a {
    display: block; padding: 9px 16px 9px 30px; font-size: 12.5px; font-weight: 600; color: #4a4a55;
    border-bottom: 1px solid #f1effa;
}
.m-acc .m-sub a:hover { color: var(--ink-700); background: var(--ink-100); }
.m-flat {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 12px 16px; font-size: 13px; font-weight: 800; color: var(--ink-900);
    text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid var(--line);
}
.drawer-cta { padding: 16px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Responsive -------------------------------------------------- */

@media (max-width: 1359px) and (min-width: 1100px) {
    .nav-menu > li > a { padding: 0 10px; font-size: 12.5px; }
    .nav-cta a { padding: 0 10px; font-size: 11px; letter-spacing: .04em; }
}

@media (max-width: 1199px) {
    /* Without the slider setting the row height, cap the ticker so the
       duplicated (looping) list does not stretch the page. */
    .whatsnew-scroll { max-height: 300px; }
    .home-hero .hero-grid { grid-template-columns: 1fr 1fr; }
    .home-hero .hero-col.slider-col { grid-column: 1 / -1; order: -1; }
    .quicklinks { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stat-strip { grid-template-columns: repeat(3, 1fr); }
    .stat-strip .stat { border-bottom: 1px solid var(--line); }
}

@media (max-width: 1099px) {
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .nav-band .shell { display: flex; align-items: center; justify-content: space-between; }
    .nav-cta { margin-left: 0; }
    .nav-cta .cta-ghost { display: none; }
}

@media (max-width: 991px) {
    .info-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .brand-lockup .brand-text .l1 { font-size: 17px; }
    .brand-lockup .brand-text .l2 { font-size: 13px; }
    .brand-lockup .brand-mark { width: 56px; height: 56px; }
    .brand-side .seal { display: none; }
}

@media (max-width: 767px) {
    body.gov-body { font-size: 14px; }
    .home-hero .hero-grid { grid-template-columns: 1fr; }
    .home-hero .hero-col.slider-col { order: -1; }
    .quicklinks { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .page-banner h1 { font-size: 23px; }
    .band-head h2 { font-size: 21px; }
    .tabs-title { font-size: 20px; }
    .gov-topbar .shell { justify-content: center; text-align: center; }
    .top-links { justify-content: center; }
    .brand-band .shell { justify-content: center; text-align: center; }
    .brand-lockup { justify-content: center; text-align: left; }
    .tab-inner figure { flex: 1 1 100%; max-width: 100%; }
    .whatsnew-scroll { height: 220px; }
    .hero-slider .slide img { min-height: 220px; }
    .hero-slider { min-height: 220px; }
}

@media (max-width: 479px) {
    .quicklinks { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: 1fr; }
    .brand-lockup .emblem { display: none; }
}

/* Utility helpers used across pages */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.nowrap { white-space: nowrap; }
