

/* Start:/bitrix/components/bitrix/system.pagenavigation/templates/modern/style.min.css?1701685635675*/
div.modern-page-navigation{padding:.5em 0}div.modern-page-navigation a,span.modern-page-current,span.modern-page-dots{border-left-width:1px;border-left-style:solid;padding-left:.75em;padding-right:.5em;text-decoration:none}div.modern-page-navigation a.modern-page-previous{border-right-width:1px;border-right-style:solid;border-left:0}div.modern-page-navigation a.modern-page-first,div.modern-page-navigation span.modern-page-first{border-left:0;padding-left:.5em}span.modern-page-current{font-weight:var(--ui-font-weight-bold)}div.modern-page-navigation a,span.modern-page-current,div.modern-page-navigation a.modern-page-previous,span.modern-page-dots{border-color:#cdcdcd}
/* End */


/* Start:/bitrix/templates/simai.sf4med/components/bitrix/news.list/2-SavinoV/style.css?17951673254872*/
/* ===== Сетка ===== */
.news-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

/* ===== Карточка ===== */
.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1),
                box-shadow .35s ease,
                border-color .35s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
}

/* ===== Фото: одинаковая рамка 16:9, картинка целиком ===== */
.news-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
}

.news-card__bg {
    position: absolute;
    inset: -24px;
    width: calc(100% + 48px);
    height: calc(100% + 48px);
    object-fit: cover;
    filter: blur(20px) saturate(1.1);
    opacity: .55;
}

.news-card__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.news-card:hover .news-card__img {
    transform: scale(1.03);
}

/* ===== Текст ===== */
.news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px 24px;
    overflow-wrap: anywhere;
}

.news-card__date {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 5px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.news-card__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.news-card__title a {
    color: #0f172a;
    text-decoration: none;
    background-image: linear-gradient(#1d4ed8, #1d4ed8);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: color .25s ease, background-size .35s ease;
}

.news-card__title a:hover,
.news-card__title a:focus-visible {
    color: #1d4ed8;
    background-size: 100% 2px;
}

.news-card__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.55;
}

/* ===== Анимация появления ===== */
.news-cards.is-anim .news-card:not(.is-visible) {
    opacity: 0;
}

.news-card.is-visible {
    animation: newsCardIn .7s cubic-bezier(.2, .7, .2, 1) backwards;
    animation-delay: calc(var(--i, 0) * 100ms);
}

@keyframes newsCardIn {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Пагинация ===== */
.news-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.news-pager__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, color .25s ease,
                border-color .25s ease, transform .25s ease;
}

a.news-pager__item:hover {
    border-color: #1d4ed8;
    color: #1d4ed8;
    transform: translateY(-2px);
}

.news-pager__item.is-current {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #fff;
}

.news-pager__dots {
    padding: 0 4px;
    color: #64748b;
}

/* Строка отладки */
.news-pager-debug {
    margin: 16px 0 0;
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

/* ===== Телефоны: 1 колонка ===== */
@media (max-width: 767px) {
    .news-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-card__body {
        padding: 16px 16px 20px;
    }

    .news-card__title {
        font-size: 19px;
    }

    .news-card__text {
        font-size: 15px;
    }

    .news-card:hover {
        transform: none;
    }

    .news-pager {
        gap: 6px;
    }

    .news-pager__item {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
    }
}

/* ===== Если анимация отключена в системе ===== */
@media (prefers-reduced-motion: reduce) {
    .news-card,
    .news-card__img,
    .news-card__title a {
        transition: none;
    }

    .news-card.is-visible {
        animation: none;
    }

    .news-cards.is-anim .news-card:not(.is-visible) {
        opacity: 1;
    }
}
/* End */
/* /bitrix/components/bitrix/system.pagenavigation/templates/modern/style.min.css?1701685635675 */
/* /bitrix/templates/simai.sf4med/components/bitrix/news.list/2-SavinoV/style.css?17951673254872 */
