

/* Start:/bitrix/templates/creativebz.carrent/components/bitrix/news/blog/bitrix/news.list/.default/style.css?17665095923023*/
/* Список новостей - плитка */
.news-list {
    padding: 40px 0 32px;
}

.news-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 36px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ececec;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.news-card__image {
    position: relative;
    width: 100%;
    padding-top: 60%; /* 5:3 aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #f7f7f7 0%, #f1f1f1 100%);
}

.news-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__image--placeholder::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    background: no-repeat center / 48px 48px url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64' fill='none'><rect x='10' y='18' width='44' height='30' rx='4' fill='%23e0e0e0'/><circle cx='32' cy='33' r='10' stroke='%23999' stroke-width='4' fill='none'/><circle cx='32' cy='33' r='4' fill='%23999'/></svg>");
    opacity: 0.6;
}

.news-card__content {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card__date {
    font-size: 13px;
    color: #7a828f;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card__title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 14px 0;
    line-height: 1.35;
}

.news-card__title a {
    color: #13151c;
    text-decoration: none;
    transition: color 0.25s;
}

.news-card__title a:hover {
    color: var(--color-primary, #db0032);
}

.news-card__text {
    font-size: 15px;
    line-height: 1.65;
    color: #3a3f4a;
    margin-bottom: 18px;
    flex: 1;
}

.news-card__link {
    margin-top: auto;
}

.news-card__link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(219, 0, 50, 0.08);
    color: #db0032;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.25s, color 0.25s;
}

.news-card__link a:hover {
    background: #db0032;
    color: #fff;
}

.news-card_no-image .news-card__content {
    padding-top: 32px;
}

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

@media (max-width: 768px) {
    .news-list__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card__title {
        font-size: 18px;
    }
}

/* End */
/* /bitrix/templates/creativebz.carrent/components/bitrix/news/blog/bitrix/news.list/.default/style.css?17665095923023 */
