

/* =========================================================
   SEARCH WRAPPER
========================================================= */

.destination-search-section {
    position: relative;
    z-index: 100;
    /* margin-top: -85px; */
    margin-top: -203px;
    padding-bottom: 70px;
}

.trv-search-st2ss,
.trv-search-st2ss * {
    box-sizing: border-box;
}

.trv-search-st2ss {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    position: relative;
    z-index: 99999;
}

.trv-search-st1-bg {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 55px rgba(0,0,0,.15);
    overflow: visible !important;
}


/* =========================================================
   TABS
========================================================= */

.search-type-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.trv-search-st2ss .search-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    background: #f3f5f7;
    color: #222;

    padding: 12px 23px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: .25s ease;
}

.trv-search-st2ss .search-tab i {
    margin-right: 7px;
}

.trv-search-st2ss .search-tab:hover {
    background: #e8f5f8;
}

.trv-search-st2ss .search-tab.active {
    background: #1d85a2;
    color: #fff;

    box-shadow: 0 8px 20px rgba(29,133,162,.25);
}


/* =========================================================
   FORM GRID
========================================================= */

.travel-search-fields {
    display: grid;

    grid-template-columns:
        1.35fr
        1.35fr
        1fr
        1fr
        1fr
        .9fr
        auto;

    gap: 12px;

    align-items: end;

    position: relative;

    overflow: visible !important;
}


/* =========================================================
   FIELD
========================================================= */

.travel-field {
    min-width: 0;
    position: relative;
    overflow: visible !important;
}

.travel-field label {
    display: block;

    margin-bottom: 7px;

    color: #555;

    font-size: 12px;
    font-weight: 700;
}

.travel-field label i {
    margin-right: 5px;
    color: #1d85a2;
}


/* =========================================================
   INPUT / SELECT
========================================================= */

.trv-search-st2ss .travel-field input,
.trv-search-st2ss .travel-field select {

    width: 100%;

    height: 54px;

    padding: 0 14px;

    border: 1px solid #e2e5e7;

    border-radius: 11px;

    background: #fff;

    color: #222;

    font-size: 14px;

    outline: none;

    transition: .2s ease;

}

.trv-search-st2ss .travel-field input:focus,
.trv-search-st2ss .travel-field select:focus {

    border-color: #1d85a2;

    box-shadow:
        0 0 0 3px rgba(29,133,162,.08);

}


/* =========================================================
   LOCATION SUGGESTIONS
========================================================= */

.airport-suggestions {

    position: absolute;

    top: calc(100% + 7px);

    left: 0;

    width: 100%;

    min-width: 280px;

    max-height: 310px;

    overflow-y: auto;

    background: #fff;

    border: 1px solid #e8e8e8;

    border-radius: 13px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.18);

    z-index: 2147483000;

    display: none;

}

.airport-suggestion {

    padding: 13px 15px;

    border-bottom: 1px solid #eeeeee;

    cursor: pointer;

    transition: background .2s ease;

}

.airport-suggestion:last-child {
    border-bottom: 0;
}

.airport-suggestion:hover {
    background: #f5fafb;
}

.airport-suggestion strong {

    display: block;

    color: #222;

    font-size: 14px;

    font-weight: 700;

}

.airport-suggestion small {

    display: block;

    margin-top: 4px;

    color: #777;

    font-size: 12px;

}

.airport-suggestion small b {
    color: #1d85a2;
}

.airport-loading,
.airport-no-result {

    padding: 18px;

    text-align: center;

    color: #777;

    font-size: 13px;

}


/* =========================================================
   PASSENGER
========================================================= */

.passenger-field {
    position: relative !important;
    z-index: 999999 !important;
    overflow: visible !important;
}

.trv-search-st2ss .passenger-toggle {

    width: 100%;

    height: 54px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 14px;

    border: 1px solid #e2e5e7;

    border-radius: 11px;

    background: #fff;

    color: #222;

    cursor: pointer;

    text-align: left;

}

.passenger-toggle strong {

    color: #222;

    font-size: 14px;

    font-weight: 700;

}

.passenger-toggle i {

    color: #777;

    font-size: 11px;

}


/* =========================================================
   PASSENGER DROPDOWN
   FIXED = NEVER CLIPPED BY HERO
========================================================= */

.passenger-dropdown {

    position: fixed !important;

    width: 330px;

    max-width: calc(100vw - 20px);

    background: #fff;

    border: 1px solid #e8e8e8;

    border-radius: 16px;

    padding: 8px;

    box-shadow:
        0 20px 55px rgba(0,0,0,.20);

    z-index: 2147483647 !important;

    display: none;

}

.passenger-dropdown.show {
    display: block !important;
}


.passenger-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 15px 10px;

    border-bottom: 1px solid #eeeeee;

}

.passenger-row strong {

    display: block;

    color: #222;

    font-size: 14px;

    font-weight: 700;

}

.passenger-row small {

    display: block;

    margin-top: 3px;

    color: #888;

    font-size: 12px;

}


.passenger-counter {

    display: flex;

    align-items: center;

    gap: 10px;

}

.passenger-counter span {

    width: 22px;

    text-align: center;

    color: #222;

    font-size: 14px;

    font-weight: 700;

}

.counter-btn {

    width: 34px !important;

    min-width: 34px !important;

    height: 34px !important;

    display: flex !important;

    align-items: center;

    justify-content: center;

    padding: 0 !important;

    border: 1px solid #ddd !important;

    border-radius: 50% !important;

    background: #fff !important;

    color: #1d85a2 !important;

    font-size: 20px !important;

    cursor: pointer;

}

.counter-btn:hover {

    border-color: #1d85a2 !important;

    background: #eef9fb !important;

}


.passenger-done {

    padding: 11px;

    text-align: right;

}

.passenger-done button {

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    width: auto !important;

    height: auto !important;

    padding: 9px 20px !important;

    border: 0 !important;

    border-radius: 8px !important;

    background: #1d85a2 !important;

    color: #fff !important;

    font-size: 13px !important;

    font-weight: 700;

    cursor: pointer;

}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.travel-search-button {
    min-width: 145px;
}

.trv-search-st2ss .travel-search-button button {

    width: 100%;

    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 0 22px;

    border: 0;

    border-radius: 11px;

    background: #1d85a2;

    color: #fff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: .25s ease;

}

.trv-search-st2ss .travel-search-button button:hover {

    background: #176f88;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(29,133,162,.25);

}


/* =========================================================
   MULTI CITY
========================================================= */

.multi-city-search {

    width: 100%;

    position: relative;

    overflow: visible !important;

}

.multi-segment {

    display: grid;

    grid-template-columns:
        38px
        1fr
        1fr
        1fr
        42px;

    gap: 12px;

    align-items: end;

    padding: 8px 0 15px;

    border-bottom: 1px solid #eee;

    position: relative;

    overflow: visible !important;

}

.segment-number {

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 10px;

    border-radius: 50%;

    background: #1d85a2;

    color: #fff;

    font-size: 13px;

    font-weight: 700;

}


.remove-segment {

    width: 40px;

    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 10px;

    background: #f5f5f5;

    color: #e53935;

    cursor: pointer;

}

.remove-segment:hover {

    background: #fff0f0;

}

.remove-segment.is-first {
    visibility: hidden;
}


/* =========================================================
   ADD SEGMENT
========================================================= */

.add-segment {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin: 18px 0;

    padding: 10px 16px;

    border: 1px dashed #1d85a2;

    border-radius: 9px;

    background: #f4fbfc;

    color: #1d85a2;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

}


/* =========================================================
   MULTI BOTTOM
========================================================= */

.multi-bottom {

    display: grid;

    grid-template-columns:
        220px
        190px
        160px;

    gap: 12px;

    align-items: end;

    overflow: visible !important;

    position: relative;

    z-index: 999999;

}


/* =========================================================
   DESTINATION SECTION
========================================================= */

.destination-list-area {
    position: relative;
    z-index: 2;
}

.destination-heading {
    max-width: 800px;
    margin: 0 auto 45px;
}

.destination-heading .section-subtitle {
    display: inline-block;

    margin-bottom: 10px;

    color: #1d85a2;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 3px;
}

.destination-heading h2 {

    margin-bottom: 12px;

    color: #102b4e;

    font-size: clamp(32px, 4vw, 52px);

    line-height: 1.08;

}

.destination-heading p {

    margin: 0;

    color: #6d7480;

    font-size: 16px;

    line-height: 1.7;

}


/* =========================================================
   DESTINATION GRID
========================================================= */

.destination-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;

}


.destination-card {

    position: relative;

    min-height: 340px;

    overflow: hidden;

    border-radius: 18px;

    display: block;

    background: #eee;

    box-shadow:
        0 10px 35px rgba(0,0,0,.08);

}


.destination-card.destination-large {

    grid-column: span 2;

    min-height: 420px;

}


.destination-card.destination-wide {

    grid-column: span 2;

    min-height: 380px;

}


.destination-image {

    position: absolute;

    inset: 0;

}

.destination-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;

}


.destination-card:hover
.destination-image img {

    transform: scale(1.07);

}


.destination-overlay {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    padding: 70px 24px 24px;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.82),
            rgba(0,0,0,.45),
            transparent
        );

    color: #fff;

}


.destination-overlay span {

    display: inline-block;

    margin-bottom: 5px;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    opacity: .9;

}


.destination-overlay h3 {

    margin: 0 0 7px;

    color: #fff;

    font-size: 28px;

    font-weight: 700;

}


.destination-overlay p {

    max-width: 500px;

    margin: 0;

    color: rgba(255,255,255,.9);

    font-size: 13px;

    line-height: 1.55;

}


/* =========================================================
   HERO OVERFLOW
========================================================= */

.destination-hero,
.destination-hero .bd-breadcrumb-wrapper,
.destination-hero .bd-breadcrumb-content {

    overflow: visible !important;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .travel-search-fields {

        grid-template-columns:
            repeat(3, 1fr);

    }

    .travel-search-button {

        grid-column: span 1;

    }

    .multi-bottom {

        grid-template-columns:
            1fr 1fr 1fr;

    }

    .destination-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =========================================================
   TABLET SMALL
========================================================= */

@media (max-width: 900px) {

    .destination-search-section {

        margin-top: -55px;

    }

    .travel-search-fields {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .travel-search-button {

        grid-column: span 2;

    }

    .multi-segment {

        grid-template-columns:
            35px
            1fr
            1fr;

    }

    .multi-segment .travel-field:nth-child(4) {

        grid-column: 2 / 3;

    }

    .multi-segment .remove-segment {

        grid-column: 3 / 4;

    }

    .multi-bottom {

        grid-template-columns:
            1fr 1fr;

    }

    .multi-bottom .travel-search-button {

        grid-column: span 2;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .destination-search-section {

        margin-top: -35px;

        padding-bottom: 45px;

    }

    .trv-search-st1-bg {

        padding: 15px;

        border-radius: 18px;

    }

    .search-type-tabs {

        gap: 7px;

    }

    .trv-search-st2ss .search-tab {

        flex: 1;

        padding: 10px 12px;

        font-size: 12px;

    }

    .trv-search-st2ss .search-tab i {

        display: none;

    }

    .travel-search-fields {

        display: block;

    }

    .travel-field {

        margin-bottom: 13px;

    }

    .travel-search-button {

        width: 100%;

    }

    .trv-search-st2ss .travel-search-button button {

        width: 100%;

    }

    .multi-segment {

        display: block;

        padding: 15px 0;

    }

    .multi-segment .travel-field {

        margin-bottom: 12px;

    }

    .segment-number {

        margin-bottom: 14px;

    }

    .remove-segment {

        width: 100%;

        height: 42px;

    }

    .multi-bottom {

        display: block;

    }

    .multi-bottom .travel-field {

        margin-bottom: 13px;

    }

    .multi-bottom .travel-search-button {

        width: 100%;

    }

    .destination-grid {

        grid-template-columns:
            1fr;

    }

    .destination-card,
    .destination-card.destination-large,
    .destination-card.destination-wide {

        grid-column: span 1;

        min-height: 330px;

    }

    .destination-heading {

        margin-bottom: 30px;

    }

    .destination-heading h2 {

        font-size: 34px;

    }

    .passenger-dropdown {

        width: calc(100vw - 20px) !important;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .search-type-tabs {

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

    }

    .trv-search-st2ss .search-tab {

        width: 100%;

        padding: 10px 5px;

        font-size: 11px;

    }

    .destination-heading h2 {

        font-size: 30px;

    }

}
