.idt-map-page {
    max-width: 1150px;
    margin: 24px auto 50px;
}
.idt-map-hero {
    background: #eaf3ed;
    border-radius: 12px;
    border-top: 5px solid #176345;
    padding: 26px;
    color: #203b2c;
}
.idt-map-hero small {
    font-weight: 800;
    letter-spacing: 2px;
}
.idt-map-hero h1 {
    font-size: clamp(28px, 5vw, 46px);
    margin: 10px 0;
}
.idt-map-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 0;
    font-size: 14px;
}
.idt-map-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.idt-map-filters select {
    border: 1px solid #cbd9cf;
    padding: 10px 18px;
    border-radius: 7px;
    background: white;
    font: inherit;
}
#idt-italy-map {
    height: 620px;
    width: 100%;
    border: 1px solid #d6e0d9;
    border-radius: 12px;
    background: #e1ecef;
    isolation: isolate;
    z-index: 0;
}
.idt-map-note {
    font-size: 13px;
    color: #68786d;
    margin: 12px 0 26px;
}
.idt-map-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.idt-map-event {
    border: 1px solid #dce5df;
    background: white;
    border-radius: 10px;
    padding: 18px;
}
.idt-map-event[hidden] {
    display: none;
}
.idt-map-event small {
    color: #176345;
    font-weight: 700;
}
.idt-map-event h3 {
    margin: 10px 0;
}
.idt-map-event p {
    margin: 6px 0;
    font-size: 14px;
}
.idt-map-event a,
.idt-map-popup a {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
    color: #176345;
}
.idt-map-popup h3 {
    margin: 0 0 10px;
}
.idt-map-popup section + section {
    border-top: 1px solid #dce5df;
    margin-top: 12px;
    padding-top: 12px;
}
@media (max-width: 600px) {
    #idt-italy-map {
        height: 470px;
    }
    .idt-map-hero {
        padding: 20px;
    }
}

#idt-italy-map .leaflet-tooltip {
    font-weight: 800;
    font-size: 13px;
    color: #176345;
    background: rgba(255,255,255,.94);
    border-color: #b7cfc0;
    border-radius: 5px;
}

#idt-italy-map {
    height: 660px;
}

@media (max-width: 600px) {
    #idt-italy-map {
        height: 490px;
    }
}

.idt-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 14px 0;
    font-size: 13px;
    font-weight: 700;
}

.idt-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.idt-map-legend i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.idt-map-event[hidden] {
    display: none !important;
}
