/* Font declarations */
@font-face {
    font-family: 'Buenos Aires';
    src: url('../../fonts/BuenosAires-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Buenos Aires';
    src: url('../../fonts/BuenosAires-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Buenos Aires';
    src: url('../../fonts/BuenosAires-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Buenos Aires';
    src: url('../../fonts/BuenosAires-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Override vendor.css font variables */
:root {
    --font-family-sans-serif: "Buenos Aires", "Pulp", "OpenSans", "Open Sans", sans-serif !important;
    --font-family-monospace: "Buenos Aires", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

/* Global font override */
/*html, body, button, input, select, textarea, .dx-widget, [class^="dx-"] {
    font-family: var(--base-font-family) !important;
}*/
html, body, button, input, select, textarea, .dx-widget {
    font-family: var(--base-font-family) !important;
}

/*
    Using the CSS variable: font-family: var(--base-font-family);
    Directly specifying the font: font-family: 'Buenos Aires', sans-serif;
    You can use them like: font-weight: var(--base-bold-font-weight);
*/

/* Common Layout Styles for All Views */
:root {
    --breakpoint: 980px;
    --base-size: 8px;
    --base-size-x1: var(--base-size);
    --base-size-x2: calc(var(--base-size) * 2);
    --base-size-x3: calc(var(--base-size) * 3);
    --base-size-x4: calc(var(--base-size) * 4);
    --base-size-x5: calc(var(--base-size) * 5);
    --base-size-x6: calc(var(--base-size) * 6);
    --base-size-x7: calc(var(--base-size) * 7);
    --base-size-x8: calc(var(--base-size) * 8);
    --base-size-x9: calc(var(--base-size) * 9);
    --base-size-x10: calc(var(--base-size) * 10);
    --base-color-white: #FFFFFF;
    --base-color-black: #121212;
    --base-color-black-medium: #3F3F3F;
    --base-color-grey: #A6A6A6;
    --base-color-grey-medium: #D9D9D9;
    --base-color-grey-light: #F7F7F7;
    --base-color-blue: #157DFE;
    --base-color-blue-medium: #5BA4FE;
    --base-color-blue-light: #ADD2FF;
    --base-color-blue-extra-light: #E8F2FF;
    --base-color-yellow: #FFCB3F;
    --base-color-yellow-medium: #FFDB78;
    --base-color-yellow-light: #FFEDBC;
    --base-color-yellow-extra-light: #FFFBF0;
    --base-color-pink: #FF6363;
    --base-color-pink-medium: #FF9292;
    --base-color-pink-light: #FFC8C8;
    --base-color-pink-extra-light: #FFF1F1;
    --base-color-orange: #FFA25E;
    --base-color-purple: #5D5DEC;
    --base-color-purple-extra-light: #EEEEFF;
    --base-color-system-success: #5BCA8D;
    --base-color-system-success-light: #F2FBF6;
    --base-color-system-warning: #FF3636;
    --base-font-family: "Buenos Aires", "Pulp", "OpenSans", "Open Sans", sans-serif !important;
    --base-h1-font-size: 80px;
    --base-h2-font-size: 60px;
    --base-h3-font-size: 40px;
    --base-h4-font-size: 30px;
    --base-h5-font-size: 24px;
    --base-h6-font-size: 20px;
    --base-body-font-size: 16px;
    --base-caption-font-size: 14px;
    --base-small-font-size: 12px;
    --base-tiny-font-size: 10px;
    --base-button-xlarge-font-size: var(--base-body-font-size);
    --base-button-large-font-size: var(--base-body-font-size);
    --base-button-medium-font-size: var(--base-caption-font-size);
    --base-button-small-font-size: var(--base-small-font-size);
    --base-heaviest-font-weight: 900;
    --base-heavy-font-weight: 800;
    --base-bold-font-weight: bold;
    --base-medium-font-weight: 600;
    --base-regular-font-weight: normal;
    --base-thin-font-weight: 200;
    --base-transition: all .3s ease;
    --base-padding: var(--base-size) var(--base-size-x2);
    --base-color-gradient-premium: linear-gradient(130deg, #EAD1A8 0%, #FFEDC2 20%, #EEA7A7 40%, #A6ADEB 100%);
    --base-background-color: var(--base-color-white);
    --base-text-color: var(--base-color-black);
    --base-contrast-color: var(--base-color-pink);
    --base-ambassador-color: var(--base-color-purple);
    --base-ambassador-light-color: var(--base-color-purple-extra-light);
    --paypal-blue: #253B80;
    --icon-arrow-end: 'arrow-right'
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    height: 100%;
}

body {
    color: #121212;
    background-color: #fff !important;
    font-family: var(--base-font-family) !important;
    font-weight: inherit;
    font-style: normal;
    font-variant: normal;
    font-kerning: auto;
    font-optical-sizing: auto;
    font-stretch: 100%;
    font-variation-settings: normal;
    font-feature-settings: normal;
    text-transform: none;
    text-decoration: none solid rgb(18, 18, 18);
    text-align: center;
    text-indent: 0px;
    font-size: 14px;
    line-height: inherit;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.container {
    padding: 0;
    margin-top: 0px;
    margin-bottom: 0px;
    max-width: 1190px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--base-font-family) !important;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

img {
    max-width: 100%;
}


/* Menu style */
.menu-container {
    justify-self: center;
    margin: 2rem 0;
    width: 100%;
}

/* More dropdown containers */
.explore-menu-container,
.user-menu,
.language-menu,
.auth-menu,
.admin-menu {
    position: relative;
    width: 100%;
}

/* Dropdown toggle styling */
.explore-menu-toggle,
.user-menu-toggle,
.language-menu-toggle,
.auth-menu-toggle,
.admin-menu-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
}

.explore-menu-toggle a.lnk-menu,
.user-menu-toggle a.lnk-menu,
.language-menu-toggle a.lnk-menu,
.auth-menu-toggle a.lnk-menu,
.admin-menu-toggle a.lnk-menu {
    justify-content: space-between;
    width: 100%;
}

/* Special styling for mobile dropdowns */
.explore-menu-dropdown,
.user-menu-dropdown,
.language-menu-dropdown,
.auth-menu-dropdown,
.admin-menu-dropdown {
    position: static;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 0;
    background-color: #f8f9fa;
    display: none;
    z-index: 1000;
}

.explore-menu-dropdown.active,
.user-menu-dropdown.active,
.language-menu-dropdown.active,
.auth-menu-dropdown.active,
.admin-menu-dropdown.active {
    display: block;
}

/* Dropdown links styling */
.explore-menu-dropdown a,
.user-menu-dropdown a,
.user-menu-dropdown form button,
.language-menu-dropdown a,
.auth-menu-dropdown a,
.admin-menu-dropdown a,
.language-menu-dropdown button,
.auth-menu-dropdown button,
.admin-menu-dropdown button {
    padding: 12px 15px 12px 25px !important;
    font-size: 16px;
    color: #1775FF !important;
    width: 100%;
    text-align: left;
    display: block;
}

/* Fix for navigation on large screens */
@media (min-width: 1501px) {
    .hamburger-menu,
    #initialsOfUser {
        display: none; /* Hide hamburger on large screens */
    }

    .box-menu {
        position: static;
        height: auto;
        width: auto;
        max-width: none;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        overflow-y: visible;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        grid-column: 2 / span 2;
    }
    
    #menu, #user-menu {
        flex-direction: row;
        align-items: center;
    }
    
    #menu li, #user-menu li {
        width: auto;
    }
    
    #menu .lnk-menu, #user-menu .lnk-menu {
        width: auto;
        padding: 10px 16px;
    }
    
    .cbp-hrmenu {
        width: 100%;
        display: grid;
        grid-template-columns: 2fr 1fr;
    }
    
    .nav-links {
        grid-column: 1;
    }
    
    .user-lang-links {
        grid-column: 2;
    }
    
    .explore-menu-container,
    .user-menu,
    .language-menu,
    .auth-menu,
    .admin-menu {
        width: auto;
    }
    
    .explore-menu-dropdown,
    .user-menu-dropdown,
    .language-menu-dropdown,
    .auth-menu-dropdown,
    .admin-menu-dropdown {
        position: absolute;
        top: calc(100% + 5px);
        right: 0;
        min-width: 180px;
        width: auto;
        margin-top: 0;
        margin-bottom: 0;
        background-color: white;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 8px 0;
        font-size: 15px;
        font-weight: 500;
    }
    
    .explore-menu-dropdown a,
    .user-menu-dropdown a,
    .language-menu-dropdown a,
    .auth-menu-dropdown a,
    .admin-menu-dropdown a,
    .language-menu-dropdown button,
    .auth-menu-dropdown button,
    .admin-menu-dropdown button {
        font-size: 15px;
        padding: 10px 16px !important;
        color: #333 !important;
    }
    
    .explore-menu-dropdown a:hover,
    .user-menu-dropdown a:hover,
    .language-menu-dropdown a:hover,
    .auth-menu-dropdown a:hover,
    .admin-menu-dropdown a:hover,
    .language-menu-dropdown button:hover,
    .auth-menu-dropdown button:hover,
    .admin-menu-dropdown button:hover {
        background-color: #f8f9fa;
        color: #1775FF !important;
    }
}

/* Chevron icon rotation */
.fa-chevron-down {
    transition: transform 0.3s ease;
}

    .fa-chevron-down.rotated {
        transform: rotate(180deg);
    }

/* Add automatic arrow rotation when dropdown is active */
.explore-menu-dropdown.active ~ .explore-menu-toggle .fa-chevron-down,
.user-menu-dropdown.active ~ .user-menu-toggle .fa-chevron-down,
.language-menu-dropdown.active ~ .language-menu-toggle .fa-chevron-down,
.auth-menu-dropdown.active ~ .auth-menu-toggle .fa-chevron-down,
.admin-menu-dropdown.active ~ .admin-menu-toggle .fa-chevron-down,
.explore-menu-container:has(.explore-menu-dropdown.active) .fa-chevron-down,
.user-menu:has(.user-menu-dropdown.active) .fa-chevron-down,
.auth-menu:has(.auth-menu-dropdown.active) .fa-chevron-down,
.admin-menu:has(.admin-menu-dropdown.active) .fa-chevron-down,
.fa-chevron-down.rotated {
    transform: rotate(180deg);
}

/* Also target when the toggle has dropdown-active class */
.explore-menu-toggle.dropdown-active .fa-chevron-down,
.user-menu-toggle.dropdown-active .fa-chevron-down,
.language-menu-toggle.dropdown-active .fa-chevron-down,
.auth-menu-toggle.dropdown-active .fa-chevron-down,
.admin-menu-toggle.dropdown-active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Auth dropdown specific styling */
.auth-menu-dropdown a {
    margin: 0;
    border-radius: 0;
    text-align: left;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.auth-menu-dropdown .signin-item,
.auth-menu-dropdown .register-item {
    background-color: transparent;
    color: #333 !important;
    box-shadow: none;
    border-left: 3px solid transparent;
    margin-left: -3px;
    padding: 12px 18px;
    transition: all 0.2s ease;
}

.auth-menu-dropdown .signin-item:hover,
.auth-menu-dropdown .register-item:hover {
    background-color: #f8f9fa !important;
    border-left: 3px solid #1775FF;
    color: #1775FF !important;
    transform: none;
    box-shadow: none;
}

.auth-menu-dropdown .auth-buttons-non-signed {
    margin-right: 8px;
}

/* Language dropdown specific styling */
.language-menu-dropdown form {
    margin: 0;
}

.language-menu-dropdown button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 12px 18px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.language-menu-dropdown button:hover {
    background-color: rgba(79, 70, 229, 0.05);
    color: #1775FF;
}

.language-menu-dropdown button.active {
    background-color: rgba(79, 70, 229, 0.1);
    color: #1775FF;
}

/* Hero style */
.bg-neon-ao-ta-blue {
    background: linear-gradient(0deg, #b3cfff, transparent 80%);
}

.bg-neon-ta-green {
    background: linear-gradient(0deg, #80e6b1, transparent 80%);
}

.bg-neon-ao-pink {
    background: linear-gradient(0deg, #ffb3dd, transparent 80%);
}

.bg-neon-ao-orange {
    background: linear-gradient(0deg, #ffdbb3, transparent 80%);
}

.bg-neon-ice-blue {
    background: linear-gradient(0deg, #cce6f3, transparent 80%);
}

.bg-neon-red {
    background: linear-gradient(0deg, #ffb3b3, transparent 80%);
}

.main-hero.main-hero-resp {
    margin-bottom: 50px;
    padding: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 0 0 40px 40px;
}

@media only screen and (max-width: 575px) {
    .main-hero.main-hero-resp {
        margin-bottom: 10px;
        height: 0 !important;
        min-height: 250px;
    } 
}

.credits-hero {
    background-position: center calc(100% + 60px) !important
}

.main-hero {
    animation: fadein 1s;
    -moz-animation: fadein 1s;
    -webkit-animation: fadein 1s;
    -o-animation: fadein 1s;
}

    .main-hero .col-md-4.slide-theme {
        height: 55px;
        margin-top: 0px;
    }

    .main-hero .slide-txt .col-md-4.line-alid1 {
        background: rgba(255, 255, 255, 0.2);
        height: 15px;
        opacity: 0;
    }

    .main-hero p.sub-result.welcome {
        font-weight: 300;
        font-size: 60px;
    }

    .main-hero p.sub-result.creative {
        font-weight: 200;
        font-size: 25px;
        text-transform: none
    }

    .main-hero p.sub-result {
        font-size: 70px !important;
        font-weight: 800;
        color: #001F3D; /* ao-ta-navy-bg */
        text-align: left;
        text-shadow: 0 1px 1px rgba(0,0,0,0.5);
    }

    .main-hero p.sub-sub-result {
        font-size: 78px;
        font-weight: 700;
        text-transform: uppercase;
        color: #7aa93c;
        margin-top: 50px;
        text-shadow: 0 1px 1px rgba(0,0,0,0.5);
    }

#summary-slider {
    float: left;
    width: 100%;
}

.general {
    background: #fff;
    float: left;
    width: 100%;
}

.slide-txt {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

#textslide p.sub-result {
    opacity: 0;
}

#textslide p.creative {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0);
    opacity: 0;
}

.main-hero .col-md-8 {
    padding-top: 60px;
    height: 30%;
}

.main-hero .col-md-4 {
    margin-top: 60px;
    height: 55%;
}

.slide-txt img {
    opacity: 0;
}


/* Hero Section Animation */
.linetheme-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(50px);
}

.animate-slide {
    opacity: 1;
    transform: translateX(0);
}

.effect-backcolor {
    background-color: rgba(0,0,0,0.1);
    width: 100%;
    height: 100%;
}



.linetheme-right {
    animation: slideInRight 1s ease-out forwards;
}

#textslide {
    overflow: hidden;
    position: relative;
}

.sub-result {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0;
    color: #1a1a1a;
    line-height: 1.2;
    display: block;
    width: 100%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}


/* Add this new style for the side-by-side layout */
.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

    .title-container .sub-result {
        margin: 0 5px;
    }

/* Search Panel Styles */
.search-panel-container {
    position: relative;
    z-index: 10;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.search-filters-wrapper {
    /*background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);*/
    background-color: #e0f7ec;
    border-radius: 40px;
    padding: 1.3rem;
    display: flex;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-group {
    flex: 1;
}

.filter-select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

    .filter-select:hover {
        border-color: rgba(255, 255, 255, 1);
        background-color: rgba(255, 255, 255, 1);
    }

    .filter-select:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    }

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    /*border: 2px solid rgba(255, 255, 255, 0.8);*/
    /*background-color: rgba(255, 255, 255, 0.9);*/
    border-radius: 40px;
    color: #1a1a1a;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .search-input:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
        background-color: rgba(255, 255, 255, 1);
    }

.search-button {
    padding: 1rem 4rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

    .search-button:hover {
        background-color: #2563eb;
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(59, 130, 246, 0.3);
    }

/* Hero Section Styles */
.main-hero {
    position: relative;
    padding: 2rem 0;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-hero {
    /*background: linear-gradient(0deg, var(--base-color-pink-light), transparent 80%);*/
    background: linear-gradient(0deg, #009f47, transparent 80%);
}

.effect-backcolor {
    background: transparent;
    padding: 3rem 0;
}

@media only screen and (max-width: 575px) {
    .effect-backcolor {
        padding: 0;
    }
}

/* Modern Menu Container */
.nav-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Modern Menu Styles */
#menu, #user-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#menu {
    justify-content: end;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100%;
}

#user-menu {
    justify-content: flex-end;
    margin-left: auto;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Fix for nav-links and user-lang-links containers */
.nav-links, .user-lang-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links li, .user-lang-links li {
    display: inline-flex;
    align-items: center;
}

/* Menu items - apply these styles to both menu types */
#menu li, #user-menu li {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

/* Modern Link Styles - apply to both menus */
#menu .lnk-menu, #user-menu .lnk-menu {
    padding: 10px 16px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 500;
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 38px;
    gap: 6px;
}

#menu .lnk-menu:hover, #user-menu .lnk-menu:hover {
    color: #1775FF;
    background-color: rgba(79, 70, 229, 0.05);
    transform: translateY(-2px);
}

#menu .lnk-menu::after, #user-menu .lnk-menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #1775FF;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

#menu .lnk-menu:hover::after, #user-menu .lnk-menu:hover::after {
    width: 60%;
}

#menu .lnk-menu.active, #user-menu .lnk-menu.active {
    color: #1775FF;
    background-color: rgba(79, 70, 229, 0.1);
}

#menu .lnk-menu.active::after, #user-menu .lnk-menu.active::after {
    width: 60%;
}

/* Modern Logo and Menu Container */
.menu-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    max-width: 100%;
    position: relative;
    background-color: white;
    gap: 6rem;
}

.logo {
    max-width: 120px;
    min-width: 120px;  /* Added to prevent resizing */
    flex-shrink: 0;
    z-index: 49;
    grid-column: 1;
    padding: 10px 0; /* Add vertical padding */
}

/* Menu positioning - flex item */
.menu-container {
    flex-shrink: 0;
}

/* Main content - grows to fill space */
body > *:not(.menu-container):not(.footer-container):not(.overlay):not(.mobile-bottom-nav) {
    flex: 1 0 auto;
}

/* Footer positioning - always at bottom */
.footer-container {
    margin-top: auto;
    flex-shrink: 0;
}

/* courtB Logo Text */
.courtb-logo-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: #009F47; /* ta-green-bg-2 */
    max-width: 120px;
    min-width: 120px;
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
    cursor: pointer;
    text-decoration: none !important;
    display: flex;
    justify-content: flex-start;
}

    .courtb-logo-text:hover {
        color: #009F47; /* ta-green-bg-2 */
        text-decoration: none !important;
    }

/* Make mobile menu links have enough spacing and proper alignment */
#menu .lnk-menu, #user-menu .lnk-menu {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
}

/* Mobile menu container */
.box-menu {
    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    overflow-y: visible;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    grid-column: 2 / span 2;
    transition: right 0.3s ease;
    z-index: 48;
    padding-left: 10rem;
}

/* Navigation section */
.nav-links {
    grid-column: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

/* User and language section */
.user-lang-links {
    grid-column: 2;
    justify-content: flex-end;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

/* Ensure navigation is correctly positioned with 2/3 to 1/3 ratio */
.cbp-hrmenu {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}

/* Additional spacing adjustments */
.nav-links ul {
    padding-left: 0;
    margin: 0 auto; /* Center the navigation menu */
}

.user-lang-links ul {
    padding-right: 0;
    margin-left: auto; /* Push to the right */
    margin-right: 0;
}

/* User-specific menu items - Modern Style */
.user-specific-menu .lnk-menu {
    font-size: 18px !important;
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Modern Auth Buttons */
.user-specific-menu .signin-button {
    background-color: #1775FF;
    color: white !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 10px 18px;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.3);
}

    .user-specific-menu .signin-button:hover {
        /* background-color: #7a73f1 !important; */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
    }

    .user-specific-menu .signin-button::after {
        display: none;
    }

.user-specific-menu .register-button {
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 10px 18px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

    .user-specific-menu .register-button:hover {
        /* background-color: #72af20 !important; */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .user-specific-menu .register-button::after {
        display: none;
    }

.user-specific-menu .auth-buttons-non-signed,
.user-specific-menu .profile-icons {
    margin-right: 6px;
}

/* User Menu Dropdown - Modern Style */
.user-menu-dropdown {
    position: absolute;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.8);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    right: 0;
    top: 100%;
    padding: 8px 0;
}

.user-menu-dropdown.active {
    display: block !important;
    transform: translateY(0);
    opacity: 1;
    z-index: 9999 !important;
    visibility: visible !important;
}

/* User Menu Dropdown - Layout Refinements */
.user-menu-dropdown a,
.user-menu-dropdown button {
    display: flex;
    align-items: center;
    padding: 12px 18px !important;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
    gap: 0;
    line-height: 1.4;
    border-radius: 4px;
    margin: 2px 8px;
    width: calc(100% - 16px) !important;
}

/* Username display styling */
.user-name-display {
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    margin: 0 0 8px 0;
    padding: 12px 18px !important;
    width: 100% !important;
    border-radius: 0;
    text-align: left;
    color: #6B7280;
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.user-name-display small {
    font-weight: 600;
}

/* Ensure consistency in icon sizing and alignment */
.user-menu-dropdown .profile-icons {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-right: 0;
    color: #1775FF !important;
}

/* Specific fix for the logout button */
.user-menu-dropdown form {
    margin: 0;
    width: calc(100% - 16px);
    margin: 2px 8px;
}

.user-menu-dropdown form button {
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    padding: 12px 18px !important;
    border-radius: 4px;
    color: #374151;
    transition: all 0.2s ease;
    font-size: 15px;
    gap: 0;
}

.user-menu-dropdown form button:hover {
    background-color: rgba(239, 68, 68, 0.05);
    color: #EF4444;
}

.user-menu-dropdown form button:hover .profile-icons {
    color: #EF4444 !important;
}

/* More Menu Dropdown - Modern Style (to match user-menu-dropdown) */
.explore-menu-dropdown {
    position: absolute;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /*min-width: 220px;*/
    z-index: 1000;
    display: none;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.8);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    right: 0;
    top: 100%;
    padding: 8px 0;
}

    .explore-menu-dropdown.active {
        display: block !important;
        transform: translateY(0);
        opacity: 1;
        z-index: 9999 !important;
        visibility: visible !important;
    }

    .explore-menu-dropdown a {
        display: flex;
        align-items: center;
        padding: 12px 18px;
        color: #374151;
        text-decoration: none;
        transition: all 0.2s ease;
        font-size: 15px;
    }

    .explore-menu-dropdown a .profile-icons {
        margin-right: 8px;
    }

        .explore-menu-dropdown a:hover {
            background-color: rgba(79, 70, 229, 0.05);
            color: #1775FF;
        }

/* Auth Menu Dropdown - Modern Style (to match user-menu-dropdown) */
.auth-menu-dropdown {
    position: absolute;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.8);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    right: 0;
    top: 100%;
    padding: 8px 0;
}

    .auth-menu-dropdown.active {
        display: block !important;
        transform: translateY(0);
        opacity: 1;
        z-index: 9999 !important;
        visibility: visible !important;
    }

    .auth-menu-dropdown a {
        display: flex;
        align-items: center;
        padding: 12px 18px;
        color: #374151;
        text-decoration: none;
        transition: all 0.2s ease;
        font-size: 15px;
    }

    .auth-menu-dropdown a .profile-icons {
        margin-right: 8px;
    }

    .auth-menu-dropdown a:hover {
        background-color: rgba(79, 70, 229, 0.05);
        color: #1775FF;
    }

    .auth-menu-dropdown form {
        margin: 0;
    }

    .auth-menu-dropdown button {
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        padding: 12px 18px;
        color: #374151;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 15px;
        display: flex;
        align-items: center;
    }

        .auth-menu-dropdown button:hover {
            background-color: rgba(239, 68, 68, 0.05);
        }


/* Admin Menu Dropdown - Modern Style (to match user-menu-dropdown) */
.admin-menu-dropdown {
    position: absolute;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.8);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    right: 0;
    top: 100%;
    padding: 8px 0;
}

    .admin-menu-dropdown.active {
        display: block !important;
        transform: translateY(0);
        opacity: 1;
        z-index: 9999 !important;
        visibility: visible !important;
    }

    .admin-menu-dropdown a {
        display: flex;
        align-items: center;
        padding: 12px 18px;
        color: #374151;
        text-decoration: none;
        transition: all 0.2s ease;
        font-size: 15px;
    }

        .admin-menu-dropdown a .profile-icons {
            margin-right: 8px;
        }

        .admin-menu-dropdown a:hover {
            background-color: rgba(79, 70, 229, 0.05);
            color: #1775FF;
        }

    .admin-menu-dropdown form {
        margin: 0;
    }

    .admin-menu-dropdown button {
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        padding: 12px 18px;
        color: #374151;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 15px;
        display: flex;
        align-items: center;
    }

        .admin-menu-dropdown button:hover {
            background-color: rgba(239, 68, 68, 0.05);
        }

/* Hamburger Button - Modern Style */
.hamburger-menu {
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: #1775FF;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
    align-items: center;
    justify-content: center;
    display: none; /* Hide by default on desktop */
    grid-column: 3;
    justify-self: end;
    margin: 10px 0; /* Add vertical margin */
}

    .hamburger-menu .bar-container {
        width: 20px;
        height: 14px;
        position: relative;
    }

    .hamburger-menu .bar {
        width: 100%;
        height: 2px;
        background-color: white;
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

        .hamburger-menu .bar:nth-child(1) {
            top: 0;
        }

        .hamburger-menu .bar:nth-child(2) {
            top: 50%;
            transform: translateY(-50%);
        }

        .hamburger-menu .bar:nth-child(3) {
            bottom: 0;
        }

    /* Active State for Hamburger */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: rotate(45deg);
        top: 6px;
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 6px;
    }

/* Back to Top Button */
#toTop {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 80px;
    right: 10px;
    overflow: hidden;
    width: 50px;
    height: 50px;
    border: none;
    text-indent: 0;
    z-index: 9999;
    background-color: rgba(0, 105, 180, 0.8); /* AO blue with transparency */
    color: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
}

    #toTop:hover {
        background-color: rgba(0, 105, 180, 1); /* Solid AO blue on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        transform: translateY(-3px);
    }

#toTopHover {
    display: none; /* Hide the hover state image */
}

/* Sponsor Section Styles */
.partner-section {
    padding: 7rem 0;
    position: relative;
    /*background-color: #f8f9fa;*/
}

/* Sponsor Title with Tennis Icons */
.partner-title-container {
    position: relative;
}

.partner-title {
    position: relative;
    transition: all 0.5s ease;
}

    .partner-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        width: 0;
        height: 3px;
        background: linear-gradient(to right, #0078D7, #8BC540);
        transform: translateX(-50%);
        transition: width 0.5s ease;
        border-radius: 3px;
    }

.partner-title-container:hover .partner-title::after {
    width: 30%;
}

.partner-carousel-container {
    position: relative;
    padding: 0 80px;
    margin: 0 auto;
    max-width: 1200px;
}

.partner-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    background-color: white;
    border-radius: 10px;
    margin: 0 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .partner-item img {
        max-width: 90%;
        max-height: 120px;
        height: auto;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: all 0.3s ease;
        object-fit: contain;
    }

    .partner-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

        .partner-item:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }

.partner-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .partner-nav-btn:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        transform: translateY(-50%) scale(1.1);
    }

.partner-prev-btn {
    left: 20px;
}

.partner-next-btn {
    right: 20px;
}

/* Keep blue underline when More dropdown is open */
.explore-menu-container .explore-menu-dropdown.active ~ .explore-menu-toggle .lnk-menu::after,
.explore-menu-toggle:has(+ .explore-menu-dropdown.active) .lnk-menu::after {
    width: 60%;
}

/* Style More toggle when dropdown is active */
.explore-menu-toggle:has(+ .explore-menu-dropdown.active) .lnk-menu,
.explore-menu-dropdown.active ~ .explore-menu-toggle .lnk-menu {
    color: #1775FF;
}

/* Keep blue underline when More dropdown is open */
#menu .explore-menu-container .explore-menu-toggle .lnk-menu.dropdown-active::after,
#user-menu .explore-menu-container .explore-menu-toggle .lnk-menu.dropdown-active::after {
    width: 60%;
}

/* Style More toggle when dropdown is active */
#menu .explore-menu-container .explore-menu-toggle .lnk-menu.dropdown-active,
#user-menu .explore-menu-container .explore-menu-toggle .lnk-menu.dropdown-active {
    color: #1775FF;
    background-color: rgba(79, 70, 229, 0.05);
}

/* Make sure the menus take full width of their containers */
.nav-links, .nav-links ul, 
.user-lang-links, .user-lang-links ul {
    width: 100%;
}

/* Add a style to handle body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

.container-override-menu {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* More Menu Icons Styling */
.explore-menu-dropdown .profile-icons,
.auth-menu-dropdown .profile-icons,
.user-menu-dropdown .profile-icons {
    font-size: 16px !important;
    width: 24px !important;
    text-align: center !important;
    flex-shrink: 0 !important; 
    margin-right: 12px !important;
    color: #1775FF !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Style for dropdown toggles when active */
.explore-menu-toggle a.lnk-menu.active,
.user-menu-toggle a.lnk-menu.active,
.auth-menu-toggle a.lnk-menu.active,
.explore-menu-container:has(.explore-menu-dropdown.active) .lnk-menu,
.user-menu:has(.user-menu-dropdown.active) .lnk-menu,
.auth-menu:has(.auth-menu-dropdown.active) .lnk-menu,
.admin-menu:has(.admin-menu-dropdown.active) .lnk-menu {
    color: #1775FF !important;
    background-color: rgba(79, 70, 229, 0.05);
}

/* Animate chevron rotation */
.fa-chevron-down {
    transition: transform 0.3s ease;
}

.explore-menu-dropdown.active ~ .explore-menu-toggle .fa-chevron-down,
.user-menu-dropdown.active ~ .user-menu-toggle .fa-chevron-down,
.auth-menu-dropdown.active ~ .auth-menu-toggle .fa-chevron-down,
.admin-menu-dropdown.active ~ .admin-menu-toggle .fa-chevron-down,
.explore-menu-container:has(.explore-menu-dropdown.active) .fa-chevron-down,
.user-menu:has(.user-menu-dropdown.active) .fa-chevron-down,
.auth-menu:has(.auth-menu-dropdown.active) .fa-chevron-down,
.admin-menu:has(.admin-menu-dropdown.active) .fa-chevron-down,
.fa-chevron-down.rotated {
    transform: rotate(180deg);
}

/* Menu item styling for all dropdowns */
.menu-item {
    display: flex !important;
    align-items: center !important;
    color: #374151 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-size: 15px !important;
    gap: 0 !important;
    line-height: 1.4 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    padding: 14px 20px !important;
    font-weight: 500 !important;
    background: none !important;
    border: none !important;
    text-align: left !important;
    cursor: pointer !important;
    position: relative !important;
}

.menu-item:hover {
    background-color: rgba(79, 70, 229, 0.05) !important;
    color: #1775FF !important;
    transform: translateX(3px) !important;
}

.menu-item .profile-icons {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    width: 24px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    margin-right: 0 !important;
    color: #1775FF !important;
    display: inline-flex !important;
    justify-content: center !important;
}

/* Fix text positioning */
.menu-text {
    padding-left: 36px !important;
    display: block !important;
    width: 100% !important;
}

/* Special styling for logout button */
#logoutForm .menu-item:hover {
    background-color: rgba(239, 68, 68, 0.05) !important;
    color: #EF4444 !important;
}

#logoutForm .menu-item:hover .profile-icons {
    color: #EF4444 !important;
}

/* Ensure consistent icon alignment and spacing in dropdown menus */
.explore-menu-dropdown a,
.auth-menu-dropdown a,
.user-menu-dropdown a {
    padding: 12px 18px !important;
    border-radius: 4px;
    margin: 2px 8px;
    transition: all 0.2s ease;
    width: calc(100% - 16px) !important;
}

.explore-menu-dropdown a:hover,
.auth-menu-dropdown a:hover,
.user-menu-dropdown a:hover {
    background-color: rgba(79, 70, 229, 0.05);
    color: #1775FF;
    transform: translateX(3px);
}

#logoutForm .fa-sign-out-alt.profile-icons {
    margin-right: 12px !important;
    font-size: 16px !important;
    width: 24px !important;
    text-align: center !important;
    display: inline-flex !important;
    justify-content: center !important;
}

/* Fix for logout button alignment */
#logoutForm {
    width: 100%;
    margin: 0;
    padding: 0;
}

#logoutForm .menu-item {
    display: flex;
    align-items: center;
    padding: 12px 18px !important;
    margin: 2px 8px;
    width: calc(100% - 16px) !important;
    text-align: left;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
    gap: 0;
    line-height: 1.4;
    border-radius: 4px;
}

#logoutForm .menu-text {
    padding-left: 36px !important;
    display: block !important;
    width: 100% !important;
    text-align: left;
}

@media (max-width: 575px) {
    .menu-box {
        justify-content: left !important;
    }

    .courtb-logo-text {
        justify-content: center;
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 1500px) {
    .container-override-menu {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Basic layout */
    .menu-box {
        padding: 0 15px 0 15px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    #initialsOfUser {
        order: 2;
    }

    #hamburger-menu {
        order: 3;
    }


    /* Hamburger button */
    .hamburger-menu {
        display: flex;
        margin: 0px !important;
    }

    #initialsOfUser {
        display: flex;
        margin: 0px 0px 0 45px !important;
    }

    /* Logo */
    .logo {
        padding: 8px 0;
        margin-left: 5px;
        max-width: 100px;
    }

    /* Mobile menu container */
    .box-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 350px;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 60px 15px 20px 15px;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 48;
        display: block;
    }

        .box-menu.active {
            right: 0;
        }

    /* Make everything display as blocks for single column */
    .cbp-hrmenu,
    .nav-links,
    .user-lang-links,
    #menu,
    #user-menu,
    #menu li,
    #user-menu li,
    .explore-menu-container,
    .user-menu,
    .language-menu,
    .auth-menu,
    .admin-menu {
        display: block !important;
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Force grid and flex layouts to be block */
    .cbp-hrmenu {
        display: block !important;
        grid-template-columns: unset !important;
    }

    /* Menu links as block elements with consistent styling */
    #menu .lnk-menu,
    #user-menu .lnk-menu {
        display: block !important;
        width: 100% !important;
        padding: 15px 20px !important;
        height: auto !important;
        font-size: 16px !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    /* Align language and basket icons to the left */
    .language-menu .lnk-menu i,
    .language-menu .lnk-menu svg,
    #basket-icon {
        float: left !important;
        margin-right: 10px !important;
        margin-left: 0 !important;
    }

    /* Direct and specific selector for the SVG cart icon */
    #user-menu .lucide-shopping-cart,
    .lucide-shopping-cart,
    svg.lucide-shopping-cart,
    li.user-specific-menu .lnk-menu svg {
        float: left !important;
        margin-right: 10px !important;
        margin-left: 0 !important;
        position: relative !important;
    }

    /* Keep other icons (like chevrons) to the right */
    .lnk-menu i,
    .lnk-menu svg,
    .lnk-menu .fa-chevron-down {
        float: right !important;
        margin-left: 10px !important;
    }

    /* Admin Panel icon adjustment */
    .lnk-menu .fa-gear {
        float: left !important;
        margin-right: 10px !important;
        margin-left: 0 !important;
    }

    /* Ensure consistent styling for both nav sections */
    .nav-links .lnk-menu,
    .user-lang-links .lnk-menu {
        border-radius: 0 !important;
        margin: 0 !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    /* Dropdown styling */
    .explore-menu-dropdown,
    .user-menu-dropdown,
    .language-menu-dropdown,
    .auth-menu-dropdown,
    .admin-menu-dropdown {
        position: static !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #f8f9fa !important;
        display: none !important;
    }

        /* Active dropdowns */
        .explore-menu-dropdown.active,
        .user-menu-dropdown.active,
        .language-menu-dropdown.active,
        .auth-menu-dropdown.active,
        .admin-menu-dropdown.active {
            display: block !important;
        }

        /* Dropdown items */
        .explore-menu-dropdown a,
        .user-menu-dropdown a,
        .language-menu-dropdown a,
        .auth-menu-dropdown a,
        .admin-menu-dropdown a,
        .language-menu-dropdown button,
        .auth-menu-dropdown button,
        .admin-menu-dropdown button {
            display: flex !important;
            padding: 12px 20px 12px 30px !important;
            font-size: 16px !important;
            width: 100% !important;
            text-align: left !important;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        }

    /* Remove any flexbox or other layout methods */
    #menu, #user-menu {
        flex-direction: unset !important;
        align-items: unset !important;
        flex-wrap: unset !important;
        gap: unset !important;
        justify-content: unset !important;
    }

        /* Remove the hover underline effect */
        #menu .lnk-menu::after,
        #user-menu .lnk-menu::after {
            display: none !important;
        }

    /* Navigation sections - ensure they're stacked */
    .nav-links,
    .user-lang-links {
        display: block;
        width: 100%;
    }

    /* Menu lists - ensure vertical stacking */
    #menu,
    #user-menu {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }

        /* Menu items - ensure they stack vertically */
        #menu li,
        #user-menu li {
            display: block;
            width: 100%;
            margin: 0;
        }

        /* Menu links - ensure they're block elements */
        #menu .lnk-menu,
        #user-menu .lnk-menu {
            display: block;
            width: 100%;
            padding: 15px 20px;
            height: auto;
            font-size: 16px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            text-align: left;
        }

    /* Remove any floating or flex alignment that might affect stacking */
    .cbp-hrmenu,
    .cbp-hrmenu > ul {
        display: block;
        width: 100%;
    }

    /* Fix for any potential grid or flex layouts */
    .cbp-hrmenu {
        display: block;
        grid-template-columns: none !important;
    }

    /* Ensure icons align properly in the single column layout */
    .lnk-menu i,
    .lnk-menu svg {
        float: right;
        margin-left: 10px;
    }

    .box-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 350px;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 60px 15px 20px 15px;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 48;
        display: block;
    }

        .box-menu.active {
            right: 0;
        }

    .menu-container {
        margin: 0.5rem 0;
    }

    .explore-menu-dropdown,
    .auth-menu-dropdown,
    .user-menu-dropdown,
    .admin-menu-dropdown {
        padding: 0 !important;
    }

        .explore-menu-dropdown a,
        .auth-menu-dropdown a,
        .user-menu-dropdown a,
        .admin-menu-dropdown a {
            margin: 0 !important;
            border-radius: 0 !important;
            width: 100% !important;
            padding: 14px 20px !important;
        }

            .explore-menu-dropdown a:hover,
            .auth-menu-dropdown a:hover,
            .user-menu-dropdown a:hover,
            .admin-menu-dropdown a:hover,
            .user-menu-dropdown form button:hover {
                transform: none !important;
            }

        .user-menu-dropdown .px-8 {
            width: 100% !important;
            padding: 10px 20px !important;
            margin: 0 !important;
        }

    #logoutForm .menu-item {
        border-radius: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        padding: 14px 20px !important;
    }
}

/* Mobile Responsive Styles for Search Panel */
@media (max-width: 768px) {
    .search-filters-wrapper {
        flex-direction: column;
        gap: 1rem;
        margin: 0 1rem;
        margin-top: 1rem;
    }

    .filter-group {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .search-button {
        width: 100%;
        margin-top: 0.5rem;
        padding: 1rem;
    }

    .filter-select,
    .search-input {
        font-size: 1.4rem;
        padding: 0.875rem 1.25rem;
    }

    /* Adjust slide-txt for mobile */
    .slide-txt {
        padding: 2rem 0 1rem;
        margin-bottom: 0.5rem;
        min-height: auto;
    }

    .sub-result {
        font-size: 2.5rem;
        margin: 0.5rem 0;
        text-align: center;
        width: 100%;
    }

    .main-hero p.sub-result {
        font-size: 3.5rem !important;
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

/* Further adjustments for extra small screens */
@media (max-width: 480px) {
    .search-filters-wrapper {
        border-radius: 30px;
        margin-top: 0.5rem;
    }

    .filter-select,
    .search-input,
    .search-button {
        font-size: 1.4rem;
        padding: 0.75rem 1rem;
    }

    /* Smaller text for mobile phones */
    .slide-txt {
        padding: 1.5rem 0.5rem 2.5rem;
        display: none;
    }

    .sub-result {
        font-size: 2rem;
    }

    .main-hero p.sub-result {
        font-size: 3rem !important;
        margin-bottom: 1rem;
    }

    /* Ensure search container is visible */
    .search-panel-container {
        margin-top: 0.5rem;
    }
}