

/* Start:/local/templates/72snab/components/bitrix/news.list/news_page/style.css?177643762211025*/
/* Страница новостей - обновлено по Figma */

.news-page-section {
    padding: 0 0 100px 0;
    background: transparent;
}

.news-page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 0px;
}

/* Основной layout */
.news-page-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-content {
    flex: 1;
    min-width: 0;
}

/* Левая колонка с разделами */
.news-sidebar {
    width: 295px;
    flex-shrink: 0;
    padding: 20px 8px 20px 20px;
    background: white;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: 446px;
}

/* Контейнер разделов с кастомным скроллом */
.news-sections-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    max-height: 434px;
}

/* Кастомный скролл для разделов */
.news-sections-container::-webkit-scrollbar {
    width: 4px;
}

.news-sections-container::-webkit-scrollbar-track {
    background: #F2F2F3;
    border-radius: 900px;
}

.news-sections-container::-webkit-scrollbar-thumb {
    background: #E6E6E7;
    border-radius: 93px;
    max-height: 46px;
}

.news-sections-container::-webkit-scrollbar-thumb:hover {
    background: #D6D6D7;
}

/* Список разделов */
.news-sections-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-section-item {
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.news-section-item:hover {
    color: #E74F01;
}

.news-section-item.active {
    color: #E74F01;
}

/* Строка с табами и сортировкой */
.news-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
}

/* Табы разделов (Новости, Статьи, Акции) - теперь в правой колонке */
.news-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.news-tab {
    height: 40px;
    padding: 0 16px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.news-tab-text {
    color: #C7C6C5;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-tab.active {
    background: #333333;
}

.news-tab.active .news-tab-text {
    color: white;
}

.news-tab:hover:not(.active) {
    background: #333333;
}

.news-tab:hover:not(.active) .news-tab-text {
    color: white;
}

/* Сортировка */
.news-sort {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.news-sort-icon {
    width: 12px;
    height: 15px;
    position: relative;
}

.news-sort-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 15px;
    background: #989795;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15' fill='none'%3E%3Crect x='4' y='0' width='4' height='3' rx='1' fill='black'/%3E%3Crect x='4' y='6' width='4' height='3' rx='1' fill='black'/%3E%3Crect x='4' y='12' width='4' height='3' rx='1' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15' fill='none'%3E%3Crect x='4' y='0' width='4' height='3' rx='1' fill='black'/%3E%3Crect x='4' y='6' width='4' height='3' rx='1' fill='black'/%3E%3Crect x='4' y='12' width='4' height='3' rx='1' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}

.news-sort-text {
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 15px;
    font-weight: 400;
}

.news-sort:hover .news-sort-text {
    color: #E74F01;
}

/* Выпадающее меню сортировки */
.news-sort-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 100;
    display: none;
    min-width: 180px;
}

.news-sort-dropdown.active {
    display: block;
}

.news-sort-option {
    display: block;
    padding: 10px 16px;
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.news-sort-option:hover {
    background: #F2F2F3;
    color: #333333;
}

.news-sort-option.active {
    color: #E74F01;
    font-weight: 600;
}

/* Сетка новостей */
.news-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 24px;
}

.news-page-grid.no-sidebar {
    grid-template-columns: repeat(4, 1fr);
}

/* Карточка новости */
.news-page-item {
    display: inline-flex;
    flex-direction: column;
    padding: 12px;
    background: white;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-page-item:hover {
    transform: translateY(-4px);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.04), 0px 20px 20px rgba(0, 0, 0, 0.06);
}

.news-page-item-image {
    width: 100%;
    height: 200px;
    background: #F2F2F3;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.news-page-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-page-item-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.news-page-item-title {
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-page-item-date {
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.news-page-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: linear-gradient(225deg, #E74F01 0%, #C71201 100%);
    border-radius: 6px;
    color: white;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
    transition: opacity 0.3s ease;
}

.news-page-item:hover .news-page-item-btn {
    opacity: 0.9;
}

/* Кнопка "Показать еще" */
.news-show-more {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.news-show-more-btn {
    height: 56px;
    padding: 0 16px;
    background: white;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    transition: background 0.3s ease;
}

.news-show-more-btn:hover {
    background: #F2F2F3;
}

.news-show-more-btn-text {
    color: #C7C6C5;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

/* Пагинация - обновлено по Figma */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.news-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Кнопки страниц */
.news-pagination-item {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.news-pagination-item:hover {
    background: #333333;
}

.news-pagination-item.active {
    background: #333333;
}

.news-pagination-item-text {
    color: rgba(152, 151, 149, 0.5);
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-pagination-item:hover .news-pagination-item-text,
.news-pagination-item.active .news-pagination-item-text {
    color: white;
}

/* Стрелки пагинации */
.news-pagination-arrow {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.news-pagination-arrow:hover {
    background: #333333;
}

.news-pagination-arrow svg {
    width: 7px;
    height: 11px;
}

.news-pagination-arrow svg path {
    fill: #C5C4C4;
    transition: fill 0.3s ease;
}

.news-pagination-arrow:hover svg path {
    fill: white;
}

.news-pagination-prev svg {
    transform: rotate(180deg);
}

/* Медиа-запросы */
@media (max-width: 1200px) {
    .news-page-layout {
        flex-direction: column;
    }
    
    .news-sidebar {
        width: 100%;
        max-height: none;
    }
    
    .news-sections-container {
        max-height: 200px;
    }
    
    .news-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-page-grid.no-sidebar {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .news-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-page-grid.no-sidebar {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .news-top-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .news-tabs {
        justify-content: flex-start;
    }
    
    .news-sort {
        justify-content: flex-end;
    }
    
    .news-tab {
        padding: 0 12px;
        height: 36px;
    }
    
    .news-tab-text {
        font-size: 12px;
    }
    
    .news-page-grid,
    .news-page-grid.no-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-page-item-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .news-page-section {
        padding: 0 0 60px 0;
    }
    
    .news-page-grid,
    .news-page-grid.no-sidebar {
        grid-template-columns: 1fr;
    }
    
    .news-page-item-image {
        height: 180px;
    }
    
    .news-pagination-item,
    .news-pagination-arrow {
        width: 36px;
        height: 36px;
    }
}
/* End */
/* /local/templates/72snab/components/bitrix/news.list/news_page/style.css?177643762211025 */
