.wpr-leaflet {
    --wpr-leaflet-map-height: 458px;
    --wpr-leaflet-accent: #0078a8;
    --wpr-leaflet-accent-hover: #941102;
    margin: 1em 0;
}

.wpr-leaflet__map {
    width: 100%;
    height: var(--wpr-leaflet-map-height);
    min-height: 320px;
    overflow: hidden;
    border: 1px solid #c7d0d6;
    background: #f2f5f7;
    box-sizing: border-box;
}

.wpr-leaflet__noscript {
    margin: 0;
}

.wpr-leaflet .leaflet-container {
    font-size: 12px;
}

.wpr-leaflet .leaflet-top.leaflet-right,
.wpr-leaflet .leaflet-top.leaflet-left {
    z-index: 400;
}

.wpr-leaflet a.leaflet-control-zoom-in,
.wpr-leaflet a.leaflet-control-zoom-in:visited,
.wpr-leaflet a.leaflet-control-zoom-out,
.wpr-leaflet a.leaflet-control-zoom-out:visited {
    text-decoration: none;
}

.wpr-leaflet__watermark {
    width: 64px;
    max-width: 20vw;
    height: auto;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 180ms ease, visibility 0s linear 0s;
}

.wpr-leaflet__watermark.is-obscuring-popup {
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 0s linear 180ms;
}

@media (prefers-reduced-motion: reduce) {
    .wpr-leaflet__watermark,
    .wpr-leaflet__watermark.is-obscuring-popup {
        transition: none;
    }
}

.wpr-leaflet__info-title {
    font-weight: bold;
}

.wpr-leaflet__route-link {
    margin-top: 6px;
}

.wpr-leaflet__tooltip {
    min-width: 200px;
    max-width: 400px;
    text-align: center;
    font-size: 14px;
}

.wpr-leaflet__tooltip-title {
    color: #941102;
    font-size: 18px;
    font-weight: bold;
    white-space: normal;
    overflow-wrap: anywhere;
}

.wpr-leaflet__error {
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #7a1515;
    background: #fff3f3;
}

@media (max-width: 600px) {
    .wpr-leaflet {
        --wpr-leaflet-map-height: 400px;
    }
}

@media (max-width: 479px) {
    .wpr-leaflet__info,
    .wpr-leaflet__tooltip {
        font-size: 15px;
    }

    .wpr-leaflet__tooltip-title {
        font-size: 17px;
    }
}
