:root {
  --ink: #0e1a2b;
  --ink-soft: #3f4d60;
  --authority: #0a3d78;
  --authority-900: #061a33;
  --authority-700: #0e4f97;
  --sky: #e8f1fb;
  --paper: #ffffff;
  --paper-warm: #fbfbf7;
  --line: #d8e1eb;
  --muted: #667487;
  --saffron: #d98a13;
  --green: #0b725d;
  --mist: #f4f7fb;
  --shadow: 0 20px 60px rgba(6, 26, 51, 0.13);
  --radius: 14px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main [id] {
  scroll-margin-top: 214px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(10, 61, 120, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  font-family: "Poppins", "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15.75px;
  font-weight: 400;
}

/* Sticky footer: push footer to the bottom of the viewport on short pages */
.site-footer {
  margin-top: auto;
}

body.lang-hi {
  font-family: "Noto Sans Devanagari", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Poppins everywhere: override legacy/CMS inline font-family (Arial/Calibri/…) and <font> tags */
[style*="font-family"] {
  font-family: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif !important;
}
font {
  font-family: inherit !important;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

strong,
b {
  font-weight: 500;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(217, 138, 19, 0.74);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--authority);
  border-radius: 10px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 225, 235, 0.9);
  box-shadow: 0 8px 28px rgba(6, 26, 51, 0.06);
  backdrop-filter: blur(14px);
}

.govbar {
  color: #dce9f8;
  background: var(--authority-900);
  font-size: 12.6px;
}

.govbar-inner,
.govbar nav,
.masthead-inner,
.brand,
.masthead-actions,
.nav-inner,
.button {
  display: flex;
  align-items: center;
}

.govbar-inner {
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.govbar p {
  margin: 0;
  font-weight: 400;
}

.govbar nav {
  flex-wrap: wrap;
  gap: 18px;
}

.govbar a,
.govbar button {
  color: inherit;
  opacity: 0.92;
}

.govbar button {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 500;
}

.govbar a:hover,
.govbar button:hover,
.govbar button[aria-pressed="true"] {
  opacity: 1;
  color: #fff;
}

.govbar button[aria-pressed="true"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.masthead {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.masthead-inner {
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
}

.brand {
  min-width: 0;
  gap: 16px;
}

.emblem-frame {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 58px;
  height: 68px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.emblem-frame img {
  height: 52px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-ministry {
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.25;
}

.brand-title {
  color: var(--authority);
  font-family: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
  font-size: clamp(20px, 2.2vw, 27.3px);
  font-weight: 700;
  line-height: 1.08;
}

.brand-subtitle {
  color: var(--ink-soft);
  font-size: 13.65px;
  font-weight: 500;
}

.masthead-actions {
  gap: 12px;
}

.status-badge {
  padding: 10px 14px;
  color: #075640;
  background: #e7f6f0;
  border: 1px solid #b9e5d7;
  border-radius: 999px;
  font-size: 12.6px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 15px;
  color: var(--authority);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
}

.primary-nav {
  background: #fff;
  border-top: 1px solid var(--line);
}

.nav-inner {
  gap: clamp(12px, 2.2vw, 28px);
  min-height: 54px;
}

.nav-inner a {
  position: relative;
  color: #243449;
  font-size: 13.65px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-inner a::after {
  position: absolute;
  right: 0;
  bottom: -17px;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.nav-inner a:hover,
.nav-inner a[aria-current="page"] {
  color: var(--authority-700);
}

.nav-inner a[aria-current="page"]::after {
  background: var(--saffron);
}

.home-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--authority-900);
}

.home-hero {
  min-height: 460px;
}

.page-hero {
  min-height: 380px;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: url("assets/nsez-building.jpg") center / cover;
}

.hero-shade,
.page-hero::before {
  background:
    linear-gradient(100deg, rgba(6, 26, 51, 0.96) 0%, rgba(10, 61, 120, 0.82) 50%, rgba(10, 61, 120, 0.26) 100%),
    linear-gradient(180deg, rgba(6, 26, 51, 0.08), rgba(6, 26, 51, 0.62));
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
}

.page-hero::after,
.home-hero::after {
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.about-hero {
  background-image: linear-gradient(120deg, #071a33, #0b4c8e);
}

.investor-hero {
  background-image: linear-gradient(120deg, #071a33, #285a86);
}

.eou-hero {
  background-image: linear-gradient(120deg, #071a33, #0b725d);
}

.notices-hero {
  background-image: linear-gradient(120deg, #071a33, #5a4215);
}

.infra-hero {
  background-image: linear-gradient(120deg, #071a33, #334b69);
}

.contact-hero {
  background-image: linear-gradient(120deg, #071a33, #234569);
}

.home-hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 54px;
}

.home-hero-grid {
  grid-template-columns: minmax(0, 900px);
  min-height: 460px;
  padding-block: 54px;
  gap: clamp(40px, 5vw, 72px);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 780px) minmax(280px, 360px);
  min-height: 380px;
  padding-block: 62px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--authority-700);
  font-size: 11.55px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero .eyebrow,
.page-hero .eyebrow {
  color: #f6c76e;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
  font-weight: 500;
}

body.lang-hi h1,
body.lang-hi h2,
body.lang-hi .brand-title {
  font-family: "Noto Sans Devanagari", "Poppins", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(37.8px, 5.45vw, 60.9px);
  line-height: 1.03;
}

.page-hero h1 {
  font-size: clamp(32.55px, 4.41vw, 48.3px);
}

.hero-copy p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.hero-fact p {
  max-width: 690px;
  margin: 22px 0 0;
  color: #e2edf8;
  font-size: clamp(15.75px, 1.42vw, 17.85px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 400;
}

.button-primary {
  color: #fff;
  background: var(--authority-700);
  box-shadow: 0 18px 38px rgba(6, 26, 51, 0.28);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.home-hero .hero-copy {
  max-width: 900px;
}

.route-panel,
.hero-fact,
.update-card,
.gateway-card,
.preview-card,
.directory-card,
.content-panel,
.side-panel,
.info-card,
.filter-panel,
.contact-form,
.helpdesk-form,
.stat-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.route-panel {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.route-panel::before,
.process-list::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 28px;
  width: 3px;
  background: linear-gradient(180deg, var(--saffron), var(--authority-700), var(--green));
  content: "";
}

.route-kicker {
  margin-left: 22px;
  color: var(--muted);
  font-size: 11.55px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-panel a {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 15px 14px 15px 38px;
  border-radius: 12px;
  transition: background 160ms ease, transform 160ms ease;
}

.route-panel a::before {
  position: absolute;
  top: 21px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 1px var(--line);
  content: "";
}

.route-panel a:hover,
.gateway-card:hover,
.directory-card:hover,
.notice-row:hover,
.link-stack a:hover,
.sitemap-grid a:hover {
  transform: translateY(-2px);
}

.route-panel strong,
.gateway-card h3,
.directory-card h3,
.info-card h3 {
  color: var(--authority);
}

.route-panel span:not(.route-kicker),
.gateway-card p,
.directory-card p,
.preview-card p,
.content-panel p,
.side-panel li,
.info-card p,
.notice-row p,
.stat-panel p,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding-block: 76px;
}

.pale-section {
  background: rgba(255, 255, 255, 0.62);
  border-block: 1px solid rgba(216, 225, 235, 0.72);
}

.section-heading h2,
.service-strip h2,
.preview-card h2,
.content-panel h2,
.filter-panel h2,
.contact-form h2,
.helpdesk-form h2 {
  max-width: 820px;
  margin: 0;
  color: var(--authority);
  font-size: clamp(27.3px, 3.57vw, 37.8px);
  font-weight: 400;
  line-height: 1.15;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15.75px;
  line-height: 1.7;
}

.architecture-heading p:not(.eyebrow) {
  max-width: 880px;
}

.official-data-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%),
    repeating-linear-gradient(135deg, rgba(10, 61, 120, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: var(--shadow);
}

.official-data-panel-wide {
  margin-top: 36px;
}

.official-data-panel-wide .official-data-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.official-data-panel h3 {
  margin: 0;
  color: var(--authority);
  font-family: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
  font-size: clamp(23.1px, 2.73vw, 29.4px);
  line-height: 1.18;
}

.official-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.official-data-grid div {
  padding: 14px;
  border: 1px solid rgba(216, 225, 235, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.official-data-grid strong {
  display: block;
  color: var(--authority);
  font-size: 13.65px;
  font-weight: 500;
}

.official-data-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.6px;
  line-height: 1.5;
}

.home-gallery-section {
  background: rgba(255, 255, 255, 0.72);
  border-block: 1px solid rgba(216, 225, 235, 0.72);
}

.home-gallery-grid {
  display: grid;
  grid-auto-rows: 220px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-tile-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.035);
}

.gallery-tile::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(6, 26, 51, 0.76) 100%),
    linear-gradient(90deg, rgba(6, 26, 51, 0.18), transparent 52%);
  content: "";
}

.gallery-tile figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  color: #fff;
  font-size: 12.6px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.split-heading,
.content-grid,
.two-column,
.preview-grid,
.contact-grid,
.search-layout,
.notice-page-layout,
.timeline-layout {
  display: grid;
  gap: 42px;
}

.split-heading {
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: end;
}

.content-grid,
.contact-grid {
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.contact-grid .content-panel {
  align-self: start;
}

.contact-grid .content-panel h2 {
  font-size: clamp(25.2px, 2.84vw, 31.5px);
}

.search-layout {
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: end;
}

.search-form-live {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.search-form-live label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 400;
}

.search-form-live input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}

.search-form-live .button {
  min-height: 48px;
  padding-inline: 20px;
}

.search-form-live .form-note {
  grid-column: 1 / -1;
}

.two-column,
.preview-grid,
.notice-page-layout,
.timeline-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.update-card,
.hero-fact,
.stat-panel {
  padding: 22px;
}

.hero-fact {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
}

.hero-fact span,
.update-card span,
.stat-panel span {
  display: block;
  color: var(--muted);
  font-size: 11.55px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-fact strong,
.update-card strong,
.stat-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--authority);
  font-size: 19.95px;
  line-height: 1.2;
}

.hero-fact p,
.stat-panel p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.65px;
}

.page-hero .hero-fact p {
  max-width: none;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13.65px;
  line-height: 1.65;
}

.gateway-grid,
.directory-grid,
.three-card-grid,
.sitemap-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.gateway-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.directory-grid,
.three-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gateway-card,
.directory-card,
.info-card {
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.directory-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.directory-card > .text-link,
.directory-card .card-actions {
  margin-top: auto;
}

.directory-card .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  align-items: center;
  padding-top: 18px;
}

.directory-card .card-actions .text-link {
  margin-top: 0;
}

.gateway-card:hover,
.directory-card:hover,
.info-card:hover {
  border-color: rgba(10, 61, 120, 0.35);
}

.gateway-card span {
  color: var(--saffron);
  font-family: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
  font-size: 22.05px;
  font-weight: 500;
}

.helpdesk-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 26, 51, 0.98), rgba(10, 61, 120, 0.94)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
}

.helpdesk-card::after {
  position: absolute;
  right: -70px;
  bottom: -86px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.helpdesk-card span,
.helpdesk-card h3,
.helpdesk-card p {
  position: relative;
  z-index: 1;
  color: #fff;
}

.helpdesk-card p {
  color: #dce9f8;
}

.gateway-card h3,
.directory-card h3,
.info-card h3 {
  margin: 16px 0 10px;
  font-size: 18.9px;
}

.service-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 26, 51, 0.97), rgba(10, 61, 120, 0.94)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.service-strip .eyebrow {
  color: #f6c76e;
}

.service-strip h2 {
  color: #fff;
}

.service-strip-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-strip-links a,
.region-links a,
.link-stack a,
.sitemap-grid a {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 500;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.service-strip-links a {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
}

.preview-card,
.content-panel,
.side-panel,
.filter-panel,
.contact-form {
  padding: 28px;
}

.image-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.image-card img {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.clean-list,
.check-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.clean-list {
  display: grid;
  gap: 14px;
}

.clean-list a {
  color: var(--authority);
  font-weight: 500;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 500;
  content: "✓";
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--authority-700);
  font-weight: 500;
}

.text-link::after {
  margin-left: 8px;
  content: "\2192";
}

.link-stack {
  display: grid;
  gap: 14px;
}

.link-stack a {
  display: grid;
  gap: 4px;
  background: #fff;
}

.link-stack span {
  color: var(--muted);
  font-size: 13.65px;
  font-weight: 500;
}

.process-list {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list::before {
  top: 26px;
  bottom: 26px;
  left: 22px;
}

.process-list li {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px 22px 20px 64px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.process-list li::before {
  position: absolute;
  top: 22px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--authority-700);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  content: "";
}

.process-list strong {
  color: var(--authority);
  font-size: 16.8px;
}

.process-list span {
  color: var(--muted);
  line-height: 1.6;
}

.notice-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tab {
  min-height: 40px;
  padding: 0 15px;
  color: var(--authority);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}

.tab.is-active {
  color: #fff;
  background: var(--authority-700);
  border-color: var(--authority-700);
}

.notice-list {
  display: grid;
  gap: 14px;
}

.notice-row {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 98px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform 160ms ease, border-color 160ms ease;
}

.notice-row.is-hidden {
  display: none;
}

.notice-row time {
  display: grid;
  place-items: center;
  width: 68px;
  min-height: 58px;
  padding: 8px;
  color: var(--authority);
  background: var(--sky);
  border-radius: 12px;
  font-size: 12.6px;
  font-weight: 500;
  text-align: center;
}

.notice-row h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 15.75px;
  line-height: 1.35;
}

.notice-row a {
  color: var(--authority-700);
  font-weight: 500;
}

.region-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.region-links a,
.sitemap-grid a {
  color: var(--authority);
  background: #fff;
}

.map-panel {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.map-panel img {
  width: 100%;
  margin-inline: auto;
}

.map-panel figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.6px;
  line-height: 1.5;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
  margin-top: 34px;
}

.gallery-grid img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form,
.helpdesk-form {
  display: grid;
  gap: 16px;
}

.helpdesk-form {
  padding: 28px;
}

.form-heading {
  display: grid;
  gap: 8px;
}

.form-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label,
.helpdesk-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 500;
}

.contact-form input,
.helpdesk-form input,
.helpdesk-form select,
.helpdesk-form textarea {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}

.helpdesk-form textarea {
  min-height: 132px;
  padding-block: 12px;
  resize: vertical;
}

.contact-form .button,
.helpdesk-form .button {
  width: 100%;
}

.form-note,
.helpdesk-note {
  min-height: 24px;
  margin: 0;
  font-size: 13.65px;
}

.search-section {
  padding-block-start: 0;
}

.sitemap-section {
  background: #fff;
}

.sitemap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer {
  color: #dbe8f7;
  background: var(--authority-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 0.7fr 0.7fr 0.7fr;
  gap: 40px;
  padding-block: 54px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: #fff;
  font-size: 16.8px;
}

.footer-brand span {
  color: #b9cbe0;
  font-size: 12.6px;
}

.site-footer p {
  margin: 0;
  color: #b9cbe0;
  line-height: 1.65;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15.75px;
}

.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer a {
  color: #dbe8f7;
  font-size: 13.65px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(216, 225, 235, 0.18);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-block: 18px;
  color: #b9cbe0;
  font-size: 12.6px;
}

.footer-visits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid rgba(216, 225, 235, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-visits strong { color: #fff; letter-spacing: .3px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .gateway-grid,
  .directory-grid,
  .three-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-grid,
  .page-hero-grid,
  .content-grid,
  .contact-grid,
  .search-layout,
  .two-column,
  .preview-grid,
  .notice-page-layout,
  .timeline-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-gallery-grid,
  .official-data-panel-wide .official-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-panel,
  .hero-fact {
    max-width: 560px;
  }
}

@media (max-width: 840px) {
  main [id] {
    scroll-margin-top: 178px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .govbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 10px;
  }

  .govbar nav {
    gap: 12px;
  }

  .masthead-inner {
    min-height: 82px;
    gap: 12px;
  }

  .emblem-frame {
    width: 50px;
    height: 58px;
    padding: 7px;
  }

  .emblem-frame img {
    height: 44px;
  }

  .brand-title {
    font-size: 18.9px;
  }

  .brand-ministry,
  .brand-subtitle,
  .status-badge {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    position: fixed;
    inset: 150px 16px auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.nav-open .primary-nav {
    display: block;
  }

  .nav-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
  }

  .nav-inner a {
    padding: 12px;
    border-radius: 10px;
  }

  .nav-inner a::after {
    display: none;
  }

  .nav-inner a:hover,
  .nav-inner a[aria-current="page"] {
    background: var(--sky);
  }

  .home-hero,
  .home-hero-grid,
  .page-hero,
  .page-hero-grid {
    min-height: auto;
  }

  .home-hero-grid,
  .page-hero-grid {
    padding-block: 62px 44px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(31.5px, 9.45vw, 39.9px);
  }

  .split-heading,
  .service-strip,
  .official-data-grid,
  .official-data-panel-wide .official-data-grid,
  .home-gallery-grid,
  .form-grid,
  .search-form-live,
  .image-card {
    grid-template-columns: 1fr;
  }

  .home-gallery-grid {
    grid-auto-rows: 230px;
  }

  .gallery-tile-featured {
    grid-column: auto;
    grid-row: auto;
  }

  .gateway-grid,
  .directory-grid,
  .three-card-grid,
  .service-strip-links,
  .region-links,
  .gallery-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 58px;
  }

  .notice-row {
    grid-template-columns: 1fr;
  }

  .notice-row time {
    width: max-content;
    min-width: 74px;
  }

  .gallery-grid img {
    height: 230px;
  }

  .footer-bottom .container {
    flex-direction: column;
  }
}

/* Govbar text-size (A- A A+) controls */
.text-size { display: inline-flex; align-items: baseline; gap: 6px; }
.text-size button {
  padding: 0 3px; background: transparent; border: 0; color: inherit;
  opacity: .92; cursor: pointer; font-weight: 500; line-height: 1; font-family: inherit;
}
.text-size button:hover { opacity: 1; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.text-size button[data-font-size="dec"] { font-size: 11px; }
.text-size button[data-font-size="reset"] { font-size: 13.5px; }
.text-size button[data-font-size="inc"] { font-size: 16px; }

/* Footer social links */
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  color: #dbe8f7; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16); transition: background .15s ease, color .15s ease;
}
.footer-social a:hover { background: #fff; color: var(--authority-900); }
.footer-social svg { width: 19px; height: 19px; fill: currentColor; }

/* Govbar colour-theme switcher (accessibility: grayscale + high-contrast dark) */
.a11y-theme { display: inline-flex; align-items: center; gap: 6px; }
.a11y-theme button {
  width: 18px; height: 18px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55); cursor: pointer;
}
.a11y-theme button[data-theme="default"] { background: #2b6cb0; }
.a11y-theme button[data-theme="grayscale"] { background: linear-gradient(90deg, #2b2b2b 0 50%, #c9c9c9 50% 100%); }
.a11y-theme button[data-theme="dark"] { background: #111; }
.a11y-theme button[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 1px; }

/* Keep filters off body so fixed third-party widgets stay anchored to the viewport. */
body.theme-grayscale > .skip-link,
body.theme-grayscale > .site-header,
body.theme-grayscale > main,
body.theme-grayscale > .site-footer { filter: grayscale(1); }

/* High-contrast dark: invert the page, re-invert media so photos/logos stay natural */
body.theme-dark { background: #0e1a2b; }
body.theme-dark > .skip-link,
body.theme-dark > .site-header,
body.theme-dark > main,
body.theme-dark > .site-footer { filter: invert(1) hue-rotate(180deg); }
body.theme-dark > .site-header img,
body.theme-dark > main img,
body.theme-dark > .site-footer img,
body.theme-dark > main video,
body.theme-dark > main .hero-video,
body.theme-dark > main iframe,
body.theme-dark > .site-header [style*="background-image"],
body.theme-dark > main [style*="background-image"],
body.theme-dark > .site-footer [style*="background-image"] { filter: invert(1) hue-rotate(180deg); }

/* ============================================================
   App-mods home sections (banner, slider, what's new, stats,
   DC message, important links)
   ============================================================ */

/* Obs 3 — clean hero banner (single real signage photo, cover-cropped, responsive height) */
.home-banner-static { width: 100%; background: var(--authority-900); }
.home-banner-static .hero-img {
  display: block; width: 100%;
  height: clamp(220px, 40vw, 460px);
  object-fit: cover; object-position: center;
}

/* Item 4 — moving slider */
.home-slider-section { background: var(--mist); padding: 0; }
/* Full-width to match the hero banner above (PMIS-style) */
.home-slider { position: relative; width: 100%; margin: 0; overflow: hidden; }
/* Wide, short banner strip — not a full second hero */
.slider-track { position: relative; width: 100%; height: clamp(200px, 26vw, 380px); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px;
  color: #fff; font-weight: 600; font-size: .95rem;
  background: linear-gradient(to top, rgba(6,26,51,.72), rgba(6,26,51,0));
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--authority); font-size: 1.8rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow);
}
.slider-arrow:hover { background: #fff; }
.slider-prev { left: 14px; } .slider-next { right: 14px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; gap: 8px; justify-content: center; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.55); padding: 0;
}
.slider-dots button[aria-selected="true"] { background: #fff; width: 26px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* Item 5 — What's New */
.home-columns { padding-top: 26px; }
.whats-new-heading h2 { display: flex; align-items: center; gap: 10px; }
.wn-mega { font-size: 1.4em; }
.whats-new-list { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; gap: 2px; }
.whats-new-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.whats-new-list li:nth-child(odd) { background: var(--mist); }
.wn-icon { flex: 0 0 auto; }
.wn-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wn-date { color: var(--muted); font-size: .8rem; font-weight: 500; }

/* Obs 6 — hide the page until the Hindi client-side translation runs, to avoid a flash of English.
   Set server-side (html.pre-translate when culture is Hindi); script.js removes it after translating. */
html.pre-translate body { visibility: hidden; }

/* Obs 16 — Organization structure: show only the selected language's chart */
#txtHindi { display: none; }
body.lang-hi #txtEnglish { display: none; }
body.lang-hi #txtHindi { display: block; }

/* Obs 12 — Location map (keyless OpenStreetMap embed, replaces dead Maps API v2) */
.location-map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
/* Legacy .cnt a link colour would otherwise override the button text colour */
.location-map-actions .button-primary { color: #fff; }
.location-map-actions .button-secondary { color: var(--authority); }
.location-map-embed { width: 100%; margin: 4px 0 22px; }
.location-map-embed iframe { display: block; width: 100%; height: clamp(320px, 46vw, 480px); border: 1px solid var(--line); border-radius: var(--radius); }
.location-map-address { margin: 0 0 12px; color: var(--ink-soft); font-style: normal; line-height: 1.7; }

/* RTI2 — §4(1)(b) disclosure served in an isolated iframe (see /content/rti2-hi|en.html);
   ported legacy markup is parsed in isolation so it can't corrupt the host page. */
.rti-frame { width: 100%; border: 0; display: block; min-height: 400px; background: transparent; }

/* Obs 7 — Contact Us office blocks (matches legacy two-office layout) */
.contact-office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.contact-office-grid address { font-style: normal; line-height: 1.7; color: var(--ink); }
.contact-dl { margin: 14px 0 0; display: grid; gap: 6px; }
.contact-dl > div { display: flex; gap: 10px; }
.contact-dl dt { flex: 0 0 84px; font-weight: 600; color: var(--ink-soft); }
.contact-dl dd { margin: 0; }

/* Contact officer tables — redesign layout has no Bootstrap, so style natively */
.officer-table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.officer-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.officer-table th, .officer-table td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; line-height: 1.55; }
.officer-table thead th { background: var(--sky); color: var(--authority); font-weight: 600; white-space: nowrap; }
.officer-table tbody tr:nth-child(even) td { background: var(--mist); }
.officer-table td:first-child { min-width: 130px; font-weight: 500; }
.officer-table td:nth-child(3) { min-width: 340px; }
.officer-table a { color: var(--authority-700); }

/* PublicNotice — each notice section as a card (heading = card header, pane = card body).
   Selectors are scoped to beat detail.css's .detail-content .accordion > h2 rules. */
.detail-content .accordion.notice-cards { display: block; }
.detail-content .accordion.notice-cards > h2 {
  margin: 26px 0 0;
  padding: 18px 28px;
  background: var(--authority);
  color: #fff;
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.35;
}
.detail-content .accordion.notice-cards > h2:first-child { margin-top: 8px; padding-top: 18px; }
.notice-cards .pane {
  margin: 0 0 8px;
  padding: 26px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  line-height: 1.75;
  overflow-x: auto;
}
.notice-cards .pane p { margin: 0 0 14px; }
.notice-cards .pane table { width: 100%; border-collapse: collapse; }
.notice-cards .one-third { width: auto !important; }
.whats-new-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.whats-new-list a:hover { color: var(--authority-700); text-decoration: underline; }

/* Item 6 — statistics */
.stats-section { background: var(--authority-900); color: #fff; }
.stats-section .eyebrow { color: var(--saffron); }
.stats-section .section-heading h2, .stats-section .section-heading p { color: #fff; }
.stats-tabs { display: inline-flex; gap: 4px; background: rgba(255,255,255,.1); padding: 4px; border-radius: 999px; margin-bottom: 26px; }
.stats-tab { border: none; background: transparent; color: #cdd9e8; font-weight: 600; padding: 9px 20px; border-radius: 999px; cursor: pointer; }
.stats-tab.is-active { background: #fff; color: var(--authority); }
.stats-panel { display: none; }
.stats-panel.is-active { display: block; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.stat-card-lead { grid-column: span 2; background: linear-gradient(135deg, var(--authority-700), var(--authority)); }
.stat-value { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.5px; }
.stat-label { color: #cdd9e8; font-weight: 600; font-size: .9rem; }
.stats-table { width: 100%; border-collapse: collapse; color: var(--ink); background: #fff; border-radius: var(--radius); overflow: hidden; }
.stats-table th, .stats-table td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.stats-table thead th { background: var(--sky); color: var(--authority); text-align: right; }
.stats-table th[scope="row"], .stats-table thead th:first-child { text-align: left; }
.table-scroll { overflow-x: auto; }
@media (max-width: 640px) { .stat-card-lead { grid-column: span 1; } }

/* Item 7 — DC message + modal */
.dc-grid { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; }
.dc-photo { margin: 0; padding: 0; border: none; background: none; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dc-photo img { display: block; width: 100%; height: auto; }
.dc-photo-hint { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; background: linear-gradient(to top, rgba(10,61,120,.92), rgba(10,61,120,0)); color: #fff; font-weight: 600; font-size: .85rem; }
.dc-name span { color: var(--muted); font-weight: 500; }
.dc-intro .button-primary { margin-top: 8px; }
.dc-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.dc-modal[hidden] { display: none; }
.dc-modal-backdrop { position: absolute; inset: 0; background: rgba(6,26,51,.6); backdrop-filter: blur(2px); }
.dc-modal-panel { position: relative; z-index: 1; background: var(--paper); border-radius: var(--radius); max-width: 720px; width: 100%; max-height: 88vh; overflow: auto; box-shadow: var(--shadow); }
.dc-modal-head { display: flex; gap: 16px; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); }
.dc-modal-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.dc-modal-head h3 { margin: 0; color: var(--authority); }
.dc-modal-body { padding: 22px 26px; }
.dc-modal-body p { margin: 0 0 14px; line-height: 1.7; }
.dc-modal-close { position: absolute; top: 12px; right: 14px; z-index: 2; border: none; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.dc-msg-hi { display: none; }
body.lang-hi .dc-msg-hi { display: block; }
body.lang-hi .dc-msg-en { display: none; }
@media (max-width: 640px) { .dc-grid { grid-template-columns: 1fr; text-align: center; } .dc-photo { max-width: 240px; margin: 0 auto; } }

/* Item 8 — important links */
.important-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.important-link-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 22px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.important-link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--authority-700); color: var(--authority-700); }
.ilc-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sky); display: grid; place-items: center; }
.ilc-icon::before { content: "🔗"; font-size: 1.2rem; }
.ilc-book::before { content: "📘"; } .ilc-award::before { content: "🏅"; } .ilc-calendar::before { content: "🗓️"; }
.ilc-doc::before { content: "📄"; } .ilc-map::before { content: "🗺️"; } .ilc-globe::before { content: "🌐"; }
.ilc-card::before { content: "💳"; } .ilc-rti::before { content: "📝"; }
.ilc-label { font-size: .9rem; }

/* ============================================================
   Item 1 — full mega-menu (replaces flat nav)
   ============================================================ */
.primary-nav > .container { display: block; }
.nav-root { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  display: inline-block; padding: 0 8px; line-height: 52px;
  color: #243449; font-size: 13.2px; font-weight: 500; white-space: nowrap; text-decoration: none;
}
.nav-item > a[aria-current="page"], .nav-item > a:hover, .nav-item:hover > a { color: var(--authority-700); }
.nav-sub-toggle {
  border: none; background: none; cursor: pointer; color: #6a7c90;
  padding: 0 6px 0 0; line-height: 52px; font-size: .72rem; margin-left: -6px;
}
.nav-item:hover > .nav-sub-toggle, .nav-item:focus-within > .nav-sub-toggle { color: var(--authority-700); }
.nav-sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0;
  min-width: 250px; max-width: 320px; background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--authority); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow); display: none; z-index: 60; max-height: 74vh; overflow-y: auto;
}
.nav-item.has-children:hover > .nav-sub,
.nav-item.has-children:focus-within > .nav-sub,
.nav-item.has-children.open > .nav-sub { display: block; }
.nav-sub li { margin: 0; }
.nav-sub a {
  display: block; padding: 9px 12px; border-radius: 8px; color: #243449;
  font-size: 13px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--sky); color: var(--authority-700); }

/* Top-level entry that is only a grouping header (no page of its own) */
.nav-group-top {
  border: none; background: none; cursor: pointer; font: inherit;
  padding: 0 8px; line-height: 52px; color: #243449; font-size: 13.2px; font-weight: 500; white-space: nowrap;
}
.nav-item:hover > .nav-group-top { color: var(--authority-700); }

/* Dropdowns on the last tabs open leftwards so they never spill past the viewport. */
.nav-item:nth-last-child(-n+3) > .nav-sub { left: auto; right: 0; }

/* Third level — grouped child submenu rendered inline under its heading */
.nav-sub-group { margin-top: 4px; }
.nav-sub-group + li:not(.nav-sub-group) { margin-top: 4px; }
.nav-group-label {
  display: block; padding: 7px 12px 3px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: #6a7c90;
}
.nav-sub-child { list-style: none; margin: 0 0 4px; padding: 0 0 0 10px; border-left: 2px solid var(--line); }
.nav-sub-child a { padding: 7px 12px; font-size: 12.5px; color: #33465e; }

/* Mobile accordion (hamburger panel) */
@media (max-width: 840px) {
  .primary-nav { max-height: calc(100vh - 160px); overflow-y: auto; }
  .nav-root { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-item { flex-wrap: wrap; }
  .nav-item > a { flex: 1; line-height: 1.4; padding: 12px; border-radius: 10px; }
  .nav-item > a[aria-current="page"] { background: var(--sky); }
  .nav-sub-toggle { line-height: 1; padding: 12px 14px; font-size: 1rem; }
  .nav-sub {
    position: static; display: none; box-shadow: none; border: none; border-top: none;
    max-height: none; min-width: 0; max-width: none; width: 100%; padding: 0 0 6px 12px; background: transparent;
  }
  .nav-item.has-children.open > .nav-sub { display: block; }
  .nav-item.has-children:hover > .nav-sub, .nav-item.has-children:focus-within > .nav-sub { display: none; }
  .nav-item.has-children.open > .nav-sub { display: block; }
  .nav-group-top { flex: 1; text-align: left; line-height: 1.4; padding: 12px; }
  .nav-sub a { white-space: normal; }
  .nav-sub-child { padding-left: 8px; }
}

/* Gallery "View more" + complete-gallery modal */
.gallery-more-wrap { text-align: center; margin-top: 26px; }
.gallery-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.gallery-modal[hidden] { display: none; }
.gallery-modal-backdrop { position: absolute; inset: 0; background: rgba(6,26,51,.66); backdrop-filter: blur(2px); }
.gallery-modal-panel { position: relative; z-index: 1; background: var(--paper); border-radius: var(--radius); max-width: 1080px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: var(--shadow); }
.gallery-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 2; }
.gallery-modal-head h3 { margin: 0; color: var(--authority); font-size: 1.05rem; }
.gallery-modal-close { border: none; background: none; font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--muted); }
.gallery-modal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; padding: 22px 24px; }
.gallery-modal-tile { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.gallery-modal-tile img { display: block; width: 100%; height: 160px; object-fit: cover; }
.gallery-modal-tile figcaption { padding: 8px 10px; font-size: .82rem; color: var(--ink-soft); }

/* SEZ-wise blocks reuse the zonal stat-card UI, one grid per SEZ */
.sez-block + .sez-block { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.sez-name { margin: 0 0 14px; color: #fff; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.sez-name::before { content: ""; width: 8px; height: 20px; border-radius: 3px; background: var(--saffron); display: inline-block; }

/* Static hero banner background image (item 3) — overlay copy sits above it */
.home-hero-static { min-height: 480px; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.home-hero-static .hero-shade { z-index: 1; }
.home-hero-static .home-hero-grid { position: relative; z-index: 2; }

/* DC message (left) + Latest updates (right) on one row */
.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.dc-intro-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: start;
}
.dc-intro-panel .dc-photo { width: 150px; }
.dc-intro-panel .dc-intro h2 { font-size: 1.4rem; }
.home-intro-grid .whats-new-section { margin: 0; }
@media (max-width: 900px) {
  .home-intro-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .dc-intro-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .dc-intro-panel .dc-intro { text-align: center; }
}
