/* Center the navigation menu for Inspiro Theme - Safe Overrides */
@media screen and (min-width: 992px) {
    /* Target the main navigation wrapper safely */
    .navbar .navbar-collapse {
        display: flex !important;
        justify-content: center !important;
        /* Removed flex-grow and width: 100% to prevent header expansion */
    }
    
    /* Target the ul containing the menu items */
    .navbar-nav,
    ul#primary-menu,
    .main-navigation ul.menu {
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        float: none !important;
    }
    
    /* Ensure list items don't push to the right */
    .navbar-nav > li {
        float: none !important;
        display: inline-block !important;
    }
    
    /* Specific override for right-aligned menus if present */
    .navbar-right {
        float: none !important;
        margin-right: auto !important;
    }
}