/*
Theme Name:   VoterList Child Theme
Theme URI:    https://voterlist.co.in
Description:  GeneratePress Child Theme – Exact replica of voterlist.co.in design
Author:       minidea.co.in
Template:     generatepress
Version:      3.0.0
Text Domain:  voterlist-child
*/

/* ════════════════════════════════════════════════════
   FONTS
════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

/* ════════════════════════════════════════════════════
   VARIABLES  (colour-matched to voterlist.co.in)
════════════════════════════════════════════════════ */
:root {
  /* Blues from the site header / nav */
  --c-primary:      #1e3a5f;   /* dark navy header */
  --c-primary-mid:  #1a4f8a;   /* nav bar */
  --c-primary-lt:   #2060a8;   /* hover / link */

  /* Orange accent (buttons, badges, underlines) */
  --c-accent:       #e05c00;
  --c-accent-hov:   #c04e00;

  /* Green (download buttons) */
  --c-green:        #228b22;
  --c-green-dk:     #1a6e1a;

  /* Background & surface */
  --c-bg:           #f0f2f5;   /* very light blue-grey page background */
  --c-surface:      #ffffff;
  --c-surface-2:    #f7f9fc;

  /* Borders */
  --c-border:       #dde3ed;
  --c-border-lt:    #eaeff7;

  /* Text */
  --c-text:         #1a1a2e;
  --c-muted:        #5a6478;
  --c-light:        #8a93a8;

  /* Hindi / purple */
  --c-hindi:        #7b4b9e;

  /* Shadows */
  --sh-xs: 0 1px 3px rgba(0,0,0,.07);
  --sh-sm: 0 2px 6px rgba(0,0,0,.09);
  --sh-md: 0 4px 14px rgba(0,0,0,.11);
  --sh-lg: 0 8px 28px rgba(0,0,0,.13);

  /* Radii */
  --r-xs: 3px;
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Transitions */
  --t: .2s ease;

  /* Max content width */
  --w: 1100px;

  /* Fonts */
  --f-body: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-hi:   'Noto Sans Devanagari', serif;
}

/* ════════════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-primary-lt); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-accent); }

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

/* ════════════════════════════════════════════════════
   GENERATEPRESS RESETS  (nuke its default spacing)
════════════════════════════════════════════════════ */
.grid-container          { max-width: var(--w) !important; margin: 0 auto !important; width: 100% !important; }
.site-content            { padding: 0 !important; }
.entry                   { margin: 0 !important; padding: 0 !important; box-shadow: none !important; background: transparent !important; }
.separate-containers .inside-article { padding: 0 !important; }
.inside-header           { padding: 0 !important; }
.separate-containers .site-main      { padding: 0 !important; }
.nav-float .inside-navigation        { padding: 0 !important; }

/* ════════════════════════════════════════════════════
   ① HEADER — logo LEFT + nav RIGHT in ONE bar
════════════════════════════════════════════════════ */

/* Hide GP's own header / nav completely */
.site-header .inside-header,
.main-navigation,
#site-navigation.main-navigation { display: none !important; }

/* Our custom header */
#masthead {
  background: var(--c-primary) !important;
  border-bottom: 3px solid var(--c-accent) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.28) !important;
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ── Inner: flex row ── */
.vl-header-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 56px;
}

/* ── Logo (left) ── */
.vl-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 24px;           /* gap between logo and menu */
}
.vl-logo:hover { text-decoration: none; }
.vl-logo__icon { font-size: 1.5rem; line-height: 1; display: block; }
.vl-logo__text { display: flex; flex-direction: column; line-height: 1; }
.vl-logo__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.2px;
  line-height: 1.2;
}
.vl-logo__tagline {
  font-size: .64rem;
  color: rgba(255,255,255,.62);
  font-weight: 400;
  margin-top: 1px;
}
/* Custom logo image */
.vl-logo .custom-logo-link { display: flex; align-items: center; }
.vl-logo .custom-logo-link img { height: 42px; width: auto; }
/* GP built-ins reset */
.site-branding { all: unset !important; }
.site-title     { all: unset !important; }

/* ── Desktop nav (right, inside header) ── */
.vl-desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.vl-nav-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.vl-nav-menu::-webkit-scrollbar { display: none; }
.vl-nav-menu > li { position: relative; flex-shrink: 0; }

/* Top-level links */
.vl-nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 12px;
  height: 56px;
  color: rgba(255,255,255,.92) !important;
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.vl-nav-menu > li > a:hover                      { background: rgba(255,255,255,.1); color: #fff !important; }
.vl-nav-menu > li.current-menu-item > a,
.vl-nav-menu > li.current-menu-ancestor > a       { border-bottom-color: var(--c-accent); color: #fff !important; }
.vl-nav-menu > li.menu-item-has-children > a::after { content: ' ▾'; font-size: .65rem; opacity: .75; }

/* Dropdown */
.vl-nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-accent);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--sh-lg);
  min-width: 220px;
  z-index: 9999;
}
.vl-nav-menu > li:hover > .sub-menu,
.vl-nav-menu > li:focus-within > .sub-menu { display: block; }
.vl-nav-menu .sub-menu li                  { display: block; }
.vl-nav-menu .sub-menu li a {
  display: block;
  padding: 9px 15px;
  color: var(--c-text) !important;
  font-size: .81rem;
  border-bottom: 1px solid var(--c-border-lt);
  transition: background var(--t), color var(--t);
}
.vl-nav-menu .sub-menu li:last-child a { border-bottom: none; }
.vl-nav-menu .sub-menu li a:hover     { background: #eef4ff; color: var(--c-primary-lt) !important; }

/* ── Hamburger (hidden on desktop) ── */
.vl-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px 6px;
  background: none;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-xs);
  margin-left: auto;
  flex-shrink: 0;
}
.vl-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.vl-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vl-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.vl-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ── */
.vl-mobile-nav {
  background: #fff;
  border-top: 2px solid var(--c-accent);
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  z-index: 9998;
  box-shadow: var(--sh-lg);
  max-height: 82vh;
  overflow-y: auto;
}
.vl-mobile-nav[hidden] { display: none !important; }
.vl-mobile-nav__inner  { display: flex; flex-direction: column; }
.vl-mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  font-size: .87rem;
  color: var(--c-text) !important;
  border-bottom: 1px solid var(--c-border-lt);
  transition: background var(--t);
}
.vl-mobile-nav a:hover  { background: #f0f5ff; color: var(--c-primary-lt) !important; }
.vl-mobile-nav .mob-top { font-weight: 700; background: var(--c-surface-2); color: var(--c-primary) !important; }
.vl-mobile-nav .mob-sub { padding-left: 28px; font-size: .83rem; color: var(--c-muted) !important; }

/* PLACEHOLDER – old classes that nothing should reference but kept for safety */
.vl-mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--c-border);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9998;
  box-shadow: var(--sh-lg);
  max-height: 80vh;
  overflow-y: auto;
}
.vl-mobile-menu.is-open { display: flex; }
.vl-mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  color: var(--c-text) !important;
  font-size: .88rem;
  border-bottom: 1px solid var(--c-border-lt);
}
.vl-mobile-menu a:hover { background: #f0f5ff; color: var(--c-primary-lt) !important; }
.vl-mobile-menu .vl-mob-parent { font-weight: 600; background: #f7f9fc; }
.vl-mobile-menu .vl-mob-child { padding-left: 28px; font-size: .84rem; color: var(--c-muted) !important; }

/* GP nav override */
.inside-navigation { display: none !important; } /* Hide GP's default nav – we use our own */

/* ════════════════════════════════════════════════════
   ③ PAGE WRAPPER
════════════════════════════════════════════════════ */
#page { min-height: 100vh; display: flex; flex-direction: column; }
#content { flex: 1; }

/* ════════════════════════════════════════════════════
   ④ HERO BANNER  (homepage)
════════════════════════════════════════════════════ */
.vl-hero {
  background: linear-gradient(160deg, #1e3a5f 0%, #1a4f8a 50%, #0e2c4f 100%);
  padding: 36px 16px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vl-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='1' fill='%23ffffff' fill-opacity='.04'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.vl-hero__ashoka {
  font-size: 2rem;
  display: block;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.vl-hero__h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.vl-hero__sub {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin: 0 auto 22px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
/* Search bar */
.vl-hero-search {
  display: flex;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.vl-hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: .9rem;
  font-family: var(--f-body);
  color: var(--c-text);
  background: transparent;
}
.vl-hero-search input::placeholder { color: #aaa; }
.vl-hero-search button {
  background: var(--c-accent);
  color: #fff;
  border: none;
  padding: 0 20px;
  height: 46px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t);
  font-family: var(--f-body);
  flex-shrink: 0;
}
.vl-hero-search button:hover { background: var(--c-accent-hov); }

/* ════════════════════════════════════════════════════
   ⑤ TOPIC CARDS  (4 quick links below hero)
════════════════════════════════════════════════════ */
.vl-topics-bar {
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
  padding: 14px 16px;
}
.vl-topics-bar__inner {
  max-width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.vl-topic-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  color: inherit;
}
.vl-topic-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: var(--c-primary-lt);
  color: inherit;
}
.vl-topic-card__ico {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.vl-topic-card__title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.3;
  margin-bottom: 3px;
}
.vl-topic-card__sub { font-size: .74rem; color: var(--c-muted); line-height: 1.4; }

/* ════════════════════════════════════════════════════
   ⑥ PAGE LAYOUT  (two-column: content + sidebar)
════════════════════════════════════════════════════ */
.vl-wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 20px 16px 40px;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 24px;
  align-items: start;
}
.vl-wrap--full { grid-template-columns: 1fr; }
.vl-main  { min-width: 0; }
.vl-aside { min-width: 0; }

/* ════════════════════════════════════════════════════
   ⑦ STATE PAGE  top info block (image + details)
════════════════════════════════════════════════════ */
.vl-state-top {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--sh-xs);
}
.vl-state-top__flex { display: flex; gap: 18px; align-items: flex-start; }
.vl-state-top__img-box { flex-shrink: 0; text-align: center; width: 116px; }
.vl-state-top__img { width: 110px; height: 85px; object-fit: contain; }
.vl-state-top__img-ph {
  width: 110px; height: 85px;
  background: linear-gradient(135deg, #dce8fa, #c8d8f5);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.vl-state-top__body { flex: 1; min-width: 0; }
.vl-state-top__h1 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 3px;
  line-height: 1.2;
}
.vl-state-top__hindi {
  font-family: var(--f-hi);
  font-size: .98rem;
  color: var(--c-hindi);
  margin-bottom: 8px;
  display: block;
}
.vl-state-top__badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.vl-badge-pill {
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}
.vl-badge-pill--blue   { background: #e0eafc; color: var(--c-primary); }
.vl-badge-pill--grey   { background: #eef0f4; color: var(--c-muted); }
.vl-badge-pill--orange { background: #fde8d8; color: #b34000; }
.vl-badge-pill--green  { background: #d6f0d6; color: var(--c-green-dk); }

.vl-state-top__divider { border: none; border-top: 1px solid var(--c-border); margin: 12px 0; }
.vl-state-top__desc { font-size: .87rem; color: var(--c-muted); line-height: 1.6; margin-bottom: 10px; }

/* Important links row */
.vl-imp-links { font-size: .84rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vl-imp-links strong { color: var(--c-text); }
.vl-imp-link {
  color: var(--c-primary-lt) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vl-imp-link:hover { color: var(--c-accent) !important; }

/* Available rolls box */
.vl-rolls-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  margin-top: 12px;
  font-size: .84rem;
}
.vl-rolls-box h3 { font-size: .82rem; font-weight: 700; color: var(--c-primary); margin-bottom: 6px; }
.vl-rolls-box ul { list-style: disc; padding-left: 18px; color: var(--c-muted); }
.vl-rolls-box ul li { margin-bottom: 3px; }

/* Quick update box */
.vl-quick-update {
  border: 1px solid #e0c868;
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-top: 12px;
  font-size: .84rem;
}
.vl-quick-update__hd {
  background: #f5e663;
  padding: 6px 13px;
  font-weight: 700;
  font-size: .81rem;
  color: #4a3800;
}
.vl-quick-update__body { padding: 9px 13px; background: #fffef0; }
.vl-quick-update__date {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 5px;
}
.vl-quick-update__body p { color: var(--c-text); line-height: 1.55; }

/* ════════════════════════════════════════════════════
   ⑧ SECTION HEADING
════════════════════════════════════════════════════ */
.vl-sec-hd {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 13px;
}
.vl-sec-hd__bar { width: 4px; height: 20px; background: var(--c-accent); border-radius: 3px; flex-shrink: 0; }
.vl-sec-hd__text { font-size: 1rem; font-weight: 700; color: var(--c-primary); }
.vl-sec-hd::after { content: ''; flex: 1; height: 1px; background: var(--c-border); }

/* ════════════════════════════════════════════════════
   ⑨ STATE GRID  (homepage)
════════════════════════════════════════════════════ */
.vl-state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.vl-state-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 10px 10px;
  text-align: center;
  display: block;
  color: inherit;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.vl-state-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: var(--c-primary-lt);
  color: inherit;
}
.vl-state-card__img {
  width: 80px; height: 62px;
  object-fit: contain;
  margin: 0 auto 7px;
}
.vl-state-card__ph {
  width: 80px; height: 62px;
  background: linear-gradient(135deg, #dce8fa, #c8d8f5);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 7px;
}
.vl-state-card__name { font-size: .82rem; font-weight: 700; color: var(--c-primary); margin-bottom: 3px; line-height: 1.2; }
.vl-state-card__hindi { font-family: var(--f-hi); font-size: .72rem; color: var(--c-hindi); display: block; margin-bottom: 5px; }
.vl-state-card__roll {
  font-size: .67rem;
  color: var(--c-muted);
  background: #eef2fa;
  padding: 3px 6px;
  border-radius: 3px;
  display: block;
  line-height: 1.4;
}

/* ════════════════════════════════════════════════════
   ⑩ DISTRICT GRID  (state page)
════════════════════════════════════════════════════ */
.vl-district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 9px;
  margin-bottom: 22px;
}
.vl-dist-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 11px 12px;
  display: block;
  color: inherit;
  position: relative;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.vl-dist-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: var(--c-primary-lt);
  color: inherit;
}
.vl-dist-card__name { font-size: .84rem; font-weight: 700; color: var(--c-primary); line-height: 1.25; margin-bottom: 2px; }
.vl-dist-card__hindi { font-family: var(--f-hi); font-size: .74rem; color: var(--c-hindi); display: block; margin-bottom: 3px; }
.vl-dist-card__code { font-size: .69rem; color: var(--c-light); }
.vl-dist-card__pdf-tag {
  position: absolute;
  top: 6px; right: 6px;
  background: #d6f0d6;
  color: var(--c-green-dk);
  font-size: .62rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}

/* ════════════════════════════════════════════════════
   ⑪ ASSEMBLY GRID  (district page)
════════════════════════════════════════════════════ */
.vl-ac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.vl-ac-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 13px 14px;
  display: block;
  color: inherit;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.vl-ac-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: var(--c-primary-lt);
  color: inherit;
}
.vl-ac-card h3 { font-size: .9rem; font-weight: 700; color: var(--c-primary); margin-bottom: 3px; line-height: 1.3; }
.vl-ac-card h3 span { font-size: .75rem; color: var(--c-muted); font-weight: 400; }
.vl-ac-card__hindi { font-family: var(--f-hi); font-size: .77rem; color: var(--c-hindi); display: block; margin-bottom: 5px; }
.vl-ac-type {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}
.vl-ac-type--GEN { background: #e0eafc; color: var(--c-primary); }
.vl-ac-type--SC  { background: #fde0e0; color: #b00000; }
.vl-ac-type--ST  { background: #d6f0d6; color: var(--c-green-dk); }
.vl-ac-card__pdfs { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.vl-ac-card__pdfs a {
  font-size: .7rem;
  padding: 3px 9px;
  border-radius: 3px;
  font-weight: 600;
  background: var(--c-primary);
  color: #fff !important;
  transition: background var(--t);
}
.vl-ac-card__pdfs a:hover { background: var(--c-accent); }
.vl-ac-card__pdfs a.green { background: var(--c-green); }
.vl-ac-card__pdfs a.green:hover { background: var(--c-green-dk); }

/* ════════════════════════════════════════════════════
   ⑫ SIDEBAR
════════════════════════════════════════════════════ */
.vl-aside .widget {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 15px 16px !important;
  margin-bottom: 16px !important;
  box-shadow: var(--sh-xs);
}
.vl-aside .widget-title {
  font-size: .82rem !important;
  font-weight: 700 !important;
  color: var(--c-primary) !important;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 2px solid var(--c-accent) !important;
  padding-bottom: 7px !important;
  margin-bottom: 11px !important;
}
.vl-aside .widget ul { list-style: none; }
.vl-aside .widget ul li {
  border-bottom: 1px dashed var(--c-border);
  padding: 5px 0;
  font-size: .82rem;
}
.vl-aside .widget ul li:last-child { border-bottom: none; }
.vl-aside .widget ul li a { color: var(--c-primary-lt); }
.vl-aside .widget ul li a:hover { color: var(--c-accent); }

/* ECI dark sidebar widget */
.vl-widget-eci {
  background: var(--c-primary) !important;
  border-color: var(--c-primary) !important;
}
.vl-widget-eci .widget-title { color: #fff !important; border-color: rgba(255,255,255,.2) !important; }
.vl-widget-eci ul li { border-color: rgba(255,255,255,.1) !important; }
.vl-widget-eci ul li a { color: rgba(255,255,255,.85) !important; }
.vl-widget-eci ul li a:hover { color: var(--c-accent) !important; }

/* Scrollable state list in sidebar */
.vl-sidebar-scroll { max-height: 270px; overflow-y: auto; scrollbar-width: thin; }

/* Search form in sidebar */
.widget .search-form { display: flex; gap: 4px; }
.widget .search-field { flex: 1; border: 1px solid var(--c-border) !important; border-radius: var(--r-xs) !important; padding: 7px 10px !important; font-size: .84rem !important; }
.widget .search-submit { background: var(--c-accent) !important; color: #fff !important; border: none !important; padding: 0 12px !important; border-radius: var(--r-xs) !important; cursor: pointer !important; font-size: .82rem !important; }

/* ════════════════════════════════════════════════════
   ⑬ NOTICE / ALERT BOXES
════════════════════════════════════════════════════ */
.vl-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: .84rem;
  line-height: 1.55;
  margin: 13px 0;
}
.vl-note__ico { font-size: .95rem; flex-shrink: 0; margin-top: 1px; }
.vl-note--warn  { background: #fffbf0; border: 1px solid #e8c84a; border-left: 4px solid #e8c84a; color: #6b4c00; }
.vl-note--blue  { background: #eef4ff; border: 1px solid #b8d0f8; border-left: 4px solid var(--c-primary-lt); color: #1a3060; }
.vl-note--green { background: #edfaed; border: 1px solid #a8dca8; border-left: 4px solid var(--c-green); color: #0d4422; }

/* ════════════════════════════════════════════════════
   ⑭ BUTTONS
════════════════════════════════════════════════════ */
.vl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  font-size: .83rem; font-weight: 700;
  border: none; cursor: pointer;
  font-family: var(--f-body);
  text-decoration: none;
  transition: background var(--t), box-shadow var(--t);
}
.vl-btn--blue   { background: var(--c-primary);    color: #fff !important; }
.vl-btn--blue:hover   { background: var(--c-primary-lt); color: #fff !important; box-shadow: 0 3px 10px rgba(30,58,95,.3); }
.vl-btn--orange { background: var(--c-accent);     color: #fff !important; }
.vl-btn--orange:hover { background: var(--c-accent-hov); color: #fff !important; }
.vl-btn--green  { background: var(--c-green);      color: #fff !important; }
.vl-btn--green:hover  { background: var(--c-green-dk);  color: #fff !important; }
.vl-btn--ghost  { background: transparent; color: var(--c-primary) !important; border: 1.5px solid var(--c-primary); }
.vl-btn--ghost:hover  { background: var(--c-primary); color: #fff !important; }
.vl-btn--sm { padding: 5px 12px; font-size: .76rem; }

/* ════════════════════════════════════════════════════
   ⑮ TABLES
════════════════════════════════════════════════════ */
.vl-table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--c-border); box-shadow: var(--sh-xs); margin: 13px 0; }
.vl-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .83rem; }
.vl-table thead th { background: var(--c-primary); color: #fff; padding: 9px 12px; text-align: left; font-size: .79rem; font-weight: 600; }
.vl-table tbody tr { border-bottom: 1px solid var(--c-border); }
.vl-table tbody tr:last-child { border-bottom: none; }
.vl-table tbody tr:nth-child(even) { background: #f7f9fd; }
.vl-table tbody tr:hover { background: #ebf0fb; }
.vl-table td { padding: 9px 12px; }

/* ════════════════════════════════════════════════════
   ⑯ TABS
════════════════════════════════════════════════════ */
.vl-tabs__nav {
  display: flex;
  border-bottom: 2px solid var(--c-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.vl-tabs__nav::-webkit-scrollbar { display: none; }
.vl-tabs__btn {
  padding: 8px 16px;
  font-size: .82rem; font-weight: 600;
  color: var(--c-muted);
  border: none; background: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  font-family: var(--f-body);
  transition: color var(--t), border-color var(--t);
}
.vl-tabs__btn:hover { color: var(--c-primary); }
.vl-tabs__btn.active { color: var(--c-primary); border-bottom-color: var(--c-accent); }
.vl-tabs__panel { display: none; padding: 16px 0; }
.vl-tabs__panel.active { display: block; }

/* ════════════════════════════════════════════════════
   ⑰ ENTRY CONTENT (posts/pages)
════════════════════════════════════════════════════ */
.vl-content { font-size: .9rem; line-height: 1.75; color: var(--c-text); }
.vl-content h2 { font-size: 1.1rem; font-weight: 700; color: var(--c-primary); border-left: 4px solid var(--c-accent); padding-left: 11px; margin: 24px 0 11px; }
.vl-content h3 { font-size: .98rem; font-weight: 700; color: var(--c-primary); margin: 18px 0 8px; }
.vl-content p { margin-bottom: 12px; }
.vl-content ul, .vl-content ol { padding-left: 20px; margin-bottom: 12px; }
.vl-content li { margin-bottom: 4px; }
.vl-content a { color: var(--c-primary-lt); text-decoration: underline; text-underline-offset: 2px; }
.vl-content a:hover { color: var(--c-accent); }
.vl-content blockquote { border-left: 4px solid var(--c-accent); padding: 10px 15px; background: #f5f8ff; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 14px 0; font-style: italic; color: var(--c-muted); }
.vl-content strong { font-weight: 700; color: var(--c-text); }
.vl-content table { width: 100%; border-collapse: collapse; font-size: .84rem; margin: 12px 0; }
.vl-content table th { background: var(--c-primary); color: #fff; padding: 8px 11px; text-align: left; }
.vl-content table td { padding: 8px 11px; border-bottom: 1px solid var(--c-border); }
.vl-content table tr:nth-child(even) td { background: #f7f9fd; }

/* ════════════════════════════════════════════════════
   ⑱ BLOG / ARCHIVE POSTS
════════════════════════════════════════════════════ */
.vl-post-list article {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t);
}
.vl-post-list article:hover { box-shadow: var(--sh-md); }
.vl-post-list .entry-header { background: transparent !important; padding: 14px 16px 6px !important; }
.vl-post-list .entry-title  { font-size: .98rem !important; font-weight: 700 !important; color: var(--c-primary) !important; margin: 0 !important; padding: 0 !important; }
.vl-post-list .entry-title a { color: var(--c-primary) !important; }
.vl-post-list .entry-title a:hover { color: var(--c-accent) !important; }
.vl-post-list .entry-meta   { font-size: .74rem; color: var(--c-light); padding: 3px 16px !important; }
.vl-post-list .entry-summary { padding: 4px 16px 14px; font-size: .84rem; color: var(--c-muted); }
.vl-post-list .entry-footer { padding: 8px 16px; background: var(--c-surface-2); border-top: 1px solid var(--c-border); }

/* ════════════════════════════════════════════════════
   ⑲ PAGINATION
════════════════════════════════════════════════════ */
.vl-page-nums { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; padding: 16px 0; }
.vl-page-nums a,
.vl-page-nums span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: .82rem;
  color: var(--c-primary-lt);
  background: #fff;
  transition: all var(--t);
}
.vl-page-nums a:hover { background: var(--c-primary-lt); color: #fff !important; border-color: var(--c-primary-lt); }
.vl-page-nums .current { background: var(--c-primary); color: #fff !important; border-color: var(--c-primary); }

/* ════════════════════════════════════════════════════
   ⑳ ECI SEARCH EMBED
════════════════════════════════════════════════════ */
.vl-eci-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--sh-xs);
}
.vl-eci-wrap__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--c-border);
}
.vl-eci-wrap iframe {
  width: 100%;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  display: block;
}

/* ════════════════════════════════════════════════════
   ㉑ DISCLAIMER POPUP
════════════════════════════════════════════════════ */
.vl-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 99998;
  display: none;
}
.vl-popup-box {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 450px;
  width: 90%;
  z-index: 99999;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  overflow: hidden;
  display: none;
  animation: vl-pop .25s ease;
}
@keyframes vl-pop { from { opacity:0; transform:translate(-50%,-40%) } to { opacity:1; transform:translate(-50%,-50%) } }
.vl-popup-box.is-open, .vl-popup-overlay.is-open { display: block; }
.vl-popup-hd {
  background: var(--c-primary);
  color: #fff;
  padding: 14px 20px;
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vl-popup-body { padding: 20px; font-size: .88rem; line-height: 1.65; }
.vl-popup-body p { margin-bottom: 9px; color: var(--c-text); }
.vl-popup-body a { color: var(--c-primary-lt); font-weight: 600; }
.vl-popup-foot {
  padding: 13px 20px;
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-border);
  text-align: center;
}
.vl-popup-foot button {
  background: var(--c-primary);
  color: #fff;
  border: none;
  padding: 9px 28px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--f-body);
  transition: background var(--t);
}
.vl-popup-foot button:hover { background: var(--c-accent); }

/* ════════════════════════════════════════════════════
   ㉒ BACK TO TOP
════════════════════════════════════════════════════ */
#vl-btt {
  position: fixed; bottom: 20px; right: 18px;
  width: 38px; height: 38px;
  background: var(--c-primary);
  color: #fff;
  border: none; border-radius: 50%;
  font-size: 1.1rem; line-height: 1;
  cursor: pointer;
  display: none; z-index: 9000;
  box-shadow: var(--sh-md);
  transition: background var(--t), transform var(--t);
}
#vl-btt:hover { background: var(--c-accent); transform: translateY(-2px); }
#vl-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--c-accent); width: 0; z-index: 99999; }

/* ════════════════════════════════════════════════════
   ㉓ FOOTER WIDGETS
════════════════════════════════════════════════════ */
.vl-footer-widgets {
  background: var(--c-primary);
  padding: 30px 16px 22px;
  border-top: 3px solid var(--c-accent);
}
.vl-footer-widgets__grid {
  max-width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vl-footer-widgets .widget { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 0 !important; }
.vl-footer-widgets .widget-title { color: #fff !important; border-color: rgba(255,255,255,.2) !important; font-size: .8rem !important; }
.vl-footer-widgets .widget ul li { border-color: rgba(255,255,255,.08) !important; font-size: .8rem; }
.vl-footer-widgets .widget ul li a { color: rgba(255,255,255,.78) !important; }
.vl-footer-widgets .widget ul li a:hover { color: var(--c-accent) !important; }

/* ════════════════════════════════════════════════════
   ㉔ FOOTER BAR
════════════════════════════════════════════════════ */
.vl-footer-bar {
  background: #111d2e;
  padding: 16px;
}
.vl-footer-bar__inner {
  max-width: var(--w);
  margin: 0 auto;
}
.vl-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 10px;
  font-size: .78rem;
}
.vl-footer-links a { color: rgba(255,255,255,.72) !important; }
.vl-footer-links a:hover { color: var(--c-accent) !important; }
.vl-footer-links span { color: rgba(255,255,255,.25); }
.vl-footer-disc {
  font-size: .74rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 10px;
  margin-bottom: 8px;
}
.vl-footer-disc a { color: rgba(255,255,255,.65) !important; text-decoration: underline; }
.vl-footer-copy { font-size: .73rem; color: rgba(255,255,255,.35); }

/* ════════════════════════════════════════════════════
   ㉕ BREADCRUMB BAR
════════════════════════════════════════════════════ */
.vl-breadcrumb {
  background: var(--c-primary);
  padding: 6px 16px;
  font-size: .77rem;
}
.vl-breadcrumb__inner {
  max-width: var(--w);
  margin: 0 auto;
  color: rgba(255,255,255,.7);
}
.vl-breadcrumb a { color: rgba(255,255,255,.85) !important; }
.vl-breadcrumb .sep { margin: 0 4px; color: rgba(255,255,255,.35); }

/* ════════════════════════════════════════════════════
   ㉖ PAGE TITLE HERO (inner pages)
════════════════════════════════════════════════════ */
.vl-page-hero {
  background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-lt) 100%);
  padding: 20px 16px 16px;
  color: #fff;
}
.vl-page-hero__inner { max-width: var(--w); margin: 0 auto; }
.vl-page-hero h1 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.vl-page-hero__sub { font-size: .8rem; color: rgba(255,255,255,.72); }

/* ════════════════════════════════════════════════════
   ㉗ SEARCH RESULTS, 404
════════════════════════════════════════════════════ */
.vl-404-center { text-align: center; padding: 50px 20px; }
.vl-404-center .vl-hero-search { margin: 20px auto; }

/* ════════════════════════════════════════════════════
   ㉘ DISTRICT TOP BOX  (district page header)
════════════════════════════════════════════════════ */
.vl-dist-top {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: var(--sh-xs);
}
.vl-dist-top__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin: 12px 0;
  font-size: .82rem;
}
.vl-dist-top__meta-item strong { display: block; font-size: .7rem; color: var(--c-muted); font-weight: 600; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .4px; }
.vl-dist-top__meta-item span, .vl-dist-top__meta-item a { font-weight: 600; color: var(--c-primary); }

/* ════════════════════════════════════════════════════
   ㉙ MOBILE RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .vl-wrap {
    grid-template-columns: 1fr !important;
    padding: 16px 12px 30px;
  }
  .vl-aside { order: 2; }
}

@media (max-width: 820px) {
  /* Hide desktop nav, show hamburger */
  .vl-desktop-nav { display: none; }
  .vl-hamburger   { display: flex; }
  .vl-logo__tagline { display: none; }
  .vl-logo__name  { font-size: .98rem; }
  .vl-header-inner { min-height: 50px; }

  /* Hero */
  .vl-hero { padding: 24px 14px 20px; }
  .vl-hero__h1 { font-size: 1.2rem; }

  /* Topic bar */
  .vl-topics-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Grids */
  .vl-state-grid    { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); }
  .vl-district-grid { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); }
  .vl-ac-grid       { grid-template-columns: repeat(2, 1fr); }

  /* State top */
  .vl-state-top__flex   { flex-direction: column; align-items: center; text-align: center; }
  .vl-state-top__img-box { width: auto; }
  .vl-state-top__badges { justify-content: center; }
  .vl-imp-links         { justify-content: center; }

  /* Footer */
  .vl-footer-widgets__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .vl-hero__h1              { font-size: 1.05rem; }
  .vl-hero__sub             { font-size: .81rem; }
  .vl-topics-bar__inner     { grid-template-columns: 1fr 1fr; gap: 7px; }
  .vl-topic-card            { padding: 9px 10px; }
  .vl-state-grid            { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .vl-district-grid         { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .vl-ac-grid               { grid-template-columns: 1fr; }
  .vl-footer-widgets__grid  { grid-template-columns: 1fr; gap: 16px; }
  .vl-footer-links          { flex-direction: column; gap: 5px; }
  .vl-wrap                  { padding: 12px 10px 24px; gap: 16px; }
}

/* ════════════════════════════════════════════════════
   ㉚ PRINT
════════════════════════════════════════════════════ */
@media print {
  #masthead, .vl-footer-bar, .vl-aside, #vl-btt { display: none !important; }
  .vl-wrap { grid-template-columns: 1fr !important; }
  body { background: #fff; font-size: 12pt; }
}

/* ════════════════════════════════════════════════════
   LEGACY / SAFETY
════════════════════════════════════════════════════ */
.widget-area .widget { /* managed via .vl-aside .widget */ }
.site-footer { display: none !important; }

/* ════════════════════════════════════════════════════
   ADMIN BAR OFFSET  (when WP admin bar is visible)
════════════════════════════════════════════════════ */
.admin-bar #masthead { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #masthead { top: 46px; } }


