

/* Start:/local/templates/eprogress/components/bitrix/news/news/bitrix/news.list/list/style.css?17449717852442*/
.news-sect__slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Отступ между карточками */
    margin: 0 -10px;
    /* Компенсируем padding карточек для выравнивания */
}

.news-sect__slide {
    flex: 0 0 calc(25% - 20px);
    /* 25% ширины минус отступы */
    box-sizing: border-box;
    padding: 0 10px;
    /* Отступы внутри flex-контейнера */

    /* Стили для карточки (опционально) */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Адаптация для меньших экранов */
@media (max-width: 1024px) {
    .news-sect__slide {
        flex: 0 0 calc(33.333% - 20px);
        /* 3 в строке */
    }
}

@media (max-width: 768px) {
    .news-sect__slide {
        flex: 0 0 calc(50% - 20px);
        /* 2 в строке */
    }
}

@media (max-width: 480px) {
    .news-sect__slide {
        flex: 0 0 100%;
        /* 1 в строке */
    }
}

.news-sect__item-img {
    display: block;
    height: 200px;
    overflow: hidden;
}

.news-sect__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-sect__item-img:hover img {
    transform: scale(1.05);
}

.news-sect__item-content {
    padding: 15px;
}

.news-sect__slide-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-sect__slide-text {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.news-sect__item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.news-sect__slide-date {
    color: #999;
    font-size: 12px;
}

.news-sect__slide-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.news-sect__slide-link:hover {
    text-decoration: underline;
}

.news-sect__header {
    padding-left: 20px; /* Отступ от левого края */
    margin-bottom: 20px; /* Отступ снизу */
    font-size: 24px; /* Размер шрифта */
    font-weight: 600; /* Жирность */
    color: #333; /* Цвет текста */
}
/* End */
/* /local/templates/eprogress/components/bitrix/news/news/bitrix/news.list/list/style.css?17449717852442 */
