/* Full width page framing with 20px side spacing */
body {
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* Ensure containers stretch to the full width of the padded body */
.travel-package-layout .container {
    max-width: 100% !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
}

/* Adjust sticky header position and width to respect the 20px spacing */
header.header-area.sticky {
    left: 0px !important;
    right: 0px !important;
    width: calc(100% -0px) !important;
}

/* Filter Section - 1400px width and centered */
.filter-wrapper .container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Destination Dropdown Mega Menu - Content Fit Size (Auto-extends for 2, 3, 4+ columns) */
@media (min-width: 992px) {
    .main-menu > ul > li .mega-menu {
        width: auto !important;
        max-width: fit-content !important;
        min-width: max-content !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        padding: 30px 40px !important;
        border-radius: 15px !important;
        box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.12) !important;
        background: #ffffff !important;
    }

    .main-menu > ul > li .mega-menu .container {
        width: auto !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .main-menu > ul > li .mega-menu .menu-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 45px !important;
    }

    .main-menu > ul > li .mega-menu .menu-row .menu-single-item {
        min-width: 160px !important;
        flex: 0 0 auto !important;
    }

    .main-menu > ul > li .mega-menu .menu-row .menu-single-item ul li a {
        white-space: nowrap !important;
    }
}

/* Limit height of main blog image on the details page to present a nice landscape layout */
.inspiration-details .inspiration-image img {
    height: 450px !important;
    object-fit: cover !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    .inspiration-details .inspiration-image img {
        height: 280px !important;
    }
}

/* Sidebar travel category styling */
.tour-type li {
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 5px;
    background: #f8f9fa;
    display: inline-block;
    width: auto;
}
.tour-type li:hover,
.tour-type li.active {
    background-color: #113b6e !important; /* Match primary brand blue color */
    color: #ffffff !important;
}
.tour-type li a {
    color: inherit;
    display: block;
    width: 100%;
    font-weight: 500;
}

/* Override default black button hover to #113b6e */
.primary-btn1::before,
.primary-btn1::after,
.primary-btn2::before,
.primary-btn2::after,
.primary-btn3::before,
.primary-btn3::after,
.primary-btn1:hover {
    background-color: #113b6e !important;
}

.primary-btn1.three.transparent:hover,
.primary-btn1.two.transparent:hover,
button.primary-btn1:hover {
    background-color: #113b6e !important;
    border-color: #113b6e !important;
    color: #ffffff !important;
}

