/**
 * VYNUCENÝ LAYOUT – jen mobil (do 768px).
 * Tablet/notebook drží max-w-* (Přidat inzerát, Kontakt nejsou roztažené).
 */
@media (max-width: 767px) {
    #site-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 1rem !important;
        overflow-x: hidden !important;
    }
    #site-main .app-content,
    #site-main .app-content > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    #site-main .app-content > .max-w-4xl,
    #site-main .app-content > .max-w-5xl,
    #site-main .app-content > .max-w-6xl,
    #site-main .app-content > .max-w-7xl,
    #site-main .app-content > .max-w-2xl,
    #site-main .app-content > .max-w-3xl,
    #site-main .app-content > .max-w-xl,
    #site-main .app-content > .page-home,
    #site-main .app-content > .page-account {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    #site-main section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    #site-main .inzeraty-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #site-main .inzeraty-layout .inzeraty-filters-aside,
    #site-main .inzeraty-layout .flex-1 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    #site-header > div {
        min-width: 0 !important;
        width: 100% !important;
    }
}
@media (max-width: 767px) and (min-width: 640px) {
    #site-main { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    #site-main .app-content > .max-w-4xl,
    #site-main .app-content > .max-w-7xl,
    #site-main .app-content > .page-account { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
}
