/*
 * Custom CSS for Minimog Mobile Top Bar Fix
 */

@media (max-width: 543px) {
    /* Hide the mobile toggle/plus icon and any extra rows */
    .top-bar-mobile-toggle,
    .minimog-top-bar-toggle,
    .minimog-mobile-menu-toggle,
    .top-bar-mobile-expanded-content,
    .minimog-top-bar-expanded {
        display: none !important;
    }

    /* Ensure the top bar only shows the center column (marquee text) */
    .top-bar-left,
    .top-bar-right {
        display: none !important;
    }

    .top-bar-center {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

#mmtbf-language-switcher-source {
    display: none !important;
}

.header-right .header-content-inner {
    display: flex;
    align-items: center;
}

/* Hide the custom language switcher on desktop */
.custom-language-switcher {
    display: none !important;
}

/* Show the custom language switcher on mobile/tablet */
@media (max-width: 1189px) {
    .custom-language-switcher {
        display: inline-block !important;
        margin-left: 10px; /* Add some space between icons */
    }
}