/* ============================================
   MOBILE HEADER MENU SPACING
   Consistent spacing between ISO button/header and menu
   Same as home page on all pages
   ============================================ */

@media (max-width: 767px) {
    
    /* Main Header - Compact spacing */
    .main-header {
        margin-bottom: 0 !important;
        padding: 8px 0 !important;
    }
    
    /* Space between header and navbar - Match home page */
    .main-header + .navbar,
    .main-header ~ .navbar {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Navbar - No extra margins */
    .navbar {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Header Actions / ISO Badge - Consistent spacing */
    .header-actions {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .iso-badge {
        margin-bottom: 0 !important;
    }
    
    /* Ensure consistent spacing after header */
    .main-header .container {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Logo area spacing */
    .logo-area {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Remove any extra spacing between header elements */
    .main-header .header-flex {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Ensure navbar starts right after header with minimal gap */
    .main-header + .navbar .container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 6px 0 !important;
    }
}
