.frame-type-list:has(.interactive-map) {
    text-align: center;
}

.frame-type-list:has(.interactive-map) header > * {
    margin-bottom: 32px;
}

.interactive-map #filters {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.19);
    margin-top: 32px;
    flex-wrap: wrap;
    padding-bottom: 32px;
}

@media (min-width: 576px) {
    .interactive-map #filters {
        margin: 0 -15px;
        padding: 0 0 32px 15px;
    }
}

@media (min-width: 991px) {
    .interactive-map #filters {
        flex-direction: row;
        justify-content: center;
        text-align: unset;
        gap: 32px;
        padding-bottom: unset;
    }
}

.interactive-map #filters button {
    background: unset;
    margin: unset;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: left;
    padding: 8px;
    border: unset;
    border-bottom: 1px solid #ccc;
}

.interactive-map #filters button.active,
.interactive-map #filters button:hover {
    color: #0860aa;
}

@media (min-width: 991px) {
    .interactive-map #filters button {
        text-align: center;
        line-height: 17px;
        border-bottom: 4px solid transparent;
        position: relative;
    }

    .interactive-map #filters button:not(.active):hover:before {
        content: '';
        height: 1px;
        background: #0860aa;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -4px;
    }

    .interactive-map #filters button.active {
        border-color: #0860aa;
        color: #0860aa;
        font-weight: 700;
    }
}

.interactive-map #filters button:focus {
    outline: none;
}

.interactive-map #filters button:focus-visible {
    outline: auto;
}

.interactive-map .filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.interactive-map .toggle-filters {
    display: block;
    border: unset;
    background-color: #fff;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none"><path d="M5.3335 8H26.6668" stroke="rgba(0,0,0, 1)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.3335 16H26.6668" stroke="rgba(0 ,0 , 0, 1)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.3335 24H26.6668" stroke="rgba(0 ,0 , 0, 1)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 24px 24px;
    padding: 0 0 0 32px;
    letter-spacing: .21em;
}

.interactive-map .toggle-filters[aria-expanded='true'] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none"><path d="M24 8L8 24" stroke="rgba(0, 0, 0, 1)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 8L24 24" stroke="rgba(0, 0, 0, 1)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.interactive-map .toggle-filters:hover {
    color: #0860aa;
}

.interactive-map .selected-filter {
    font-size: 14px;
    line-height: 17px;
    text-align: left;
    padding-left: 32px;
    display: flex;
    align-items: center;
}

.interactive-map .selected-filter .filter-label {
    font-weight: 400;
    margin-right: 8px;
}

.interactive-map .selected-filter .filter-value.selected {
    text-transform: uppercase;
    letter-spacing: .21em;
    padding: 4px 20px 4px 8px;
    color: #fff;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M12 4L4 12" stroke="white" stroke-linejoin="round"/><path d="M4 4L12 12" stroke="white" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center right 4px;
    background-size: 16px 16px;
    background-color: #0860aa;
    cursor: pointer;
}

.interactive-map .selected-filter .filter-value.selected:hover {
    background-color: #07508d;
}

@media (min-width: 991px) {
    .interactive-map .selected-filter {
        display: none;
    }
}

@media (min-width: 991px) {
    .interactive-map .btn-filter.toggle-filters {
        display: none;
    }

    .interactive-map #filters-collapse {
        display: block !important;
    }

    .interactive-map #filters-collapse.collapse {
        display: block !important;
    }
}

.interactive-map #chartdiv {
    background: #edf5f3;
    min-width: 100%;
    height: calc(100vw - 30px);
    position: relative;
    overflow: hidden;
}

@media (min-width: 576px) {
    .interactive-map #chartdiv {
        margin: 0 -15px;

        height: 788px;
    }
}

.interactive-map #chartdiv [tabindex='0']:focus {
    outline: none !important;
}

.interactive-map #location-list {
    font-family: sans-serif;
    width: 300px
}

.interactive-map .location-item {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
}

.interactive-map .interactive-map .location-item strong {
    font-size: 16px;
}

.interactive-map .location-item .cat {
    font-size: 12px;
    color: #666;
}

.interactive-map .btn-cta.show-list {
    display: inline-block;
    margin-top: 40px;
    margin-bottom: 40px;
}

.custom-tooltip {
    text-align: left;
    position: absolute;
    background: #fff;
    border: 1px solid #828282;
    padding: 16px;
    z-index: 1;
    font-size: 14px;
    width: 240px;
    transform: translateY(-32px);
}

.custom-tooltip:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid #fff;
    filter: drop-shadow(0 2px 0 #828282);
}

.map-item-category {
    text-transform: uppercase;
    font-style: italic;
    font-size: 12px;
    margin-bottom: 8px;
}

.map-item-name {
    color: #0860aa;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 2px;
}

.map-item-city {
    font-weight: 500;
    margin-bottom: 12px;
}

.map-item-description:not(:last-child) {
    margin-bottom: 18px;
}

.custom-tooltip ul {
    padding: 0;
    list-style: inside;
}

.custom-tooltip ul li {
    list-style-type: disc !important;
}

.custom-pin {
    width: 16px;
    height: 16px;
    border: 1.5px solid #fff;
    background: #f8b232;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-pin:after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M8 3.3335V12.6668" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.33325 8H12.6666" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    width: 16px;
    height: 16px;
}

.custom-pin.active:after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M3.33325 8H12.6666" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    width: 16px;
    height: 16px;
}

.custom-pin:focus-visible:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    border: 2px solid #f8b232;
    border-radius: 50%;
    pointer-events: none;
    box-sizing: border-box;
}
