/* Map containers before MapLibre has started (map-loader.js does that after the page load): the static picture or
   SVG shows, .map-placeholder only carries the caption. Containers without a static image (.rr-map-empty) show the
   caption on the dark map surface. */
[data-map] {
    position: relative;
    overflow: hidden;
}

[data-map].map-active {
    min-height: 320px;
}

@media (min-width: 768px) {
    [data-map].map-active {
        min-height: 460px;
    }
}

[data-map] .map-static {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[data-map] .map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px;
    pointer-events: none;
}

[data-map] .map-placeholder > * {
    pointer-events: auto;
}

[data-map] .map-placeholder .rr-map-caption {
    pointer-events: none;
}
