/* Uses the site's existing type, surfaces, colors and button styles. */
.service-area { scroll-margin-top: 7rem; }
.service-area__intro { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.service-area__intro h2 { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.25rem); }
.service-area__intro h2 br { display: none; }
.service-area__intro .lead { max-width: 40rem; margin-top: 1.2rem; }
.service-area__layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.coverage-map { margin: 0; background: var(--canvas-warm); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.coverage-map__topline { padding: 1.2rem 1.4rem 0; display: flex; align-items: center; justify-content: space-between; gap: .7rem; flex-wrap: wrap; }
.coverage-map__location { display: inline-flex; align-items: center; gap: .4rem; color: var(--olive-deep); font-size: .8rem; font-weight: 650; }
.coverage-map__location .icon { width: 1rem; height: 1rem; }
.coverage-map__views { display: inline-flex; padding: .25rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--canvas); }
.coverage-map__views[hidden] { display: none; }
.coverage-map__views button { border: 0; background: transparent; border-radius: var(--r-pill); padding: .55rem .9rem; min-height: 2.75rem; cursor: pointer; font-size: .8rem; line-height: 1.3; font-weight: 650; color: var(--ink-2); }
.coverage-map__views button[aria-pressed="true"] { color: #fff; background: var(--olive); box-shadow: var(--shadow-xs); }
.coverage-map__canvas { position: relative; padding: .7rem 1rem .3rem; }
.coverage-map__svg { width: 100%; height: auto; aspect-ratio: 620 / 660; overflow: hidden; }
.coverage-map__background path { fill: #ded8cb; stroke: var(--canvas-warm); stroke-width: .9px; stroke-linejoin: round; }
.coverage-map__county { cursor: pointer; outline: none; }
.coverage-map__county path { fill: var(--olive); stroke: var(--canvas-warm); stroke-width: 1.3px; stroke-linejoin: round; transition: fill .18s ease; }
.coverage-map__labels { pointer-events: none; }
.coverage-map__labels text { font-family: var(--font-body); font-size: 7.6px; font-weight: 650; fill: white; paint-order: stroke; stroke: rgba(0,0,0,.18); stroke-width: .45px; }
.coverage-map__canvas[data-map-mode="state"] .coverage-map__labels { display: none; }
.coverage-map__callout { color: var(--olive-deep); pointer-events: none; }
.coverage-map__callout text { fill: currentColor; font-family: var(--font-body); font-size: 13px; font-weight: 650; }
.coverage-map__canvas[data-map-mode="area"] .coverage-map__callout { display: none; }
.coverage-map__county:hover path { fill: var(--olive-deep); }
.coverage-map__county.is-selected path { fill: var(--purple); }
.coverage-map__county:focus-visible path { stroke: var(--purple); stroke-width: 3.5px; fill: var(--olive-deep); }
.coverage-map__county.is-selected:focus-visible path { stroke: var(--ink); }
.coverage-map__canvas[data-map-mode="area"] .coverage-map__labels text { font-size: 6px; }
.coverage-map__canvas[data-map-mode="area"] .coverage-map__background { opacity: .5; }
.coverage-map__north { position: absolute; top: 2rem; right: 2rem; display: grid; justify-items: center; color: var(--olive); font-size: .65rem; font-weight: 600; pointer-events: none; }
.coverage-map__north span { font-size: 1.5rem; line-height: 1; }
.coverage-map__state-label { position: absolute; top: 29%; left: 31%; font-family: var(--font-display); color: var(--ink-2); font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -.02em; pointer-events: none; opacity: .8; }
.coverage-map__canvas[data-map-mode="area"] .coverage-map__state-label { display: none; }
.coverage-map__caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.2rem; padding: 1rem 1.4rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .75rem; line-height: 1.5; }
.coverage-map__caption > span:first-child { display: flex; align-items: center; gap: .5rem; font-weight: 650; }
.coverage-map__key { width: .7rem; height: .7rem; border-radius: .2rem; background: var(--olive); }
.service-area__sidebar { padding-top: .6rem; }
.service-area__county-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.service-area__county-heading h3 { font-size: clamp(1.55rem, 2.5vw, 2rem); }
.service-area__count { padding: .3rem .7rem; background: var(--canvas-warm); border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .75rem; white-space: nowrap; color: var(--olive-deep); }
.service-area__guidance { font-size: .9rem; margin-top: .75rem; color: var(--ink-3); }
.service-area__counties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-block: 1.5rem 1.75rem; }
.service-area__county { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 3.5rem; padding: .75rem .9rem; font-weight: 600; font-size: .96rem; border: 1px solid var(--line-strong); border-radius: var(--r-md); color: var(--olive-deep); background: var(--paper); transition: background .18s ease, border-color .18s ease, color .18s ease; }
.service-area__county-suffix { display: none; }
.service-area__county-check { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; flex: none; background: #edf1e4; border-radius: 50%; }
.service-area__county-check .icon { width: .8rem; height: .8rem; }
.service-area__county:hover { border-color: var(--olive); background: var(--canvas-warm); }
.service-area__county.is-selected { background: var(--purple); border-color: var(--purple); color: #fff; }
.service-area__county.is-selected .service-area__county-check { background: rgba(255,255,255,.16); }
.service-area__details { padding: clamp(1.25rem, 2.5vw, 2rem); border-radius: var(--r-lg); background: var(--canvas-warm); scroll-margin-top: 8rem; }
.service-area__eyebrow { display: flex; align-items: center; gap: .45rem; color: var(--olive-deep); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 700; margin-bottom: .85rem; }
.service-area__eyebrow .icon { width: 1rem; height: 1rem; }
.service-area__details h3 { font-size: 1.55rem; max-width: 17rem; }
.service-area__details [data-coverage-description] { font-size: .93rem; margin-top: .85rem; min-height: 4.9em; }
.service-area__details .actions { margin-top: 1.5rem; }
.service-area__details .btn { min-height: 3.2rem; font-size: .94rem; padding-inline: 1.35rem; }
.service-area__outside { font-size: .8rem; margin-top: 1rem; }
.service-area__outside a { color: var(--olive-deep); text-decoration: underline; text-underline-offset: .18em; font-weight: 650; white-space: nowrap; }
.service-area__source { font-size: .72rem; margin-top: .85rem; color: var(--ink-3); }
.service-area__source a { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 61.99rem) {
  .service-area__layout { grid-template-columns: minmax(0, 1fr); max-width: 40rem; gap: 1.75rem; }
  .service-area__intro { max-width: 40rem; }
  .coverage-map__svg { max-height: 34rem; }
  .service-area__county-suffix { display: inline; }
  .service-area__details h3 { max-width: none; }
  .service-area__details [data-coverage-description] { min-height: 0; }
}
@media (max-width: 29rem) {
  .coverage-map__canvas[data-map-mode="area"] .coverage-map__labels text { font-size: 7px; }
  .service-area__intro h2 br { display: block; }
  .coverage-map { border-radius: var(--r-lg); }
  .coverage-map__topline { padding: 1rem 1rem 0; }
  .coverage-map__location { width: 100%; }
  .coverage-map__views { width: 100%; }
  .coverage-map__views button { flex: 1; }
  .coverage-map__canvas { padding-inline: .4rem; }
  .coverage-map__north { right: 1.2rem; }
  .coverage-map__caption { padding: .9rem 1rem; }
  .service-area__county { padding: .75rem; font-size: .9rem; }
  .service-area__county-suffix { display: none; }
  .service-area__details .btn { width: 100%; }
}
@media (max-width: 21.5rem) {
  .coverage-map__canvas[data-map-mode="area"] .coverage-map__labels text { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .coverage-map__county path, .service-area__county { transition: none; }
}
@media print {
  .coverage-map__views, .service-area__details .actions { display: none; }
  .service-area__layout { display: block; }
  .coverage-map { max-width: 28rem; }
  .coverage-map__county path, .service-area__county.is-selected { print-color-adjust: exact; }
}
