@import url("hero-slider.css");
@import url("sections.css");
@import url("why-bst.css");
@import url("reviews.css");
@import url("reviews-page.css");
@import url("featured-tours.css");
@import url("newsletter.css");
@import url("footer.css");
@import url("scroll-top.css");
@import url("trip-detail.css");
@import url("booking-page.css");
@import url("cruise-detail.css");
@import url("land-trips.css");
@import url("trip-dates.css");
@import url("past-trips.css");
@import url("destination-page.css");
@import url("destinations-pillar.css");
@import url("client-area.css");
@import url("about-page.css");
@import url("blog.css");
@import url("legal.css");
@import url("cruise-faq.css");
@import url("travel-agents.css");
@import url("travel-insurance.css");
@import url("packing-visa-tip.css");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap");

/* Existing template CSS starts here */

/* =========================================
   MARIO FRAMEWORK - GLOBAL
   ========================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

:root {
    --bst-font-heading: "Montserrat", sans-serif;
    --bst-font-body: "Open Sans", sans-serif;
}

body {
    font-family: var(--bst-font-body);
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.mario-header-menu a,
.mario-header-phone a,
.mario-header-cta a,
.bst-trip-search button,
.bst-travel-card-link {
    font-family: var(--bst-font-heading);
}

h1,
h2,
h3 {
    font-weight: 800;
}

.mario-header-menu a {
    font-weight: 600;
}

p,
.bst-travel-card-content p,
.bst-search-hero p {
    font-family: var(--bst-font-body);
}

/* BST HEADER — CLEAN LAUNCH VERSION */
.mario-header{width:100%;position:absolute;top:0;left:0;z-index:1000;background:transparent;border-bottom:1px solid rgba(255,255,255,.16)}
.mario-header.is-scrolled,.mario-header.is-sticky{position:fixed;top:0;left:0;width:100%;background:rgba(7,26,51,.96);box-shadow:0 8px 28px rgba(0,0,0,.2);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.mario-header-inner{width:100%;max-width:1680px;margin:0 auto;display:grid;align-items:center;box-sizing:border-box}
.mario-header-logo{min-width:0;display:flex;align-items:center;justify-content:flex-start}
.mario-header-logo img,.mario-brand-logo img{display:block;width:auto;max-width:390px;max-height:90px;object-fit:contain}
.mario-header-menu{min-width:0;display:flex;align-items:center;justify-content:center}
.mario-header-menu ul{margin:0;padding:0;list-style:none;display:flex;align-items:center}
.mario-header-menu li{margin:0;padding:0}
.mario-header-menu a{display:block;padding:10px 0;color:#fff;font-size:15px;font-weight:700;line-height:1.3;text-decoration:none;white-space:nowrap}
.mario-header-menu a:hover,.mario-header-menu .current>a,.mario-header-menu .active>a{color:#f47b35}
.mario-header-contact{display:flex;align-items:center;justify-content:flex-end;gap:26px}
.mario-header-phone{white-space:nowrap}
.mario-header-phone p,.mario-header-phone div,.mario-header-cta p{margin:0}
.mario-header-phone a{display:inline-flex;align-items:center;gap:8px;color:#fff;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap}
.mario-header-phone a:hover{color:#f47b35}
.mario-header-cta a{min-height:48px;padding:13px 24px;display:inline-flex;align-items:center;justify-content:center;background:#f47b35;color:#fff!important;border-radius:6px;font-size:14px;font-weight:700;line-height:1;text-decoration:none;text-transform:uppercase;white-space:nowrap;transition:background-color .25s ease,transform .25s ease}
.mario-header-cta a:hover{background:#d96120;transform:translateY(-2px)}
.mario-menu-toggle{display:none;width:46px;height:46px;margin-left:auto;padding:10px;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:transparent;border:0;border-radius:4px;cursor:pointer;position:relative;z-index:1002}
.mario-menu-toggle span{width:26px;height:3px;display:block;background:#fff;border-radius:2px;transition:transform .25s ease,opacity .25s ease}
.mario-mobile-menu{display:none}
/* Two rows: logo/contact, then menu. Fixed gap between natural-width labels. */
@media (min-width:1101px){
 .mario-header-inner{min-height:165px;padding:14px 38px 0;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'logo contact' 'menu menu';column-gap:30px;row-gap:0}
 .mario-header-logo{grid-area:logo}
 .mario-header-contact{grid-area:contact}
 .mario-header-menu{grid-area:menu;width:100%;margin:0;padding:0}
 .mario-header-menu ul{width:max-content;max-width:100%;margin:0 auto;padding:10px 0 12px;justify-content:center;flex-wrap:nowrap;gap:clamp(10px,1.45vw,26px)}
 .mario-header-menu li{flex:0 0 auto;width:auto;text-align:left}
 .mario-header-menu a{font-size:clamp(12px,.78vw,15px);text-align:left}
}
/* Tablet and mobile: preserve dark overlay and dropdown */
@media (max-width:1100px){
 .mario-header{position:absolute;top:0;left:0;width:100%;background:linear-gradient(180deg,rgba(4,30,55,.92) 0%,rgba(4,30,55,.55) 68%,rgba(4,30,55,0) 100%);border-bottom:0}
 .mario-header-inner{max-width:100%;min-height:82px;padding:0 18px;display:flex;justify-content:space-between;gap:15px}
 .mario-header-logo{flex:0 1 auto}
 .mario-header-logo img,.mario-brand-logo img{max-width:210px;max-height:54px;filter:drop-shadow(0 2px 5px rgba(0,0,0,.45))}
 .mario-header-menu,.mario-header-contact{display:none!important}
 .mario-menu-toggle{display:flex!important;flex:0 0 46px;margin:0 0 0 auto}
 .mario-mobile-menu{position:absolute;top:82px;left:0;width:100%;display:none;padding:0 18px;background:rgba(5,28,52,.97);border-top:1px solid rgba(255,255,255,.15);box-shadow:0 18px 35px rgba(0,0,0,.28);box-sizing:border-box}
 .mario-mobile-menu.is-open{display:block!important;padding-top:16px;padding-bottom:24px}
 .mario-mobile-menu ul{margin:0;padding:0;list-style:none}
 .mario-mobile-menu li{border-bottom:1px solid rgba(255,255,255,.12)}
 .mario-mobile-menu li:last-child{border-bottom:0}
 .mario-mobile-menu a{display:block;padding:14px 0;color:#fff!important;font-weight:600;text-decoration:none}
 .mario-mobile-menu a:hover,.mario-mobile-menu .current>a,.mario-mobile-menu .active>a{color:#f47b35!important}
 .mario-mobile-phone{margin-top:20px}
 .mario-mobile-phone p,.mario-mobile-phone div,.mario-mobile-cta p{margin:0}
 .mario-mobile-phone a{color:#fff!important;font-weight:700;text-decoration:none}
 .mario-mobile-cta{margin-top:18px}
 .mario-mobile-cta a{width:100%;min-height:48px;padding:13px 20px;display:flex;align-items:center;justify-content:center;background:#ff7a32;color:#fff!important;border-radius:6px;font-weight:700;text-decoration:none;text-transform:uppercase}
 .bst-hero-container{padding-top:80px}
}
@media (max-width:575px){
 .mario-header-inner{min-height:72px;padding:0 14px}
 .mario-header-logo img,.mario-brand-logo img{max-width:255px;max-height:55px}
 .mario-mobile-menu{top:72px;padding-left:14px;padding-right:14px}
}


/* =========================================
   BST DESKTOP MENU - FIXED GAP TEST
========================================= */

@media (min-width: 1101px) {

    .mario-header .mario-header-menu {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .mario-header .mario-header-menu > ul,
    .mario-header .mario-header-menu > .mod-menu {
        display: flex;
        width: max-content;
        max-width: 100%;
        margin: 0 auto;
        padding: 10px 0 12px;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        column-gap: 24px;
    }

    .mario-header .mario-header-menu > ul > li,
    .mario-header .mario-header-menu > .mod-menu > li {
        flex: 0 0 auto;
        width: auto;
        margin: 0;
        padding: 0;
    }
}


/* =========================================
   BST HEADER PHONE + SOCIAL MEDIA
   PRE-LAUNCH UPDATE
========================================= */

/* Phone and social container */

.bst-header-contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

/* Larger phone number */

.bst-header-phone-link {
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.bst-header-phone-link:hover,
.bst-header-phone-link:focus {
    color: #ff7b29;
    text-decoration: none;
}

/* Social media icons */

.bst-header-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 15px;
}

/* Individual social links */

.bst-header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: #ffffff;
    font-size: 18px;
    text-decoration: none;

    border-radius: 50%;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

/* Hover effect */

.bst-header-social a:hover,
.bst-header-social a:focus-visible {
    color: #ff7b29;
    background: rgba(255,255,255,0.10);
    transform: translateY(-2px);
}

/* Smaller desktop */

@media (min-width: 1101px) and (max-width: 1350px) {

    .bst-header-phone-link {
        font-size: 19px;
    }

    .bst-header-social {
        gap: 10px;
    }

    .bst-header-social a {
        font-size: 16px;
        width: 26px;
        height: 26px;
    }
}

/* Tablet and mobile */

@media (max-width: 1100px) {

    .bst-header-contact-info {
        align-items: center;
        gap: 10px;
    }

    .bst-header-phone-link {
        font-size: 20px;
    }

    .bst-header-social {
        gap: 14px;
        flex-wrap: wrap;
    }

    .bst-header-social a {
        width: 34px;
        height: 34px;
        font-size: 19px;
    }
}


/* =========================================
   BST JOOMLA MENU - CONSISTENT SPACING
========================================= */

@media (min-width: 1101px) {

    .mario-header-menu ul#mod-menu1 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;

        width: max-content !important;
        max-width: 100%;
        margin: 0 auto !important;
        padding: 10px 0 12px !important;
        gap: 24px !important;
    }

    .mario-header-menu ul#mod-menu1 > li {
        display: flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;

        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .mario-header-menu ul#mod-menu1 > li > a {
        display: inline-flex !important;
        align-items: center !important;

        width: auto !important;
        margin: 0 !important;
        padding: 10px 0 !important;
    }

    /* Dropdown arrows should not add layout width */
    .mario-header-menu ul#mod-menu1 > li > .mod-menu__toggle-sub {
        display: none !important;
    }

    /* Keep dropdown submenu hidden until opened */
    .mario-header-menu ul#mod-menu1 > li > .mod-menu__sub {
        display: none;
    }
}



/* =========================================
   BST FLOATING CALLBACK POPUP
========================================= */

.bst-callback-floating-btn {
    position: fixed;
    right: 22px;
    bottom: 100px;
    z-index: 1050;
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 50%;
    background: #348ee8;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 5px 22px rgba(0,0,0,.25);
    transition: transform .2s, background .2s;
}

.bst-callback-floating-btn:hover {
    background: #2374c4;
    transform: scale(1.07);
}

.bst-callback-overlay[hidden] {
    display: none !important;
}

.bst-callback-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(7, 26, 51, .72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bst-callback-popup {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 55px rgba(0,0,0,.25);
}

.bst-callback-popup-header {
    background: #123d56;
    color: #fff;
    text-align: center;
    padding: 30px 45px 24px;
}

.bst-callback-popup-header h2 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 26px;
}

.bst-callback-popup-header p {
    margin: 0;
    color: #e4edf5;
    font-size: 15px;
}

.bst-callback-popup-body {
    padding: 28px;
}

.bst-callback-popup-body input,
.bst-callback-popup-body select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.bst-callback-popup-body button[type="submit"] {
    background: #f47b32;
    color: #fff;
    border: 0;
    border-radius: 7px;
    padding: 13px 22px;
    font-weight: 700;
    cursor: pointer;
}

.bst-callback-close {
    position: absolute;
    top: 9px;
    right: 12px;
    z-index: 2;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

body.bst-callback-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .bst-callback-floating-btn {
        width: 54px;
        height: 54px;
        right: 15px;
        bottom: 85px;
        font-size: 27px;
    }

    .bst-callback-overlay {
        padding: 12px;
    }

    .bst-callback-popup {
        max-height: 92dvh;
    }

    .bst-callback-popup-body {
        padding: 20px;
    }
}



/* =========================================
   BST SEARCH HERO
   ========================================= */

.mario-hero {
    width: 100%;
    margin: 0;
    padding: 0;
}

.bst-search-hero {
    width: 100%;
    min-height: 680px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bst-search-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 35, 65, 0.84) 0%,
            rgba(4, 52, 91, 0.62) 42%,
            rgba(4, 52, 91, 0.22) 72%,
            rgba(4, 52, 91, 0.05) 100%
        );
}

.bst-search-hero-inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 175px 40px 70px;
    position: relative;
    z-index: 2;
}

.bst-search-hero-content {
    width: 100%;
    max-width: 980px;
    margin-left: 90px;
}

.bst-search-hero h1{
    color:#fff;
    font-family:'Playlist Script', cursive;
    font-size:clamp(72px,7vw,130px);
    line-height:.82;
    font-weight:400;
    letter-spacing:-2px;

    text-shadow:
        0 4px 18px rgba(0,0,0,.30);
}

.bst-search-hero h1 span {
    display: block;
    font-size: 0.55em;
    font-weight: 500;
    letter-spacing: -1px;
}

.bst-search-hero p {
    margin: 0 0 32px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.5;
}

.bst-trip-search {
    width: 100%;
    max-width: 900px;
    min-height: 76px;
    padding: 7px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.bst-trip-search-field {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.bst-search-icon {
    flex: 0 0 auto;
    margin-right: 12px;
    color: #163f69;
    font-size: 28px;
    line-height: 1;
}

.bst-trip-search input {
    width: 100%;
    height: 58px;
    padding: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #1c2d42;
    font-size: 16px;
}

.bst-trip-search input::placeholder {
    color: #777f88;
}

.bst-trip-search button {
    flex: 0 0 auto;
    min-width: 180px;
    height: 60px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: #0a68b7;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.bst-trip-search button:hover {
    background: #084f8b;
    transform: translateY(-1px);
}

.bst-popular-searches {
    margin-top: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.bst-popular-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.bst-popular-searches a {
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0873c9;
    color: #ffffff !important;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.bst-popular-searches a:hover {
    background: #ff7a32;
    transform: translateY(-2px);
}

/* =========================================
   BST HERO - TABLET
   ========================================= */

@media (max-width: 991px) {

    .bst-search-hero {
        min-height: 660px;
        background-position: 62% center;
    }

    .bst-search-hero-inner {
        padding: 135px 28px 60px;
    }

    .bst-search-hero-content {
        max-width: 760px;
        margin-left: 0;
    }

    .bst-search-hero h1 {
        font-size: clamp(58px, 10vw, 86px);
    }
}

/* =========================================
   HERO TITLE IMAGE
   ========================================= */

.hero-title{
    width:100%;
    max-width:760px;
    margin-bottom:28px;
}

.hero-title img{
    width:100%;
    height:auto;
    display:block;
}

@media (max-width:768px){

    .hero-title{
        max-width:330px;
        margin-bottom:20px;
    }

}

/* =========================================
   BST HERO - MOBILE
   ========================================= */

@media (max-width: 575px) {

    .bst-search-hero {
        min-height: 690px;
        align-items: flex-start;
        background-position: 68% center;
    }

    .bst-search-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 35, 65, 0.76) 0%,
                rgba(4, 35, 65, 0.62) 36%,
                rgba(4, 35, 65, 0.90) 100%
            );
    }

    .bst-search-hero-inner {
        padding: 125px 18px 45px;
    }

    .bst-search-hero-content {
        width: 100%;
        margin: 0;
    }

    .bst-search-hero h1 {
        max-width: 360px;
        margin-bottom: 16px;
        font-size: 54px;
        line-height: 0.96;
        letter-spacing: -2px;
    }

    .bst-search-hero h1 span {
        font-size: 0.52em;
        letter-spacing: 0;
    }

    .bst-search-hero p {
        margin-bottom: 24px;
        font-size: 16px;
    }

    .bst-trip-search {
        min-height: auto;
        padding: 8px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
    }

    .bst-trip-search-field {
        min-height: 56px;
        padding: 0 14px;
    }

    .bst-search-icon {
        margin-right: 9px;
        font-size: 24px;
    }

    .bst-trip-search input {
        height: 54px;
        font-size: 14px;
    }

    .bst-trip-search button {
        width: 100%;
        min-width: 0;
        height: 54px;
        border-radius: 14px;
    }

    .bst-popular-searches {
        margin-top: 20px;
        gap: 8px;
    }

    .bst-popular-label {
        width: 100%;
    }

    .bst-popular-searches a {
        padding: 8px 13px;
        font-size: 12px;
    }
}

/* =========================================
   HEADER OVER HERO
   ========================================= */

.mario-header-inner {
    min-height: 90px;
}

.mario-header-menu a,
.mario-header-phone a {
    color: #ffffff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.mario-header-menu a:hover,
.mario-header-menu .current > a,
.mario-header-menu .active > a,
.mario-header-phone a:hover {
    color: #ff7a32;
}

.mario-menu-toggle span {
    background: #ffffff !important;
}

@media (min-width: 1101px) {
    .mario-header {
        background:
            linear-gradient(
                180deg,
                rgba(4, 30, 55, 0.88) 0%,
                rgba(4, 30, 55, 0.52) 65%,
                rgba(4, 30, 55, 0) 100%
            );
    }
}

/* =========================================
   INNER PAGE HEADER BACKGROUND
   ========================================= */

/* Internal pages */
body:not(.home) .mario-header {
    background:
        linear-gradient(
            135deg,
            rgba(7, 26, 51, 0.98) 0%,
            rgba(13, 47, 85, 0.96) 55%,
            rgba(18, 67, 105, 0.94) 100%
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 8px 25px rgba(7, 26, 51, 0.16);
}


/* White navigation text */

body:not(.home) .mario-header-menu a,
body:not(.home) .mario-header-phone a {
    color: #ffffff;
}


/* Active + hover */

body:not(.home) .mario-header-menu a:hover,
body:not(.home) .mario-header-menu .current > a,
body:not(.home) .mario-header-menu .active > a {
    color: #ff7a32;
}


/* Keep CTA orange */

body:not(.home) .mario-header-cta a {
    color: #ffffff !important;
}


/* =========================================
   HERO SEARCH AUTOCOMPLETE
   ========================================= */

.bst-autocomplete {
    position: relative;
    flex: 1;
    min-width: 0;
}

.bst-autocomplete input {
    width: 100%;
}

.bst-search-suggestions {
    position: absolute;
    top: calc(100% + 16px);
    left: -55px;
    right: -5px;
    max-height: 340px;
    display: none;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid rgba(15, 45, 75, 0.12);
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(0, 20, 45, 0.24);
    z-index: 1100;
}

.bst-search-suggestions.is-open {
    display: block;
}

.bst-search-suggestion {
    width: 100%;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    color: #17233d;
    text-align: left;
    cursor: pointer;
}

.bst-search-suggestion:first-child {
    border-radius: 18px 18px 0 0;
}

.bst-search-suggestion:last-child {
    border-bottom: 0;
    border-radius: 0 0 18px 18px;
}

.bst-search-suggestion:hover,
.bst-search-suggestion.is-active {
    background: #f1f7fc;
}

.bst-suggestion-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f3fc;
    border-radius: 50%;
    font-size: 19px;
}

.bst-suggestion-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bst-suggestion-title {
    color: #12365a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.bst-suggestion-type {
    margin-top: 3px;
    color: #738091;
    font-size: 12px;
    line-height: 1.3;
}

.bst-search-empty {
    padding: 20px;
    color: #637083;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 575px) {

    .bst-search-suggestions {
        top: calc(100% + 10px);
        left: -14px;
        right: -14px;
        max-height: 290px;
        border-radius: 14px;
    }

    .bst-search-suggestion {
        padding: 13px 14px;
    }

    .bst-suggestion-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}


/* =====================================================
   JOOMLA DESKTOP DROPDOWN MENU - FINAL
   ===================================================== */

@media (min-width: 1101px) {

    /* -----------------------------------------
       TOP LEVEL MENU ONLY
       ----------------------------------------- */

    .mario-header-menu > ul,
    .mario-header-menu > div > ul {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        margin: 0;
        padding: 8px 0 10px;

        gap: clamp(20px, 2vw, 36px);

        list-style: none;
        white-space: nowrap;
    }


    /* Parent item */

    .mario-header-menu li {
        position: relative;
    }


    /* -----------------------------------------
       HIDE JOOMLA SUBMENU
       ----------------------------------------- */

    .mario-header-menu .mod-menu__sub {
        position: absolute !important;

        top: 100%;
        left: 0;

        width: 300px;
        min-width: 300px;

        margin: 0 !important;
        padding: 8px 0 !important;

        display: none !important;

        background: #ffffff;

        border: 1px solid #dfe7ef;
        border-radius: 10px;

        box-shadow:
            0 18px 42px rgba(7, 26, 51, 0.20);

        list-style: none;

        white-space: normal;

        z-index: 9999;
    }


    /* -----------------------------------------
       SHOW ON HOVER
       ----------------------------------------- */

    .mario-header-menu li:hover > .mod-menu__sub,
    .mario-header-menu li:focus-within > .mod-menu__sub {
        display: block !important;
    }


    /* -----------------------------------------
       SUBMENU ITEMS
       ----------------------------------------- */

    .mario-header-menu .mod-menu__sub > li {
        position: relative;

        width: 100%;

        margin: 0 !important;
        padding: 0 !important;

        display: block !important;
    }


    /* Submenu links */

    .mario-header-menu .mod-menu__sub > li > a,
    .mario-header-menu .mod-menu__sub > li > span {
        width: 100%;

        display: block;

        margin: 0;

        padding: 13px 18px;

        background: transparent;

        color: #173665 !important;

        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;

        text-align: left;

        white-space: normal;

        text-decoration: none;

        text-shadow: none !important;
    }


    /* Hover */

    .mario-header-menu .mod-menu__sub > li > a:hover,
    .mario-header-menu .mod-menu__sub > li.active > a,
    .mario-header-menu .mod-menu__sub > li.current > a {
        background: #f3f7fb;

        color: #f47c2c !important;
    }


    /* Divider between submenu items */

    .mario-header-menu .mod-menu__sub > li + li {
        border-top: 1px solid #edf1f5;
    }

}

/* =====================================================
   JOOMLA MENU - HIDE GENERATED "MORE ABOUT" LABEL
   ===================================================== */

@media (min-width: 1101px) {

    .mario-header-menu .mod-menu__heading,
    .mario-header-menu .nav-header,
    .mario-header-menu .separator,
    .mario-header-menu .menu-heading {
        display: none !important;
    }

}

/* =====================================================
   FIX JOOMLA ACCESSIBILITY TEXT IN MENU
   ===================================================== */

.mario-header-menu .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Parent menu dropdown button */

@media (min-width: 1101px) {

    .mario-header-menu li.deeper,
    .mario-header-menu li.parent {
        display: flex;
        align-items: center;
    }

    .mario-header-menu .mod-menu__toggle-sub {
        width: 20px;
        height: 30px;

        margin: 0 0 0 5px;
        padding: 0;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        background: transparent;
        border: 0;

        color: #ffffff;
        cursor: pointer;
    }

    .mario-header-menu .mod-menu__toggle-sub .icon-chevron-down {
        font-size: 11px;
    }
}

/* =====================================================
   MOBILE SUBMENU LABEL
   ===================================================== */

    @media (max-width: 1100px) {

    .mario-mobile-menu .mod-menu__toggle-sub .visually-hidden {
        font-size: 0 !important;
    }

    .mario-mobile-menu .mod-menu__toggle-sub .visually-hidden::after {
        content: "View More";
        font-size: 12px;
        font-weight: 700;
        color: #ff9a5c;
    }
}

/* =====================================================
   PREMIUM MOBILE MENU TOGGLE
   ===================================================== */

@media (max-width: 1100px) {

    .mario-menu-toggle {
        width: 46px;
        height: 46px;

        position: relative;

        display: flex !important;
        align-items: center;
        justify-content: center;

        padding: 0;

        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 12px;

        transition:
            background .25s ease,
            border-color .25s ease,
            transform .25s ease;
    }

    .mario-menu-toggle:hover {
        background: rgba(255,255,255,.12);
        border-color: rgba(255,255,255,.22);
    }

    .mario-menu-toggle span {
        position: absolute;

        width: 24px;
        height: 2px;

        margin: 0;

        background: #ffffff !important;
        border-radius: 999px;

        transition:
            transform .28s ease,
            opacity .22s ease,
            top .28s ease;
    }

    .mario-menu-toggle span:nth-child(1) {
        top: 14px;
    }

    .mario-menu-toggle span:nth-child(2) {
        top: 22px;
    }

    .mario-menu-toggle span:nth-child(3) {
        top: 30px;
    }


    /* =========================================
       OPEN STATE = X
       ========================================= */

    .mario-menu-toggle.is-open span:nth-child(1) {
        top: 22px;
        transform: rotate(45deg);
    }

    .mario-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mario-menu-toggle.is-open span:nth-child(3) {
        top: 22px;
        transform: rotate(-45deg);
    }


    /* =========================================
       MOBILE MENU PANEL POLISH
       ========================================= */

    .mario-mobile-menu {
        background:
            linear-gradient(
                180deg,
                rgba(5, 28, 52, .99) 0%,
                rgba(7, 38, 68, .98) 100%
            );

        box-shadow:
            0 20px 45px rgba(0,0,0,.30);

        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .mario-mobile-menu a {
        transition:
            color .2s ease,
            padding-left .2s ease,
            background .2s ease;
    }

    .mario-mobile-menu a:hover {
        color: #ff8a3d !important;
        padding-left: 6px;
    }

}

/* =====================================================
   MOBILE HAMBURGER → X FINAL FIX
   ===================================================== */

@media (max-width: 1100px) {

    .mario-menu-toggle {
        position: relative;
        width: 46px;
        height: 46px;

        display: flex !important;
        align-items: center;
        justify-content: center;

        padding: 0;
    }

    .mario-menu-toggle span {
        position: absolute !important;

        left: 50%;

        width: 26px !important;
        height: 3px !important;

        margin: 0 !important;

        background: #ffffff !important;
        border-radius: 999px;

        transform-origin: center;

        transition:
            top .28s ease,
            transform .28s ease,
            opacity .20s ease;

        transform: translateX(-50%);
    }

    /* CLOSED STATE */

    .mario-menu-toggle span:nth-child(1) {
        top: 13px !important;
    }

    .mario-menu-toggle span:nth-child(2) {
        top: 21px !important;
    }

    .mario-menu-toggle span:nth-child(3) {
        top: 29px !important;
    }


    /* OPEN STATE */

    .mario-menu-toggle.is-open span:nth-child(1) {
        top: 21px !important;

        transform:
            translateX(-50%)
            rotate(45deg) !important;
    }

    .mario-menu-toggle.is-open span:nth-child(2) {
        opacity: 0 !important;

        transform:
            translateX(-50%)
            scaleX(0) !important;
    }

    .mario-menu-toggle.is-open span:nth-child(3) {
        top: 21px !important;

        transform:
            translateX(-50%)
            rotate(-45deg) !important;
    }

}

/* =====================================================
   FINAL DESKTOP MENU FIT - 9 MAIN ITEMS
   ===================================================== */

@media (min-width: 1101px) {

    /* Full second-row navigation */
    .mario-header-menu {
        width: 100%;
        margin: 0;
        padding: 0 18px;
    }

    .mario-header-menu > ul {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: clamp(16px, 1.45vw, 28px);

        margin: 0;
        padding: 8px 0 12px;

        white-space: nowrap;
    }

    .mario-header-menu > ul > li {
        flex: 0 0 auto;
        min-width: 0;
    }

    .mario-header-menu > ul > li > a {
        padding: 10px 0;

        font-size: clamp(13px, .86vw, 15px);
        font-weight: 700;

        line-height: 1.15;

        white-space: nowrap;
    }

}


/* ==========================================
   BST ACTIVITY VACATIONS
   ARTICLE + SIDEBAR GRID FIX
   ========================================== */

@media (min-width: 992px) {

  /* Override Cassiopeia's inherited grid */
  .site-grid:has(> .container-activity-sidebar) {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr) 320px !important;
    gap: 30px;
    align-items: start;
  }

  /* Main article occupies full left column */
  .site-grid:has(> .container-activity-sidebar)
  > .container-component {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100%;
    max-width: none !important;
    min-width: 0;
  }

  /* Sidebar occupies right column */
  .site-grid:has(> .container-activity-sidebar)
  > .container-activity-sidebar {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100%;
    min-width: 0;
    align-self: start;
  }

  /* Prevent article content from shrinking */
  .site-grid:has(> .container-activity-sidebar)
  .bst-bologna-page,
  .site-grid:has(> .container-activity-sidebar)
  .bst-activity-trip {
    width: 100%;
    max-width: none !important;
    min-width: 0;
  }

}

/* Mobile and tablet */
@media (max-width: 991px) {

  .site-grid:has(> .container-activity-sidebar) {
    display: block;
  }

  .site-grid > .container-component,
  .site-grid > .container-activity-sidebar {
    width: 100%;
    max-width: 100%;
  }

  .site-grid > .container-activity-sidebar {
    margin-top: 25px;
  }

}



/* ==========================================
   BST ACTIVITY VACATIONS
   REMOVE OLD INTERNAL SIDEBAR COLUMN
   ========================================== */

/* Only pages using the dedicated activity sidebar */
.site-grid:has(> .container-activity-sidebar)
.bst-trip-template-content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Expand the main trip content */
.site-grid:has(> .container-activity-sidebar)
.bst-trip-template-main {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
}

/* Ensure the trip sections use available width */
.site-grid:has(> .container-activity-sidebar)
.bst-trip-template-main > section {
    width: 100%;
    max-width: 100%;
}




/* =========================================
   BST CONTACT US - FULL WIDTH OVERRIDE
========================================= */

.bst-contact-fullpage {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 25px 90px;
    box-sizing: border-box;
}

/* HEADING */

.bst-contact-fullpage .bst-booking-header {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.bst-contact-fullpage .bst-booking-header h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: #102b4e;
    margin: 18px 0;
    line-height: 1.2;
}

.bst-contact-fullpage .bst-booking-header p {
    font-size: 17px;
    line-height: 1.7;
    color: #42546a;
}

/* FULL WIDTH FORM */

.bst-contact-fullpage .bst-contact-form-full {
    display: block;
    width: 100%;
    max-width: 1100px;
    height: auto;
    margin: 0 auto 30px;
    padding: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,.07);
}

/* GOOGLE FORM IFRAME */

.bst-contact-fullpage .bst-contact-form-full iframe {
    display: block;
    width: 100%;
    max-width: none;
    height: 1600px;
    border: none;
    margin: 0;
    padding: 0;
}

/* HELP SECTION */

.bst-contact-fullpage .bst-booking-help {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto 0;
}

/* TABLET */

@media (max-width: 991px) {

    .bst-contact-fullpage {
        padding: 50px 20px 70px;
    }

    .bst-contact-fullpage .bst-contact-form-full iframe {
        height: 1700px;
    }

}

/* MOBILE */

@media (max-width: 767px) {

    .bst-contact-fullpage {
        padding: 40px 12px 60px;
    }

    .bst-contact-fullpage .bst-booking-header {
        margin-bottom: 30px;
    }

    .bst-contact-fullpage .bst-booking-header h2 {
        font-size: 27px;
    }

    .bst-contact-fullpage .bst-booking-header p {
        font-size: 15px;
    }

    .bst-contact-fullpage .bst-contact-form-full {
        border-radius: 12px;
    }

    .bst-contact-fullpage .bst-contact-form-full iframe {
        height: 1850px;
    }

    .bst-contact-fullpage .bst-booking-help {
        margin-top: 25px;
    }

}


/* =========================================
   BST CONTACT US - FULL PAGE WIDTH FIX
========================================= */

.bst-contact-fullpage {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 60px 30px 90px !important;
    box-sizing: border-box;
}

/* Remove form width restriction */

.bst-contact-fullpage .bst-contact-form-full {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 30px !important;
}

/* Full-width Google Form iframe */

.bst-contact-fullpage .bst-contact-form-full iframe {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 1600px;
    border: 0;
}

/* Match help section with form width */

.bst-contact-fullpage .bst-booking-help {
    width: 100% !important;
    max-width: none !important;
}

/* Mobile */

@media (max-width: 767px) {
    .bst-contact-fullpage {
        padding: 35px 12px 60px !important;
    }

    .bst-contact-fullpage .bst-contact-form-full iframe {
        height: 1850px;
    }
}



/* =========================================
   BST CONTACT US - CENTERED LAYOUT FIX
========================================= */

.bst-booking-page {
    position: relative !important;
    left: auto !important;
    right: auto !important;

    width: 100% !important;
    max-width: 1100px !important;

    margin: 0 auto !important;
    padding: 65px 20px 90px !important;

    box-sizing: border-box !important;
}

/* Heading */

.bst-booking-header {
    width: 100% !important;
    max-width: 850px !important;

    margin: 0 auto 40px !important;
    text-align: center !important;
}

/* Google Form wrapper */

.bst-booking-form-wrapper {
    display: block !important;

    width: 100% !important;
    max-width: 1000px !important;

    margin: 0 auto 25px !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

/* Google Form iframe */

.bst-booking-form-wrapper iframe {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 1250px !important;
    border: none !important;
}

/* Help section */

.bst-booking-help {
    width: 100% !important;
    max-width: 1000px !important;

    margin: 25px auto 0 !important;

    box-sizing: border-box !important;
}

/* Mobile */

@media (max-width: 767px) {

    .bst-booking-page {
        padding: 40px 12px 60px !important;
    }

    .bst-booking-form-wrapper iframe {
        height: 1450px !important;
    }

}


/* =========================================
   BST CONTACT US - RESOURCES SIDEBAR
========================================= */

.bst-contact-resources {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(9, 31, 55, .08);
    border: 1px solid #e6edf3;
}

/* Header */

.bst-resources-header {
    background: #102d4b;
    padding: 25px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
}

.bst-resources-header > i {
    font-size: 25px;
    color: #ff812f;
}

.bst-resources-header h4 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.bst-resources-header p {
    margin: 0;
    color: #c6d7e6;
    font-size: 12px;
    line-height: 1.5;
}

/* Links */

.bst-resources-list {
    list-style: none;
    margin: 0;
    padding: 10px 15px;
}

.bst-resources-list li {
    margin: 0;
    border-bottom: 1px solid #edf1f5;
}

.bst-resources-list li:last-child {
    border-bottom: none;
}

.bst-resources-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 10px;
    color: #173454;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all .25s ease;
}

.bst-resources-list a > i:first-child {
    width: 24px;
    color: #f4772b;
    font-size: 17px;
    text-align: center;
}

.bst-resources-list a span {
    flex: 1;
}

.bst-resources-list a > i:last-child {
    font-size: 11px;
    color: #9aabba;
    transition: transform .25s ease;
}

.bst-resources-list a:hover {
    background: #eff7fc;
    color: #0875bd;
    padding-left: 15px;
}

.bst-resources-list a:hover > i:last-child {
    transform: translateX(4px);
    color: #f4772b;
}

/* Help Box */

.bst-resources-help {
    background: #f3f7fa;
    padding: 24px 22px;
    border-top: 1px solid #e4ebf0;
}

.bst-resources-help h5 {
    color: #102d4b;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
}

.bst-resources-help p {
    font-size: 13px;
    color: #53677a;
    line-height: 1.7;
    margin: 0 0 18px;
}

.bst-resources-help a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f4772b;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: background .25s ease;
}

.bst-resources-help a:hover {
    background: #d95e17;
    color: #ffffff;
}

/* Responsive */

@media (max-width: 991px) {
    .bst-contact-resources {
        margin-top: 25px;
    }
}

@media (max-width: 575px) {
    .bst-resources-header {
        padding: 20px;
    }

    .bst-resources-list a {
        padding: 14px 8px;
    }

    .bst-resources-help {
        padding: 20px;
    }
}

/* =========================================
   BST SIDEBAR - HEADER OVERLAP FIX
   Contact Us + Activity Vacations
========================================= */

/* Keep Joomla sidebar in normal document flow */
.container-sidebar-right {
    position: relative;
    top: auto;
    align-self: start;
    z-index: 1;
}

/* Remove accidental offsets from sidebar modules */
.container-sidebar-right .sidebar-card,
.container-sidebar-right .bst-contact-resources {
    margin-top: 0;
}

/* Keep site header above page content */
.container-header {
    position: relative;
    z-index: 100;
}

/* Contact resources module */
.bst-contact-resources {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Prevent sidebar content from overflowing */
.container-sidebar-right,
.container-sidebar-right > *,
.bst-contact-resources {
    min-width: 0;
}

/* ==========================================
   BST - SIDEBAR GRID ALIGNMENT FIX
   Contact Us + Activity Vacations
========================================== */

@media (min-width: 992px) {

    /* Keep the activity sidebar in the
       second grid column */

    .site-grid:has(> .container-activity-sidebar) {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr) 320px !important;

        gap: 30px !important;
        align-items: start;
    }

    /* Main article */
    .site-grid:has(> .container-activity-sidebar)
    > .container-component {

        grid-column: 1 !important;
        grid-row: auto !important;

        min-width: 0;
    }

    /* Sidebar */
    .site-grid:has(> .container-activity-sidebar)
    > .container-activity-sidebar {

        grid-column: 2 !important;
        grid-row: auto !important;

        position: relative !important;
        top: auto !important;

        align-self: start;
        min-width: 0;
        z-index: 1;
    }

    /* Avoid accidental sidebar offsets */
    .container-activity-sidebar .bst-contact-resources {
        margin-top: 0 !important;
    }

}

/* Tablet and mobile */

@media (max-width: 991px) {

    .site-grid:has(> .container-activity-sidebar) {
        display: block !important;
    }

    .site-grid > .container-activity-sidebar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        margin-top: 30px !important;
    }

}

/* ==========================================
   BST SIDEBAR - GRID ROW ALIGNMENT
   Contact Us + Activity Vacations
========================================== */

@media (min-width: 992px) {

    /* Activity Vacation sidebar */
    .site-grid > .container-activity-sidebar {

        grid-column: 2 !important;
        grid-row: auto !important;

        position: relative !important;
        top: auto !important;

        align-self: start !important;
        z-index: 1;
    }

    /* Contact Us sidebar */
    .site-grid > .container-sidebar-right {

        grid-column: 2 !important;
        grid-row: auto !important;

        position: relative !important;
        top: auto !important;

        align-self: start !important;
        z-index: 1;
    }

    /* Main content */
    .site-grid:has(> .container-activity-sidebar)
    > .container-component {

        grid-column: 1 !important;
        grid-row: auto !important;
    }

    /* Prevent sidebar overlap */
    .container-activity-sidebar,
    .container-sidebar-right {

        margin-top: 0 !important;
        transform: none !important;
    }

}

/* =========================================
   BST BOOKING PAGE - TWO COLUMN LAYOUT
========================================= */

@media (min-width: 992px) {

    .bst-booking-template {
        width: 100%;
        max-width: 100%;
    }

    /* Main content + sidebar */

    .bst-booking-template-content {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr) 300px !important;

        gap: 35px !important;

        width: min(1400px, 94%) !important;
        max-width: 1400px !important;

        margin: 0 auto !important;

        align-items: start !important;
    }

    /* Google Form area */

    .bst-booking-template-main {
        grid-column: 1 !important;

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    /* Resources Sidebar */

    .bst-booking-template-sidebar {
        grid-column: 2 !important;

        position: relative !important;

        top: auto !important;
        transform: none !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        align-self: start !important;
    }

    /* Google Form wrapper */

    .bst-booking-form-wrapper {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .bst-booking-form-wrapper iframe {
        display: block;

        width: 100% !important;
        max-width: 100% !important;

        border: 0;
    }

}

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

@media (max-width: 991px) {

    .bst-booking-template-content {
        display: block !important;

        width: 94% !important;
        margin: 0 auto !important;
    }

    .bst-booking-template-main,
    .bst-booking-template-sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }

    .bst-booking-template-sidebar {
        margin-top: 30px !important;
        position: relative !important;
        top: auto !important;
    }

    .bst-booking-form-wrapper iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

}

/* =========================================
   BST - HEADER OVERLAP FIX
   Booking Pages + Activity Vacations
========================================= */

/* Ensure the header stays above content */

.mario-header,
.mario-site-header {
    position: relative;
    z-index: 1000;
}

/* Booking page layout */

body.bst-booking-page .bst-booking-template {
    position: relative;
    clear: both;
}

/* Booking main content */

body.bst-booking-page .bst-booking-template-content {
    position: relative;
    z-index: 1;
}

/* Activity vacation content */

body.bst-activity-page .container-component {
    position: relative;
    z-index: 1;
}

/* Prevent sidebar from floating over the menu */

.bst-booking-template-sidebar {
    z-index: 1;
}


/* =========================================
   BST BOOKING CONTENT + SIDEBAR
========================================= */

.bst-booking-template-content {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;

    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px 80px;

    box-sizing: border-box;
}

.bst-booking-template-main {
    min-width: 0;
}

.bst-booking-template-sidebar {
    min-width: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {

    .bst-booking-template-content {
        grid-template-columns: 1fr;
        padding: 30px 18px 60px;
    }

}

/* =========================================
   BST HEADER SPACING - CORRECTED
========================================= */

/* Booking pages WITHOUT a hero */
@media (min-width: 1101px) {

    body.bst-booking-page
    .bst-booking-template:not(:has(.bst-booking-template-hero)) {
        padding-top: 180px;
    }

}

/* Booking pages WITH a hero */
body.bst-booking-page
.bst-booking-template:has(.bst-booking-template-hero) {
    padding-top: 0;
}

body.bst-booking-page
.bst-booking-template-hero {
    padding-top: 0;
}

/* Tablet */
@media (min-width: 576px) and (max-width: 1100px) {

    body.bst-booking-page
    .bst-booking-template:not(:has(.bst-booking-template-hero)) {
        padding-top: 100px;
    }

}

/* Mobile */
@media (max-width: 575px) {

    body.bst-booking-page
    .bst-booking-template:not(:has(.bst-booking-template-hero)) {
        padding-top: 85px;
    }

}

/* =========================================
   BST HEADER - PAGE SPACING CONTROL
   ========================================= */

/* Pages WITH hero images */
@media (min-width: 1101px) {

    body:not(.home) .site-grid:has(
        .bst-trip-template-hero,
        .bst-cruise-hero,
        .bst-hero-container
    ) {
        padding-top: 0 !important;
    }

    body:not(.home) .bst-trip-template:has(
        .bst-trip-template-hero
    ) {
        padding-top: 0 !important;
    }

    body:not(.home) .bst-cruise-template:has(
        .bst-cruise-hero
    ) {
        padding-top: 0 !important;
    }

}