/* Bevölkerungsschutz – Hotspot-Karte mit Zeitstrahl */

.bs-lage-layout {
    align-items: flex-start;
}

.bs-hotspot-widget {
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-primary, #fff);
    box-shadow: 0 4px 18px var(--shadow-color, rgba(0, 0, 0, 0.06));
}

.bs-hotspot-widget__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color, #dee2e6);
    background: var(--bg-secondary, #f8f9fa);
}

.bs-hotspot-widget__map-wrap {
    position: relative;
    height: min(52vh, 460px);
    min-height: 280px;
    background: #e9ecef;
}

.bs-hotspot-widget__map {
    width: 100%;
    height: 100%;
}

.bs-hotspot-widget__loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    z-index: 500;
    transition: opacity 0.2s;
}

.bs-hotspot-widget__loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.bs-hotspot-widget__timeline {
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid var(--border-color, #dee2e6);
    background: var(--bg-primary, #fff);
}

.bs-hotspot-widget__range-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary, #6c757d);
    margin-bottom: 0.35rem;
    min-height: 1.25rem;
}

.bs-hotspot-widget__status {
    text-align: center;
    min-height: 1rem;
    margin-bottom: 0.35rem;
}

.bs-hotspot-widget__slider {
    height: 36px;
    margin: 0 0.25rem 0.75rem;
}

.bs-hotspot-widget__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

.bs-hotspot-widget__presets .btn {
    min-width: 4.5rem;
}

.bs-hotspot-widget__play {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.bs-hotspot-legend {
    line-height: 1.35;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    font-size: 12px;
}

.bs-hotspot-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 4px;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.bs-hotspot-legend__hint {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: #868e96;
}

.bs-hotspot-zone {
    transition: fill-opacity 0.15s ease;
}

.bs-hotspot-popup {
    font-size: 13px;
    line-height: 1.35;
}

.bs-hotspot-popup a {
    font-size: 12px;
}

/* noUiSlider – theme-aware */
.bs-hotspot-widget .noUi-connect {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.bs-hotspot-widget .noUi-handle {
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.bs-hotspot-widget .noUi-target {
    border: none;
    background: var(--bg-secondary, #e9ecef);
}

/* AdSense-Platzhalter (noch ohne Anzeigen) */
.ad-slot {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.ad-slot--sidebar {
    min-height: 250px;
    margin-bottom: 1.25rem;
}

.ad-slot--horizontal {
    min-height: 90px;
    margin: 1.25rem 0;
}

@media (min-width: 992px) {
    .bs-lage-sidebar {
        position: sticky;
        top: 1rem;
    }

    .ad-slot--sidebar-sticky {
        min-height: 600px;
    }
}

@media (max-width: 767.98px) {
    .bs-hotspot-widget__map-wrap {
        min-height: 240px;
        height: min(48vh, 340px);
    }

    .bs-hotspot-widget__range-label {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

@media (max-width: 575.98px) {
    .bs-hotspot-widget__timeline {
        padding: 0.65rem 0.75rem 0.85rem;
    }
}

@media (max-width: 991px) {
    .ad-slot--sidebar {
        min-height: 0;
        display: none;
    }
}

.bs-hotspot-marker {
    filter: none;
}

.bs-hotspot-marker--strong {
    filter: none;
}
