/* Cache-safe map and single-event location layout introduced in 1.5.0. */

.sec-calendar .sec-map-view {
    display: block;
}

.sec-calendar .sec-map-area {
    width: 100%;
}

.sec-calendar .sec-map-area > .sec-map {
    height: clamp(28rem, 55vw, 42rem);
}

.sec-calendar .sec-map-results {
    margin-top: 3rem;
    padding: 0;
    background: transparent;
    border: 0;
}

.sec-calendar .sec-map-results > h4 {
    margin-bottom: 1.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.sec-calendar .sec-single-location {
    margin: 2.5rem 0;
    padding-top: 2rem;
    border-top: .35rem solid var(--sec-accent);
}

.sec-calendar .sec-single-location h2 {
    margin-top: 0;
    color: var(--sec-primary);
}

.sec-calendar .sec-single-map {
    height: 20rem;
    min-height: 20rem;
}

.sec-calendar .sec-location-actions {
    margin: 1rem 0 0;
}

@media (max-width: 700px) {
    .sec-calendar .sec-map-area > .sec-map {
        height: 24rem;
        min-height: 24rem;
    }

    .sec-calendar .sec-single-map {
        height: 18rem;
        min-height: 18rem;
    }

    .sec-calendar .sec-map-results {
        margin-top: 2rem;
    }
}

@media (forced-colors: active) {
    .sec-calendar .sec-single-location {
        border-top-color: CanvasText;
    }
}
