.cvv-video {
    width: 100%;
}

.cvv-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

/* POSTER IMAGE */
.cvv-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* OVERLAY */
.cvv-poster::before {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 1;
    pointer-events: none;

    /* LIGHT DEFAULT OVERLAY */
     background: linear-gradient(
        171.51deg,
        #27beeb00 -2.17%,
        rgb(0 20 35 / 2%) 55.3%,
        rgb(0 4 35 / 9%) 89.25%,
        rgb(14 0 35 / 22%) 161.74%
    );

    transition: background .35s ease;
}

/* DARKER HOVER OVERLAY */
.cvv-poster:hover::before {
    background: linear-gradient(
        171.51deg,
        #23001f18 -2.17%,
        rgb(0 20 35 / 6%) 55.3%,
        rgb(0 4 35 / 12%) 89.25%,
        rgb(14 0 35 / 5%) 161.74%
    );
}


/* PLAY BUTTON */
.cvv-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 2;
}

.cvv-play img {
    width: 70px;
    height: auto;
    display: block;
}


/* IFRAME */
.cvv-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
    border-radius: 10px;
}

/* =========================
   PLAY BUTTON ANIMATION
========================= */

.cvv-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cvv-play::before {
    content: "";
    position: absolute;

    width: 70px;
    height: 70px;
    border-radius: 50%;

    background: rgba(255,255,255,0.58);

    animation: softPulse 2.8s ease-out infinite;
}

.cvv-play::after {
    content: "";
    position: absolute;

    width: 70px;
    height: 70px;
    border-radius: 50%;

    background: rgba(255,255,255,0.22);

    animation: softPulseLarge 2.8s ease-out infinite;
}

@keyframes softPulse {

    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@keyframes softPulseLarge {

    0% {
        transform: scale(1);
        opacity: 0.35;
    }

    70% {
        transform: scale(1.65);
        opacity: 0;
    }

    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}