/* Logo styling */
.custom-logo {
    max-height: 50px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Logo link with "EVL Rentals" text */
.site-header .custom-logo-link {
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}
.site-header .custom-logo-link::after {
    content: 'EVL Rentals';
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}
.site-header .site-branding {
    max-width: none !important;
}

/* Header bottom border */
.site-header {
    border-bottom: 1px solid #e0e0e0 !important;
}

/* === MOBILE HEADER FIX === */
@media screen and (max-width: 600px) {
    /* Kill the grid, use flexbox single row */
    .site-header#masthead {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 16px !important;
            min-height: unset !important;
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
        grid-template-areas: unset !important;
    }

    /* Logo area: left side, no grow */
    .site-header .site-logo {
        flex: 0 1 auto !important;
        width: auto !important;
        grid-area: unset !important;
        min-width: 0 !important;
    }

    /* Hide the separate site-title and description */
    .site-header .site-title,
    .site-header .site-description {
        display: none !important;
    }

    /* Nav: right side, no grow */
    #site-navigation.main-navigation {
        flex: 0 0 auto !important;
        grid-area: unset !important;
        margin-left: auto !important;
        width: auto !important;
    }

    /* Menu toggle button styling */
    #toggle-menu {
        margin: 0 !important;
        padding: 6px 12px !important;
        font-size: 13px !important;
    }


    /* Compact logo for mobile */
    .custom-logo {
        max-height: 36px !important;
        width: auto !important;
    }

    .site-logo {
        margin: 0 !important;
        padding: 0 !important;
    }

    #site-navigation {
        margin: 0 !important;
        padding: 0 !important;
    }
}