.service-area-section {
  background: #edf4ff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-area-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: center;
}

.service-area-copy .sectionintro {
  margin-bottom: 24px;
}

.county-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 18px;
}

.county-list strong {
  flex: 1 0 100%;
  color: var(--navy);
  font-size: 1rem;
}

.county-list span {
  border: 1px solid #c7d8ef;
  border-radius: 999px;
  background: #fff;
  color: #071a35;
  font-size: .92rem;
  font-weight: 800;
  padding: 8px 12px;
  box-shadow: 0 7px 18px #071a350a;
}

.county-list .featured-area {
  border-color: var(--orange);
  background: #fff2e8;
  color: #071a35;
  box-shadow: 0 7px 20px #ff650022;
}

.distance-note {
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  background: #fff;
  color: #334b68;
  font-size: 1rem;
  line-height: 1.65;
  padding: 18px 20px;
  box-shadow: 0 10px 28px #071a350d;
}

.distance-note strong {
  color: var(--navy);
}

.map-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid #c6d7ec;
  border-radius: 12px;
  background: #dce8f8;
  box-shadow: 0 18px 44px #071a3517;
}

#serviceAreaMap {
  width: 100%;
  height: 430px;
  z-index: 0;
}

.map-loading,
.map-unavailable {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 320px;
  padding: 24px;
  color: #4e627a;
  text-align: center;
}

.map-legend {
  position: absolute;
  z-index: 500;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #cbd8e9;
  border-radius: 5px;
  background: #fffffff2;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 800;
  padding: 9px 12px;
  box-shadow: 0 5px 18px #071a3520;
}

.legend-swatch {
  width: 18px;
  height: 18px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #005bff29;
}

.leaflet-container {
  font: 14px/1.5 Arial, Helvetica, sans-serif;
}

.leaflet-control-attribution {
  font-size: 12px;
}

@media (max-width: 820px) {
  .service-area-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #serviceAreaMap {
    height: 360px;
  }
}

@media (max-width: 520px) {
  #serviceAreaMap {
    height: 320px;
  }

  .distance-note {
    padding: 16px 17px;
  }

  .map-legend {
    right: 12px;
    left: 12px;
    justify-content: center;
  }
}

/* Keep all map controls and overlays below the sticky navigation. */
.map-shell{isolation:isolate;z-index:0}
