.n11-locations-block-map {
    border: #ccc solid 1px;
    position: relative;
    grid-row: 1/2;
    grid-column: 1/2;
    height: calc(50vh - 70px);
}

@media screen and (min-width: 900px) {
    .n11-locations-block-map {
        grid-column: 1/3;
        height: 80vh;
    }
}

.n11-locations-info {
    transition: opacity .2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

@media screen and (min-width: 900px) {
    .n11-locations-info {
        grid-row: 1/2;
        grid-column: 1/2;
        overflow: auto;
        padding: 1rem;
    }
}

.n11-locations-info .n11-locations-info-form {
    background: var(--wp--preset--color--primary, #fff);
    padding: 1rem;
}

@media screen and (min-width: 900px) {
    .n11-locations-info .n11-locations-info-form {
        border-radius: .5rem .5rem 0 0;
    }
}

.n11-locations-info-search {
    display: flex;
    gap: .25rem;
}

.n11-locations-info-search select,
.n11-locations-info-search button,
.n11-locations-info-search input {
    border: 1px solid var(--wp--preset--color--primary, #666);
    background: #FFF;
    padding: .5rem;
    border-radius: .5rem;
}

.n11-locations-info-search input {
    flex-grow: 1;
    width: 100%;
}

.n11-locations-info-search button {
    border-right-width: 1px;
    background-color: var(--wp--preset--color--contrast);
    border: none;
    cursor: pointer;
    padding: .5rem 1rem;
}

.n11-locations-info-search button svg {
    fill: var(--wp--preset--color--primary);
}

.n11-locations-info-window {
    position: relative;
    flex: 1;
    margin-bottom: 2rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


.n11-locations-info-window.open {
    overflow: hidden;
}

.n11-locations-info-window-details .n11-locations-info-window-details {
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease-in-out;
}

.n11-locations-info-window-details.js-location-active {
    background: #CFD7E2 !important;
    color: #000000;
}

.n11-locations-info-window-details.js-location-active .hella-location-info {
    color: #000000;
}

.n11-locations-map-single {
    transform: translateX(-100%);
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    pointer-events: none;
    opacity: 0;
    grid-row: 1/2;
    grid-column: 1/2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    padding: 1rem;
}

.n11-locations-map.open .n11-locations-map-single {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.n11-locations-info-window-info {
    max-height: calc(50vh - 70px);
    height: calc(50vh - 70px);
    background: #FFFFFF;
    overflow: hidden scroll;
}

@media screen and (min-width: 900px) {
    .n11-locations-info-window-info {
        display: block;
        flex: 1;
        cursor: zoom-in;
        max-height: initial;
        overflow: auto auto;
    }

    .n11-locations-map.open .n11-locations-info-window-info {
        display: none;
    }
}


.n11-locations-info-window-close {
    position: absolute;
    right: .5rem;
    top: .5rem;
    font-size: 2rem;
    line-height: 1;
}

.n11-locations-info-window-details:not(:empty) {
    padding: 1rem;
    background: #FFF;
    border-top: 1px solid #A1A1A1;
    position: relative;
}

.n11-locations-info-window-details h3 {
    margin-top: 0;
}

.n11-locations-map {
    position: relative;
    display: grid;
    height: calc(50vh - 70px);
}

@media screen and (min-width: 900px) {
    .n11-locations-map {
        grid-template-columns: 400px 1fr;
        height: 80vh;
    }
}

.n11-location-popup {
    position: fixed;
    bottom: 2rem;
    right: 3%;
    background: var(--wp--preset--color--primary);
    box-shadow: 5px 5px 5px var(--wp--preset--color--primary);
    color: white;
    z-index: 9999;
    width: 94%;
    max-width: 420px;
    padding: 40px;
    border-radius: 1rem;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;

    @media screen and (min-width: 768px) {
        width: 420px;
    }
}

.n11-location-popup.hidden {
    opacity: 0;
}

.n11-location-popup p {
    max-width: 330px;
    line-height: 1.25rem;
}

.n11-location-popup h3 {
    margin: 0;
    color: #FFFFFF;
}

.n11-location-popup .close {
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.n11-location-popup .close svg {
    fill: var(--wp--preset--color--base);
    width: 1.2rem;
}