

/* Start:/local/templates/mysite/components/bitrix/system.pagenavigation/modern/style.css?1790230594845*/
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 35px;
}

.news-pagination__item,
.news-pagination__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    box-sizing: border-box;

    border: 1px solid #d5dce5;
    border-radius: 4px;

    background: #fff;
    color: var(--color-primary);

    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

.news-pagination__item:hover,
.news-pagination__arrow:hover {
    background: #f0f4f8;
    border-color: var(--color-primary);
}

.news-pagination__item.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.news-pagination__arrow {
    font-size: 18px;
}
/* End */


/* Start:/local/templates/mysite/components/bitrix/news.list/stavelsnews/style.css?17902300884614*/
.news-page {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 50px 20px 70px;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.news-list {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 50px 20px 70px;
}

/* Фильтр */

.news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.news-filter a {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #d5dce5;
    border-radius: 4px;
    background: #fff;
    color: var(--color-primary);
    font-size: 15px;
    text-decoration: none;
    transition: 0.2s;
}

.news-filter a:hover,
.news-filter a.is-active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}


/* Сетка */

.news-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


/* Карточка */

.news-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e3e7ec;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


/* Картинка */

.news-item__image {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}


/* Контент */

.news-item__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.news-item__date {
    margin-bottom: 10px;
    color: var(--color-text-light);
    font-size: 13px;
}

.news-item__title {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.3;
}

.news-item__title a {
    color: var(--color-primary);
    text-decoration: none;
}

.news-item__title a:hover {
    color: var(--color-primary-dark);
}

.news-item__text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text);
}

/* =========================================================
   ПАГИНАЦИЯ НОВОСТЕЙ
   ========================================================= */

.news-list + .modern-page-navigation {
    margin-top: 35px;
}

.news-page .modern-page-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 35px;
}

.news-page .modern-page-navigation a,
.news-page .modern-page-navigation span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    box-sizing: border-box;

    border: 1px solid #d5dce5;
    border-radius: 4px;

    background: #fff;
    color: var(--color-primary);

    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

.news-page .modern-page-navigation a:hover {
    background: #f0f4f8;
    border-color: var(--color-primary);
}

.news-page .modern-page-navigation .modern-page-current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* =========================================================
   ИНФОРМАЦИЯ "НОВОСТИ 1 - 2 ИЗ 5"
   ========================================================= */

.news-page .modern-page-navigation .modern-page-current,
.news-page .modern-page-navigation .modern-page-info {
    font-size: 14px;
}

/* =========================================================
   ЕСЛИ BITRIX ВЫВОДИТ СТАНДАРТНЫЙ НАВИГАТОР
   ========================================================= */

.news-page .navigation-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 35px;
}

.news-page .navigation-pages a,
.news-page .navigation-pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;

    border: 1px solid #d5dce5;
    border-radius: 4px;

    color: var(--color-primary);
    background: #fff;
    text-decoration: none;
}

.news-page .navigation-pages a:hover {
    background: #f0f4f8;
}

.news-page .navigation-pages .selected {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}


/* Планшет */

@media (max-width: 1000px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Телефон */

@media (max-width: 600px) {
    .news-list {
        grid-template-columns: 1fr;
    }

    .news-item__image {
        height: 220px;
    }
}
/* End */
/* /local/templates/mysite/components/bitrix/system.pagenavigation/modern/style.css?1790230594845 */
/* /local/templates/mysite/components/bitrix/news.list/stavelsnews/style.css?17902300884614 */
