.bdfln-map-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    border: 1px solid white;
    font-family: oswald, sans-serif;

    > * {
        min-height: 500px;
        max-height: 75vh;
    }
    
    .infowindow-item, .list-item {
        font-family: 'Open Sans', sans-serif;
        font-size: 1.1rem;
        font-weight: 400;
        display: flex;
        gap: 5px;
        i {
            flex: 0 0 1.2em;
            text-align: center;
            line-height: 1.3;
        }
        &:empty {
            display: none;
        }
    }
    
    .infowindow-item {
        color: black;
    }
    
    .list-item {
        color: white;
    }
    
    h3.item-title {
                color: var(--e-global-color-35c34f3);
                background: linear-gradient(90deg, var(--e-global-color-4e84141), var(--e-global-color-35c34f3));
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                font-size: 1.4rem;
                text-wrap: balance;
                word-wrap: balance;
    }
    
    .bdfln-map-list-item, .infowindow-contents {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .gm-style-iw-ch {
        padding-top: 0;
        align-content: center;
        h3 {
            padding: 10px 0px;
        }
    }
    
    .item-organisation {
        font-weight: bold;
    }
    
    .item-contact, .item-link {
        font-weight: bold;
        color: var(--e-global-color-35c34f3);
        &:hover {
            text-decoration: none;
            color: var(--e-global-color-4e84141);
            span {
                text-decoration: underline;
            }
        }
    }

    .bdfln-map-list {
        color: white;
        overflow: auto;
        margin: 0;
        padding: 0;
        list-style: none;

        li {
            padding: 10px;
            margin: 0;
            transition: 0.2s ease;
            cursor: pointer;
            line-height: 1.3;


            &:hover {
                background: rgb(255, 255, 255, 0.2);
            }
        }

        li+li {
            border-top: 1px solid white;
        }
    }

    .bdfln-map {
        box-sizing: initial;
        scroll-margin-top: 40px;
        scroll-margin-bottom: 40px;

        button {
            background-color: unset;
            color: unset;
        }

        .bdfln-map-marker {
            width: 26px;
            max-width: unset;
        }
    }

}

@media (max-width: 1024px) {
    .bdfln-map-container {
        flex-direction: column;
        display: flex;

        .bdfln-map-list {
            max-height: unset;
            min-height: unset;
            order: 1;
            display: flex;
            flex-wrap: wrap;

            li {
                flex: 1 1 45%;
            }

            li:first-child {
                border-top: 1px solid white;
            }

            li:nth-child(even) {
                border-left: 1px solid white;
            }
        }
    }
}

@media (max-width: 767px) {
    .bdfln-map-container {
        .bdfln-map-list {
            li {
                flex: 1 0 100%;
            }

            li:nth-child(even) {
                border-left: unset;
            }
        }
    }
}