@media (max-width: 1023px) {
    :root {
        --container-padding: 10px;
        --header-height: 56px;
        --footer-height: auto;
        --sidebar-width: 100%;
    }

    .main-container {
        flex-direction: column;
        width: 100%;
    }

    .content {
        min-height: auto;
        padding: 15px;
    }

    .header-menu,
    .footer-menu {
        width: 100%;
        min-width: auto;
        max-width: none;
    }

    .content-title {
        font-size: 1.5rem;
        margin: 0 0 0.8rem 0;
        line-height: 1.3;
    }

    .content h1 {
        font-size: 1.3rem;
        margin: 1rem 0 0.7rem 0;
    }

    .content h2 {
        font-size: 1.1rem;
        margin: 0.9rem 0 0.6rem 0;
    }

    .content h3 {
        font-size: 1rem;
        margin: 0.8rem 0 0.5rem 0;
    }
}