/* [1919-1500] - средние ПК-мониторы */
@media screen and (max-width: 1919px) {}


/* [1499-1280] - небольшие ПК-мониторы, ноутбуки */
@media screen and (max-width: 1499px) {}


/* [1279-1024] - небольшие ноутбуки */
@media screen and (max-width: 1279px) {}


/* [1023-768] - планшеты */
@media screen and (max-width: 1023px) {}


/* [767-480] - мобильные устройства */
@media all and (max-width: 767px) {
    /* ОБЩЕЕ */
    main {
        padding: 0 0 1.5rem;
    }
    .container {
        padding: 0 1rem;
    }

    /* ЭЛЕМЕНТЫ ТЕКСТОВЫХ СЕКЦИЙ */
    .text_content :is(h1, h2, h3, h4, *.h1_like) {
        text-transform: uppercase;
    }
    .text_content :is(h1, *.h1_like) {
        font-size: 1.5rem;
    }
    .text_content h2 {
        font-size: 2rem;
    }

    /* ХЕДЕР */
    header {
        --header-layout-height: 6rem;
    }
    body.sticky_header.scrolled .header_bar_section {
        position: relative;
        padding-left: 0;
    }
    body.sticky_header.scrolled .header_bar_top_container {
        height: auto;
    }
    
    .header_bar_top_layout {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .header_logo img {
        height: 2.375rem;
    }
    .header_informer {
        flex-grow: 1;
    }
    .header_contacts {
        margin-left: 0;
    }
    .header_bar_bottom_container {
        display: none;
    }

    /* ФУТЕР */
    .footer_layout {
        gap: 1.5rem;
        flex-direction: column;
    }
    .footer_text {
        justify-content: flex-start;
    }
    .footer_info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .footer_logo img {
        height: 2.375rem;
    }
    .footer_typo_report {
        display: none;
    }

    /* НОВОСТИ - основная секция */
    .news_main_layout {
        flex-direction: column;
    }
    .news_main_earlier {
        width: 100%;
    }
    .news_main_banner {
        display: none;
    }

    /* НОВОСТИ - плитка */
    .news_tiles_section {
        display: none;
    }

    /* НОВОСТИ - блоки */
    .news_blocks_layout {
        flex-direction: column;
        gap: 1.875rem;
    }
    .news_blocks_items {
        grid-template-columns: repeat(2, 1fr);
    }
    .news_blocks_column {
        display: contents;
    }
    .news_block {
        min-height: auto;
    }

    /* СЕКЦИЯ ПОИСКА */
    .mainsearch_form button {
        width: 8.75rem;
    }
}


/* [479-?] - мелкие мобильные устройства */
@media screen and (max-width: 479px) {
    header {
        --header-layout-height: 10.875rem;
    }
    .header_bar_top_layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer_menu ul.wp-menu {
        gap: 0 1.5rem;
    }
    .footer_main_menu ul.wp-menu {
        grid-template-columns: 1fr;
    }

    .news_blocks_items {
        grid-template-columns: 1fr;
    }
}


/* [397-?] - совсем мелкие мобильные устройства жестб */
@media screen and (max-width: 397px) {
    header {
        --header-layout-height: 13.25rem;
    }
    .news_main_today_post_description {
        flex-direction: column;
    }
}
