/* Quiet, branded cartography. Data and behaviour remain in Core. */
.hi-site .hi-map {grid-column:1/-1;min-width:0;margin:4px 0 0;}
.hi-map-stage {position:relative;isolation:isolate;overflow:hidden;min-width:0;height:390px;border:1px solid #ded8cc;border-radius:8px;background:#f1eee6;}
.hi-map-cover {height:100%;display:grid;place-items:center;padding:24px;text-align:center;color:var(--hi-green);}
.hi-map-canvas {width:100%;height:100%;}
.hi-map [hidden] {display:none!important;}
.hi-map button {font:inherit;cursor:pointer;}
.hi-map .leaflet-container {font-family:var(--hi-font-body);}
.hi-map .leaflet-control-attribution {font-size:10px;background:#f7f4eee8;color:#45584d;}
.hi-map .leaflet-control-attribution a {color:#45584d;}
.hi-map .leaflet-control-zoom {border-radius:24px;overflow:hidden;box-shadow:0 2px 10px #214d411c;}
.hi-map .leaflet-control-zoom a {width:40px;height:40px;background:#fffdf8;}
.hi-map-marker {position:absolute;display:block;padding:0;width:48px;height:60px;border:0;background:none;color:#fffdf8;filter:drop-shadow(0 3px 4px #214d4133);}
.hi-map-marker::before {content:'';position:absolute;inset:0;background:#214d41;clip-path:path('M24 60 C18 49 0 39 0 24 A24 24 0 1 1 48 24 C48 39 30 49 24 60Z');}
.hi-map-marker-body {position:absolute;left:3px;top:3px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;}
.hi-map-marker-body>span {display:grid;place-items:center;line-height:0;}
.hi-map-marker.hotel .hi-map-marker-body {background:#fffdf8;}
.hi-site .hi-map-marker.hotel img {display:block;width:34px;height:34px;max-width:none;object-fit:contain;}
.hi-map-marker svg {display:block;width:24px;height:24px;}
.hi-map-marker-label {position:absolute;left:calc(100% + 9px);top:24px;transform:translateY(-50%);background:#fffdf8ed;color:#214d41;padding:7px 11px;border-radius:4px;white-space:nowrap;font:600 13px/1.3 var(--hi-font-body);box-shadow:0 1px 5px #214d4112;pointer-events:none;}
.hi-map .leaflet-popup-content {padding:20px 24px;border-radius:7px;box-shadow:0 5px 28px #214d4124;font-size:15px;line-height:1.5;color:#252d29;background:#fffdf8;}
.hi-map .leaflet-popup-content p {font-size:15px;margin:8px 0;}
.hi-map .leaflet-popup-content a {color:#214d41;text-decoration:underline;}
.hi-map .leaflet-popup-close-button {width:32px;height:32px;font-size:22px;}
.hi-map [data-map-reset],.hi-map [data-map-load] {margin-top:10px;padding:7px 14px;border:1px solid var(--hi-sand);background:transparent;color:var(--hi-green);border-radius:4px;min-height:44px;font-size:14px;}
.hi-site .hi-map-places {display:grid;grid-template-columns:1fr;gap:16px;list-style:none;padding:16px 0 0;margin:0;}
.hi-map-places li {display:flex;align-items:start;gap:12px;min-width:0;}
.hi-map-place-icon {flex:none;width:60px;height:34px;display:grid;place-items:center;color:var(--hi-green);}
.hi-site .hi-map-place-icon img {width:60px;height:32px;object-fit:contain;}
.hi-map-place-icon.station {width:34px;border-radius:50%;background:var(--hi-green);color:var(--hi-ivory);}
.hi-map-place-icon svg {width:21px;height:21px;}
.hi-site .hi-map-places p {font-size:16px;line-height:1.5;margin:4px 0;}
.hi-map-places a {font-size:15px;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;}
.hi-site .hi-map-status {margin:8px 0 0;font-size:15px;}
.hi-map-status:empty {display:none;}
.hi-map :focus-visible {outline:3px solid var(--hi-gold);outline-offset:3px;}
@media(min-width:768px){.hi-site .hi-map-places{grid-template-columns:1fr 1fr;}.hi-map-stage{height:380px;max-width:1250px;margin-inline:auto;}}
@media(max-width:600px){.hi-map-marker-label{left:50%;top:auto;bottom:calc(100% + 7px);transform:translateX(-50%);font-size:12px;}}

.hi-map .leaflet-image-layer {max-width:none!important;max-height:none!important;}
.hi-map .leaflet-control-zoom a {line-height:40px;color:var(--hi-green);}
.hi-map .leaflet-popup-content-wrapper {background:#fffdf8;border-radius:7px;}
.hi-map .leaflet-popup-content {margin:0;box-shadow:none;}

.hi-map .maplibregl-canvas-container,.hi-map .maplibregl-canvas {outline:0;}
.hi-map .maplibregl-ctrl-group {overflow:hidden;border:1px solid #ded8cc;border-radius:6px;box-shadow:0 2px 10px #214d411c;background:#fffdf8;}
.hi-map .maplibregl-ctrl-group button {width:38px;height:38px;background-color:#fffdf8;}
.hi-map .maplibregl-ctrl-group button+button {border-top:1px solid #eee9df;}
.hi-map .maplibregl-ctrl button .maplibregl-ctrl-icon {filter:sepia(.3) saturate(.55);}
.hi-map .maplibregl-ctrl-attrib {background:#f7f4eee8;color:#45584d;font:10px/1.4 var(--hi-font-body);}
.hi-map .maplibregl-ctrl-attrib a {color:#45584d;}
.hi-map .maplibregl-popup-content {padding:18px 22px;border:1px solid #e5dfd3;border-radius:7px;background:#fffdf8;color:#252d29;font:15px/1.5 var(--hi-font-body);box-shadow:0 5px 28px #214d4124;}
.hi-map .maplibregl-popup-content p {margin:8px 0;font-size:15px;}
.hi-map .maplibregl-popup-content a {color:#214d41;text-decoration:underline;}
.hi-map .maplibregl-popup-close-button {width:32px;height:32px;border-radius:0 7px 0 0;color:#214d41;font-size:22px;}
.hi-map .maplibregl-popup-tip {border-top-color:#fffdf8;border-bottom-color:#fffdf8;}
.hi-map-marker {cursor:pointer;}
.hi-map .maplibregl-marker .hi-map-marker-label {pointer-events:none;}
@media(max-width:600px){.hi-map .maplibregl-ctrl-attrib{max-width:calc(100vw - 100px);white-space:normal;}}
/* Mappa Hotel Italia: larghezza e margini coerenti con la homepage */body.page-id-646 #hi-main { max-width: 1120px; margin-inline: auto; }body.page-id-646 #post-646 { max-width: 1120px; margin-inline: auto; padding: clamp(32px, 5vw, 56px) 20px 72px; box-sizing: border-box; }body.page-id-646 #post-646 > .hi-map { max-width: 1120px; margin: 28px auto 0; }body.page-id-646 #post-646 > .hi-map .hi-map-stage { border-radius: 8px; overflow: hidden; }@media (max-width: 680px) { body.page-id-646 #post-646 { padding: 32px 18px 56px; } }
