

/* Start:/local/templates/voobo/components/bitrix/news.list/main_cards/style.css?17898148583279*/
/* VOOBO - News List Main Cards Styles */

.vb-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vb-card {
    background-color: var(--vb-surface);
    border: 1px solid var(--vb-border);
    border-radius: var(--vb-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.25s ease;
}

.vb-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--vb-shadow-hover);
    border-color: var(--vb-border-strong);
}

.vb-card__thumb-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.vb-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: var(--vb-surface-subtle);
    position: relative;
    transition: transform 0.4s ease;
}

.vb-card:hover .vb-card__thumb {
    transform: scale(1.02);
}

.vb-card__thumb--demo-1 {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.vb-card__thumb--demo-2 {
    background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
}

.vb-card__thumb--demo-3 {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.vb-card__thumb-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    color: var(--vb-text-muted);
    background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
    z-index: 1;
}

.vb-card__category {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--vb-text-primary);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    z-index: 2;
}

.vb-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vb-card__meta {
    margin-bottom: 12px;
}

.vb-card__title {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--vb-text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.vb-card__title a {
    color: inherit;
}

.vb-card__title a:hover {
    color: #4B5563;
}

.vb-card__desc {
    font-size: 0.875rem;
    color: var(--vb-text-secondary);
    line-height: 1.55;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vb-card__footer {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Pagination */
.vb-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

@media (max-width: 991px) {
    .vb-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .vb-news-grid {
        grid-template-columns: 1fr;
    }

    .vb-card__content {
        padding: 18px;
    }
}
/* End */
/* /local/templates/voobo/components/bitrix/news.list/main_cards/style.css?17898148583279 */
