.ht-map-section { padding-block: clamp(40px, 6vw, 72px); background: var(--hs-cream); scroll-margin-top: 24px; }
.ht-map-heading { align-items: center; }
.ht-map-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.ht-map-panel { min-width: 0; }
.ht-map-gate, .ht-map-canvas { height: 560px; border: 1px solid var(--hs-beige); border-radius: 14px; overflow: hidden; }
.ht-map-gate { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: clamp(24px, 5vw, 64px); background: var(--hs-green); color: var(--hs-cream); }
.ht-map-gate-title { font-family: var(--hs-serif); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.3; margin: 0; }
.ht-map-gate p:not(.ht-map-gate-title) { font-size: .875rem; line-height: 1.7; max-width: 46ch; margin: 0; }
.ht-map-gate a { color: inherit; text-decoration: underline; }
.ht-map-gate .hs-button { background: var(--hs-cream); border-color: var(--hs-cream); color: var(--hs-green); white-space: normal; text-align: start; }
.ht-map-canvas { z-index: 0; background: #ece8db; font-family: var(--hs-sans); }
.ht-map-tools { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-block-start: 8px; }
.ht-map-base-note { font-size: .875rem; line-height: 1.7; flex: 1 1 220px; color: var(--hs-chestnut); }
.ht-map-section [hidden] { display: none !important; }
.ht-map-section .hs-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ht-place-list { max-height: 620px; overflow-y: auto; overscroll-behavior: contain; list-style: none; margin: 0; padding: 0 4px; scrollbar-color: var(--hs-chestnut) var(--hs-cream); }
.ht-place { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; border-block-start: 1px solid var(--hs-beige); padding: 18px 8px; }
.ht-place:first-child { border-block-start: 0; padding-block-start: 8px; }
.ht-place.is-selected { background: #e9eee6; border-radius: 6px; }
.ht-place-number { width: 32px; height: 32px; display: grid; place-items: center; background: var(--hs-green); color: white; border-radius: 50%; font-size: .875rem; margin-block-start: 2px; }
.ht-place h3 { font-family: var(--hs-serif); font-weight: 400; color: var(--hs-green); font-size: 1.25rem; line-height: 1.4; margin: 0 0 4px; overflow-wrap: anywhere; }
.ht-map-button, .ht-place a, .ht-map-popup a { display: flex; width: fit-content; align-items: center; gap: 8px; min-height: 44px; font: 600 .875rem/1.5 var(--hs-sans); color: var(--hs-green); }
.ht-map-button { cursor: pointer; border: 0; border-block-end: 1px solid currentColor; background: transparent; padding: 4px 0; text-align: start; }
.ht-place a { text-decoration: none; }
.ht-place a:hover, .ht-map-popup a:hover { text-decoration: underline; }
.ht-place .ht-place-guide { font-weight: 400; color: var(--hs-chestnut); }
.ht-map-section a:focus-visible, .ht-map-section button:focus-visible, .ht-map-pin:focus-visible, .ht-map-canvas:focus-visible { outline: 3px solid var(--hs-burgundy); outline-offset: 3px; }
.ht-map-gate a:focus-visible, .ht-map-gate button:focus-visible { outline-color: var(--hs-cream); }
.ht-map-note { font-size: .875rem; line-height: 1.8; color: var(--hs-chestnut); max-width: 100ch; margin: 24px 0 0; }
.ht-map-error { padding: 16px; font-size: .9375rem; line-height: 1.6; border-inline-start: 3px solid var(--hs-burgundy); }
.ht-map-pin { border: 2px solid white; border-radius: 50%; background: var(--hs-green); color: white; box-shadow: 0 2px 6px #0005; display: grid; place-items: center; font: 700 16px/1 var(--hs-sans); }
.ht-map-pin:hover, .ht-map-pin:focus { background: var(--hs-burgundy); }
.ht-map-canvas .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; color: var(--hs-green); }
.ht-map-canvas .leaflet-control-attribution { font: 12px/1.5 var(--hs-sans); color: #222; background: #fff; padding: 3px 6px; max-width: calc(100% - 16px); }
.ht-map-canvas .leaflet-control-attribution a { color: #174b3d; }
.ht-map-popup { font-family: var(--hs-sans); }
.ht-map-popup strong { display: block; color: var(--hs-green); font-size: 1rem; line-height: 1.5; margin-block-end: 8px; }
.ht-map-popup a { color: var(--hs-green); text-decoration: underline; }
.ht-map-canvas .leaflet-popup-content { margin: 18px 20px; }
.ht-map-canvas .leaflet-popup-content-wrapper { background: var(--hs-cream); border-radius: 10px; }
html[lang="ar"] .ht-map-heading h2, html[lang="ar"] .ht-place h3 { line-height: 1.6; }
@media (max-width: 900px) { .ht-map-layout { grid-template-columns: minmax(0, 1fr); } .ht-map-gate, .ht-map-canvas { height: 430px; } .ht-place-list { max-height: 440px; } }
@media (max-width: 420px) { .ht-map-gate, .ht-map-canvas { height: 400px; } .ht-map-gate { padding: 24px; } .ht-map-tools { display: block; } .ht-map-base-note { display: block; margin-block-start: 8px; } }
@media print { .ht-map-panel, .ht-map-button { display: none !important; } .ht-map-layout { display: block; } .ht-place-list { max-height: none; overflow: visible; } .ht-place { break-inside: avoid; } }
