.map__section{
    padding: 24px;
    background: white;
    border-radius: 32px;
    border: solid 1px #00000026;
}
.field__selector {
    position: relative;
}

.cont__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cont__list li {
    padding: 8px 12px;
    cursor: pointer;
}

.cont__list li:hover {
    background: #f0f0f0;
}

.cont__list{
    display: none;
    position: absolute;
    width: 100%;
    background: white;
    box-shadow: 0px 10px 20px #A5A3AE66;
    z-index: 1;
    padding: 10px;
}
.input__list {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    font-family: Jost;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0;
    max-height: 400px;
    overflow: auto;

}
.map__section-title{
    font-family: Tilt Warp;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0;
    color: #00000099;
    margin: 0;
    margin-bottom: 24px;
}
input::placeholder{
    color: rgba(0, 0, 0, 0.6)!important;
}
.input__list li{
    border-radius: 6px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s;
}
.input__list li:hover{
    background: #AC5014;
    color: white;
    border-radius: 6px;
    height: 40px;
    cursor: pointer;
}
input,textarea{
    width: 100%;
    padding: 8px 12px!important;
    border-radius: 12px!important;
    border: solid 1px rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.05);
    color: #000!important;
    position: relative;
}
.map__filter{
    width: 100%;
}
.map__filter-box{
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}
.field__selector:after {
    content: url("/wp-content/uploads/2025/04/chevron-down-1.svg");
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg); /* Начальная позиция */
    right: 12px;
    transition: transform 0.3s ease; /* Плавный переход */
}

/* Стиль для раскрытого списка */
.field__selector.open:after {
    transform: translateY(-50%) rotate(180deg); /* Поворот на 180 градусов */
}
.map__container{
    height: 632px;
    width: 100%;
}
.map__box{
    height: 100%;
    border-radius: 40px;
}
.map__box-none{
    height: 100%;
    border-radius: 40px;
    background: url("/wp-content/uploads/2025/05/Content-Top.jpg");
    display: flex;
    justify-content: center;
    align-items: center;
}
.map__title-none{
    font-family: Tilt Warp;
    font-weight: 400;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: 0;
    color: black;
    text-align: center;
}
.page__title {
    font-family: Tilt Warp;
    font-weight: 400;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: 0;
    color: #000000;
    margin: 0px;
    margin-bottom: 80px;
}
/* Ограничение overflow для кастомного содержимого */
.popup__map {
    padding: 12px;
    overflow: hidden;
    max-width: max-content; /* при необходимости */
}
.popup__a-img{
    width: 100%;
    display: flex;
    justify-content: center;
}
.popup__map-img{
    width: 216px;
    height: 200px;
    object-fit: cover;
    border-radius: 24px!important;
}
.popup__map-name{
    font-family: Jost;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0;
    color: black;
}
/* Убираем крестик InfoWindow */
.gm-style-iw-d {
    overflow: visible !important;
}
.gm-style-iw-chr{
    display: none;
}
.gm-style-iw{
    padding: 0px!important;
    max-height: max-content!important;
    border-radius: 24px!important;
}
.gm-ui-hover-effect {
    display: none !important;
}
.gm-style-iw-d{
    max-height: max-content!important;
}
.popup__map-age{
    font-family: Jost;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0;
    color: #060606;
    margin-top: 4px!important;
}
.popup__map-link{
    font-family: Jost;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0;
    color: #D86419!important;
    margin-top: 6px!important;
}
a:focus-visible{
    outline: none!important;
}

.popup__box-name{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 6px!important;
}
.popup__map-distsnce{
    font-family: Jost;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    letter-spacing: 0;
    color: #00000099;
}
.edit__page{
    color: #E3925E!important;
    text-decoration: underline!important;
    font-style: italic!important;
}
.edit__page:hover{
    color: #D86419!important;
}
@media screen and (max-width: 1200px) {
    .map__section{
        padding: 0 20px;
        background: white;
        border-radius: 0px;
        border: solid 0px #00000026;
    }
    .page__title {
        text-align: center;
        margin-bottom: 32px!important;
        margin-top: 64px!important;
        font-size: 36px!important;
    }
    .map__filter-subbox{
        display: none;
    }
    .map__filter-box{
        flex-direction: column;
    }
    .map__section-title{
        font-family: Jost;
        font-weight: 500;
        font-size: 16px;
        line-height: 150%;
        letter-spacing: 0;
        color: #00000099;
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 0;
        border: solid 1px #00000026;
        border-radius: 100px;
    }
    .map__section-title:after {
        content: url(/wp-content/uploads/2025/04/chevron-down-1.svg);
        width: 24px;
        height: 24px;
        right: 12px;
        transition: transform 0.3s ease;
    }
    .map__section-title.rotated:after {
        transform: rotate(180deg);
    }
    .map__container{
        height: 632px;
        margin-bottom: 64px;
    }
    .map__box{
        border-radius: 16px;
    }
}