.map-container {
    position: relative;
    height: 100%;
}

#matches-map {
    height: 100%;
    min-height: 24rem;
}

.map-unavailable-message {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1rem;
    text-align: center;
}

@media (min-width: 992px) {
    .map-section {
        position: sticky;
        top: 20px;
        height: calc(100vh - 80px);
        flex: 1;
        min-width: 0;
    }

    .view-in-results {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .map-section {
        display: none;
        width: 100%;
        margin-top: 1rem;
    }

    .map-section.show {
        display: block;
    }

    .map-container {
        height: calc(100vh - 200px);
    }

    #matches-map {
        height: calc(100vh - 200px);
    }
}
