/* --- 1. STACKING THE DECK --- */

/* This targets the 'menu' position container */
.container-nav {
    display: flex !important;
    flex-direction: column !important; /* Forces Slider on top, Menus below */
    align-items: flex-start !important; /* Aligns everything to the left */
    gap: 15px !important;
}

/* Ensure the language modules sit side-by-side in their own row */
.header-content.grid-child {
    display: flex !important;
    flex-direction: row !important; 
    gap: 15px !important;
    order: 2; /* Forces the menu row to the bottom */
}

/* Target the Smart Slider specifically to be on top */
div[id^="smart-slider"] {
    order: 1 !important; /* Forces Slider to the top */
    width: 100% !important;
    margin-bottom: 10px;
}

/* --- 2. THE BUTTON LABELS & SPACING --- */

.menu-en .navbar-toggler::before {
    content: "English";
    font-weight: bold;
    margin-right: 12px !important;
}

.menu-fr .navbar-toggler::before {
    content: "Français";
    font-weight: bold;
    margin-right: 12px !important;
}

/* --- 3. BURGER BUTTON STYLING --- */

.navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    border: 1px solid #666 !important;
    padding: 6px 10px !important;
    background-color: transparent !important;
}

/* Prevents the menus from taking up full width of the row */
.menu-en, .menu-fr {
    width: auto !important;
    flex: 0 1 auto !important;
}