.town-search { margin-top: 1.25rem; }
.town-search label { display: block; font-weight: 700; margin-bottom: .4rem; }
.town-search input {
  width: min(100%, 23rem);
  min-height: 44px;
  padding: .6rem .8rem;
  border: 1px solid #857d77;
  border-radius: .25rem;
  font: inherit;
}
#town-results { margin-block: .5rem 1rem; }
#town-map {
  position: relative;
  isolation: isolate;
  height: clamp(20rem, 55vw, 28rem);
  margin-top: 1rem;
  background: #e6e2d9;
  border: 1px solid #c9c4b8;
  border-radius: .4rem;
}
.town-pin { display: grid; place-items: center; border-radius: 50%; }
.town-pin::after {
  content: "";
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  background: #b52b2b;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 5px #0007;
}
#town-map .town-map-label {
  padding: .12rem .35rem;
  border: 1px solid #c9c4b8;
  border-radius: .2rem;
  color: #141414;
  font: 700 .8125rem/1.3 system-ui, sans-serif;
  box-shadow: 0 1px 3px #0002;
}
.town-map-label::before { display: none; }
.town-map-label.is-obscured { visibility: hidden; }
.town-pin:focus-visible { outline: 3px solid #141414; outline-offset: 2px; }
#town-map .leaflet-popup-content { font: 1rem/1.35 system-ui, sans-serif; }
#town-map .leaflet-popup-content a { display: inline-block; margin-top: .35rem; color: #a62324; }
#town-directory article[hidden] { display: none; }
#town-directory article:nth-child(4) { grid-column: span 1; }
@media (min-width: 55rem) {
  .services #town-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services #town-directory article { grid-column: auto; }
}

.town-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}
.town-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .9rem;
  border: 1px solid #c9c4b8;
  border-top: 2px solid var(--red);
  border-radius: .25rem;
  background: #fffdf9;
  font-weight: 700;
  text-decoration: none;
}
.town-shortcuts a:hover { background: #fae9e6; text-decoration: underline; }
