.video-cards-block {
    padding: 2.5rem 0;
}

.video-cards-block__title {
    margin-bottom: 2.375rem;
}

.video-cards-block__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.video-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-card__thumb-wrap {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    text-decoration: none;
}

.video-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video-card__thumb-wrap:hover .video-card__thumb {
    transform: scale(1.04);
}

.video-card__thumb--placeholder {
    width: 100%;
    height: 100%;
    background: #ccc;
}

.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.25rem;
    height: 3.25rem;
    pointer-events: none;
    filter: drop-shadow(0 0.125rem 0.5rem rgba(0,0,0,0.25));
}

.video-card__play svg {
    width: 100%;
    height: 100%;
}

.video-card__title {
    margin-top: 1.25rem;
    text-align: center;
}

@media (max-width: 900px) {
    .video-cards-block__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .video-cards-block__grid {
        grid-template-columns: 1fr;
    }
}
