/* Place map (assets/place-map.js): the map, the list of the closest places beside it, and the pins.
   Colors come from the page's own variables where it has them (the national pages), with light fallbacks. */
.placemap[hidden],.placemap [hidden]{display:none}
.placemap{margin:14px 0 22px}
.pm-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 8px}
.pm-locate{font:inherit;font-weight:700;min-height:44px;padding:8px 16px;border-radius:8px;border:2px solid var(--green,#175738);background:var(--green,#175738);color:#fff;cursor:pointer}
.pm-locate:hover{filter:brightness(1.12)}
.pm-status{font-size:.95rem}
.pm-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
.pm-map{height:min(64vh,560px);min-height:340px;border-radius:10px;border:1px solid var(--line,#c7d1c4);background:#dfe7e1;z-index:0}
.pm-map:focus-visible,.pm-name:focus-visible,.pm-acts a:focus-visible,.pm-locate:focus-visible{outline:3px solid #b35400;outline-offset:2px}
.pm-note{font-size:.85rem;color:var(--soft,#4d5a52);margin:6px 0 0;max-width:none}
.pm-side{max-height:min(64vh,560px);min-height:200px;overflow:auto;border:1px solid var(--line,#c7d1c4);border-radius:10px;padding:4px 12px 10px;background:var(--card,#fff);overscroll-behavior:contain}
.pm-head{font-size:1.05rem;margin:8px 0 2px}
.pm-count{font-size:.88rem;color:var(--soft,#4d5a52);margin:0 0 4px}
.pm-list{list-style:none;margin:0;padding:0}
.pm-hit{padding:8px 0;border-top:1px solid var(--line,#dde3da);max-width:none}
.pm-name{all:unset;box-sizing:border-box;display:block;width:100%;min-height:44px;padding:4px 2px;cursor:pointer;font-weight:700;line-height:1.3;color:var(--link,#175738);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.pm-name[aria-pressed=true]{background:var(--mint,#e4efe6);border-radius:6px}
.pm-sub{display:block;font-size:.9rem;line-height:1.4;color:var(--soft,#4d5a52);overflow-wrap:anywhere}
.pm-acts{display:flex;flex-wrap:wrap;gap:0 14px;margin:2px 0 0}
.pm-acts a{display:inline-flex;align-items:center;min-height:44px;font-size:.92rem;font-weight:600}
.pm-vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.placemap .leaflet-container{font:15px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif}
.placemap .leaflet-bar a{width:40px;height:40px;line-height:40px;font-size:20px}
.placemap .leaflet-popup-content{margin:12px 14px}.placemap .leaflet-popup-content a{color:var(--link,#175738)}
.placemap .leaflet-popup-content-wrapper,.placemap .leaflet-popup-tip{background:var(--card,#fff);color:var(--ink,#183429)}
.pm-pop span{font-size:.9rem}.pm-pop .pm-pnote{color:var(--soft,#4d5a52)}
.pm-pop .pm-acts{margin:4px 0 0}
.pm-pin{box-sizing:border-box;border-radius:50%;background:#1d6b47;border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.45)}
.pm-pin:focus-visible{outline:3px solid #b35400;outline-offset:2px}
.placemap .marker-cluster{background:rgba(29,107,71,.28);border-radius:50%}
.placemap .marker-cluster div{background:rgba(23,72,50,.92);color:#fff;font-weight:700;width:30px;height:30px;margin:5px;border-radius:50%;text-align:center;line-height:30px;font-size:13px}
.placemap .marker-cluster-large div{background:rgba(140,60,10,.92)}
.placemap .marker-cluster:focus-visible{outline:3px solid #b35400;outline-offset:2px}
tr:target>*{background:var(--note,#fff4dc)}
@media (max-width:820px){.pm-body{grid-template-columns:1fr}.pm-map{height:52vh;min-height:300px}.pm-side{max-height:none}}
@media print{.placemap{display:none}}
/* Pages with a dark theme mark their map .pm-dark; the street pictures are darkened to match. */
@media (prefers-color-scheme:dark){.pm-dark .pm-map{background:#26312b}.pm-dark .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.92) contrast(.92)}
.pm-dark .pm-map:focus-visible,.pm-dark .pm-name:focus-visible,.pm-dark .pm-acts a:focus-visible,.pm-dark .pm-locate:focus-visible{outline-color:#f0b46a}
.pm-dark .pm-name[aria-pressed=true]{background:#24402f}}
