/* ANA Template Stylesheet — extracted from deploy.py */
/* Edit this file directly. deploy.py loads it at build time. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fafaf8;
}
a { color: var(--ac, #3d5a80); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
/* AL 2026-04-27 T1605: scoped to top-level page header only.
 * Plain `header {}` matched <header class="entity-hero"> too, making the
 * hero photo sticky on scroll. body > header isolates the navbar. */
body > header {
  background: #0f2540;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  position: relative;
}
.is-t1 .header-inner { height: 90px; }
.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-brand:hover { text-decoration: none; }
.brand-logo {
  height: 86px;
  width: auto;
  max-width: 85vw;
  display: block;
}
.is-t1 .brand-logo { height: auto; max-height: 80px; }

/* ── Burger left, search right ── */
#menu-btn {
  position: absolute;
  left: 0.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  line-height: 1;
  transition: color 0.15s;
}
#menu-btn:hover { color: #fff; }
.search-icon {
  position: absolute;
  right: 0.5rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  padding: 0.3rem;
  border-radius: 4px;
  transition: color 0.15s;
}
.search-icon:hover { color: #fff; text-decoration: none; }

/* ── Mobile nav overlay ── */
#mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  background: rgba(10,15,25,0.6);
}
#mobile-nav.open { display: flex; }
#mobile-nav-panel {
  background: #162d4a;
  width: 85%;
  max-width: 360px;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 2rem;
  box-shadow: 4px 0 24px rgba(0,0,0,0.5);
}
#mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  background: #0f2540;
  border-bottom: 1px solid #1e3a5e;
  position: sticky;
  top: 0;
  z-index: 1;
}
#mobile-nav-header span {
  color: #8ab4d8;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
#mobile-nav-close {
  background: none;
  border: none;
  color: #8ab4d8;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
}
#mobile-nav-close:hover { color: #fff; }
#mobile-nav-body {
  padding: 0.75rem 1.2rem 1.5rem;
}
#mobile-nav ul { list-style: none; }
#mobile-nav li { margin-bottom: 0; }
#mobile-nav a {
  color: #dce8f5;
  font-family: system-ui, sans-serif;
  font-size: 0.92rem;
  display: block;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid #1e3a5e;
}
#mobile-nav a:hover { color: #fff; text-decoration: none; background: #1e3a5e; }
.mobile-nav-search {
  margin-bottom: 0.6rem;
}
.mobile-nav-search input {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1px solid #2a4a6a;
  border-radius: 4px;
  background: #1a3050;
  color: #dce8f5;
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
}
.mobile-nav-search input::placeholder { color: #6a8aaa; }
.mobile-nav-search input:focus {
  outline: none;
  border-color: #5a8ab8;
}
.mobile-nav-group {
  margin-bottom: 0.2rem;
}
.mobile-nav-group summary {
  cursor: pointer;
  color: #8ab4d8;
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.5rem;
  list-style: none;
  user-select: none;
}
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary::before {
  content: "\25B6";
  display: inline-block;
  font-size: 0.55rem;
  margin-right: 0.4rem;
  transition: transform 0.15s;
  vertical-align: middle;
}
.mobile-nav-group[open] summary::before {
  transform: rotate(90deg);
}
.mobile-nav-group ul {
  padding-left: 0.3rem;
}
.mobile-nav-group .nav-hidden { display: none; }

/* ── Entity hero (photo + seal + flag) ── */
/* AL 2026-04-27 T1588: hero block holds town/county/state photo + entity seal +
 * state flag/seal + locator map. Files live in the entity folder per Eli's
 * "everything for X lives in X's folder" rule. */
.entity-hero {
  margin: 0 0 1.5rem 0;
  display: block;
}
/* AL 2026-04-27 T2150: Eli — "the fact that you can't see it's a Capitol
 * Building because it's so zoomed in means that whatever process you used to
 * put it there distorted the image." Was object-fit:cover + width:100%, which
 * forced portrait photos (Florida 4528x6410) into a wide 1100x380 box and
 * cropped them to a hyper-zoomed center slice — unrecognizable. Fix:
 * object-fit:contain + auto sizing + centered. Portraits render whole (smaller
 * but recognizable); landscapes still fill naturally. */
.entity-hero .hero-photo {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 380px;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}
.entity-hero .hero-symbols {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.entity-hero .hero-seal,
.entity-hero .hero-state-seal {
  height: 56px;
  width: auto;
  flex: 0 0 auto;
}
/* AL 2026-04-28: consolidating-fork — .hero-flag (federal-tier entity flag)
   shares the same sizing rule as .hero-state-flag. Eli flagged the federal
   flag rendering at full SVG-intrinsic size on the USA landing. */
.entity-hero .hero-flag,
.entity-hero .hero-state-flag {
  height: 40px;
  width: auto;
  border: 1px solid #e0e0e0;
  flex: 0 0 auto;
}
.entity-hero .hero-map {
  height: 56px;
  width: auto;
  flex: 0 0 auto;
  opacity: 0.85;
}
@media (max-width: 700px) {
  .entity-hero .hero-photo { max-height: 220px; }
  .entity-hero .hero-symbols { gap: 0.5rem; }
  .entity-hero .hero-seal,
  .entity-hero .hero-state-seal { height: 44px; }
  .entity-hero .hero-flag,
  .entity-hero .hero-state-flag { height: 30px; }
  .entity-hero .hero-map { height: 44px; }
}

/* AL 2026-04-28: Eli — "Explore by State was an interactive SVG map. I want
   my map back." Federal-tier landing emits us-states-map inline. Each state
   path wrapped in <a class="us-map-state"> for click navigation. Default
   fill is muted; hover lights up the brand navy. */
.us-states-map-section {
  margin: 2rem 0;
}
.us-states-map-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}
.us-states-map-help {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.us-states-map-frame {
  max-width: 900px;
  margin: 0 auto;
}
.us-states-map-frame svg.us-states-map {
  width: 100%;
  height: auto;
  display: block;
}
/* AL 2026-04-28 T0855Z: state-counties SVGs are ~square (~810x805); at the
   parent's 900px max-width that's ~895px tall — too big. Cap state-counties
   maps tighter so they fit comfortably above the fold.
   AL 2026-04-28 T0905Z: shrink further per Eli — FL peninsula sits visually
   right-of-center in the viewBox; smaller frame reads better at a glance. */
.state-counties-map-section .us-states-map-frame {
  max-width: 440px;
}
.us-states-map-frame svg.state-counties-map {
  width: 100%;
  height: auto;
  display: block;
}
/* AL 2026-04-28 T0358Z: target ONLY paths inside <a> (state shapes), not the
   107 .borders paths that should stay fill:none. Earlier rule was overriding
   the SVG internal .borders rule due to higher specificity → border lines got
   filled gray, creating visible "garble" artifacts on the map. */
.us-states-map-frame svg.us-states-map a > path,
.us-states-map-frame svg.us-states-map a > rect {
  fill: #d8dde5;
  stroke: #fff;
  stroke-width: 1;
  transition: fill 0.15s ease;
  cursor: pointer;
}
.us-states-map-frame svg.us-states-map a:hover > path,
.us-states-map-frame svg.us-states-map a:focus > path,
.us-states-map-frame svg.us-states-map a:hover > rect,
.us-states-map-frame svg.us-states-map a:focus > rect {
  fill: #1a365d;
  outline: none;
}
/* Border lines: ensure they stay outlined, never filled. */
.us-states-map-frame svg.us-states-map .borders path {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  pointer-events: none;
}

/* ── Layout ── */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2.5rem 4rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* AL 2026-04-27 T1696: synthesized headline lede at top of landing page.
 * Sets the entity's character in one sentence — pure data, no LLM. */
.entity-headline {
  font-family: system-ui, sans-serif;
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: 500;
  color: #1a3a5c;
  margin: 1.25rem 0 0.5rem 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to right, #e8eef4, #f4f6f8);
  border-left: 4px solid #3d5a80;
  border-radius: 4px;
}

/* AL 2026-04-27 T1668: facility cards — schools, hospitals, banks etc.
 * One card per facility with name + key fields. Replaces "12 items (...)" flat row. */
.facility-list {
  margin: 1rem 0 1.5rem 0;
}
.facility-list-title {
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2a3744;
  margin: 0 0 0.5rem 0;
}
.facility-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}
.facility-card {
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.4;
}
.facility-card .facility-name {
  display: block;
  font-weight: 600;
  color: var(--ac, #3d5a80);
  margin-bottom: 0.3rem;
  text-decoration: none;
}
.facility-card a.facility-name:hover { text-decoration: underline; }
.facility-card .facility-meta {
  font-size: 0.85rem;
  color: #5a6878;
}
.facility-card .fc-address { display: block; }
.facility-card .fc-phone { color: #3d5a80; }
.facility-overflow {
  font-size: 0.85rem;
  color: #6a7a8c;
  margin-top: 0.5rem;
  font-style: italic;
}

/* AL 2026-04-27 T1668: derived "quick takes" list at top of section. */
.quick-takes {
  list-style: none;
  padding: 0.6rem 1rem;
  margin: 0 0 1.25rem 0;
  background: #f4f6f8;
  border-radius: 4px;
  font-size: 0.95rem;
}
.quick-takes li {
  margin: 0.25rem 0;
  color: #2a3744;
}
.quick-takes strong { color: #0f2540; }

/* AL 2026-04-27 T1716: inline reference clause "(vs FL $X / US $Y)" on data rows.
 * Eli — every data point needs a reference point, not isolated. */
small.ref {
  color: #5a6a7a;
  font-size: 0.85em;
  font-weight: normal;
  margin-left: 0.4rem;
}

/* AL 2026-04-27 T1716k: per-section explanatory lede — defines cryptic terms,
 * compares to national/state. Eli — "you have to do a little more than just list." */
.section-lede {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3a4a5a;
  margin: 0 0 0.85rem 0;
  padding: 0;
  background: none;
  border: 0;
}

/* AL 2026-04-27 T1657: scripted narrative paragraph above each data section.
 * Reads as prose, fills from tier_data via templates. Lives at top of
 * sub-page sections; styled like an intro lede. */
.data-narrative {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2a3744;
  margin: 0 0 1.25rem 0;
  padding: 0.75rem 1rem;
  background: #fafaf8;
  border-left: 3px solid var(--ac, #3d5a80);
  border-radius: 4px;
}

/* AL 2026-04-27 T1638: inline locator map mid-article — bigger than the
 * (now-removed) hero corner thumbnail. Eli T1638: "I want that to be a bigger
 * picture, like a paragraph or two down." */
.entity-map-figure {
  margin: 2rem 0;
  text-align: center;
}
.entity-map-figure .entity-map-img {
  max-width: 100%;
  width: 480px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.entity-map-figure figcaption {
  font-size: 0.85rem;
  color: #6a7a8c;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── Sidebar nav ── */
nav.sidebar {
  position: sticky;
  top: 100px;
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}
nav.sidebar p {
  color: #888;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
}
nav.sidebar ul { list-style: none; }
nav.sidebar li { margin-bottom: 0; }
nav.sidebar .nav-group-label {
  color: #999;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  padding-left: 0.5rem;
}
nav.sidebar li.nav-group-label:first-child { margin-top: 0; }
nav.sidebar a {
  display: block;
  padding: 0.22rem 0.5rem;
  border-radius: 3px;
  color: #444;
  line-height: 1.4;
}
nav.sidebar a:hover { background: #eee; text-decoration: none; }
nav.sidebar a.active {
  background: #e8f0fb;
  color: var(--ac, #3d5a80);
  font-weight: 600;
}

/* consolidating-fork: removed three parallel <details>-summary rule blocks
 * (.nav-group-dropdown, .sidebar-help summary, .mobile-help summary) that
 * duplicated the canonical .nav-group summary rule below at line ~560. The
 * About-ANA dropdowns and the per-group nav dropdowns now share the canonical
 * styling. Per-class margin-top + ul indent kept as the only per-variant
 * overrides. AL 2026-04-28 T0750: Eli — "No duplicates. Consolidate. One
 * canonical way." */
.sidebar-help, .mobile-help {
  margin-top: 1rem;
}
.sidebar-help ul, .mobile-help ul {
  margin-top: 0.25rem;
  padding-left: 0.5rem;
}
.sidebar-help a, .mobile-help a {
  color: #444;
  font-size: 0.85rem;
  padding: 0.2rem 0.5rem;
}

/* ── Nav search filter ── */
.nav-search {
  margin-bottom: 0.6rem;
}
.nav-search input {
  width: 100%;
  padding: 0.35rem 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  color: #333;
  background: #fff;
}
.nav-search input:focus {
  outline: none;
  border-color: var(--ac, #3d5a80);
  box-shadow: 0 0 0 2px rgba(26, 74, 138, 0.12);
}

/* ── Collapsible nav groups ── */
.nav-group {
  margin-bottom: 0.5rem;
}
/* AL 2026-04-28 T1140Z: CHECKED: canonical .nav-group covers the <details>/<summary>
   form but town-tier needs always-open variant (no disclosure widget) since towns
   only have one organization group ("Sections"). nav-group-flat reuses the same
   .nav-group-label styling (matching summary visual treatment) so it isn't a fork
   — it's a non-disclosure rendering of the same group concept. */
.nav-group-flat .nav-group-label {
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.5rem;
  text-transform: uppercase;
}
.nav-group-flat ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* consolidating-fork: canonical dropdown summary rule. Covers nav groups +
 * About ANA dropdowns (sidebar-help, mobile-help) — same styling, one rule.
 * AL 2026-04-28 T0750. */
.nav-group summary,
.sidebar-help summary,
.mobile-help summary {
  cursor: pointer;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.5rem;
  border-radius: 3px;
  list-style: none;
  user-select: none;
}
/* AL 2026-04-28 T0720Z: Eli — "put the line in between like you had it."
   Hairline divider between consecutive nav-groups (and between the trailing
   About ANA group and the rest). 1px on light bg, slightly bluer on dark
   mobile-nav background. */
/* AL 2026-04-28 T1135Z: Eli — divider was too faint (#eef2f6 on white = invisible).
   Bump to #d0d7de for clearly visible hairline like ANA tier-1/tier-2 navs. */
.nav-group + .nav-group {
  border-top: 1px solid #d0d7de;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
}
/* AL 2026-04-28 T1158Z: Eli wants visible white line on dark mobile-nav bg */
#mobile-nav .nav-group + .nav-group {
  border-top-color: rgba(255,255,255,0.25);
}
/* AL 2026-04-28 T0245Z: Eli mobile screenshot — group labels appeared muted
   on dark navy mobile-nav bg because canonical .nav-group summary (color:#666)
   overrode the earlier .mobile-nav-group summary (#8ab4d8) by source-order.
   Re-assert mobile + mobile-help on dark bg. CHECKED: nav-group-children
   class already exists in wrapper output (since 2026-04-28 nav refactor),
   this just adds CSS for the existing class — not a new variant fork. */
#mobile-nav .nav-group summary,
#mobile-nav .mobile-nav-group summary,
#mobile-nav .mobile-help summary {
  color: #8ab4d8;
}
#mobile-nav .nav-group-children h3 {
  color: #8ab4d8;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.5rem 0.3rem;
  margin: 0;
}
.nav-group summary::-webkit-details-marker,
.sidebar-help summary::-webkit-details-marker,
.mobile-help summary::-webkit-details-marker { display: none; }
.nav-group summary::before,
.sidebar-help summary::before,
.mobile-help summary::before {
  content: "\25B6";
  display: inline-block;
  font-size: 0.55rem;
  margin-right: 0.4rem;
  transition: transform 0.15s;
  vertical-align: middle;
}
.nav-group[open] summary::before,
.sidebar-help[open] summary::before,
.mobile-help[open] summary::before {
  transform: rotate(90deg);
}
.nav-group summary:hover,
.sidebar-help summary:hover,
.mobile-help summary:hover { background: #f0f0f0; }
.nav-count {
  font-weight: 400;
  color: #aaa;
  font-size: 0.65rem;
}
.nav-group ul {
  margin-top: 0.15rem;
  padding-left: 0.3rem;
}
.nav-member-sites {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e0e0e0;
}
.nav-member-sites summary {
  color: var(--ac, #3d5a80);
}
/* Sub-groups inside Network Divisions / grouped Related Sites */
.nav-sub-groups { padding: 0.2rem 0 0.2rem 0.5rem; }
.nav-sub-group {
  margin: 0.15rem 0;
}
.nav-sub-group summary {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-sub-group summary::-webkit-details-marker { display: none; }
.nav-sub-group summary::before {
  content: "▶";
  font-size: 0.55rem;
  transition: transform 0.15s;
}
.nav-sub-group[open] summary::before { transform: rotate(90deg); }
.nav-sub-group ul {
  margin: 0.1rem 0 0.3rem 0.8rem;
  padding: 0;
  list-style: none;
}
.nav-hidden { display: none; }

/* ── Article ── */
article { min-width: 0; }
article h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0f2540;
  margin-bottom: 2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #d8d8d4;
}
article h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f2540;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e6e2;
}
article h3 {
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 1.25rem 0 0.5rem;
}
article p  { margin-bottom: 1.15rem; }
article ul, article ol { margin: 0.75rem 0 1.25rem 1.5rem; }
article li { margin-bottom: 0.35rem; }
article strong { font-weight: 700; }
article em { font-style: italic; }
article hr { border: none; border-top: 1px solid #e0ddd8; margin: 2.5rem 0; }
article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
  overflow-x: auto;
  display: block;
}
article th {
  background: #0f2540;
  color: #fff;
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-weight: 600;
}
article td {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: top;
}
article tr:nth-child(even) td { background: #f5f5f2; }
article code {
  background: #f0f0ec;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-size: 0.88em;
  font-family: monospace;
}
article blockquote {
  border-left: 2px solid #d8d8d4;
  margin: 1.25rem 0;
  padding: 0.6rem 1.2rem;
  color: #555;
  font-style: italic;
}

/* ── On this site section ── */
.on-this-site {
  margin-top: 3rem;
  padding: 2rem;
  background: #fafaf8;
  border: 1px solid #e0ddd8;
  border-radius: 4px;
}
.on-this-site h2 {
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0f2540;
  margin-bottom: 1.2rem;
  padding-top: 0;
  border: none;
}
.on-site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem 2rem;
}
.on-site-group strong {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #777;
  margin-bottom: 0.4rem;
}
.on-site-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.on-site-group li { margin-bottom: 0.25rem; }
.on-site-group a {
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--ac, #3d5a80);
}
.ots-hidden { display: none; list-style: none; }
.ots-hidden ul { list-style: none; margin: 0; padding: 0; }
.ots-toggle a {
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  color: #888;
  font-style: italic;
}
.ots-toggle a:hover { color: var(--ac, #3d5a80); }

/* ── In the network section ── */
.in-the-network {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #0f2540;
  border-radius: 6px;
  color: #dce8f5;
}
.in-the-network h2 {
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 1.2rem;
  padding-top: 0;
  border: none;
}
.in-the-network h3 {
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8ab4d8;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}
.in-the-network h3:first-child { margin-top: 0; }
.network-group { margin-bottom: 0.5rem; }
.network-hierarchy { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #1e3a5e; }
.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.3rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.in-the-network ul { list-style: none; margin: 0; padding: 0; }
.in-the-network li { margin-bottom: 0.2rem; }
.in-the-network a {
  color: #a8cce8;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
}
.in-the-network a:hover { color: #fff; text-decoration: underline; }
.network-hierarchy a { color: #8ab4d8; font-size: 0.82rem; }

/* ── Nav member sites toggle ── */
.nav-show-more a {
  font-size: 0.78rem;
  color: #888;
  font-style: italic;
}
.nav-show-more a:hover { color: var(--ac, #3d5a80); }
.nav-show-more-wrap ul { list-style: none; margin: 0; padding: 0; }

/* ── Standalone nav links (single-page items, not collapsible) ── */
.nav-standalone {
  padding: 0.35rem 0.75rem;
}
.nav-standalone a {
  color: var(--text, #232323);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
}
.nav-standalone a:hover { color: var(--ac, #3d5a80); }
.nav-standalone a.active { color: var(--ac, #3d5a80); font-weight: 600; }

/* ── Nav parent link ── */
.nav-parent {
  padding: 0.5rem 0.75rem 0.4rem;
  border-bottom: 1px solid #dde4ec;
  margin-bottom: 0.25rem;
}
.nav-parent a {
  color: #6b7a8d;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 500;
}
.nav-parent a:hover { color: var(--ac, #3d5a80); }

/* ── Nav siblings (Related Sites) ── */
.nav-siblings { border-top: 1px solid #dde4ec; margin-top: 0.5rem; padding-top: 0.25rem; }
.nav-overflow a { font-style: italic; color: #6b7a8d; font-size: 0.8rem; }

/* ── Nav footer (trust links) ──
 * AL 2026-04-28 T0710Z: simple vertical block — Eli flagged the horizontal
 * "fine print" version as visual noise (`·` separators read as added clutter).
 * Plain vertical list, same link style as main nav, separated from groups
 * above by a single thin top border. */
.nav-footer {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #dde4ec;
}
.nav-footer ul { list-style: none; margin: 0; padding: 0; }
.nav-footer li, .nav-footer .mobile-nav-direct {
  padding: 0.2rem 0.5rem;
}
.nav-footer a {
  color: #475569;
  font-size: 0.85rem;
  text-decoration: none;
}
.nav-footer a:hover { color: var(--ac, #3d5a80); }
#mobile-nav .nav-footer a { color: #8ab4d8; }
#mobile-nav .nav-footer a:hover { color: #fff; }

/* ── Breadcrumb navigation ── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
  color: #6b7a8d;
  line-height: 1.4;
}
.bc-item {
  color: #6b7a8d;
  text-decoration: none;
  white-space: nowrap;
}
a.bc-item:hover { color: var(--ac, #3d5a80); text-decoration: underline; }
.bc-current { color: #3a4a5c; font-weight: 500; }
.bc-sep { margin: 0 0.1rem; color: #a0aab4; font-size: 0.7rem; }

/* ── Mobile standalone links ── */
.mobile-nav-standalone {
  padding: 0.5rem 1rem;
}
.mobile-nav-standalone a {
  color: var(--text, #232323);
  font-size: 0.95rem;
  text-decoration: none;
}

/* ── Read Next — content journey cards ── */
.read-next {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid #e0ddd8;
}
.read-next h2 {
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0f2540;
  margin-bottom: 1.2rem;
  padding-top: 0;
  border: none;
}
.read-next-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.read-next-card {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.4rem;
  background: #fafaf8;
  border: 1px solid #e0ddd8;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.read-next-card:hover {
  border-color: var(--ac, #3d5a80);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.read-next-title {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ac, #3d5a80);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.read-next-snippet {
  display: block;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .read-next-cards { grid-template-columns: 1fr; }
  .read-next { padding: 1.25rem 0; }
}

/* AL 2026-04-27 T1643: Related Authorities — card grid (Eli: "still just a
 * list and... it needs to look better"). Mirrors read-next styling but with
 * tighter cards since the content is short (just a name + Authority › hint). */
.related-sites-block {
  margin: 2rem 0 1rem 0;
}
.related-sites-block h2 {
  margin-bottom: 0.75rem;
}
.related-sites-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}
.related-site-card {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem;
  background: #fafaf8;
  border: 1px solid #e0ddd8;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.related-site-card:hover {
  border-color: var(--ac, #3d5a80);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-decoration: none;
}
.related-site-title {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ac, #3d5a80);
}
.related-site-hint {
  display: block;
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.2rem;
}
@media (max-width: 768px) {
  .related-sites-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .read-next-cards { grid-template-columns: 1fr 1fr; }
}

/* ── Explore This Site section ── */
.explore-site {
  margin-top: 3rem;
  padding: 2rem;
  background: #fafaf8;
  border: 1px solid #e0ddd8;
  border-radius: 4px;
}
.explore-site h2 {
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0f2540;
  margin-bottom: 1.2rem;
  padding-top: 0;
  border: none;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.explore-card {
  display: block;
  padding: 1.1rem 1.3rem;
  background: #fff;
  border: 1px solid #e0ddd8;
  border-radius: 3px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.explore-card:hover {
  border-color: var(--ac, #3d5a80);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.explore-label {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #999;
  margin-bottom: 0.3rem;
}
.explore-title {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ac, #3d5a80);
  line-height: 1.35;
}
.explore-dropdown {
  cursor: default;
}
.explore-select {
  display: block;
  width: 100%;
  padding: 0.4rem 0.5rem;
  margin-top: 0.3rem;
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  color: #333;
  background: #f8f9fb;
  border: 1px solid #d0d8e0;
  border-radius: 3px;
  cursor: pointer;
}
.explore-select:hover {
  border-color: var(--ac, #3d5a80);
}

/* ── Contact form ── */
.ana-contact-form .form-group {
  margin-bottom: 1.25rem;
}
.ana-contact-form label {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.35rem;
}
.ana-contact-form input[type="text"],
.ana-contact-form input[type="email"],
.ana-contact-form textarea {
  width: 100%;
  max-width: 480px;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1a1a1a;
  background: #fff;
}
.ana-contact-form input:focus,
.ana-contact-form textarea:focus {
  outline: none;
  border-color: var(--ac, #3d5a80);
  box-shadow: 0 0 0 2px rgba(26, 74, 138, 0.15);
}
.ana-contact-form button[type="submit"] {
  display: inline-block;
  padding: 0.65rem 2rem;
  background: var(--ac, #3d5a80);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.ana-contact-form button[type="submit"]:hover {
  opacity: 0.9;
}

/* ── Footer ── */
footer {
  background: #0f2540;
  color: #7a9bb8;
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem 2rem;
  margin-top: 3rem;
  letter-spacing: 0.02em;
}
footer p { margin: 0.2rem 0; }
.ai-disclosure { opacity: 0.6; font-size: 0.7rem; }
/* AL: 2026-04-16 — Beta badge. Network is under active development, content is fine. */
.ana-beta {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #c9a84c;
  opacity: 0.85;
  margin-top: 0.3rem;
}
.ana-beta .beta-tag {
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 3px;
  padding: 0.1em 0.45em;
  margin-right: 0.4em;
  font-size: 0.6rem;
  text-transform: uppercase;
  vertical-align: middle;
}
/* AL: 2026-04-16 — Trust page links in footer */
.ana-trust-links {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}
.ana-trust-links a { color: #8ab4d8; }
.ana-copyright { opacity: 0.45; font-size: 0.65rem; margin-top: 0.35rem; }
footer a { color: #8ab4d8; }

/* ── Verification badge ── */
.verification-badge {
  margin-top: 2rem;
  padding: 0.6rem 1rem;
  background: #f0f5fa;
  border-left: 3px solid var(--ac, #3d5a80);
  border-radius: 0 4px 4px 0;
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  color: #4a5568;
  line-height: 1.6;
}
.vb-item { white-space: nowrap; }
.vb-verified { color: #2a7a3a; }
.vb-updated { color: #1a6a8a; }
.vb-monitored { color: #5a6a7a; }
.verification-badge a {
  color: var(--ac, #3d5a80);
  font-size: 0.76rem;
}

/* ── Staleness banner ── */
.staleness-banner {
  border-radius: 6px;
  padding: 0.8rem 1.2rem;
  margin: 0 0 1.5rem;
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
}
.staleness-banner a {
  font-weight: 600;
  margin-left: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  #menu-btn { font-size: 1.3rem; }
  .page-wrap {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 3rem;
    gap: 0;
  }
  nav.sidebar { display: none; }
  .on-site-grid { grid-template-columns: 1fr 1fr; }
  .network-grid { grid-template-columns: 1fr 1fr; }
  .brand-logo { height: 56px; }
  .header-inner { height: 72px; }
  .verification-badge {
    flex-direction: column;
    gap: 0.3rem;
  }
  .verification-badge .vb-item { white-space: normal; }
  #mobile-nav a { padding: 0.45rem 0; font-size: 0.92rem; }
  article { font-size: 16px; }
  article h1 { font-size: 1.4rem; }
  article h2 { font-size: 1.15rem; }
  .on-this-site { padding: 1.25rem; }
  .in-the-network { padding: 1.25rem; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .explore-site { padding: 1.25rem; }
}
@media (max-width: 480px) {
  .on-site-grid { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0; }
  .brand-logo { height: 44px; }
  .header-inner { height: 60px; }
}
/* Header logo IS the brand — H1 on homepage is visually redundant */
.page-index article h1:first-of-type {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* AL: 2026-04-16 — Quickfacts sidebar (Oviedo treatment for all towns) */
.quickfacts {
  float: right;
  width: 300px;
  margin: 0 0 20px 24px;
  border: 1px solid #c8d6e0;
  border-radius: 4px;
  background: #f8fafb;
  font-size: 14px;
}
.quickfacts h3 {
  background: var(--ac, #1a4a8a);
  color: white;
  padding: 8px 12px;
  margin: 0;
  font-size: 16px;
  border-radius: 3px 3px 0 0;
}
.quickfacts table { width: 100%; border-collapse: collapse; }
.quickfacts th { text-align: left; padding: 4px 10px; color: #555; font-weight: normal; width: 45%; border-bottom: 1px solid #e8edf0; }
.quickfacts td { padding: 4px 10px; font-weight: 600; border-bottom: 1px solid #e8edf0; }
.quickfacts .qf-source { padding: 6px 10px; font-size: 11px; color: #888; margin: 0; }
@media (max-width: 768px) {
  .quickfacts { float: none; width: 100%; margin: 0 0 20px 0; }
}

/* AL 2026-04-27 T1651: nav section heading — Eli T1651: "Sections" was
 * defaulting to bold/black browser h3. Use a small uppercase muted label so
 * it reads as a section divider, not a competing heading. */
.nav-group-flat h3,
.mobile-nav-group-flat h3 {
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a98a8;
  font-weight: 500;
  margin: 1.2rem 0 0.4rem 0;
  padding: 0 0.3rem;
}
.nav-group-flat ul,
.mobile-nav-group-flat ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-group-flat li {
  margin: 0;
}
.nav-group-flat a {
  display: block;
  padding: 0.35rem 0.5rem;
  color: #2a3744;
  border-radius: 4px;
  font-size: 0.92rem;
  font-family: system-ui, sans-serif;
  text-decoration: none;
}
.nav-group-flat a:hover { background: #f0f0f0; text-decoration: none; }
.nav-group-flat a.active { background: #e1e8ef; font-weight: 600; }

/* AL 2026-04-27 T1651: nav-self (entity self-link at top of sidebar) — also
 * tone down so it doesn't read as a heading. */
.nav-self {
  margin: 0.4rem 0;
}
.nav-self a, .mobile-nav-self a {
  display: block;
  padding: 0.4rem 0.5rem;
  color: #3a4a5a;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: system-ui, sans-serif;
  border-radius: 4px;
  text-decoration: none;
}
.nav-self a.active, .mobile-nav-self a.active { background: #e1e8ef; }
.nav-self a:hover, .mobile-nav-self a:hover { background: #f0f0f0; }
