

/* Start:/local/templates/zr.ecommerce/components/bitrix/system.pagenavigation/.default/style.css?1786434281109*/
/* Оформление: @layer components в шаблоне zr.ecommerce (классы .pagination-bar). */

/* End */


/* Start:/local/templates/zr.ecommerce/components/bitrix/news.list/news/style.css?17864342813958*/
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-item__image-wrapper {
    position: relative;
    padding-bottom: 66%;
    overflow: hidden;
}

.news-item__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item__image {
    transform: scale(1.05);
}

.news-item__content {
    padding: 20px;
}

.news-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.news-item__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    line-height: 1.3;
    color: #666;
}

.news-item__meta-item .icon {
    flex-shrink: 0;
    color: #999;
}

.news-item__date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.news-item__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.news-item__title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.news-item__preview-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.news-item__footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.news-item__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.news-item__read-more:hover {
    color: #004999;
}

.news-grid__pagination {
    margin-top: 40px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .news-item {
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }
    
    .news-item__image-wrapper {
        padding-bottom: 56%; /* 16:9 соотношение для мобильных */
    }
    
    .news-item__content {
        padding: 15px;
    }
    
    .news-item__date {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .news-item__title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .news-item__preview-text {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .news-item__footer {
        padding-top: 12px;
    }
    
    .news-item__read-more {
        font-size: 13px;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        background: #f5f5f5;
        border-radius: 4px;
    }
    
    .news-grid__pagination {
        margin-top: 25px;
    }
    
    /* Отключаем hover-эффекты на мобильных */
    .news-item:hover {
        transform: none;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }
    
    .news-item:hover .news-item__image {
        transform: none;
    }
    
    .news-item:active {
        background-color: #f9f9f9;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .news-grid {
        gap: 15px;
        padding: 10px;
    }
    
    .news-item__content {
        padding: 12px;
    }
    
    .news-item__title {
        font-size: 15px;
    }
    
    .news-item__preview-text {
        font-size: 12px;
        margin-bottom: 12px;
    }
}

/* End */
/* /local/templates/zr.ecommerce/components/bitrix/system.pagenavigation/.default/style.css?1786434281109 */
/* /local/templates/zr.ecommerce/components/bitrix/news.list/news/style.css?17864342813958 */
