
.map-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.7rem 1rem; margin-bottom:.55rem; }
.map-bar h3 { margin:0; font:normal clamp(22px,3vw,30px)/1.2 Georgia,serif; color:var(--wine); }
.map-mode { display:flex; gap:.35rem; }
.map-mode button { font:inherit; padding:.42rem .7rem; border:1px solid var(--line); border-radius:5px; color:var(--teal); background:#fffaf0; cursor:pointer; }
.map-mode button[aria-pressed="true"] { background:var(--teal); border-color:var(--teal); color:white; }
.map-plot { position:relative; width:100%; aspect-ratio:1260 / 820; overflow:hidden; background:#f0ead8; border:1px solid var(--line); }
.map-plot img,.map-lines { position:absolute; width:100%; height:100%; inset:0; display:block; pointer-events:none; }
.map-plot img { filter:saturate(.68); border-radius:0; box-shadow:none; }
.map-pin { position:absolute; z-index:2; transform:translate(-50%,-50%); width:33px; height:33px; display:grid; place-items:center; padding:0; background:var(--pin-color); color:#fff; border:2px solid #fffdf5; border-radius:50%; box-shadow:0 1px 4px #2d27246b; cursor:pointer; }
.map-pin .ico { width:17px; height:17px; margin:0; }
.map-pin[aria-pressed="true"], .map-pin:focus-visible { outline:2px solid var(--ink); outline-offset:1px; z-index:4; }
.map-lines { overflow:visible; }
.map-lines line { stroke:#625d50; stroke-width:1.1; }
.map-lines circle { fill:#fffdf5; stroke:#625d50; stroke-width:1.3; }
.map-legend { display:flex; flex-wrap:wrap; gap:.3rem 1rem; padding:.65rem 0 .55rem; font-size:.84rem; }
.map-legend span { display:inline-flex; align-items:center; gap:.25rem; }
.map-legend .ico { color:var(--pin-color); }
.map-context { min-height:5.9rem; padding:.68rem .85rem; background:#fffaf0; border-left:3px solid var(--teal); margin:.22rem 0 .5rem; }
.map-context h3,.map-context p { margin:.1rem 0 .2rem; }
.map-context h3 { font-size:1rem; }
.map-context p { font-size:.92rem; }
.map-attribution { font-size:.8125rem; color:#514d43; margin:.3rem 0 0; }
.ico { width:1.1em; height:1.1em; display:inline-block; vertical-align:-.16em; margin-right:.22em; }
.timing .ico { margin-right:.28em; }
@media(max-width:650px) {
 .map-pin { width:27px; height:27px; }
 .map-pin .ico { width:14px; height:14px; }
 .map-context { min-height:6.6rem; }
}
@media print { .map-mode,.map-context { display:none; } .map-pin { print-color-adjust:exact; } }

.nearby { padding:clamp(3rem,7vw,6rem) 0; border-bottom:1px solid var(--line); }
.nearby .nearby-heading h2 { margin-bottom:0; }
.nearby .nearby-heading { margin-bottom:2rem; }
.nearby .map-bar,.nearby .map-context,.nearby .map-legend,.nearby .map-attribution,.nearby .nearby-estimate { font-family:system-ui,sans-serif; }
.nearby [hidden] { display:none; }
.nearby a { text-decoration:underline; text-underline-offset:.17em; }
.nearby .map-context { min-height:5.75rem; }
.nearby .map-context p { color:var(--muted); }
.nearby .map-context h4 { margin:.15rem 0; }
.nearby-picks { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.3rem; margin:1.8rem 0 .5rem; padding:1.15rem 0; border-block:1px solid var(--line); }
.nearby-picks h3 { margin:0 0 .35rem; font-size:1.15rem; color:var(--wine); }
.nearby-picks p { margin:0; font:600 .9rem/1.45 system-ui,sans-serif; color:var(--teal); }
.nearby-estimate { margin:.5rem 0 1.7rem; color:var(--muted); font-size:.88rem; }
.nearby-directory > summary { cursor:pointer; font:600 1rem/1.5 system-ui,sans-serif; color:var(--wine); padding:.65rem 0; }
.nearby-group { padding-top:.8rem; margin-top:1rem; border-top:1px solid var(--line); }
.nearby-group h3 { margin:.4rem 0 .7rem; font:normal 1.55rem Georgia,serif; color:var(--wine); }
.nearby-group ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:2rem; padding:0; margin:0; list-style:none; }
.nearby-group li { padding:.7rem 0; border-bottom:1px solid var(--line); }
.nearby-group h4 { margin:0; font:600 1.02rem/1.45 system-ui,sans-serif; }
.nearby-group p { margin:.28rem 0; font-size:1rem; }
.nearby-group .links,.nearby-group .address { font:normal .91rem/1.5 system-ui,sans-serif; color:var(--muted); }
.nearby-group small { display:inline-flex; align-items:center; margin-left:.5rem; font-size:.88rem; color:var(--wine); }
.nearby-group li:target { outline:2px solid var(--teal); outline-offset:5px; }
@media(max-width:700px) { .nearby-picks { grid-template-columns:repeat(2,minmax(0,1fr)); } .nearby-group ul { grid-template-columns:1fr; } }

@media(min-width:900px) {
 .nearby-map-layout:has(.map-context:not([hidden])) { display:grid; grid-template-columns:minmax(0,3.25fr) minmax(0,1fr); gap:1.15rem; align-items:start; }
 .nearby-map-layout .map-context { margin:0; }
}
