/* Home service-area map. */
body > .area .area-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2rem, 5vw, 5rem); }
body > .area .service-map-towns { gap: 8px; border: 0; }
body > .area .service-map-towns button {
  flex: 1 1 calc(50% - 8px); min-width: 0; padding: 12px 14px;
  border: 1px solid #d7d3d3; background: #f8f4f4; color: #201e1d;
  font: 700 14px/1.3 var(--sans); text-align: left; cursor: pointer;
}
body > .area .service-map-towns button:hover,
body > .area .service-map-towns button:focus-visible,
body > .area .service-map-towns button[aria-pressed="true"] {
  background: #3d5d47; border-color: #3d5d47; color: #fff;
}
body > .area .service-map-note { font-size: 13px; margin: 18px 0 0; }
body > .area .service-map {
  aspect-ratio: auto; height: 540px; display: block; border: 2px solid #d7d3d3;
  background: #e8ece4; cursor: grab; touch-action: pan-y;
}
body > .area .service-map.is-dragging { cursor: grabbing; }
.service-map-tiles, .service-map-markers { position: absolute; inset: 0; overflow: hidden; }
.service-map-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; pointer-events: none; }
.service-map-markers { pointer-events: none; }
.service-map-marker {
  position: absolute; z-index: 2; transform: translate(-50%, -100%);
  width: 27px; height: 34px; padding: 0; border: 0; background: transparent;
  overflow: visible; pointer-events: auto; cursor: pointer;
}
.service-map-pin {
  position: absolute; top: 2px; left: 2px; width: 23px; height: 23px;
  transform: rotate(-45deg); border: 2px solid #fff;
  border-radius: 50% 50% 50% 0; background: #3d5d47;
  box-shadow: -2px 2px 5px #0008;
}
.service-map-pin::after {
  content: ''; position: absolute; top: 5px; left: 5px;
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
}
.service-map-label {
  position: absolute; top: 2px; left: 29px; padding: 4px 6px;
  white-space: nowrap; color: #201e1d; background: #fffe;
  border: 1px solid #bcb8b5; box-shadow: 0 1px 4px #0003;
  font: 700 11px/1.2 var(--sans); pointer-events: none;
}
.service-map-marker[data-label-side="left"] .service-map-label { left: auto; right: 29px; }
.service-map-marker[data-label-side="below"] .service-map-label { top: 30px; left: 50%; transform: translateX(-50%); }
.service-map-marker[data-label-side="above"] .service-map-label { top: -26px; left: 50%; transform: translateX(-50%); }
.service-map-marker[aria-pressed="true"] { z-index: 4; }
.service-map-marker[aria-pressed="true"] .service-map-pin { background: #201e1d; scale: 1.15; }
.service-map-marker[aria-pressed="true"] .service-map-label {
  color: #fff; background: #3d5d47; border-color: #3d5d47;
}
.service-map-marker:hover, .service-map-marker:focus-visible { z-index: 6; }
.service-map-marker:hover .service-map-label, .service-map-marker:focus-visible .service-map-label {
  color: #fff; background: #3d5d47; border-color: #3d5d47;
}
.service-map-marker:focus-visible { outline: 3px solid #201e1d; outline-offset: 3px; }
.service-map-toolbar {
  position: absolute; z-index: 5; top: 12px; right: 12px;
  display: flex; gap: 8px; align-items: flex-start;
}
.service-map-toolbar button {
  border: 1px solid #d7d3d3; background: #fff; color: #201e1d;
  min-width: 38px; min-height: 38px; padding: 6px 10px;
  font: 700 14px var(--sans); box-shadow: 0 2px 8px #0002; cursor: pointer;
}
.service-map-toolbar button:hover, .service-map-toolbar button:focus-visible { background: #f8f4f4; outline: 2px solid #3d5d47; outline-offset: 1px; }
.service-map-zoom { display: flex; flex-direction: column; gap: 2px; }
.service-map-zoom button { font-size: 21px; line-height: 1; }
.service-map-caption {
  position: absolute; z-index: 5; left: 12px; bottom: 33px;
  padding: 8px 10px; background: #fff; color: #201e1d;
  font: 700 13px var(--sans); box-shadow: 0 2px 8px #0002;
  max-width: calc(100% - 24px); pointer-events: none;
}
.service-map-attribution {
  position: absolute; z-index: 5; right: 0; bottom: 0;
  padding: 3px 6px; background: #fffd; color: #333; font: 11px/1.3 Arial,sans-serif;
}
.service-map-attribution a { text-decoration: underline; }
@media (max-width: 850px) {
  body > .area .area-grid { grid-template-columns: 1fr; }
  body > .area .service-map { height: min(72vw, 480px); min-height: 330px; }
}
