/* Header container layout */
#site-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
}

/* Logo area */
#site-header .site-branding {
    display: flex;
    align-items: center;
}

/* Navigation menu */
#site-header .site-navigation ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-header .site-navigation a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

/* Fix header height issues */
#site-header {
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}
/* FORCE stable header layout across all breakpoints */
#site-header .header-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
}

/* Prevent Hello Elementor from stacking the menu on medium screens */
@media (max-width: 1335px) {
    #site-header .site-navigation ul {
        flex-direction: row !important;
        justify-content: flex-end !important;
        gap: 25px;
    }
}

/* Prevent the header from expanding vertically */
#site-header {
    display: block;
    height: auto;
    padding: 0;
}

/* Fix for Edge and Safari flexbox quirks */
#site-header .site-branding,
#site-header .site-navigation {
    flex-shrink: 0;
}
/* RESET ALL HELLO ELEMENTOR HEADER MEDIA QUERIES */
#site-header,
#site-header .header-container,
#site-header .site-branding,
#site-header .site-navigation,
#site-header .site-navigation ul {
    all: unset;
    display: revert;
}

/* REAPPLY OUR LAYOUT */
#site-header {
    width: 100%;
    background: #fff;
    box-sizing: border-box;
}

#site-header .header-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    width: 100%;
}

/* MENU ALWAYS HORIZONTAL */
#site-header .site-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* PREVENT WRAPPING */
#site-header .site-navigation ul li {
    white-space: nowrap;
}

/* PREVENT FLEX SHRINKING */
#site-header .site-branding,
#site-header .site-navigation {
    flex-shrink: 0 !important;
}

/* FIX EDGE + SAFARI */
#site-header .site-navigation {
    display: flex !important;
    align-items: center !important;
}