/* ============================================================
   County Hub — supplemental styles (loaded with state.css on /county/{slug}/)
   Only the "communities we serve" village grid + county map figure need
   new rules; hero/intro/funding/faq/final-cta reuse state.css classes.
   Design tokens: burgundy #7C2D3B, dark #4A1525, gold #D4A853, cream #FBF7F1.
   ============================================================ */

.county-map-section .county-map__figure {
  max-width: 620px;
  margin: 0 auto;
  padding: 8px;
}
.county-map-section .county-map__figure svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Communities (village engine) ---- */
.county-comm {
  background: #FBF7F1;
  padding: 72px 24px;
}
.county-comm__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.county-comm__head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.county-comm__eyebrow {
  display: inline-block;
  font-family: 'Lexend', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B98A2E;
  margin-bottom: 12px;
}
.county-comm__head h2 {
  font-family: 'Lexend', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  color: #4A1525;
  margin: 0 0 14px;
}
.county-comm__sub {
  color: #5b4a4d;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}
.county-comm__subhead {
  font-family: 'Lexend', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #7C2D3B;
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(124, 45, 59, 0.14);
}

/* linked city cards */
.county-comm__city-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.county-comm__city {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid rgba(124, 45, 59, 0.16);
  border-radius: 10px;
  text-decoration: none;
  color: #4A1525;
  font-weight: 600;
  font-family: 'Lexend', system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.county-comm__city:hover {
  border-color: #D4A853;
  box-shadow: 0 6px 18px rgba(74, 21, 37, 0.10);
  transform: translateY(-1px);
}
.county-comm__city svg { color: #B98A2E; flex: 0 0 auto; }

/* full town list */
.county-comm__town-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px 28px;
}
.county-comm__town {
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(124, 45, 59, 0.10);
}
.county-comm__town-name {
  margin: 0 0 5px;
  font-family: 'Lexend', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: #4A1525;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.county-comm__town-name a { color: #7C2D3B; text-decoration: none; }
.county-comm__town-name a:hover { text-decoration: underline; text-decoration-color: #D4A853; }
.county-comm__zip {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: #9a8388;
  letter-spacing: 0.02em;
}
.county-comm__town-blurb {
  margin: 0;
  color: #5b4a4d;
  font-size: 0.94rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .county-comm { padding: 52px 18px; }
  .county-comm__town-grid { grid-template-columns: 1fr; }
}
