.search-form-wrap {
    z-index: 10;
}
.anothemes-travel-search {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 4px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 40px;
    box-shadow:0 10px 35px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
}
.ats-search-field {
    flex: 1;
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}
.ats-style {
    position: relative;
}
.ats-style:after {
    content: "";
    width: 1px;
    height: 70%;
    top: 15%;
    right: 0;
    background: #e5e5e5;
    position: absolute;
    display: block;
}
.ats-search-icon {
    display: flex;
    align-items: center;
    margin-right: 5px;
    color: #222;
}
.ats-search-input {
    width: 100%;
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 16px;
    font-weight: 400;
    color: #222;
}

.ats-search-input::placeholder {
    color: #5f5f5f;
}


/* =========================
   SELECT
========================= */

.ats-select {
    position: relative;
    min-width: 235px;
    height: 50px;
}


.ats-select-trigger {
    width: 100%;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    outline: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    color: #222;
}


.ats-selected {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.ats-select-trigger svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}


.ats-select.open
.ats-select-trigger svg {
    transform: rotate(180deg);
}


/* =========================
   DROPDOWN
========================= */
.ats-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
    right: 10px;
    z-index: 999;
    padding: 8px;
    background: #fff;
    border-radius: 14px;
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    max-height: 230px;
    overflow-y: auto;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}


.ats-select.open .ats-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.ats-option {
    padding: 11px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.ats-option:hover {
    background: #f2f7f7;
}


.ats-option.active {
    background: #eef7f6;
    color: #128b86;
    font-weight: 500;
}


/* =========================
   BUTTON
========================= */

.ats-submit {
    flex-shrink: 0;
    height: 52px;
    padding: 0 32px;
    border: 0;
    border-radius: 32px;
    background: #128b86;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.ats-submit:hover {
    background: #0e756f;
    transform: translateY(-1px);
}


.anothemes-region-cards {
    width: 100%;
}


/* HEADER */

.anothemes-region-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}


.anothemes-region-title {
    margin: 0;

    font-size: 22px;
    line-height: 1.2;

    font-weight: 700;

    color: #242424;
}


.anothemes-region-view-all {
    display: flex;
    align-items: center;
    gap: 5px;

    color: #087f7b;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;
}


.anothemes-region-view-all span {
    font-size: 22px;
    line-height: 12px;
}


/* LIST */

.anothemes-region-list {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;
}


/* CARD */

.anothemes-region-card {
    position: relative;
    display: block;
    height: 330px;
    overflow: hidden;
    border-radius: 9px;
    color: #fff;
    text-decoration: none;
    background: #ddd;
}

.anothemes-region-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .45s ease;
}

.anothemes-region-card:hover img {
    transform: scale(1.05);
}


/* OVERLAY */

.anothemes-region-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0) 30%,
            rgba(0,0,0,.15) 45%,
            rgba(0,0,0,.82) 100%
        );
}


/* CONTENT */

.anothemes-region-content {
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 15px;
    z-index: 2;
}


.anothemes-region-content h3 {
    margin: 0 0 3px;
    font-size: 17px;
    line-height: 1.25;
    color: #fff;
    font-weight: 700;
}


.anothemes-region-description {
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(255,255,255,.92);
}


.anothemes-region-count {
    font-size: 12px;
    color: rgba(255,255,255,.95);
}


.anothemes-region-count .heart {
    color: #ff2f70;
    font-size: 17px;
    vertical-align: -1px;
    margin-right: 2px;
}

.map-svg .region-path {
    fill: #c8dada;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linejoin: round;
    transition:
        fill 0.25s ease,
        opacity 0.25s ease;
}


/* TABLET */

@media (max-width: 1024px) {
    .anothemes-region-list {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
    .anothemes-travel-search {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border-radius: 20px;
    }


    .ats-search-field {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #e5e5e5;
        padding: 0 15px;
    }


    .ats-select {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #e5e5e5;
    }


    .ats-submit {
        width: 100%;
        margin-top: 8px;
    }


    .ats-dropdown {
        left: 0;
        right: 0;
    }

    .anothemes-region-list {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }


    .anothemes-region-card {
        flex: 0 0 220px;
        height: 280px;
        scroll-snap-align: start;
    }


    .anothemes-region-title {
        font-size: 19px;
    }
}