.elementor-widget-video_section {
	position: static;
}

.video_section-widget-wrapper {
	position: relative;
	z-index: 1;
	display: block;
}

.video_section-widget-wrapper .content-box {
	display: grid;
	align-items: baseline;
	gap: 24px;
	margin-bottom: 42px;
}

@media (min-width: 768px) {
	.video_section-widget-wrapper .content-box {
		grid-template-columns: 0.9fr auto;
	}
}

@media (min-width: 1280px) {
	.video_section-widget-wrapper .content-box {
		grid-template-columns: 1fr auto;
		align-items: start;
	}
}

@media (min-width: 1280px) {
	.video_section-widget-wrapper .content-box {
		margin-bottom: 72px;
	}
}

.elementor-widget-video_section .eyebrow-container {
	grid-column: 1 / -1;
}

.video_section-widget-wrapper .content-box .text-wrap {
	max-width: 580px;
}

.video_section-widget-wrapper .content-box h2 {
	margin-bottom: 24px;
}

.video_section-widget-wrapper .content-box .paragraph {
	max-width: 480px;
}

@media (max-width: 767px) {
	.video_section-widget-wrapper .buttons-container {
		padding-inline: 1em;
	}
}

@media (max-width: 1024px) {
	.video_section-widget-wrapper .buttons-container {
		flex-direction: column;
		align-items: stretch;
	}
}
@media (min-width: 768px) {
	.video_section-widget-wrapper .content-box .buttons-container {
		padding-top: 12px;
	}
}

.video_section-widget-wrapper .media-wrapper {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	aspect-ratio: 16/9;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.25);
}

.video_section-widget-wrapper .img-wrapper {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	transition: opacity 0.2s ease, height 0s ease;
	user-select: none;
}

.video_section-widget-wrapper .img-wrapper::before {
	content: '';
	position: absolute;
	z-index: 1;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.25);
	mix-blend-mode: overlay;
	transition: opacity 0.5s ease;
	opacity: 0;
}

.video_section-widget-wrapper .video-wrapper {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.video_section-widget-wrapper .video-wrapper video {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: flex;
	object-fit: cover;
}

.video_section-widget-wrapper .video-wrapper iframe {
	height: 100%;
}

.video_section-widget-wrapper .play-button {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: auto;
	aspect-ratio: 1 / 1;

	transition: all 0.3s ease;
}

@media (min-width: 1024px) {
	.video_section-widget-wrapper .play-button {
		min-width: 72px;
		width: 4.6875%;
	}
}

.video_section-widget-wrapper .play-button svg {
	will-change: transform;
	transition: transform 0.25s cubic-bezier(0.24, -0.26, 0.27, 1.55);
}

.video_section-widget-wrapper .play-button:hover svg {
	transform: scale(1.35, 1.35);
}

.video_section-widget-wrapper .play-button:hover + .img-wrapper::before {
	opacity: 1;
}

.video_section-widget-wrapper .video-wrapper.is-playing .play-button {
	opacity: 0;
	visibility: hidden;
}

.video_section-widget-wrapper .video-wrapper.is-playing video ~ .img-wrapper,
.video_section-widget-wrapper .video-wrapper.is-playing iframe ~ .img-wrapper {
	opacity: 0;
	transition-delay: 0s, 0.3s;
}

.video_section-widget-wrapper .video-wrapper.is-playing video ~ .img-wrapper {
	height: calc(100% - 60px);
}

/* prettier-ignore */
.video_section-widget-wrapper .video-wrapper.is-playing iframe.vimeo ~ .img-wrapper {
	height: calc(100% - 45px);
}

/* --------- */

.hide-on-play {
	transition: all 0.35s ease-in-out;
}

/* ---------------------------------------------------------------------------------------------------------------- */

.video_section-widget-wrapper:is(.preset_2) .media-wrapper {
	border-radius: 0;
}

/* @media (min-width: 1024px) {
	.video_section-widget-wrapper:is(.preset_2) .play-button {
		width: 108px;
		height: 108px;
	}
} */
