/* Video Grid Layout */
.video-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 20px;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
        padding: 15px 3%;
    }
}

/* Video Card */
.video-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    /* main.css ile aynı cubic-bezier animasyonu – override önlenir */
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 0.3s ease;
    background: var(--bg-card);
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(229, 9, 20, 0.35),
        0 0 0 1px rgba(229, 9, 20, 0.2);
    border-color: rgba(229, 9, 20, 0.25);
}

.video-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-poster {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}

.video-info {
    padding: 10px;
    background: var(--bg-card);
}

.video-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-main);
}

.video-info small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Section Title */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 20px 5%;
    margin: 0;
    color: var(--text-main);
}