@media (max-width: 1350px) {
    #qodef-page-header .qodef-header-logo-link {
        height: 21px !important; /* Smaller logo for medium screens */
    }
    
    #qodef-page-header .qodef-header-logo-link img {
        max-height: 100% !important; /* Ensure image fits within container */
        width: auto;
    }
    
    .qodef-header-navigation > ul > li {
        padding: 0 15px; /* Tighter menu padding for medium screens */
    }
}
