.map-shell { max-width:1440px; margin:0 auto; padding-inline:clamp(20px,4.3vw,70px); }
.map-breadcrumb { display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; padding:26px 0; color:#52615a; font-size:13px; }
.map-breadcrumb a, .map-intro-link, .map-results-heading a, .map-source-link { text-decoration:underline; text-underline-offset:4px; }
.map-intro { display:flex; justify-content:space-between; align-items:end; gap:2rem; padding:2.3rem 0 3.5rem; }
.map-intro h1 { font:400 clamp(2.8rem, 5.3vw, 5.4rem)/.98 Georgia,serif; letter-spacing:-.035em; margin:0 0 1.4rem; max-width:14ch; text-wrap:balance; }
.map-intro h1 em { color:#995037; }
.map-intro p { max-width:58ch; margin:0; color:#52615a; font-size:15px; line-height:1.8; }
.map-intro-link { flex-shrink:0; padding:1rem 0; font-size:14px; font-weight:700; }
.map-explorer { border-top:1px solid #c7cec5; border-bottom:1px solid #c7cec5; padding:2.3rem 0 2.5rem; }
.map-layout { display:grid; grid-template-columns:minmax(0,1.85fr) minmax(260px,.75fr); gap:clamp(1.3rem,3vw,3rem); }
.map-visual,.map-destinations { min-width:0; }
.map-section-head h2,.map-aside-top h2 { font:400 clamp(1.7rem,2.2vw,2.2rem)/1.15 Georgia,serif; margin:0 0 .55rem; }
.map-section-head p,.map-aside-top p { color:#52615a; font-size:14px; line-height:1.6; margin:0 0 1.4rem; }
.map-frame { position:relative; min-height:480px; background:#e4e9e0; }
#map { height:480px; width:100%; background:#e4e9e0; z-index:0; }
.map-status { position:absolute; z-index:500; inset-block-start:1rem; inset-inline-end:1rem; max-width:min(80%,25rem); margin:0; padding:.75rem 1rem; background:#fffdf7; color:#20312e; font-size:13px; line-height:1.45; box-shadow:0 3px 15px #20312e29; }
.map-disclaimer { color:#52615a; font-size:13px; line-height:1.6; max-width:75ch; margin:1rem 0 0; }
.map-attribution { margin:.35rem 0 0; color:#52615a; font-size:12px; line-height:1.5; }
.map-attribution a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.destination-list { list-style:none; margin:0; padding:0; border-top:1px solid #c7cec5; max-height:480px; overflow:auto; }
.destination-list li { margin:0; padding:0; }
.destination-button { width:100%; min-height:48px; display:flex; justify-content:space-between; gap:1rem; align-items:center; padding:.75rem .2rem; border:0; border-bottom:1px solid #c7cec5; color:#20312e; background:transparent; text-align:left; font:inherit; font-size:14px; }
.destination-button:hover { color:#995037; }
.destination-button[aria-pressed="true"] { color:#163a35; font-weight:700; }
.destination-button[aria-pressed="true"] .destination-name { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:5px; }
.destination-number { display:grid; place-items:center; width:30px; height:30px; flex:0 0 30px; border:1px solid #b3c1b7; border-radius:50%; font-size:12px; }
.destination-button[aria-pressed="true"] .destination-number { background:#163a35; color:white; border-color:#163a35; }
.map-pin { background:transparent; border:0; }
.map-pin span { width:38px; height:38px; display:grid; place-items:center; border:2px solid white; border-radius:50%; background:#163a35; color:white; font:700 12px Arial,sans-serif; box-shadow:0 3px 8px #20312e55; }
.map-pin.is-selected span { background:#a1543c; transform:scale(1.12); }
.map-pin:focus-visible { outline:3px solid #995037; outline-offset:4px; border-radius:50%; }
.map-results { padding:5rem 0 6rem; }
.map-results-heading { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.map-results-heading h2 { font:400 clamp(2.4rem, 4vw, 4rem)/1.05 Georgia,serif; letter-spacing:-.035em; margin:0 0 .5rem; }
.map-results-heading p { color:#52615a; margin:0; }
.map-results-heading a { font-size:14px; font-weight:700; padding:.7rem 0; }
.map-search { margin:2rem 0 1rem; padding:1.3rem 0; border-top:1px solid #c7cec5; border-bottom:1px solid #c7cec5; }
.map-search label { display:block; font-weight:700; font-size:13px; margin-bottom:.5rem; }
.map-search-row { display:flex; gap:.65rem; flex-wrap:wrap; }
.map-search input { flex:1 1 280px; min-width:0; min-height:50px; font:inherit; font-size:16px; padding:.7rem 1rem; border:1px solid #718179; background:#fffdf7; color:#20312e; }
.map-search button,.map-more { min-height:50px; border:1px solid #163a35; padding:.75rem 1.3rem; font:700 14px Arial,sans-serif; color:white; background:#163a35; }
.map-search button:hover,.map-more:hover { background:#285b50; }
.map-search #map-reset { background:transparent; color:#20312e; border-color:#718179; }
.map-search #map-reset:hover { background:#e4e9e0; }
.map-count { color:#52615a; font-size:14px; margin:1.4rem 0; }
.map-tour-list { list-style:none; padding:0; margin:0; border-top:1px solid #c7cec5; }
.map-tour { display:flex; align-items:end; justify-content:space-between; gap:1rem; padding:1.3rem 0; border-bottom:1px solid #c7cec5; }
.map-tour-text { min-width:0; }
.map-tour-category { font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:#855340; font-weight:700; margin:0 0 .45rem; }
.map-tour-title { font:400 clamp(1.35rem,1.9vw,1.9rem)/1.15 Georgia,serif; margin:0; overflow-wrap:anywhere; }
.map-tour-title a:hover { text-decoration:underline; text-underline-offset:4px; }
.map-tour-place { color:#52615a; font-size:13px; line-height:1.5; margin:.6rem 0 0; }
.map-tour-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1.2rem; flex-shrink:0; }
.map-tour-actions a { font-size:13px; font-weight:700; padding:.7rem 0; }
.map-tour-main { text-decoration:underline; text-underline-offset:4px; }
.map-more { margin-top:2rem; }
.map-source-note { margin:3rem 0 0; padding-top:1rem; border-top:1px solid #c7cec5; color:#52615a; font-size:13px; line-height:1.6; }
.map-noscript { padding:1rem; background:#e4e9e0; }
.map-footer { background:#163a35; color:white; padding:3rem 0; }
.map-footer .map-shell { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:start; gap:2rem; }
.map-footer strong { font:400 2rem Georgia,serif; }
.map-footer p { color:#d8e5da; font-size:14px; }
.map-footer nav { display:flex; flex-wrap:wrap; gap:1.2rem; font-size:14px; }
.map-shell :focus-visible { outline:3px solid #995037; outline-offset:3px; }
@media(max-width:900px) {
  .map-layout { grid-template-columns:minmax(0,1fr); }
  .destination-list { max-height:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 1rem; }
  #map,.map-frame { min-height:400px; height:400px; }
}
@media(max-width:550px) {
  .map-intro { flex-direction:column; align-items:start; gap:1rem; padding:1.5rem 0 2rem; }
  .map-intro h1 { font-size:clamp(2.8rem,10vw,3.5rem); }
  .map-intro-link { padding:.3rem 0; }
  .map-explorer { padding:1.7rem 0; }
  .destination-list { grid-template-columns:minmax(0,1fr); max-height:340px; }
  #map,.map-frame { min-height:340px; height:340px; }
  .map-results { padding:3.5rem 0 4rem; }
  .map-search-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .map-search-row input { grid-column:1 / -1; width:100%; }
  .map-tour { align-items:start; flex-direction:column; }
}
@media(prefers-reduced-motion:reduce) { .map-pin span { transition:none; } }
.destination-fieldset { border:0; padding:0; margin:0; min-width:0; }
.destination-list li { position:relative; }
.destination-input { position:absolute; inline-size:1px; block-size:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
label.destination-button { cursor:pointer; }
.destination-input:checked + .destination-button { color:#163a35; font-weight:700; }
.destination-input:checked + .destination-button .destination-name { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:5px; }
.destination-input:checked + .destination-button .destination-number { background:#163a35; color:white; border-color:#163a35; }
.destination-input:focus-visible + .destination-button { outline:3px solid #995037; outline-offset:-3px; }
.map-view-controls { display:flex; gap:.6rem; flex-wrap:wrap; margin:0 0 .8rem; }
.map-view-controls button { min-height:44px; padding:.65rem 1rem; border:1px solid #718179; color:#20312e; background:transparent; font:700 13px Arial,sans-serif; }
.map-view-controls button:hover { background:#e4e9e0; }
.map-popup { color:#20312e; min-width:190px; font-size:13px; line-height:1.5; }
.map-popup strong { font-size:15px; }
.map-popup p { margin:.45rem 0; }

/* Illustrated destinations remain ordinary keyboard-operable controls. */
.map-frame { min-height:540px; background:#e5e9dc; }
#map { height:540px; }
.map-art-marker { display:flex; flex-direction:column; align-items:center; justify-content:flex-end; position:relative; width:102px; min-height:70px; padding:0; border:0; background:transparent; color:#163a35; cursor:pointer; text-align:center; font-family:Arial,sans-serif; }
.map-art-marker:focus-visible { outline:3px solid #8b3f2c; outline-offset:4px; border-radius:8px; }
.map-art-image { display:block; width:90px; height:85px; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 5px 4px #1d302a50); transition:scale .2s ease-out; pointer-events:none; }
.map-art-marker:hover .map-art-image,.map-art-marker.is-selected .map-art-image { scale:1.08; }
.map-art-name { position:relative; z-index:1; display:block; max-width:125px; padding:.28rem .48rem; border:1px solid #d0c8b5; border-radius:3px; background:#fffdf5; color:#1c3b34; font-weight:700; font-size:11px; line-height:1.2; white-space:nowrap; box-shadow:0 3px 9px #1c32231f; }
.map-art-count { position:absolute; right:4px; top:3px; display:grid; place-items:center; min-width:27px; height:27px; padding:0 .2rem; border:2px solid #fffdf5; border-radius:50%; background:#a2523c; color:white; font-size:11px; font-weight:700; }
.map-art-marker.is-selected .map-art-name { background:#163a35; border-color:#163a35; color:#fffdf5; }
.map-art-marker.no-art { width:auto; min-width:48px; min-height:44px; padding:0; }
.map-art-marker.no-art .map-art-name { max-width:120px; padding:.35rem .5rem .35rem 1.6rem; }
.map-art-marker.no-art .map-art-count { top:50%; left:2px; right:auto; transform:translateY(-50%); min-width:23px; height:23px; font-size:10px; }
.map-overview .map-art-marker:not(.is-selected) .map-art-image { width:80px; height:76px; }
.map-overview .map-art-marker:not(.is-selected) { width:94px; min-height:70px; }
.map-overview .map-art-marker:not(.is-selected) .map-art-name { font-size:10px; }
.map-overview .map-art-marker.no-art:not(.is-selected) { width:auto; }
.map-region-hidden { display:none !important; }
.map-art-marker.is-region-cluster .map-art-count { display:none; }
.route-stop { display:grid; place-items:center; width:26px; height:26px; border:2px solid white; border-radius:50%; background:#a3523d; color:white; font:700 12px Arial,sans-serif; box-shadow:0 2px 7px #20312e55; }
.map-frame.has-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,300px); }
.map-frame.map-unavailable,.map-frame.map-unavailable.has-card { display:block; min-height:0; }
.map-frame.map-unavailable .map-status { position:relative; inset:auto; max-width:none; }
.map-detail-card { position:relative; z-index:4; width:auto; min-width:0; max-height:540px; overflow:auto; padding:1.25rem; background:#fffdf7; color:#20312e; box-shadow:0 7px 22px #173b3426; }
.map-detail-card[hidden] { display:none; }
.map-card-head { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:.5rem; }
.map-card-overline { color:#86503c; font-size:.68rem; font-weight:700; letter-spacing:.09em; }
.map-card-close { display:grid; place-items:center; width:36px; height:36px; border:1px solid #c5ccc1; background:transparent; color:#20312e; font-size:25px; line-height:1; cursor:pointer; }
.map-card-title { margin:0 0 .8rem; color:#163a35; font:400 1.65rem/1.12 Georgia,serif; overflow-wrap:anywhere; }
.map-card-photo { display:block; width:100%; height:135px; object-fit:cover; margin:.8rem 0; background:#e5e9dc; }
.map-card-subtitle,.map-card-note { margin:.7rem 0; font-size:.82rem; line-height:1.55; color:#42564e; }
.map-card-facts { margin:1rem 0; font-size:.81rem; line-height:1.5; }
.map-card-facts div { padding:.5rem 0; border-bottom:1px solid #e2e2d8; }
.map-card-facts dt { font-weight:700; }
.map-card-facts dd { margin:.12rem 0 0; }
.map-card-options,.map-card-stops { margin:.8rem 0 0; padding:0; list-style:none; }
.map-card-options li { border-top:1px solid #dedfd4; }
.map-card-option { width:100%; min-height:44px; padding:.7rem 0; border:0; background:transparent; color:#163a35; cursor:pointer; text-align:left; font:600 .83rem/1.4 Arial,sans-serif; }
.map-card-option:hover,.map-card-back:hover { color:#a0523c; text-decoration:underline; text-underline-offset:.2rem; }
.map-card-stops { list-style:decimal; padding-left:1.25rem; font-size:.81rem; line-height:1.5; }
.map-card-stops li+li { margin-top:.25rem; }
.map-card-view-route { display:block; min-height:44px; margin:.8rem 0 .2rem; padding:.6rem .8rem; border:1px solid #a3523d; background:transparent; color:#833d2d; cursor:pointer; font:700 .8rem/1.3 Arial,sans-serif; text-align:left; }
.map-card-view-route:hover { background:#f2e6dd; }
.map-card-actions { display:flex; flex-wrap:wrap; gap:.7rem 1rem; align-items:center; margin-top:1rem; }
.map-card-primary { display:inline-flex; min-height:42px; align-items:center; padding:.65rem .9rem; background:#163a35; color:white; font-size:.8rem; font-weight:700; text-decoration:none; }
.map-card-secondary,.map-card-back { color:#163a35; font-size:.8rem; font-weight:700; text-decoration:underline; text-underline-offset:.2rem; }
.map-card-back { min-height:44px; padding:.7rem 0 0; border:0; background:none; cursor:pointer; }
.map-tour-select,.map-tour-show { padding:0; border:0; background:transparent; color:inherit; cursor:pointer; text-align:left; font:inherit; }
.map-tour-select:hover { color:#995037; text-decoration:underline; text-underline-offset:4px; }
.map-tour-show { min-height:44px; color:#995037; font-size:13px; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:900px) { #map { height:460px; } .map-frame { height:auto; min-height:460px; } }
@media(max-width:700px) {
  .map-frame { min-height:0; }
  .map-frame.has-card { grid-template-columns:minmax(0,1fr); }
  #map { height:390px; min-height:390px; }
  .map-detail-card { position:relative; inset:auto; width:100%; max-height:none; overflow:visible; padding:1.2rem; box-shadow:0 7px 18px #173b3426; }
  .map-card-options { max-height:260px; overflow:auto; }
  .map-art-image { width:72px; height:70px; }
  .map-art-marker { width:82px; }
}
@media(prefers-reduced-motion:reduce) { .map-art-image { transition:none; } }

/* Put the exploratory map closer to the first screen. */
.map-breadcrumb { padding:16px 0 12px; }
.map-intro { padding:.5rem 0 1.25rem; }
.map-intro h1 { max-width:none; font-size:clamp(2.4rem,3.5vw,3.6rem); margin-bottom:.55rem; }
.map-intro p { line-height:1.55; }
.map-explorer { padding:1rem 0 2rem; }
.map-section-head p,.map-aside-top p { margin-bottom:.65rem; }
.map-view-controls { margin-bottom:.55rem; }
@media(max-width:550px) { .map-intro { padding:.4rem 0 1rem; } .map-intro h1 { font-size:clamp(2.25rem,9vw,3rem); } }

/* A single custom-drawn region, with destinations and routes on the same projection. */
.map-shell { max-width:1600px; }
.map-intro { padding:1rem 0 2rem; }
.map-intro h1 { font-size:clamp(2.6rem, 1.5rem + 3.5vw, 5rem); max-width:20ch; }
.map-intro p { max-width:56ch; }
.map-explorer { padding:1.4rem 0 2rem; }
.map-layout { display:block; }
.map-section-head { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:1rem 2rem; margin-bottom:.8rem; }
.map-section-head p { margin:0; }
.map-view-controls { margin:0; }
.map-view-controls button { border-color:#87998b; border-radius:4px; background:#f6f4eb; }
.map-view-controls button[aria-pressed="true"] { color:#fffdf7; background:#234b40; border-color:#234b40; }
.map-frame,.map-frame.has-card { min-height:0; height:auto; }
.map-frame.has-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(275px,330px); }
#map { position:relative; width:100%; height:auto; aspect-ratio:16 / 11; min-height:0; overflow:hidden; background:#e4eade; cursor:grab; touch-action:none; -webkit-user-select:none; user-select:none; }
#map.is-dragging { cursor:grabbing; }
#map:focus-visible { outline:3px solid #995037; outline-offset:3px; }
.illustrated-map-window { position:relative; width:100%; height:100%; overflow:hidden; }
.illustrated-map-stage { position:absolute; inset:auto; left:0; top:0; }
.illustrated-map-background,.illustrated-route { position:absolute; inset:0; display:block; width:100%; height:100%; }
.illustrated-map-background { object-fit:fill; pointer-events:none; }
.illustrated-route { overflow:visible; pointer-events:none; }
.illustrated-route-line { fill:none; stroke:#a34e36; stroke-width:3.5; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:5 9; vector-effect:non-scaling-stroke; }
.illustrated-route-dot { fill:#a34e36; stroke:#fffdf7; stroke-width:2.5; vector-effect:non-scaling-stroke; }
.map-art-marker { position:absolute; z-index:2; transform:translate(-50%,-100%) translate(var(--offset-x),var(--offset-y)); }
.map-art-marker[hidden] { display:none; }
.map-art-marker:hover,.map-art-marker.is-selected { z-index:3; }
.map-detail-card { max-height:min(75vh,760px); padding:1.5rem; }
.map-destinations { padding-top:2.5rem; }
.map-aside-top { display:flex; align-items:baseline; gap:1rem; flex-wrap:wrap; }
.map-aside-top p { margin-bottom:.5rem; }
.destination-list { display:flex; flex-wrap:wrap; gap:.6rem; max-height:none; overflow:visible; border:0; }
.destination-button { width:auto; min-height:44px; gap:.55rem; padding:.45rem .7rem; border:1px solid #b7c4b7; border-radius:4px; background:#f8f7ef; }
.destination-input:checked + .destination-button { background:#e0e9dc; border-color:#426f5e; }
.destination-number { width:26px; height:26px; flex-basis:26px; }
.map-mobile-hint { display:none; color:#52615a; font-size:13px; }
@media(max-width:900px) {
  .map-frame.has-card { grid-template-columns:minmax(0,1fr) minmax(260px,300px); }
}
@media(max-width:700px) {
  .map-frame.has-card { display:block; }
  .map-detail-card { max-height:none; }
  .map-mobile-hint { display:block; margin:.8rem 0 0; }
  .map-section-head { align-items:start; }
  .map-view-controls { width:100%; }
  .map-view-controls button { flex:1 1 auto; }
}
@media(prefers-reduced-motion:reduce) { .illustrated-map-stage { transition:none; } }

/* The enlarged view uses the same live map and remains usable without the Fullscreen API. */
.map-expand-row { display:flex; justify-content:flex-end; margin:0 0 .75rem; }
.map-expand-button,.map-collapse-button { display:inline-flex; align-items:center; justify-content:center; gap:.55rem; min-height:44px; padding:.65rem .9rem; border:1px solid #849589; border-radius:4px; background:#f8f7ef; color:#163a35; cursor:pointer; font:700 .82rem/1.2 Arial,sans-serif; }
.map-expand-button[hidden] { display:none; }
.map-expand-button:hover,.map-collapse-button:hover { background:#e3ebdf; }
.map-expand-button svg,.map-collapse-button svg { flex:none; width:19px; height:19px; }
.map-dialog { position:fixed; inset:0; width:100%; max-width:none; height:100%; max-height:none; margin:0; padding:0; border:0; background:#f5f2ea; color:#20312e; }
.map-dialog:modal { overscroll-behavior:contain; }
.map-dialog::backdrop { overflow:hidden; overscroll-behavior:contain; background:#163a35aa; }
.map-dialog-bar { position:sticky; top:0; z-index:10; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.75rem clamp(1rem,3vw,2.5rem); border-bottom:1px solid #d3dbcf; background:#f5f2ea; }
.map-dialog-bar h2 { margin:0; color:#163a35; font:400 clamp(1.35rem,2vw,1.8rem)/1.15 Georgia,serif; }
#map-dialog-content { padding:1rem clamp(1rem,3vw,2.5rem) 2rem; }
.map-dialog .map-visual { max-width:1600px; margin:auto; }
.map-dialog #map { height:clamp(340px,calc(100dvh - 285px),760px); max-height:none; }
.map-dialog .illustrated-map-window { width:100%; margin:0; }
.map-dialog .map-detail-card { max-height:calc(100dvh - 190px); }
.map-dialog :focus-visible { outline:3px solid #995037; outline-offset:3px; }
@media(max-width:700px) {
  .map-dialog-bar { padding:.65rem 1rem; }
  .map-dialog-bar h2 { font-size:1.25rem; }
  #map-dialog-content { padding:.9rem 1rem 2rem; }
  .map-dialog #map { height:clamp(340px,calc(100dvh - 280px),560px); max-height:none; }
  .map-dialog .map-detail-card { max-height:none; }
}

/* The numbered route on the map and the ordered list in the card are one key. */
.map-route-key { display:flex; align-items:center; gap:.7rem; margin:0 0 .7rem; scroll-margin-top:1rem; color:#294d40; font:600 .82rem/1.4 Arial,sans-serif; }
.map-route-key[hidden] { display:none; }
.map-route-key-symbol { flex:none; color:#93462f; font-weight:800; letter-spacing:.05em; }
.map-route-point { position:absolute; z-index:5; display:grid; place-items:center; width:29px; height:29px; border:3px solid #fffdf5; border-radius:50%; background:#9e4c35; color:#fff; box-shadow:0 2px 8px #20312e66; font:700 13px/1 Arial,sans-serif; transform:translate(-50%,-50%); pointer-events:none; }
.has-route .map-art-count { visibility:hidden; }
.has-route .map-art-marker:not(.is-selected):not([data-place="spb"]) { visibility:hidden; pointer-events:none; }
.map-card-route { margin:1.25rem 0 0; padding:1rem 0 0; border-top:1px solid #d2dbd0; }
.map-card-route-heading { margin:0 0 .3rem; color:#163a35; font:400 1.22rem/1.2 Georgia,serif; }
.map-card-route-intro { margin:0; color:#52615a; font-size:.79rem; line-height:1.5; }
.map-card-stops { list-style:none; padding:0; margin:.85rem 0 1rem; counter-reset:none; }
.map-card-stop { display:flex; align-items:flex-start; gap:.65rem; position:relative; padding:0 0 .8rem; }
.map-card-stop:not(:last-child)::before { content:''; position:absolute; top:1.45rem; bottom:.1rem; left:.72rem; border-left:1px solid #bdc9be; }
.map-card-stop:last-child { padding-bottom:0; }
.map-card-stop-number { display:grid; place-items:center; flex:0 0 24px; height:24px; border-radius:50%; background:#a0523c; color:white; font:700 .72rem/1 Arial,sans-serif; }
.map-card-stop-content { display:grid; gap:.2rem; padding-top:.2rem; color:#203b33; font-size:.81rem; line-height:1.4; }
.map-card-stop-detail { color:#52615a; font-size:.78rem; line-height:1.45; }

/* A searchable list keeps large destinations easy to browse inside the map. */
.map-card-search-label { display:block; margin:1rem 0 .4rem; color:#203b33; font:700 .77rem/1.3 Arial,sans-serif; }
.map-card-search { display:block; width:100%; min-height:44px; padding:.65rem .75rem; border:1px solid #9aada0; border-radius:4px; background:#fff; color:#203b33; font:400 16px/1.3 Arial,sans-serif; }
.map-card-options-count { margin:.6rem 0 .5rem; color:#52615a; font-size:.75rem; }
.map-card-options { max-height:340px; overflow:auto; overscroll-behavior:contain; }
.map-card-options li { border-top:1px solid #e1e6dc; }
.map-card-option { display:flex; align-items:center; gap:.7rem; min-height:72px; padding:.6rem 0; }
.map-option-image { flex:0 0 56px; width:56px; height:52px; object-fit:cover; border-radius:3px; background:#e4eadf; }
.map-option-content { display:grid; gap:.3rem; min-width:0; }
.map-option-category { color:#855340; font:700 .61rem/1.2 Arial,sans-serif; letter-spacing:.035em; text-transform:uppercase; }
.map-option-title { color:#163a35; font:700 .81rem/1.35 Arial,sans-serif; overflow-wrap:anywhere; }
.map-card-option:hover .map-option-title { color:#995037; text-decoration:underline; text-underline-offset:3px; }
.map-card-options-empty { padding:.8rem 0; color:#52615a; font-size:.81rem; line-height:1.45; }

/* Controls remain usable without dragging and do not intercept page scrolling. */
.map-tools { display:flex; align-items:center; gap:.65rem; flex-wrap:wrap; margin:0 0 .55rem; }
.map-zoom-controls,.map-pan-controls { display:flex; align-items:center; gap:.25rem; }
.map-tools button { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:.5rem .7rem; border:1px solid #a4b3a5; border-radius:4px; color:#163a35; background:#f8f7ef; font:700 .78rem/1.2 Arial,sans-serif; cursor:pointer; }
.map-tools button:hover:not(:disabled) { background:#e2eadd; }
.map-tools button:disabled { opacity:.42; cursor:not-allowed; }
.map-tools button:focus-visible { outline:3px solid #995037; outline-offset:2px; }
.map-tools svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
#map-zoom-level { min-width:3.1rem; color:#52615a; font:600 .8rem Arial,sans-serif; font-variant-numeric:tabular-nums; }
.map-control-help { margin:.35rem 0 .8rem; color:#52615a; font:400 .8rem/1.5 Arial,sans-serif; }
.map-card-booking { margin:1.1rem 0 0; }
@media(max-width:700px) { #map { height:480px; } .map-tools { gap:.45rem; } .map-tools button { min-width:42px; min-height:42px; padding:.45rem .55rem; } }
.map-tools[hidden] { display:none; }

/* Keep map actions in the map itself; panning remains available via keyboard. */
.map-canvas { position:relative; min-width:0; }
.map-tools:not([hidden]) { position:absolute; z-index:6; inset-block-start:.85rem; inset-inline-end:.85rem; display:block; margin:0; }
.map-zoom-controls { display:flex; flex-direction:column; gap:0; overflow:hidden; border:1px solid #a4b3a5; border-radius:6px; background:#fffdf8; box-shadow:0 3px 14px #173b3426; }
.map-tools .map-zoom-controls button { width:44px; min-width:44px; min-height:44px; padding:0; border:0; border-radius:0; background:transparent; }
.map-tools .map-zoom-controls button + button { border-top:1px solid #d5ddd3; }
.map-zoom-controls button:focus-visible { position:relative; outline-offset:-3px; }
#map-zoom-level { min-width:0; }
.map-pan-accessible { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; }
.map-pan-accessible:focus-within { inset-block-start:0; inset-inline-end:3.4rem; width:auto; height:auto; overflow:visible; clip:auto; clip-path:none; padding:.2rem; border:1px solid #a4b3a5; border-radius:6px; background:#fffdf8; box-shadow:0 3px 14px #173b3426; }
.map-pan-accessible:focus-within button { flex:none; }
