/* =========================================================
   Barad — home page (Views/Home/Index)
   ========================================================= */

/* ---------------- Hero ---------------- */
.bd-hero {
    position: relative;
    background: var(--bd-blue);
    background-image: linear-gradient(155deg, var(--bd-blue) 0%, var(--bd-blue-700) 45%, var(--bd-blue-900) 100%);
    color: #fff;
    padding: 56px 0 150px;
    overflow: hidden;
    isolation: isolate;
}

    .bd-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.3px);
        background-size: 26px 26px;
        mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
        -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
        z-index: -1;
    }

    /* curved bottom edge */
    .bd-hero::after {
        content: "";
        position: absolute;
        left: -5%;
        right: -5%;
        bottom: -120px;
        height: 200px;
        background: var(--bd-paper);
        border-radius: 50% 50% 0 0 / 100% 100% 0 0;
        z-index: -1;
    }

.bd-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
}

.bd-hero-copy h1 {
    font-family: var(--bd-display);
    color: #fff;
    font-size: clamp(30px, 4.4vw, 54px);
    line-height: 1.45;
    margin: 18px 0 14px;
}

    .bd-hero-copy h1 em {
        font-style: normal;
        color: var(--bd-orange);
        position: relative;
        display: inline-block;
    }

        .bd-hero-copy h1 em svg {
            position: absolute;
            right: -4%;
            bottom: -10px;
            width: 108%;
            height: 16px;
        }

.bd-hero-type {
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 700;
    color: rgba(255, 255, 255, .92);
    min-height: 34px;
    margin-bottom: 12px;
}

    .bd-hero-type #text {
        color: var(--bd-peach) !important;
    }

    .bd-hero-type .console-underscore {
        display: inline-block;
        color: var(--bd-orange);
        margin-right: 2px;
    }

        .bd-hero-type .console-underscore.hidden {
            visibility: hidden;
        }

.bd-hero-copy p {
    color: rgba(255, 255, 255, .82);
    font-size: 15.5px;
    max-width: 540px;
}

.bd-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

    .bd-hero-points li {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px 8px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .1);
        border: 1px solid rgba(255, 255, 255, .16);
        font-size: 13.5px;
    }

        .bd-hero-points li i {
            color: var(--bd-orange);
        }

/* the arched photo window with the sun behind it */
.bd-hero-art {
    position: relative;
    height: 470px;
}

.bd-sun {
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    left: 4%;
    top: 4%;
    background: radial-gradient(circle at 35% 35%, #FFB27F 0%, var(--bd-orange) 45%, var(--bd-orange-600) 100%);
    box-shadow: 0 0 0 26px rgba(254, 122, 54, .14), 0 0 0 58px rgba(254, 122, 54, .07);
    animation: bd-glow 6s ease-in-out infinite;
}

@keyframes bd-glow {
    50% {
        box-shadow: 0 0 0 34px rgba(254, 122, 54, .16), 0 0 0 70px rgba(254, 122, 54, .06);
    }
}

.bd-arch {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: 330px;
    height: 430px;
    border-radius: 999px 999px 26px 26px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, .95);
    box-shadow: var(--bd-shadow-lg);
    background: var(--bd-blue-900);
}

    .bd-arch img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transform: scale(1.06);
        transition: opacity .7s var(--bd-ease), transform 1.4s var(--bd-ease);
    }

        .bd-arch img.is-on {
            opacity: 1;
            transform: none;
        }

.bd-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

    .bd-route path {
        stroke-dasharray: 3 12;
        animation: bd-dash 30s linear infinite;
    }

@keyframes bd-dash {
    to {
        stroke-dashoffset: -600;
    }
}

.bd-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--bd-ink);
    border-radius: 16px 4px 16px 16px;
    padding: 10px 14px;
    box-shadow: var(--bd-shadow-lg);
    font-size: 13px;
    line-height: 1.6;
    animation: bd-bob 5s ease-in-out infinite;
}

    .bd-float i {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: var(--bd-orange-100);
        color: var(--bd-orange-700);
        flex-shrink: 0;
    }

    .bd-float b {
        display: block;
        font-size: 13.5px;
    }

    .bd-float small {
        color: var(--bd-muted);
    }

    .bd-float.is-a {
        left: 0;
        bottom: 70px;
    }

    .bd-float.is-b {
        right: 0;
        top: 40px;
        animation-delay: -2.5s;
    }

        .bd-float.is-b i {
            background: var(--bd-blue-100);
            color: var(--bd-blue);
        }

@keyframes bd-bob {
    50% {
        transform: translateY(-8px);
    }
}

/* ---------------- Search card ---------------- */
.bd-search-zone {
    position: relative;
    z-index: 5;
    margin-top: -118px;
}

.bd-search {
    --bd-notch: var(--bd-paper);
    background: #fff;
    border-radius: var(--bd-tab);
    box-shadow: var(--bd-shadow-lg);
    border: 1px solid var(--bd-line);
}

.bd-search-tabs {
    display: flex;
    gap: 6px;
    padding: 14px 16px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

    .bd-search-tabs::-webkit-scrollbar {
        display: none;
    }

.bd-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px 14px;
    border: 0;
    background: none;
    border-radius: 14px 14px 0 0;
    color: var(--bd-muted);
    font-weight: 700;
    font-size: 14.5px;
    white-space: nowrap;
    transition: color .2s var(--bd-ease), background-color .2s var(--bd-ease);
}

    .bd-tab i {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: var(--bd-sand);
        color: var(--bd-blue);
        font-size: 14px;
        transition: background-color .2s var(--bd-ease), color .2s var(--bd-ease), transform .3s var(--bd-ease);
    }

    .bd-tab:hover {
        color: var(--bd-ink);
    }

    .bd-tab.is-active {
        color: var(--bd-orange-700);
        background: var(--bd-orange-50);
    }

        .bd-tab.is-active i {
            background: var(--bd-orange);
            color: #fff;
            transform: rotate(-8deg);
        }

        .bd-tab.is-active::after {
            content: "";
            position: absolute;
            right: 18px;
            left: 18px;
            bottom: 0;
            height: 3px;
            border-radius: 3px 3px 0 0;
            background: var(--bd-orange);
        }

    .bd-tab .bd-soon {
        font-size: 10.5px;
        font-weight: 700;
        color: var(--bd-blue);
        background: var(--bd-blue-100);
        border-radius: 6px;
        padding: 1px 6px;
    }

.bd-search > .bd-perf {
    margin: 0 18px;
}

.bd-search-body {
    padding: 22px 22px 24px;
}

.bd-pane {
    display: none;
}

    .bd-pane.is-active {
        display: block;
        animation: bd-pane-in .35s var(--bd-ease);
    }

@keyframes bd-pane-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

.bd-pane-opts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

    .bd-pane-opts .dropdowns {
        min-width: 150px;
    }

        .bd-pane-opts .dropdowns .selections {
            min-height: 40px;
            border-radius: 999px !important;
            background: var(--bd-sand) !important;
            border-color: transparent !important;
            font-size: 13.5px;
            font-weight: 600;
        }

    .bd-pane-opts .guests-input > button {
        min-height: 40px;
        border-radius: 999px !important;
        background: var(--bd-sand) !important;
        border-color: transparent !important;
        font-size: 13.5px;
        font-weight: 600;
        min-width: 140px;
    }

    .bd-pane-opts .guests-input__options {
        top: 48px !important;
        right: 0;
    }

    .bd-pane-opts .bd-opt-ico {
        color: var(--bd-blue);
        font-size: 13px;
    }

.bd-fields {
    display: grid;
    gap: 10px;
    align-items: stretch;
}

    .bd-fields.is-flight {
        grid-template-columns: 1fr 1fr .85fr .85fr auto;
    }

    .bd-fields.is-hotel {
        grid-template-columns: 1.4fr .9fr .9fr 1fr auto;
    }

    .bd-fields.is-tour {
        grid-template-columns: 1fr auto;
    }

/* a boarding-pass field: small label on top, borderless input */
.bd-field {
    position: relative;
    border: 1.5px solid var(--bd-line-2);
    border-radius: 14px;
    padding: 8px 14px 4px;
    background: #fff;
    min-width: 0;
    transition: border-color .2s var(--bd-ease), box-shadow .2s var(--bd-ease), background-color .2s var(--bd-ease);
}

    .bd-field:hover {
        border-color: #d3c2b0;
    }

    .bd-field:focus-within {
        border-color: var(--bd-orange);
        box-shadow: var(--bd-ring);
    }

    .bd-field > label {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
        font-size: 12px;
        font-weight: 700;
        color: var(--bd-muted);
        cursor: pointer;
    }

        .bd-field > label i {
            color: var(--bd-orange-600);
            font-size: 11px;
        }

    .bd-field .form-control,
    .bd-field input.form-control[style] {
        border: 0 !important;
        box-shadow: none !important;
        background-color: transparent !important;
        min-height: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        font-size: 15px !important;
        font-weight: 700;
        color: var(--bd-ink);
    }

        .bd-field .form-control::placeholder {
            font-weight: 500;
            color: #a8adb4;
            font-size: 14px;
        }

    .bd-field:has(input:disabled) {
        background: var(--bd-sand);
        border-style: dashed;
    }

        .bd-field:has(input:disabled) > label {
            opacity: .65;
        }

    .bd-field .form-item .fa-close {
        left: -6px;
    }

    .bd-field .search-auto-complate {
        top: calc(100% + 12px) !important;
        right: -15px !important;
        min-width: 320px;
    }

    .bd-field.is-swap {
        overflow: visible;
    }

    .bd-field .switch-city {
        left: -23px;
    }

    .bd-field #hotel-passenger-field {
        border: 0 !important;
        min-height: 36px;
        height: 36px;
        padding: 0;
        background: transparent !important;
        font-weight: 700;
        font-size: 14.5px;
    }

    .bd-field .passenger-box {
        top: calc(100% + 12px);
        right: -15px;
    }

    .bd-field select.form-control, .bd-field .form-select {
        border: 0 !important;
        box-shadow: none !important;
        min-height: 36px;
        padding: 0 0 0 28px;
        background-position: left 4px center;
        font-weight: 700;
    }

/* nights count: shown by hotel-passenger-box.js inside the check-out field */
.bd-night {
    position: absolute;
    left: 10px;
    top: 7px;
}

    .bd-night .stay-time-btn {
        border: 0;
        border-radius: 7px;
        padding: 1px 8px;
        background: var(--bd-blue-100);
        color: var(--bd-blue);
        font-weight: 700;
        font-size: 11.5px;
        line-height: 1.8;
        white-space: nowrap;
        pointer-events: none;
    }

.bd-go {
    display: flex;
    align-items: stretch;
}

    .bd-go .btn {
        min-width: 150px;
        min-height: 100%;
        border-radius: 14px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 800;
        padding: 0 22px;
    }

.bd-soon-pane {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 4px;
}

    .bd-soon-pane .bd-soon-ico {
        width: 64px;
        height: 64px;
        border-radius: 20px 6px 20px 20px;
        display: grid;
        place-items: center;
        background: var(--bd-blue-100);
        color: var(--bd-blue);
        font-size: 26px;
        flex-shrink: 0;
    }

    .bd-soon-pane h3 {
        font-family: var(--bd-display);
        font-size: 18px;
        margin: 0 0 4px;
    }

    .bd-soon-pane p {
        margin: 0;
        color: var(--bd-muted);
    }

    .bd-soon-pane .bd-btn {
        margin-right: auto;
        flex-shrink: 0;
    }

.bd-tour-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

    .bd-tour-quick a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 12px;
        border-radius: 999px;
        background: var(--bd-sand);
        color: var(--bd-text);
        font-size: 13px;
        text-decoration: none;
        transition: background-color .2s var(--bd-ease), color .2s var(--bd-ease);
    }

        .bd-tour-quick a:hover {
            background: var(--bd-orange);
            color: #fff;
        }

/* ---------------- Perks strip ---------------- */
.bd-perks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
    border: 1.5px dashed var(--bd-line-2);
    border-radius: var(--bd-r-lg);
    background: var(--bd-sand);
}

.bd-perk {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    position: relative;
}

    .bd-perk + .bd-perk::before {
        content: "";
        position: absolute;
        right: 0;
        top: 18px;
        bottom: 18px;
        border-right: 1.5px dashed var(--bd-line-2);
    }

    .bd-perk i {
        width: 48px;
        height: 48px;
        border-radius: 14px 4px 14px 14px;
        display: grid;
        place-items: center;
        background: #fff;
        color: var(--bd-orange-600);
        font-size: 19px;
        box-shadow: var(--bd-shadow-sm);
        flex-shrink: 0;
    }

    .bd-perk b {
        display: block;
        color: var(--bd-ink);
        font-size: 14.5px;
    }

    .bd-perk small {
        color: var(--bd-muted);
        font-size: 12.5px;
        line-height: 1.7;
        display: block;
    }

/* ---------------- Services (arch cards) ---------------- */
.bd-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.bd-service {
    position: relative;
    display: block;
    height: 400px;
    border-radius: 999px 999px 26px 26px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--bd-shadow);
    isolation: isolate;
}

    .bd-service img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2;
        transition: transform 1s var(--bd-ease);
    }

    .bd-service::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(2, 23, 51, 0) 30%, rgba(2, 23, 51, .88) 100%);
        z-index: -1;
    }

    .bd-service:hover img {
        transform: scale(1.08);
    }

.bd-service-num {
    position: absolute;
    top: 26%;
    right: 50%;
    transform: translateX(50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bd-orange);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .25);
}

.bd-service-cap {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 24px;
    text-align: center;
}

    .bd-service-cap h3 {
        font-family: var(--bd-display);
        color: #fff;
        font-size: 20px;
        margin: 0 0 6px;
    }

    .bd-service-cap p {
        color: rgba(255, 255, 255, .82);
        font-size: 13.5px;
        margin: 0 0 14px;
        line-height: 1.9;
    }

    .bd-service-cap span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: 700;
        font-size: 13.5px;
        color: var(--bd-peach);
    }

/* ---------------- Destination postcards ---------------- */
.bd-postcards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 22px;
    overflow-x: auto;
    padding: 14px 6px 26px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--bd-orange) transparent;
}

.bd-postcard {
    scroll-snap-align: start;
    display: block;
    background: #fff;
    padding: 10px 10px 14px;
    border-radius: 10px;
    box-shadow: var(--bd-shadow);
    color: var(--bd-ink);
    text-decoration: none;
    transform: rotate(-1.6deg);
    transition: transform .35s var(--bd-ease), box-shadow .35s var(--bd-ease);
}

    .bd-postcard:nth-child(even) {
        transform: rotate(1.6deg);
    }

    .bd-postcard:hover {
        transform: rotate(0) translateY(-6px);
        box-shadow: var(--bd-shadow-lg);
        color: var(--bd-ink);
    }

    .bd-postcard .bd-postcard-img {
        position: relative;
        aspect-ratio: 4 / 5;
        border-radius: 6px;
        overflow: hidden;
        background: var(--bd-blue-100);
    }

        .bd-postcard .bd-postcard-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .bd-postcard .bd-postcard-img .bd-stamp {
            position: absolute;
            left: 10px;
            top: 10px;
        }

    .bd-postcard b {
        display: block;
        font-family: var(--bd-display);
        font-size: 15px;
        margin: 12px 4px 2px;
        line-height: 1.7;
    }

    .bd-postcard small {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 0 4px;
        color: var(--bd-orange-700);
        font-weight: 700;
        font-size: 12.5px;
    }

/* ---------------- Why Barad ---------------- */
.bd-why {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.bd-why-art {
    position: relative;
    height: 480px;
}

    .bd-why-art .bd-why-sun {
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: var(--bd-orange);
        top: 0;
        left: 6%;
        opacity: .95;
    }

    .bd-why-art .bd-why-photo {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 82%;
        height: 90%;
        border-radius: 999px 999px 24px 24px;
        overflow: hidden;
        box-shadow: var(--bd-shadow-lg);
        border: 8px solid #fff;
    }

        .bd-why-art .bd-why-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .bd-why-art .bd-float {
        left: 0;
        bottom: 46px;
    }

.bd-steps {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    position: relative;
}

    .bd-steps::before {
        content: "";
        position: absolute;
        right: 25px;
        top: 26px;
        bottom: 26px;
        border-right: 2px dashed var(--bd-line-2);
    }

    .bd-steps li {
        position: relative;
        display: flex;
        gap: 18px;
        padding: 12px 0;
    }

        .bd-steps li > span {
            position: relative;
            width: 52px;
            height: 52px;
            border-radius: 16px 4px 16px 16px;
            display: grid;
            place-items: center;
            background: #fff;
            color: var(--bd-orange-600);
            font-size: 20px;
            box-shadow: var(--bd-shadow);
            flex-shrink: 0;
        }

        .bd-steps li:nth-child(2) > span {
            color: var(--bd-blue);
        }

        .bd-steps li h3 {
            font-family: var(--bd-display);
            font-size: 17px;
            margin: 4px 0 4px;
        }

        .bd-steps li p {
            margin: 0;
            color: var(--bd-muted);
            font-size: 14px;
        }

/* ---------------- Magazine ---------------- */
.bd-mag {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
}

.bd-mag-feature {
    position: relative;
    display: block;
    min-height: 460px;
    border-radius: var(--bd-tab);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--bd-shadow);
    isolation: isolate;
}

    .bd-mag-feature img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2;
        transition: transform 1s var(--bd-ease);
    }

    .bd-mag-feature::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(2, 23, 51, 0) 35%, rgba(2, 23, 51, .9) 100%);
        z-index: -1;
    }

    .bd-mag-feature:hover img {
        transform: scale(1.05);
    }

.bd-mag-feature-cap {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 28px;
}

    .bd-mag-feature-cap h3 {
        font-family: var(--bd-display);
        color: #fff;
        font-size: clamp(19px, 2vw, 25px);
        line-height: 1.7;
        margin: 12px 0 10px;
    }

    .bd-mag-feature-cap span {
        color: var(--bd-peach);
        font-weight: 700;
        font-size: 14px;
    }

.bd-mag-list {
    display: grid;
    gap: 14px;
    align-content: start;
}

.bd-mag-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--bd-line);
    border-radius: 18px;
    text-decoration: none;
    color: var(--bd-ink);
    transition: border-color .25s var(--bd-ease), transform .25s var(--bd-ease), box-shadow .25s var(--bd-ease);
}

    .bd-mag-item:hover {
        border-color: var(--bd-orange);
        transform: translateX(-4px);
        box-shadow: var(--bd-shadow-sm);
        color: var(--bd-ink);
    }

    .bd-mag-item .bd-mag-thumb {
        width: 108px;
        height: 84px;
        border-radius: 12px 4px 12px 12px;
        overflow: hidden;
        flex-shrink: 0;
        background: var(--bd-blue-100);
    }

        .bd-mag-item .bd-mag-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .bd-mag-item b {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 14.5px;
        line-height: 1.8;
    }

    .bd-mag-item small {
        display: block;
        color: var(--bd-orange-700);
        font-weight: 700;
        font-size: 12.5px;
        margin-top: 4px;
    }

    .bd-mag-item .bd-mag-go {
        margin-right: auto;
        color: var(--bd-blue);
        font-size: 13px;
        flex-shrink: 0;
    }

/* ---------------- Responsive ---------------- */
@media (max-width: 1199.98px) {
    .bd-fields.is-flight {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

        .bd-fields.is-flight .bd-go {
            grid-column: 1 / -1;
        }

    .bd-fields.is-hotel {
        grid-template-columns: 1fr 1fr 1fr;
    }

        .bd-fields.is-hotel .bd-field.is-city {
            grid-column: 1 / -1;
        }

        .bd-fields.is-hotel .bd-go {
            grid-column: 1 / -1;
        }

    .bd-go .btn {
        min-height: 54px;
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .bd-hero {
        padding: 40px 0 150px;
    }

    .bd-hero-grid {
        grid-template-columns: 1fr;
    }

    .bd-hero-art {
        display: none;
    }

    .bd-hero-copy {
        text-align: center;
    }

        .bd-hero-copy p {
            margin-inline: auto;
        }

    .bd-hero-points {
        justify-content: center;
    }

    .bd-perks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bd-perk:nth-child(3)::before {
        display: none;
    }

    .bd-services {
        grid-template-columns: 1fr 1fr;
    }

    .bd-why {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bd-why-art {
        height: 380px;
        max-width: 480px;
        width: 100%;
        margin: 0 auto;
    }

    .bd-mag {
        grid-template-columns: 1fr;
    }

    .bd-mag-feature {
        min-height: 340px;
    }
}

@media (max-width: 767.98px) {
    .bd-search-tabs {
        padding: 10px 10px 0;
    }

    .bd-tab {
        padding: 10px 12px 12px;
        font-size: 13.5px;
    }

        .bd-tab i {
            width: 30px;
            height: 30px;
        }

    .bd-search-body {
        padding: 18px 14px 18px;
    }

    .bd-fields.is-flight, .bd-fields.is-hotel, .bd-fields.is-tour {
        grid-template-columns: 1fr 1fr;
    }

        .bd-fields.is-flight .bd-field.is-swap,
        .bd-fields.is-flight .bd-field.is-swap + .bd-field {
            grid-column: 1 / -1;
        }

        .bd-fields.is-tour .bd-field {
            grid-column: 1 / -1;
        }

        .bd-fields.is-tour .bd-go {
            grid-column: 1 / -1;
        }

    .bd-field .switch-city {
        left: 16px;
        top: auto;
        bottom: -22px;
        transform: rotate(90deg);
    }

        .bd-field .switch-city:hover {
            transform: rotate(270deg);
        }

    .bd-field .search-auto-complate {
        min-width: 0;
        width: calc(100vw - 48px) !important;
    }

    .bd-pane-opts .dropdowns, .bd-pane-opts .guests-input {
        flex: 1 1 140px;
    }

    .bd-soon-pane {
        flex-wrap: wrap;
    }

        .bd-soon-pane .bd-btn {
            margin-right: 0;
        }

    .bd-perks {
        grid-template-columns: 1fr;
    }

    .bd-perk + .bd-perk::before {
        right: 20px;
        left: 20px;
        top: 0;
        bottom: auto;
        border-right: 0;
        border-top: 1.5px dashed var(--bd-line-2);
    }

    .bd-services {
        grid-template-columns: 1fr;
    }

    .bd-service {
        height: 340px;
    }

    .bd-mag-item .bd-mag-thumb {
        width: 88px;
        height: 72px;
    }
}
