.explore-page [hidden] { display: none !important; }
.explore-content { padding-block: clamp(32px, 5vw, 62px) clamp(46px, 7vw, 90px); }
.explore-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 18px;
}
.explore-section-heading h2 { font-size: clamp(2.4rem, 4vw, 3.7rem); }
.explore-field { display: grid; gap: 4px; }
.explore-field label { font-size: 1rem; font-weight: 700; color: var(--navy); }
.explore-field select {
  min-height: 44px;
  padding: 7px 28px 7px 12px;
  border: 1px solid var(--putty);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.explore-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(230px, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.explore-map {
  min-width: 0;
  min-height: clamp(320px, 34vw, 445px);
  isolation: isolate;
  background: var(--blue-mist);
}
.explore-map .leaflet-popup-content { font: 1rem/1.5 var(--sans); }
.explore-map a { text-decoration: underline; }
.explore-map .leaflet-control-zoom a { text-decoration: none; }
.explore-pin {
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  box-shadow: 0 2px 5px rgb(37 26 22 / 36%);
  font: 700 .8rem/1 var(--sans);
}
.office-house { color: var(--navy); font: 700 1.1em/1 system-ui, sans-serif; }
.explore-pin-office { background: var(--light-brass); }
.explore-pin-office .office-house { font-size: 19px; }
.map-directory { padding: 23px; }
.map-directory h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.map-list, .neighborhood-stops { margin: 13px 0 0; padding: 0; list-style: none; }
.map-list li, .neighborhood-stops li {
  display: flex;
  gap: 5px 12px;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 7px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.map-list li:last-child, .neighborhood-stops li:last-child { border-bottom: 0; }
.map-list span, .neighborhood-stops span, .spot-address { color: var(--muted); font-size: 1rem; }
.map-list a, .map-list button, .neighborhood-stops a { font-weight: 700; color: var(--navy); }
.map-list button { min-height: 30px; text-align: left; }
.explore-page button.text-link, .map-list button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.map-list a:hover, .map-list button:hover, .neighborhood-stops a:hover, .explore-meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#map-fallback { margin-top: 10px; color: var(--muted); font-size: 1rem; }
#map-fallback a, .explore-end p a { text-decoration: underline; text-underline-offset: 3px; }
.explore-cards-section { margin-top: clamp(32px, 5vw, 60px); }
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.explore-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: clamp(20px, 2.3vw, 29px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  overflow-wrap: anywhere;
}
.explore-card:target { outline: 2px solid var(--navy); outline-offset: 2px; }
.explore-card h2, .explore-card h3 { font-size: clamp(1.85rem, 2.85vw, 2.75rem); }
.explore-card > p:not(.explore-meta) { color: var(--muted); }
.explore-meta { color: var(--navy); font-size: 1rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.explore-links { display: flex; gap: 4px 17px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.explore-links .text-link { display: inline-flex; min-height: 34px; align-items: center; }
.spot-filters { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-bottom: 22px; }
#spot-count { margin-left: auto; padding: 8px 0; font-size: 1rem; color: var(--muted); }
.explore-end {
  display: flex;
  gap: 14px 25px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 29px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.explore-end p { font-size: 1rem; color: var(--muted); }

@media (max-width: 980px) {
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .explore-grid, .explore-map-layout { grid-template-columns: 1fr; }
  .map-directory { padding: 18px 20px; }
  #spot-count { flex-basis: 100%; margin-left: 0; padding: 0; }
}
