

/* Start:/local/templates/aspro_next_newdesign/components/bitrix/system.pagenavigation/pagination_newdesign/style.css?17888450193628*/
/* ============================================================================
   Постраничная навигация нового дизайна.
   Из макета (Figma «Чистовик», компонент Pagination): ячейка 48×48, радиус 4,
   зазор 2, шрифт номеров 18/22 700, активная страница — фон #c60000,
   кнопка «Показать еще» — тёмная #101014 высотой 48.
   ========================================================================= */
.nd-pager {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Nunito Sans', 'Nunito Fallback', Arial, sans-serif;
}
/* Номера страниц прижаты к левому краю, кнопка «Показать еще» — к правому:
   так в макете и на отзывах, и на портфолио. */
.nd-pager__pages {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    flex: 1 1 auto;
    flex-wrap: wrap;
}
.nd-pager__page,
.nd-pager__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 8px;
    border-radius: 4px;
    color: #101014;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.nd-pager__page:hover,
.nd-pager__arrow:hover {
    background: rgba(82, 82, 100, .08);
    color: #101014;
    text-decoration: none;
}
.nd-pager__page--current,
.nd-pager__page--current:hover {
    background: #c60000;
    color: #fff;
    cursor: default;
}
.nd-pager__arrow--off {
    opacity: .3;
    pointer-events: none;
}
.nd-pager__gap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 48px;
    color: #8f8f9a;
    font-size: 18px;
    line-height: 22px;
}
.nd-pager__more {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 142px;
    height: 48px;
    padding: 0 16px;
    border-radius: 4px;
    background: #101014;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s ease;
}
.nd-pager__more:hover,
.nd-pager__more:focus {
    background: #2a2a33;
    color: #fff;
    text-decoration: none;
}
.nd-pager__more.is-loading {
    opacity: .6;
    pointer-events: none;
}

/* На страницах редактора контент-менеджера навигация лежит внутри .editor,
   а тема подчёркивает там все ссылки с большей специфичностью. */
.editor .nd-pager__page,
.editor .nd-pager__page:hover,
.editor .nd-pager__page:focus,
.editor .nd-pager__arrow,
.editor .nd-pager__arrow:hover,
.editor .nd-pager__arrow:focus,
.editor .nd-pager__more,
.editor .nd-pager__more:hover,
.editor .nd-pager__more:focus {
    text-decoration: none;
    border-bottom: 0;
}

@media (max-width: 767px) {
    /* на мобильном номера и кнопка не помещаются в строку — ставим друг под друга */
    .nd-pager {
        flex-direction: column;
        gap: 16px;
    }
    .nd-pager__pages {
        width: 100%;
        justify-content: center;
        gap: 0;
    }
    .nd-pager__page,
    .nd-pager__arrow {
        min-width: 40px;
        height: 40px;
        padding: 0 4px;
        font-size: 16px;
    }
    .nd-pager__more {
        width: 100%;
    }
}

/* End */


/* Start:/local/templates/aspro_next_newdesign/components/bitrix/news.list/list_articles_page_newdesign/style.css?17888450185098*/
/* ============================================================================
   Страница «Статьи» (/materials/) нового дизайна.
   По макету: контент 1336, четыре карточки в ряд по 316 с зазором 24,
   картинка со скруглением 4 и плашкой «Статья» в левом нижнем углу,
   заголовок 18/22 под ней.

   Плашка и картинка повторяют карточку блока «Полезно знать» на главной,
   но живут отдельно: там сетка из трёх карточек, здесь из четырёх.
   ========================================================================= */
.nd-mat {
    width: 100%;
    max-width: 1336px;
    margin: 0 auto;
    font-family: 'Nunito Sans', 'Nunito Fallback', Arial, sans-serif;
    color: #101014;
}

/* --- заголовок страницы и разделитель под ним ---
   H1 печатает header.php шаблона (для блоговых страниц он свой), поэтому
   оформляем штатный элемент. Отличить общую страницу материалов от детальной
   статьи можно по колонке: только у неё в header.php нет класса col-md-9
   (условие там завязано прямо на путь /materials/).
   Теги под заголовком в макете есть, но пока не выводим. */
.content-md:not(.col-md-9) > h1#pagetitle {
    max-width: 1336px;
    margin: 0 auto 40px;
    padding: 0 0 40px;
    border-bottom: 2px solid rgba(82, 82, 100, .15);
    font-family: "Nunito Sans", "Nunito Fallback", Arial, sans-serif;
    font-size: 52px;
    line-height: 57px;
    font-weight: 800;
    color: #101014;
}

/* --- ряд ссылок на разделы --- */
.nd-mat__sections {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 24px;
}
.nd-mat__section {
    color: #c60000;
    font-size: 16px;
    line-height: 24px;
    text-decoration: underline;
}
.nd-mat__section:hover,
.nd-mat__section:focus {
    color: #a80000;
    text-decoration: underline;
}

/* --- сетка --- */
.nd-mat__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.nd-mat__item {
    display: flex;
    flex-direction: column;
    color: #101014;
    text-decoration: none;
}
/* Подчёркивания на наведении нет (Ирина, 2026-08-05). Вариант с `.editor`
   обязателен: внутри неё тема подчёркивает все ссылки со своей
   специфичностью — та же грабля, что у постранички и списка документов. */
.nd-mat__item:hover,
.nd-mat__item:focus,
.editor .nd-mat__item,
.editor .nd-mat__item:hover,
.editor .nd-mat__item:focus {
    color: #101014;
    text-decoration: none;
}
.nd-mat__pic {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 316 / 211;
    padding: 16px;
    border-radius: 4px;
    background: #eeeeef;
    overflow: hidden;
}
.nd-mat__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
/* На наведении картинка чуть наезжает, как в блоке услуг (.nd-services) */
.nd-mat__item:hover .nd-mat__img,
.nd-mat__item:focus .nd-mat__img {
    transform: scale(1.03);
}
.nd-mat__badge {
    position: relative;
    padding: 2px 5px;
    border-radius: 2px;
    background: #eeeeef;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
}
.nd-mat__name {
    padding: 12px 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
}
.nd-mat__empty {
    margin: 0;
    font-size: 18px;
    line-height: 25px;
    color: #8f8f9a;
}
.nd-mat__nav {
    margin-top: 40px;
}

@media (max-width: 1199px) {
    .content-md:not(.col-md-9) > h1#pagetitle {
        margin-bottom: 24px;
        padding-bottom: 24px;
        font-size: 40px;
        line-height: 46px;
    }

    .nd-mat__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    .nd-mat__name {
        font-size: 17px;
        line-height: 21px;
    }
}

@media (max-width: 767px) {
    .content-md:not(.col-md-9) > h1#pagetitle {
        font-size: 30px;
        line-height: 33px;
    }

    /* На телефоне карточки идут по одной в ряд — как в макете
       (Figma «Чистовик», мобильный фрейм «Статьи»). */
    .nd-mat__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .nd-mat__pic {
        padding: 10px;
    }
    .nd-mat__name {
        padding: 10px 0;
        font-size: 15px;
        line-height: 19px;
    }
    .nd-mat__nav {
        margin-top: 24px;
    }
}

/* End */
/* /local/templates/aspro_next_newdesign/components/bitrix/system.pagenavigation/pagination_newdesign/style.css?17888450193628 */
/* /local/templates/aspro_next_newdesign/components/bitrix/news.list/list_articles_page_newdesign/style.css?17888450185098 */
