/* Adjustments for sticky header logo and brand text spacing */

/* Keep the brand icon sharp and stable in both normal and sticky header states. */
#sticky-header .brand-lockup .logo {
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

#sticky-header .brand-lockup {
    gap: 2px;
}

#sticky-header .brand-lockup .logo__spin {
    display: block;
    width: 100%;
    height: 100%;
    animation: none;
    transform: none;
}

#sticky-header .brand-lockup .logo img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    transform: none;
    filter: none;
}

/* Adjust brand text spacing - much closer to logo */
#sticky-header .brand-text {
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    height: 46px; /* Match logo height for better alignment */
}

/* Logo container adjustments */
#sticky-header .logo {
    display: flex;
    align-items: center;
}

/* Improve layout in menu-nav */
#sticky-header .menu-nav {
    display: flex;
    align-items: center;
    gap: 5px; /* Reduced from 20px */
}

/* Enhanced logo and brand text relationship */
#sticky-header .logo + .brand-text {
    position: relative;
    margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    #sticky-header .logo img {
        max-height: 43.7px;
    }
    
    #sticky-header .brand-text {
        margin-left: 0;
    }
}

@media (max-width: 991px) {
    #sticky-header .logo img {
        max-height: 40.25px;
    }
    
    #sticky-header .brand-text {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    #sticky-header .logo img {
        max-height: 36.8px;
    }
}
