/* CCM19-Karten-Overlay (go_maps_ext + legacy map-section) */
.hero-section.hero-section--map {
    font-family: "Roboto Slab", serif;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 240px;
    overflow: hidden;
    z-index: 0;
}

.hero-section-map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    position: relative;
    z-index: 0;
}

.hero-section-map-frame .js-gme-container,
.hero-section-map-frame .js-map {
    width: 100%;
    height: 100%;
    min-height: inherit;
}

[data-consent-state="blocked"] + .hero-section-map-consent-notice,
[data-consent-state="pending"] + .hero-section-map-consent-notice {
    display: flex;
}

.hero-section-map-consent-notice {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.25rem;
    text-align: center;
    color: #ffffff;
    background: rgba(10, 21, 31, 0.68);
    backdrop-filter: blur(1px);
}

.hero-section-map-consent-notice p {
    margin: 0;
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.45;
}

.hero-section-map-consent-button {
    border: 0;
    border-radius: 3px;
    background: #89cdd3;
    color: #1c313e;
    font-family: "Rubik", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hero-section-map-consent-button:hover {
    background: #a6dde1;
}

@media (max-width: 768px) {
    .hero-section.hero-section--map {
        aspect-ratio: 4 / 3;
        min-height: 200px;
    }
}
