/* Only the directory and The Ridge map sections; catalog photos and other detail pages stay intact. */
/* Updating a focused map's summary must not anchor the document to content below it. */
html:has(.sr-map-designed:focus-within),html:has(.sr-neighborhood:focus-within){overflow-anchor:none}
.sr-map-context{margin:-8px 0 18px;font:14px/1.6 var(--sans);color:#66583f}
.sr-map-context span{color:#737068}
.sr-map-designed{--map-ink:#262724;--map-gold:#725b38;--map-line:#d8d0c2;align-items:start}
.sr-map-designed .sr-map-stage{min-width:0}
.sr-map-designed .sr-map-canvas{overflow:hidden}
.sr-map-designed .sr-map-pin.sr-symbol-pin{border:2px solid #fff;background:#262724;color:#fff;box-shadow:0 1px 6px #0005}
.sr-map-designed .sr-symbol-pin.is-selected{background:#725b38;outline:3px solid #725b38;outline-offset:3px}
.sr-map-designed .sr-symbol-pin.is-selected::after{content:'✓';position:absolute;right:-5px;top:-7px;background:#fff;border-radius:50%;color:#4a3820;font:700 12px/17px var(--sans);width:17px;height:17px;text-align:center}
.sr-map-designed .sr-map-pin.sr-anchor-pin{background:#725b38;border-radius:5px;border:3px solid #fff}
.sr-map-designed .sr-map-pin.sr-work-pin{background:#fff;color:#262724;border:2px solid #262724;border-radius:5px}
.sr-map-designed .sr-map-name{border:1px solid #c9c1b3;border-radius:3px;padding:5px 8px;background:#fffdf8;color:#262724;box-shadow:0 1px 4px #0002;white-space:normal;width:max-content;max-width:170px;text-align:center;font:600 13px/1.35 var(--sans);pointer-events:none}
.sr-map-designed .sr-map-name.sr-label-hidden{visibility:hidden!important}
.sr-map-designed .sr-map-name:has(button){pointer-events:auto;padding:0}
.sr-map-designed .sr-map-name-button{display:block;border:0;padding:6px 8px;background:transparent;color:inherit;font:inherit;line-height:inherit;max-width:100%;text-align:center;cursor:pointer}
.sr-map-designed .sr-map-name::before{display:none}
.sr-map-designed .sr-work-name{background:#262724;color:#fff;border-color:#262724}
.sr-map-designed .sr-map-north{background:#fffdf8d9;padding:5px 8px;border:1px solid #c9c1b3;color:#262724;font:600 12px/1.5 var(--sans)}
.sr-map-designed .sr-map-key{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:10px 0;border-bottom:1px solid var(--map-line);font:12px/1.5 var(--sans);color:#514b40}
.sr-map-designed .sr-map-key span{display:inline-flex;align-items:center;gap:5px}
.sr-map-designed .sr-map-key [hidden]{display:none}
.sr-map-designed .sr-map-key svg{width:17px;height:17px;flex-shrink:0}
.sr-map-designed [data-map-reset],.sr-map-designed [data-map-drag]{min-height:44px;border:1px solid var(--map-line);background:transparent;color:var(--map-ink);padding:7px 12px;font:13px/1.4 var(--sans);cursor:pointer}
.sr-map-designed [data-map-reset]{margin-left:auto}
.sr-map-designed [data-map-drag][aria-pressed=true]{background:var(--map-ink);color:#fff}
.sr-map-designed .sr-map-key [data-map-drag]{display:none}
.sr-map-designed :is(button,a,select):focus-visible{outline:2px solid var(--map-gold);outline-offset:3px}
.sr-directory .sr-map-designed .sr-map-canvas{height:558px;border-radius:0}
.sr-directory .sr-map-designed .sr-map-list{max-height:650px;gap:0;background:transparent;padding:0 4px 0 0}
.sr-directory .sr-map-designed .sr-map-list article[data-map-place]{grid-template-columns:92px minmax(0,1fr);padding:12px;gap:4px 14px;border:0;border-bottom:1px solid var(--map-line);border-radius:0;min-height:120px;background:transparent;cursor:pointer}
.sr-directory .sr-map-designed .sr-map-list article:not(:has(.sr-map-thumb)){grid-template-columns:1fr}
.sr-directory .sr-map-designed .sr-map-list article.is-selected{background:#eee7da;box-shadow:inset 3px 0 #725b38}
.sr-directory .sr-map-thumb{width:92px;height:76px;object-fit:cover;grid-column:1;grid-row:1/4;align-self:start;margin-top:3px}
.sr-directory .sr-map-designed .sr-map-list article:has(.sr-map-thumb)>:not(img){grid-column:2}
.sr-directory .sr-map-designed .sr-map-list button{min-height:44px;gap:3px}
.sr-directory .sr-map-designed .sr-map-list strong{font:22px/1.25 var(--serif)}
.sr-directory .sr-map-designed .sr-map-list .sr-map-intro{font:13px/1.5 var(--sans);color:#605a51;margin:0}
.sr-directory .sr-map-designed .sr-map-list .sr-map-unlocated{font:12px/1.4 var(--sans);color:#766748;margin:0}
.sr-directory .sr-map-designed .sr-map-list a{min-height:36px;border:0;text-decoration:underline;text-underline-offset:4px}
.sr-neighborhood .sr-map-layout{border:0;gap:24px;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr)}
.sr-neighborhood .sr-map-canvas{height:440px}
.sr-map-anchor-note{font:14px/1.6 var(--sans);color:#605a51;margin:16px 0 8px}
.sr-neighborhood .sr-place-filters{gap:6px;margin:16px 0}
.sr-neighborhood .sr-place-filters button{display:inline-flex;align-items:center;gap:7px;border:1px solid #d8d0c2;font-size:14px}
.sr-neighborhood .sr-place-filters svg{width:18px;height:18px}
.sr-neighborhood .sr-map-list{max-height:510px;background:transparent}
.sr-neighborhood .sr-map-list article[data-map-place]{padding:16px 14px;border-bottom:1px solid #d8d0c2}
.sr-neighborhood .sr-map-list small{display:flex;align-items:center;gap:6px;font-size:12px}
.sr-neighborhood .sr-map-list small svg{width:18px;height:18px}
.sr-neighborhood .sr-map-list strong{font:22px/1.35 var(--serif)}
.sr-neighborhood-mobile{display:none}
@media(max-width:1100px) and (min-width:901px){.sr-directory .sr-map-designed .sr-map-list article[data-map-place]{grid-template-columns:72px minmax(0,1fr);gap:4px 10px}.sr-directory .sr-map-thumb{width:72px;height:64px}}
@media(max-width:900px){
 .sr-directory .sr-map-designed .sr-map-canvas{height:clamp(280px,40svh,380px)}
 .sr-directory .sr-map-designed .sr-map-list{display:none;max-height:none;overflow:visible}
 .sr-directory .sr-map-designed .sr-map-key [data-map-drag]{display:inline-flex;align-items:center}
 .sr-directory .sr-map-mobile{gap:6px}
 .sr-directory .sr-map-mobile .sr-map-summary{order:-1;padding:12px 0;min-height:118px}
 .sr-directory .sr-map-mobile label{margin-top:8px}
 .sr-directory .sr-map-designed .sr-map-name{max-width:126px;font-size:12px}
}
@media(max-width:700px){
 .sr-map-context{font-size:12px;margin:-6px 0 12px}
 .sr-map-context span{display:block}
 .sr-map-designed .sr-map-key{gap:6px 10px;padding:8px 0}
 .sr-map-designed .sr-map-key [data-map-reset]{margin-left:0}
 .sr-map-designed .leaflet-control-zoom a{width:44px;height:44px;line-height:44px}
 .sr-neighborhood .sr-map-layout{grid-template-columns:1fr;gap:8px}
 .sr-neighborhood .sr-map-canvas{height:clamp(280px,38svh,350px);touch-action:pan-y!important}
 .sr-neighborhood .is-map-interactive .sr-map-canvas{touch-action:none!important}
 .sr-neighborhood .sr-map-key [data-map-drag]{display:inline-flex;align-items:center}
 .sr-neighborhood .sr-map-list{max-height:none;overflow:visible}
 .sr-neighborhood .sr-map-list article[data-map-place]{padding:12px 0}
 .sr-neighborhood .sr-map-list strong{font-size:19px}
 .sr-neighborhood .sr-map-list article.is-selected{padding-left:12px}
 .sr-neighborhood .sr-map-name{max-width:130px;font-size:12px}
 .sr-neighborhood .sr-place-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .sr-neighborhood .sr-place-filters button{justify-content:center;font-size:12px;padding:8px 4px;gap:4px}
 .sr-neighborhood-mobile{display:block}
 .sr-neighborhood .sr-map-summary{padding:14px 12px;background:#eee7da;border-left:3px solid #725b38;min-height:130px}
 .sr-neighborhood .sr-map-summary h3{font:23px/1.3 var(--serif);margin:0 0 4px;overflow-wrap:anywhere}
 .sr-neighborhood .sr-map-summary p{font:13px/1.5 var(--sans);margin:0}
 .sr-neighborhood .sr-map-summary a{display:inline-flex;min-height:44px;align-items:center;font:14px/1.4 var(--sans);color:#725b38;text-underline-offset:4px}
 .sr-map-anchor-note{font-size:13px}
}
