.ovs-video-section {
    position: relative;
    width: 100%;
    height: var(--ovs-video-height, 600px);
    min-height: 300px;
    overflow: hidden;
    background: #111;
    isolation: isolate;
}

.ovs-video-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ovs-video-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    transform: translate(-50%, -50%);
}

.ovs-video-inner video.ovs-video-frame {
    object-fit: cover;
}

.ovs-video-inner iframe.ovs-video-frame {
    width: 177.78vh;
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
}


/* Play Button */

/* Play Button */
.ovs-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 82px;
    height: 82px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .55);
    animation: ovs-play-pulse 2s infinite;
    transition: transform .35s ease, background .35s ease;
}

/* Ripple Effect */
.ovs-play-button::before,
.ovs-play-button::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(255, 255, 255, .65) !important;
    border-radius: 50%;
    pointer-events: none;
    animation: ovs-play-ripple 2s infinite;
}

.ovs-play-button::after {
    animation-delay: 1s;
}

/* Play Icon */
.ovs-play-icon {
    position: relative;
    z-index: 2;
    width: 23px;
    height: 24px;
    margin-left: 10px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    display: block;
    flex-shrink: 0;
    transition: transform .35s ease;
}



/* Hover */
.ovs-play-button:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.08);
    animation-play-state: paused;
}

.ovs-play-button:hover .ovs-play-icon {
    transform: scale(1.08);
}

/* Hide when playing */
.ovs-video-section.ovs-video-playing .ovs-play-button {
    opacity: 0;
    pointer-events: none;
    animation: none;
}

/* Button Pulse */
@keyframes ovs-play-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, .5);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Ripple */
@keyframes ovs-play-ripple {
    0% {
        opacity: .8;
        transform: scale(.85);
    }

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

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


.ovs-video-inner [type=button], [type=submit], button {
    background-color: transparent;
    border: 1px solid #fff !important;
    font-size: 1rem;
    font-weight: 400;
    padding: .5rem 1rem;
    width: 70px;
    height: 70px;
	border-radius:50% !important
}

.ovs-video-inner [type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #2C514A !important;
    color: #fff;
    text-decoration: none;
}
.ovs-video-section {
    border-radius: 15px !important;
}



/* Mobile */
@media (max-width: 767px) {
    .ovs-play-button {
        width: 64px;
        height: 64px;
    }

   .ovs-play-icon {
		width: 20px;
		height: 23px;
		margin-left: 10px !important;
	}
	
}


/* Hide Button While Playing */

.ovs-video-section.ovs-video-playing .ovs-play-button {
    opacity: 0;
    pointer-events: none;
}


/* Tablet */

@media (max-width: 1024px) {

    .ovs-video-section {
        height: 55vh;
        min-height: 400px;
    }

}


/* Mobile */

@media (max-width: 767px) {

    .ovs-video-section {
        height: 40vh;
        min-height: 350px;
    }

    .ovs-play-button {
        width: 64px;
        height: 64px;
    }
	.ovs-video-inner [type=button], [type=submit], button {
		background-color: transparent;
		border: 1px solid #fff !important;
		font-size: 1rem;
		font-weight: 400;
		padding: .5rem 1rem;
		width: 70px;
		height: 70px;
		border-radius:50% !important
	}

    .ovs-play-icon {
        margin-left: 4px;
        border-top-width: 9px;
        border-bottom-width: 9px;
        border-left-width: 14px;
    }

}



