.video-gallery {
    padding: 60px 0;
}

.video-gallery__title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: left;
}

.video-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-gallery__item {
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.video-gallery__item:hover {
    transform: translateY(-5px);
}

.video-gallery__item--hidden {
    display: none;
}

.video-gallery__preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-gallery__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

.video-gallery__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s ease;
}

.video-gallery__item:hover .video-gallery__play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-gallery__title-item {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    z-index: 2;
    line-height: 1.3;
}

.video-gallery__show-more {
    text-align: center;
    margin-top: 40px;
}

.video-gallery__show-more-btn {
    padding: 13px 24px 14px;
    border: 1px solid #BEC6CE;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    width: 163px;
    margin: 24px auto;
    font-weight: bold;
}

.video-gallery__show-more-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}
.fancybox__content{
    padding: 0 !important;
}
.reviews-videos__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 8px;
}

.reviews-videos__overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.reviews-videos__play-button {
    background: #FFFFFF4D;
    backdrop-filter: blur(9px);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
    z-index: 1;
}

.reviews-videos__overlay:hover .reviews-videos__play-button {
    transform: scale(1.1);
}

.reviews-videos__play-button svg {
    width: 24px;
    height: 24px;
    fill: #333;
    margin-left: 2px;
}
/* Модальное окно убрано - используется Fancybox */

@media (max-width: 768px) {
    .video-gallery {
        padding: 40px 0;
    }

    .video-gallery__title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .video-gallery__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-gallery__title-item {
        font-size: 16px;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
}