/* FLBiker Places overview map */

.directory-map-section {
    margin: 0 0 34px;
}

.directory-map-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
}

.directory-map-heading h2 {
    margin: 3px 0 0;
}

.directory-map-heading > p {
    max-width: 440px;
    margin: 0;
    text-align: right;
    line-height: 1.5;
}

.directory-overview-map {
    width: 100%;
    height: 460px;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid rgba(105, 87, 68, .66);
    border-radius: 10px;
    background: #171514;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

/* Protect Leaflet tiles from global site image rules. */
.directory-overview-map.leaflet-container img,
.directory-overview-map .leaflet-tile,
.directory-overview-map .leaflet-marker-icon,
.directory-overview-map .leaflet-marker-shadow {
    max-width: none !important;
    max-height: none !important;
}

.directory-map-note {
    margin: 10px 2px 0;
    font-size: 13px;
}

.directory-overview-map .leaflet-popup-content-wrapper,
.directory-overview-map .leaflet-popup-tip {
    background: #211d19;
    color: #efe5d5;
}

.directory-overview-map .leaflet-popup-content {
    min-width: 190px;
    margin: 14px 16px;
    line-height: 1.45;
}

.directory-map-popup-name {
    display: block;
    margin-bottom: 3px;
    color: #fff2df;
    font-size: 15px;
}

.directory-map-popup-meta {
    margin-bottom: 9px;
    color: #c8b79f;
    font-size: 12px;
}

.directory-map-popup-link {
    color: #f0b46f !important;
    font-weight: 700;
    text-decoration: none;
}

.directory-map-popup-link:hover {
    text-decoration: underline;
}

.directory-map-marker {
    display: grid;
    width: 30px !important;
    height: 30px !important;
    place-items: center;
    border: 2px solid #f5d1a1;
    border-radius: 50% 50% 50% 0;
    background: #d8682a;
    box-shadow: 0 3px 8px rgba(0,0,0,.36);
    transform: rotate(-45deg);
}

.directory-map-marker::after {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff3df;
    content: "";
}

.directory-map-marker-featured {
    background: #c5963f;
}

.directory-map-marker-partner {
    background: #a8763f;
}

@media (max-width: 820px) {
    .directory-map-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .directory-map-heading > p {
        text-align: left;
    }

    .directory-overview-map {
        height: 390px;
        min-height: 390px;
    }
}

@media (max-width: 560px) {
    .directory-overview-map {
        height: 340px;
        min-height: 340px;
    }
}
