.erasmus-map-section{background:#fff;overflow:hidden}
/* Leaflet core fallback: keeps the map functional if the external stylesheet is blocked. */
.leaflet-container{position:relative;overflow:hidden;outline:0;background:#dbe9f6;font:12px/1.5 Arial,sans-serif;-webkit-tap-highlight-color:transparent}
.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box{position:absolute;left:0;top:0}
.leaflet-map-pane canvas{z-index:100}
.leaflet-map-pane svg{z-index:200}
.leaflet-tile-pane{z-index:200}
.leaflet-overlay-pane{z-index:400}
.leaflet-shadow-pane{z-index:500}
.leaflet-marker-pane{z-index:600}
.leaflet-tooltip-pane{z-index:650}
.leaflet-popup-pane{z-index:700}
.leaflet-tile{width:256px!important;height:256px!important;max-width:none!important;max-height:none!important;visibility:hidden;user-select:none;-webkit-user-drag:none}
.leaflet-tile-loaded{visibility:inherit}
.leaflet-zoom-animated{transform-origin:0 0}
.leaflet-marker-icon,.leaflet-marker-shadow{display:block;user-select:none;-webkit-user-drag:none}
.leaflet-container .leaflet-control-container{font-size:12px}
.leaflet-control{position:relative;z-index:800;pointer-events:auto;float:left;clear:both}
.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}
.leaflet-top{top:0}
.leaflet-right{right:0}
.leaflet-bottom{bottom:0}
.leaflet-left{left:0}
.leaflet-top .leaflet-control{margin-top:12px}
.leaflet-left .leaflet-control{margin-left:12px}
.leaflet-right .leaflet-control{float:right;margin-right:12px}
.leaflet-bottom .leaflet-control{margin-bottom:12px}
.leaflet-control-zoom{overflow:hidden;border-radius:11px;box-shadow:0 4px 14px #173f7530}
.leaflet-control-zoom a{display:block;width:34px;height:34px;background:#fff;color:#173f75;text-align:center;font:700 22px/34px Arial,sans-serif;border-bottom:1px solid #dbe4ef}
.leaflet-control-zoom a:last-child{border-bottom:0}
.leaflet-control-attribution{padding:2px 6px;background:#ffffffd9;color:#52677d}
.leaflet-popup{position:absolute;margin-bottom:20px;text-align:center}
.leaflet-popup-content-wrapper{position:relative;background:#fff;text-align:left}
.leaflet-popup-tip-container{position:absolute;left:50%;width:40px;height:20px;margin-left:-20px;overflow:hidden;pointer-events:none}
.leaflet-popup-tip{width:17px;height:17px;margin:-10px auto 0;background:#fff;transform:rotate(45deg);box-shadow:3px 3px 6px #173f7520}
.leaflet-popup-close-button{position:absolute;z-index:1;right:5px;top:4px;width:25px;height:25px;color:#5c6f88!important;font:700 20px/25px Arial!important;text-align:center}
.erasmus-map-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:30px}
.erasmus-map-heading>div:first-child{max-width:780px}
.erasmus-map-heading .kicker{color:var(--blue2)}
.erasmus-map-heading h2{font-size:clamp(2.3rem,4vw,4rem);line-height:1.03;margin:8px 0 16px}
.erasmus-map-heading p{margin:0;color:var(--muted);font-size:1.06rem}
.erasmus-map-stat{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;width:126px;height:126px;border-radius:50%;background:var(--yellow);color:#213c16;box-shadow:0 14px 30px #173f7517}
.erasmus-map-stat strong{font:800 2.75rem/1 Manrope,Arial,sans-serif}
.erasmus-map-stat span{font-weight:800;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em}
.erasmus-map-wrap{position:relative;border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:0 24px 60px #173f751c;background:#dbe9f6}
.erasmus-map-wrap:focus-within{outline:3px solid #f4d719;outline-offset:4px}
#erasmus-map{height:min(66vh,650px);min-height:480px;z-index:1}
.erasmus-map-legend{position:absolute;z-index:500;left:18px;bottom:18px;display:flex;gap:17px;flex-wrap:wrap;padding:10px 14px;border-radius:13px;background:#fffffff2;box-shadow:0 8px 24px #173f7526;color:var(--ink);font-size:.82rem;font-weight:700;backdrop-filter:blur(8px)}
.erasmus-map-legend span{display:flex;align-items:center;gap:7px}
.erasmus-map-legend i{display:block;width:13px;height:13px;border-radius:50%;background:#24589a;border:3px solid #fff;box-shadow:0 0 0 1px #24589a}
.erasmus-map-legend .legend-home{background:#f4d719;box-shadow:0 0 0 1px #173f75}
.erasmus-map-note{margin:13px 3px 0;color:var(--muted);font-size:.84rem}
.erasmus-pin{width:22px;height:22px;border:3px solid #fff;border-radius:50% 50% 50% 0;background:#24589a;box-shadow:0 3px 10px #173f7566;transform:rotate(-45deg)}
.erasmus-pin:after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:#fff;left:5px;top:5px}
.erasmus-pin.home{background:#f4d719}
.leaflet-popup-content-wrapper{border-radius:17px;box-shadow:0 14px 35px #173f7540}
.leaflet-popup-content{margin:16px 18px;min-width:200px;font:400 .9rem/1.45 "DM Sans",Arial,sans-serif;color:var(--ink)}
.leaflet-popup-content strong{display:block;font:800 1.08rem/1.2 Manrope,Arial,sans-serif;margin-bottom:5px}
.leaflet-popup-content span{display:block;color:var(--muted)}
.leaflet-popup-content small{display:inline-block;margin-top:8px;padding:3px 8px;border-radius:999px;background:#e9f0fa;color:var(--blue2);font-weight:800}
.leaflet-control-attribution{font-size:.65rem!important}
@media(max-width:700px){.erasmus-map-heading{align-items:flex-start}
.erasmus-map-stat{width:92px;height:92px}
.erasmus-map-stat strong{font-size:2rem}
.erasmus-map-stat span{font-size:.68rem}
#erasmus-map{min-height:520px}
.erasmus-map-legend{right:14px;left:14px;bottom:14px;justify-content:center}
.erasmus-map-heading h2{font-size:2.25rem}
}
@media(max-width:480px){.erasmus-map-heading{display:block}
.erasmus-map-stat{width:auto;height:auto;display:inline-flex;flex-direction:row;gap:7px;border-radius:999px;padding:10px 16px;margin-top:18px}
.erasmus-map-stat strong{font-size:1.55rem}
#erasmus-map{min-height:500px}
}
