/* One map, mobile presentation only. Desktop and the global background are untouched. */
@media (max-width: 820px) {
  #local { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; padding: max(6.5rem, calc(env(safe-area-inset-top) + 5.5rem)) clamp(.875rem, 4vw, 1.5rem) 1.25rem; }
  #local::before { content: none; }
  #local .location-copy { width: 100%; text-align: center; }
  #local .location-copy .eyebrow { margin: 0 0 .65rem; }
  #local .location-copy .eyebrow::before { margin: 0 auto .9rem; }
  #local .location-copy h2 { margin-bottom: 0; }
  #local .location-copy > p:not(.eyebrow) { display: none; }
  #local .map-frame { width: 100%; min-width: 0; min-height: 0; height: clamp(24.44rem, 61.1svh, 35.72rem); border-radius: 1.65rem; box-shadow: 0 16px 42px rgba(18,48,115,.09); }
  #local .location-details { position: relative; z-index: 1; width: min(40rem, 100%); margin: 0 auto; padding: .15rem .25rem 0; transition-duration: .45s; }
  #local .address-card { align-items: flex-start; gap: .75rem; margin: 0 0 1.1rem; }
  #local .address-icon { width: 2.4rem; height: 2.4rem; border-radius: .85rem; background: rgba(244,255,245,.55); }
  #local .address-icon svg { width: 1.3rem; }
  #local .address-card strong { font-size: .9rem; line-height: 1.4; }
  #local .address-card small { font-size: .8rem; line-height: 1.5; }
  #local .location-button { width: 100%; min-width: 0; min-height: 3.1rem; }
  #local .local-map-filters { left: .65rem; right: .65rem; bottom: .75rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem; width: auto; max-width: none; padding: .3rem; overflow: visible; white-space: normal; border-color: rgba(255,255,255,.72); border-radius: 1.2rem; background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(241,247,255,.75)); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 8px 24px rgba(18,48,115,.12); transform: none; touch-action: pan-y pinch-zoom; }
  #local .local-map-filters[hidden] { display: grid; visibility: hidden; pointer-events: none; }
  #local .local-map-filters button { flex-direction: column; gap: .25rem; min-width: 0; min-height: 54px; padding: .35rem .1rem; border-radius: .85rem; font-size: clamp(.63rem, 2.65vw, .72rem); line-height: 1.15; white-space: nowrap; }
  #local .local-map-filters button svg { width: 1.15rem; height: 1.15rem; }
  #local .local-map-filters button[aria-pressed="true"] { color: #174e34; border-color: rgba(69,199,79,.26); background: rgba(82,197,80,.14); box-shadow: none; }
  #local .local-map-filters button:hover { background: rgba(82,197,80,.1); }
  #local .local-map-filters button[aria-pressed="true"]:hover { background: rgba(82,197,80,.18); }
  #local .local-interactive-map .leaflet-top.leaflet-right .leaflet-control { margin-right: .65rem; }
  #local .local-interactive-map .local-map-recenter { margin-top: .65rem; border-radius: .85rem; box-shadow: 0 5px 16px rgba(18,48,115,.1); }
  #local .local-interactive-map .leaflet-control-zoom { margin-top: .45rem; border-radius: .85rem; box-shadow: 0 5px 16px rgba(18,48,115,.1); }
  #local .local-interactive-map .local-map-recenter button, #local .local-interactive-map .leaflet-control-zoom a { width: 44px; height: 44px; background: rgba(255,255,255,.91); }
  #local .local-interactive-map .leaflet-control-zoom a { line-height: 44px; }
  #local .local-interactive-map .leaflet-control-attribution { max-width: calc(100% - 4.8rem); margin: .55rem 0 0 .55rem !important; font-size: .6rem; }
  #local .local-place-popup { width: 100%; padding: 0; overflow-wrap: anywhere; }
  #local .local-place-popup small { font-size: .64rem; }
  #local .local-place-popup strong { margin-right: 1.3rem; font-size: .9rem; line-height: 1.3; }
  #local .local-place-route { font-size: .68rem; }
  #local .local-map-popup .leaflet-popup-content { margin: .65rem .75rem; }
  #local .local-map-popup .local-place-popup a { width: 100%; min-height: 44px; font-size: .75rem; }
  .site-footer { margin-top: 0; padding: .35rem clamp(.875rem, 4vw, 1.5rem) max(.9rem, env(safe-area-inset-bottom)); }
  .site-footer .footer-inner { width: min(40rem, 100%); grid-template-columns: minmax(0, 1fr); justify-items: stretch; gap: .35rem .65rem; padding: .8rem 0 0; text-align: left; border-top-color: transparent; font-size: .625rem; }
  .site-footer .footer-brand { grid-area: 1 / 1 / 2 / -1; justify-self: center; gap: .5rem; }
  .site-footer .footer-brand img { width: 1.6rem; height: 1.6rem; }
  .site-footer .footer-brand span { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .4rem; }
  .site-footer .footer-brand strong, .site-footer .footer-brand small { font-size: .66rem; }
  .site-footer .footer-inner > p { display: block; margin: 0; }
  .site-footer .footer-inner > p:first-of-type { display: none; }
  .site-footer .footer-inner > p:last-child { grid-area: 2 / 1; justify-self: center; white-space: nowrap; }
}
