.section-province-map-shell {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 42px;
    width: 100%;
    min-width: 0;
    height: 340px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .82);
    border-radius: 1rem;
    background: #dfe9dc;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
    isolation: isolate;
    overflow-anchor: none;
}

.section-province-map {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #dfe9dc;
    z-index: 1;
}

.section-province-map-caption {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-width: 0;
    margin: 0;
    padding: .45rem .8rem;
    background: rgba(28, 28, 40, .97);
    color: rgba(255, 255, 255, .84);
    font-family: 'DM Sans', 'Source Sans 3', sans-serif;
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.section-province-map-caption-dot {
    width: .48rem;
    height: .48rem;
    flex: 0 0 .48rem;
    border-radius: 50%;
    background: var(--section-map-accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .09);
}

.section-province-map-badge {
    position: absolute;
    top: .7rem;
    right: .7rem;
    z-index: 600;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .62rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 2rem;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 14px rgba(28, 28, 40, .12);
    color: #242434;
    font-family: 'DM Sans', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    pointer-events: none;
}

.section-province-map-badge-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--section-map-accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .7);
}

.section-province-map-shell .leaflet-marker-icon,
.section-province-map-shell .leaflet-div-icon {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.section-province-map-marker {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: var(--section-map-accent);
    box-shadow: 0 2px 7px rgba(0, 0, 0, .32);
    transition: transform .16s ease;
}

.section-province-map-marker::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid var(--section-map-accent);
    border-radius: inherit;
    opacity: .24;
}

.leaflet-marker-icon:hover .section-province-map-marker {
    transform: scale(1.25);
}

.section-province-map-shell .leaflet-popup-content-wrapper {
    border-radius: .9rem;
    box-shadow: 0 12px 30px rgba(18, 18, 30, .22);
}

.section-province-map-shell .leaflet-popup-content {
    min-width: 180px;
    margin: .8rem;
}

.section-map-popup {
    text-align: center;
    font-family: 'DM Sans', sans-serif;
}

.section-map-popup__title {
    display: block;
    color: #1c1c28;
    font-family: 'Playfair Display', 'Lora', serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.section-map-popup__plate {
    display: block;
    margin-top: .2rem;
    color: #777786;
    font-size: .7rem;
}

.section-map-popup__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: .65rem;
    padding: .48rem .7rem;
    border-radius: 2rem;
    background: var(--section-map-accent);
    color: #fff !important;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
}

@media (max-width: 900px) {
    .section-province-map-shell {
        height: 270px;
        min-height: 270px;
    }

    .section-province-map {
        height: 100%;
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .section-province-map-shell {
        grid-template-rows: minmax(0, 1fr) 44px;
        height: 245px;
        min-height: 245px;
    }

    .section-province-map {
        height: 100%;
        min-height: 0;
    }

    .section-province-map-caption {
        gap: .35rem;
        padding: .35rem .65rem;
        font-size: .62rem;
        line-height: 1.25;
    }

    .section-province-map-badge {
        top: .55rem;
        right: .55rem;
        padding: .22rem .5rem;
        font-size: .55rem;
    }

    .section-province-map-marker {
        width: 14px;
        height: 14px;
    }
}
