:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-navy: #0f172a;
  --brand-light: #eff6ff;
  --accent-red: #dc2626;
  --accent-orange: #ea580c;
  --success: #16a34a;
  --success-bg: #dcfce7;
  --warning: #d97706;
  --warning-bg: #fef3c7;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --r: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* -------------------------------- Site Header & Nav */
.site-head {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.site-head, .layout, .site-foot {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.site-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none !important;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-red), var(--brand));
  color: #fff;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

.brand-badge svg {
  width: 18px;
  height: 18px;
}

.brand-text {
  letter-spacing: -0.02em;
}

.brand-text span {
  color: var(--brand);
}

.head-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 2px;
}

.head-nav a {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
}

.head-nav a:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.head-nav a.active {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
}

/* -------------------------------- Layout & Shell */
.layout {
  display: grid;
  gap: 22px;
  padding-top: 20px;
  padding-bottom: 30px;
}

@media (min-width: 960px) {
  .layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}

.sidebar {
  display: none;
}

@media (min-width: 960px) {
  .sidebar {
    display: block;
    position: sticky;
    top: 72px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
  }
}

.sidebar-header h2 {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.sidebar ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  max-height: 65vh;
  overflow-y: auto;
}

.sidebar a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: #334155;
  text-decoration: none;
}

.sidebar a:hover {
  background: #f1f5f9;
  color: var(--brand);
}

.sidebar a.on {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
}

.sidebar .n {
  color: var(--muted);
  font-size: 11.5px;
  background: #f8fafc;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.sidebar-explore {
  max-height: none !important;
  overflow: visible !important;
}

.sidebar-explore a {
  font-weight: 500;
}

/* -------------------------------- Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.crumb-sep {
  color: #cbd5e1;
}

/* -------------------------------- Main Content Container */
main {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 34px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  main {
    padding: 18px 16px 24px;
  }
}

h1 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h2 {
  margin: 32px 0 14px;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h3 {
  margin: 20px 0 8px;
  font-size: 16px;
  color: var(--ink);
}

p {
  margin: 0 0 14px;
}

.lede {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--muted);
}

.meta {
  font-size: 13px;
  color: var(--muted);
}

/* -------------------------------- Hero Section (Home) */
.hero-premium {
  background: linear-gradient(135deg, #091326 0%, #173878 50%, #1e40af 100%);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  margin-bottom: 24px;
  color: #ffffff;
  box-shadow: 0 12px 28px -6px rgba(30, 64, 175, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12.5px;
  font-weight: 600;
  color: #e0f2fe;
  margin-bottom: 14px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.hero-title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 15.5px;
  color: #bfdbfe;
  max-width: 650px;
  margin: 0 0 22px;
}

/* Big Search Form */
.hero-search-form {
  margin-bottom: 18px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 6px 8px 6px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-wrap:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.35), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.search-icon {
  display: flex;
  align-items: center;
  color: #64748b;
  margin-right: 10px;
}

.search-icon svg {
  width: 20px;
  height: 20px;
}

.search-input-wrap input,
.search-input-wrap input[type=search] {
  flex: 1;
  border: none !important;
  background: transparent !important;
  font-size: 16px !important;
  color: #0f172a !important; /* Visible dark text */
  caret-color: #1d4ed8 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 10px 4px !important;
  width: 100%;
}

.search-input-wrap input::placeholder,
.search-input-wrap input[type=search]::placeholder {
  color: #64748b !important;
  opacity: 1;
}

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hero-search-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* Quick City Pills */
.quick-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.quick-label {
  font-size: 12.5px;
  color: #93c5fd;
  font-weight: 500;
}

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  transition: all 0.15s ease;
  text-decoration: none !important;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* -------------------------------- Live Statistics Banner */
.stats-counter-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

@media (min-width: 640px) {
  .stats-counter-banner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* -------------------------------- Feature Cards Strip */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  .feature-strip {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  transition: all 0.15s ease;
  text-decoration: none !important;
}

.feature-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.fc-icon {
  font-size: 24px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-shrink: 0;
}

.fc-text {
  display: flex;
  flex-direction: column;
}

.fc-text strong {
  font-size: 14.5px;
  color: var(--ink);
}

.fc-text span {
  font-size: 12.5px;
  color: var(--muted);
}

/* -------------------------------- Standard Cards Grid */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
}

.cards {
  display: grid;
  gap: 10px;
}

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards.state-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: inherit;
  transition: all 0.15s ease;
  text-decoration: none !important;
}

.card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.card-title-group {
  display: flex;
  flex-direction: column;
}

.card-head b {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}

.state-native-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  margin-top: 2px;
}

.card-arrow {
  color: var(--muted);
  font-size: 14px;
  transition: transform 0.15s ease;
}

.card:hover .card-arrow {
  color: var(--brand);
  transform: translateX(3px);
}

.card-counts {
  display: flex;
  gap: 6px;
}

.badge-count {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 11.5px;
  font-weight: 600;
}

.badge-count.secondary {
  background: #f1f5f9;
  color: #475569;
}

/* -------------------------------- PIN & Office Header Bars */
.pin-header-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin-bottom: 16px;
}

.pin-header-wrap h1 {
  margin: 0 0 4px;
}

.pin-header-wrap .lede {
  margin: 0;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand-dark);
}

.btn-copy.copied {
  background: var(--success-bg) !important;
  border-color: var(--success) !important;
  color: var(--success) !important;
}

/* Quick Summary Grid on PIN page */
.quick-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

@media (min-width: 720px) {
  .quick-summary-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.summary-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.sc-label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.sc-value {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.text-success {
  color: var(--success) !important;
}

.text-warning {
  color: var(--warning) !important;
}

/* -------------------------------- Status Badges & Pills */
.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.status-delivery {
  background: var(--success-bg);
  color: var(--success);
}

.status-non-delivery {
  background: var(--warning-bg);
  color: var(--warning);
}

.tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tag-ho {
  background: #ede9fe;
  color: #6d28d9;
}

.tag-so {
  background: #e0f2fe;
  color: #0369a1;
}

.tag-bo {
  background: #f1f5f9;
  color: #475569;
}

.btn-map-sm {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  color: #334155;
  cursor: pointer;
  text-decoration: none !important;
}

.btn-map-sm:hover {
  background: #e2e8f0;
}

/* -------------------------------- Tables */
.table-scroll {
  overflow-x: auto;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: #f8fafc;
  color: var(--muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: #f8fafc;
}

.table-office-name {
  font-weight: 600;
  color: var(--ink);
}

.table-office-name:hover {
  color: var(--brand);
}

/* -------------------------------- Forms & Buttons */
.field {
  margin: 0 0 14px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

select, input[type=search], input[type=text] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  color: #0f172a; /* Explicit dark text */
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select:focus, input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.btn:hover {
  background: var(--brand-dark);
}

/* Location Cascade Dropdown Form */
.cascade {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 20px;
}

.cascade h2 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--ink);
}

.cascade .row {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .cascade .row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .cascade .row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cascade-control {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cascade-control select {
  flex: 1;
  min-width: 0;
}

.cascade-control button {
  border: 0;
  background: none;
  padding: 2px 4px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* Step-by-Step Location Guide */
.steps-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 22px 0 28px;
}

@media (min-width: 720px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  position: relative;
  transition: all 0.2s ease;
}

.step-card:hover {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.1);
}

.step-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* -------------------------------- Educational Diagram */
.pin-explanation-section {
  margin: 36px 0 24px;
  padding: 22px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pin-explanation-section h2 {
  margin-top: 0;
}

.pin-diagram-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 14px;
}

@media (min-width: 640px) {
  .pin-diagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .pin-diagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pin-digit-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.digit-num {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.digit-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.digit-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* -------------------------------- FAQ Section */
.faq-section {
  margin-top: 36px;
}

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

.faq-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.faq-question {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.faq-answer {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* -------------------------------- Footer */
.site-foot {
  background: #ffffff;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 36px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}

.foot-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-bottom: 30px;
}

@media (min-width: 640px) {
  .foot-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .foot-inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.foot-brand {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.foot-brand span {
  color: var(--brand);
}

.foot-desc {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.6;
}

.foot-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 12px;
}

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-links li {
  margin-bottom: 8px;
}

.foot-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s ease;
}

.foot-links a:hover {
  color: var(--brand);
}

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: #94a3b8;
}

.foot-bottom p {
  margin: 0;
}

/* -------------------------------- Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

ul.plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.plain li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

ul.plain li:last-child {
  border-bottom: 0;
}

.note {
  padding: 12px 14px;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  font-size: 13.5px;
  color: #1e3a8a;
  margin: 14px 0;
}

.map {
  margin: 14px 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* -------------------------------- Search Page Hero */
.search-hero-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.2);
}

.search-hero-box h1 {
  color: #ffffff;
  font-size: clamp(22px, 3.5vw, 28px);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.search-hero-box .lede {
  color: #bfdbfe;
  font-size: 14.5px;
  margin: 0 0 16px;
}

.search-bar-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 6px 8px 6px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-bar-wrap:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.35);
}

.search-bar-wrap input,
.search-bar-wrap input[type=search] {
  flex: 1;
  border: none !important;
  background: transparent !important;
  font-size: 16px !important;
  color: #0f172a !important;
  caret-color: #1d4ed8 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 10px 4px !important;
  width: 100%;
}

.search-bar-wrap input::placeholder,
.search-bar-wrap input[type=search]::placeholder {
  color: #64748b !important;
  opacity: 1;
}

.search-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-bar-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* -------------------------------- Vernacular Language Badges */
.vernacular-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.v-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  color: #334155;
}

.v-pill strong {
  color: var(--brand-dark);
}

.v-pill.hindi {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.v-pill.hindi strong {
  color: #b91c1c;
}

.vernacular-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.v-lang-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 13px;
  color: #1e293b;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.v-lang-chip:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand-dark);
  transform: translateY(-1px);
}
