.park-map {
    position: relative
}

.park-map h1,.park-map h2,.park-map h3,.park-map h4 {
    font-family: 'Lora',serif
}

.park-map__overlay {
    position: absolute;
    inset: 0;
    place-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(45deg,#00000091,#0000007d);
    color: #fff
}

.park-map__title {
    font-size: 4em;
    font-size: min(4em, 6vw);
}

.park-map .button {
    font-size: 1.2em
}

.park-map__background-img {
    max-height: 580px;
    object-fit: cover;
    width:100%;
}

.park-map__popup {
    background: #000;
    z-index: 10000000000000000;
    transition: all .7s ease;
    box-shadow: 0 0 0 200vh rgba(0,0,0,0);
    background-size: cover !important;
    opacity: 0;
    pointer-events: none;
    overflow:hidden;
    position: absolute;
}

.park-map__popup.park-map__popup--grow {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1;
    pointer-events: initial
}

.park-map__popup-close {
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10000
}

.park-map__popup-close:before,.park-map__popup-close:after {
    content: '';
    width: 30px;
    height: 3px;
    background: #000;
    display: block;
    top: 18.5px;
    position: absolute;
    left: 5px;
    transform: rotate(45deg);
    border-radius: 5px
}

.park-map__popup-close:after {
    transform: rotate(-45deg)
}

.leafletMap {
    width: 100%;
    height: 100%;
    position: absolute;
    transform:translate3d(-50%, -50%, 0);
    left: 50%;
    top:50%;
}

.leafletMap.leaflet--animate {
    transition: transform .3s ease;
    transform:translate3d(-50%, -50%, 0);
}

.leaflet-container {
    background: var(--natural-beige) url(../img/natural-beige-rough.1.jpg)
}

.leaflet-popup-content {
    margin: 0;
    border: 0;
    width: auto !important
}

.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: revert-layer
}

.facility-popup:has(.facility-popup__img) {
    display: grid;
    width: min(350px, 90vw);
}


.facility-popup__content {
    padding: 20px 30px 20px;
    min-width: 300px;
    font-size: .875rem;
}

.facility-popup__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leaflet-container a {
    color: var(--rusty-brown);
}

.facility-popup__content a::after {
    content:' >';
}

.leaflet-container {
    font-family: inherit;
}

a.leaflet-popup-close-button {
    background: #fff !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    display: grid;
    place-content: center;
    color: #000 !important;
}

h3.facility-popup__title {
    font-size: 24px;
    margin-top:0;
    margin-bottom: 0;
}

article.layout-article.layout-article--map {
    margin-bottom:3em;
}
