/* Само landscape на телефон (тесен + нисък + touch) — не desktop прозорец */
@media (orientation:landscape) and (max-height:520px) and (max-width:932px) and (pointer:coarse){
    :root{
        --nav-h:56px;
        --page-x:16px;
    }

    .navbar{
        height:var(--nav-h);
        min-height:var(--nav-h);
        max-height:var(--nav-h);
    }

    .navbar .nav-inner{
        --nav-m-slot-left:40px;
        --nav-m-slot-right:60px;
        display:flex;
        align-items:center;
        justify-content:space-between;
        width:100%;
        position:relative;
        min-width:0;
    }

    .navbar .nav-inner:has(.nav-notifications){
        --nav-m-slot-right:140px;
    }

    .navbar .nav-toggle{
        display:flex;
        position:relative;
        z-index:3;
        flex:0 0 auto;
        flex-shrink:0;
    }

    .nav-menu{display:none!important}

    .nav-desktop-only{display:none!important}

    .navbar .logo{
        position:absolute;
        left:calc(50% + (var(--nav-m-slot-left) - var(--nav-m-slot-right)) / 2);
        top:50%;
        transform:translate(-50%,-50%);
        z-index:2;
        max-width:calc(100% - var(--nav-m-slot-left) - var(--nav-m-slot-right) - 8px);
        min-width:0;
        gap:8px;
        pointer-events:auto;
        overflow:hidden;
    }

    .nav-user__name{
        display:none;
    }

    .nav-user__toggle{
        padding:0 5px 0 3px;
        gap:3px;
    }

    .navbar .logo-text-line--sub{
        font-size:10px;
        line-height:1.1;
    }

    .navbar .logo-text-line:not(.logo-text-line--sub){
        font-size:14px;
        line-height:1.1;
    }

    .navbar .nav-right{
        margin-left:0;
        gap:8px;
        position:relative;
        z-index:3;
        flex:0 0 auto;
        flex-shrink:0;
        min-width:0;
    }

    .nav-notifications__panel{
        position:fixed;
        top:calc(var(--nav-h) + 6px);
        left:var(--page-x);
        right:var(--page-x);
        width:auto;
        max-width:none;
        z-index:1105;
    }

    .search-btn{
        width:38px;
        height:38px;
        flex-shrink:0;
    }

    .navbar .logo img{
        width:36px;
        height:36px;
    }

    .nav-backdrop,
    .nav-drawer{display:block}

    .search-panel.is-open{
        max-height:min(200px,calc(100vh - var(--nav-h)));
        z-index:1003;
    }

    .search-form{
        flex-direction:row;
        align-items:center;
        gap:10px;
    }

    .search-input{
        flex:1;
        min-width:0;
    }

    .search-submit{
        flex-shrink:0;
        width:auto;
        padding:0 18px;
    }

    .hero{min-height:min(420px,calc(100vh - var(--nav-h) - 24px))}
    .hero .container{padding-top:24px;padding-bottom:28px}
}
