

/* Start:/bitrix/templates/vsp_black/components/bitrix/news/enterprises/bitrix/news.list/.default/style.css?17588897151398*/
.news-card {
    position: relative;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    height: 400px;
    display: block;
}

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

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(149, 196, 0, 0.3) 0%, rgba(149, 196, 0, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.news-card:hover::before {
    opacity: 1;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    z-index: 1;
}

.news-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.news-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .news-card {
        height: 250px;
    }
    .news-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .news-card {
        height: 300px;
    }
    .news-title {
        font-size: 1rem;
    }
}
/* End */
/* /bitrix/templates/vsp_black/components/bitrix/news/enterprises/bitrix/news.list/.default/style.css?17588897151398 */
