.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.video-gallery-grid {
    padding: 140px 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    @media (max-width: 1370px) {
        padding: 40px 32px;
        grid-template-columns:repeat(3, 1fr);
    }
    @media (max-width: 1023px) {
        grid-template-columns: repeat(2, 1fr);
    }
    @media (max-width: 640px) {
        padding: 60px 15px;
        grid-template-columns: repeat(1, 1fr);
    }
}

.video-gallery-item {
    cursor: pointer;
    border: 1px solid #5a5a5a;
    transition: all 300ms linear;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 300ms linear;
}

.play-button, .play-vimeo {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-vimeo{
    background: #fff;
    width: 60px;
    height: 60px;
    padding: 12px;
}

.video-gallery-item h3 {
    margin: 20px;
    font-family: Ordina-WideBd;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    @media (max-width: 1370px) {
        font-size: 20px;
    }
    @media (max-width: 1023px) {
        font-size: 18px;
    }

}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.modal-close {
    position: absolute;
    top: -35px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1e1e 0%, #333333 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: sans-serif;
}

.placeholder-icon {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.placeholder-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.video-gallery-item:hover .video-placeholder {
    background: linear-gradient(135deg, #2a2a2a 0%, #444444 100%);
}

.video-gallery-item:hover .video-thumbnail > img {
    transform: scale(1.1);
}

.video-gallery-item:hover {
    box-shadow: 0 0 100px 40px rgba(97, 90, 255, 0.21);
    background: #000;
}



.video-single-block{
    padding: 140px 80px;
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 20px;
    align-items: center;
    @media (max-width: 1370px) {
        padding: 40px 32px;
    }
    @media (max-width: 767px) {
        padding: 60px 15px;
        display: block;
    }

    h2{
        font-size: 28px;
        font-style: normal;
        font-weight: 700;
        line-height: 140%;
        font-family: Ordina-WideBd;
        color: var(--inside-color);
        margin-bottom: 20px;
        @media (max-width: 1370px) {
            font-size: 22px;
        }
        @media (max-width: 767px) {
            font-size: 20px;
        }
    }
    .video-description{
        font-family: Ordina;
        color: var(--inside-color);
        opacity: 80%;
        font-size: 18px;
        line-height: 150%;
        transition: all 0.3s ease-in-out;
        @media (max-width: 1370px) {
            font-size: 16px;
        }
        @media (max-width: 640px) {
            font-size: 14px;
        }
    }
    .video-single-block__info{
        @media (max-width: 767px) {
            margin-bottom: 30px;
        }
    }
}
.video-single-block > *:only-child {
    grid-column: 1 / -1;
}