

/* Start:/local/templates/main/components/bitrix/news.list/news-list/style.css?17707813825364*/
/* ============================================
   СТИЛИ ДЛЯ СТРАНИЦЫ СПИСКА НОВОСТЕЙ
   ============================================ */

/* Секция со списком новостей */
.news-list-page {
    background-color: #2C2C2C;
    min-height: 100vh;
    padding: 140px 0 80px 0;
}

.news-list-page h1 {
    color: #FFF;
    font-size: 42px;
    font-family: 'Roboto-Bold', sans-serif;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Сетка новостей - 3 колонки */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Карточка новости */
.news-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 169, 1, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.news-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Изображение новости */
.news-card__image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #1a1a1a;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.1);
}

/* Дата на изображении */
.news-card__date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 169, 1, 0.95);
    color: #2C2C2C;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Roboto-Medium', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.news-card__date svg {
    width: 14px;
    height: 14px;
}

/* Контент карточки */
.news-card__content {
    padding: 25px;
}

/* Заголовок новости */
.news-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Roboto-Bold', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 56px;
}

/* Превью текста */
.news-card__preview {
    font-size: 15px;
    color: #B8B8B8;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Roboto-Light', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 72px;
}

/* Ссылка "Читать далее" */
.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFA901;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Roboto-Medium', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease;
}

.news-card:hover .news-card__more {
    gap: 12px;
}

.news-card__more svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card__more svg {
    transform: translateX(4px);
}

/* Пустой список */
.news-list-empty {
    text-align: center;
    color: #888;
    font-size: 18px;
    padding: 60px 20px;
    font-family: 'Roboto-Light', sans-serif;
}

/* Пагинация */
.news-pagination {
    margin-top: 50px;
    text-align: center;
}

.news-pagination .bx-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.news-pagination .bx-pagination li {
    margin: 0;
}

.news-pagination .bx-pagination a,
.news-pagination .bx-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #FFF;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.news-pagination .bx-pagination a:hover {
    background: #FFA901;
    border-color: #FFA901;
    color: #2C2C2C;
}

.news-pagination .bx-pagination .bx-active {
    background: #FFA901;
    border-color: #FFA901;
    color: #2C2C2C;
    pointer-events: none;
}

/* Адаптив для планшетов */
@media screen and (max-width: 1024px) {
    .news-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Адаптив для мобильных */
@media screen and (max-width: 768px) {
    .news-list-page {
        padding: 100px 0 60px 0;
    }
    
    .news-list-page h1 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .news-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card__image {
        height: 220px;
    }
    
    .news-card__content {
        padding: 20px;
    }
    
    .news-card__title {
        font-size: 18px;
        min-height: auto;
    }
    
    .news-card__preview {
        font-size: 14px;
        min-height: auto;
    }
}
/* End */
/* /local/templates/main/components/bitrix/news.list/news-list/style.css?17707813825364 */
