.vc-videos__container {
    display: grid;
    width: 100%;
    gap: calc(0.0124153499 * 100vw + 6.8600451467px);
    grid-template-columns: repeat(4, 1fr);
}

.vc-video__card {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 32px;
    position: relative;
}

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

.vc-video__card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.vc-video__card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #009B95;
    background: linear-gradient(135deg, #009B95, #FBE6C7);
    opacity: .4;
}

.darkening {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: #222222;
    background: linear-gradient(0deg, #222222ad, #22222200);
    opacity: 1;
}

.vc-video__logo {
    position: absolute;
    top: 15px;
    width: 100px;
    left: 15px;
    opacity: .7;
}

.vc-video__card_play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4em;
    color: white;
    opacity: 0.8;
}

video.playing+.vc-video__card-overlay {
    opacity: 0;
    pointer-events: none;
}

.vc-video__service-link {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    text-align: center;
    font-weight: 800;
    color: #fff;
    font-size: 20px;
}

@media (max-width: 768px) {
    @media (max-width: 768px) {
        .vc-videos__container {
            grid-template-columns: 1fr 1fr;
        }
    }

    .vc-video__card {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 545px) {
    .vc-videos__container {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .vc-video__card {
        width: 90%;
        max-width: 400px;
    }
}