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

.text_with_image_video-widget-wrapper {
	position: relative;
	display: grid;
	align-items: stretch;
	justify-items: center;
}

@media (min-width: 1280px) {
	.text_with_image_video-widget-wrapper {
		grid-template-columns: 34fr 66fr;
		justify-items: stretch;
	}
}

.text_with_image_video-widget-wrapper .content-box {
	align-self: center;
	border-radius: 0 0 24px 24px;
	border: 1px solid var(--theme-color-1);
	border-width: 0 1px 1px 1px;
	width: 90%;
	grid-row: 2;
	padding: 26px 24px 30px;
}

@media (min-width: 768px) {
	.text_with_image_video-widget-wrapper .content-box {
		width: 88%;
		padding: 36px;
	}
}

@media (min-width: 1280px) {
	.text_with_image_video-widget-wrapper .content-box {
		border-radius: 24px;
		border-width: 1px 0px 1px 1px;
		grid-row: auto;
		width: calc(100% + 26px);
		padding: 36px;

		aspect-ratio: 3 / 2;
		margin-block: 12%;
	}

	.text_with_image_video-widget-wrapper:not(.is-rtl) .content-box {
		padding-right: 62px;
	}
}

.elementor-widget-text_with_image_video .eyebrow-text:not(:last-child) {
	margin-bottom: 20px;
}

@media (min-width: 1280px) {
	.elementor-widget-text_with_image_video .eyebrow-text:not(:last-child) {
		margin-bottom: 24px;
	}
}

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

.text_with_image_video-widget-wrapper .buttons-container {
	margin-top: 24px;
}

@media (min-width: 1280px) {
	.text_with_image_video-widget-wrapper .buttons-container {
		margin-top: 34px;
	}
}

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

.text_with_image_video-widget-wrapper .media-container {
	width: 100%;
	justify-self: stretch;
	display: flex;
	align-items: center;
}

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

@media (min-width: 1280px) {
	.text_with_image_video-widget-wrapper .media-wrapper:not(.is-video) {
		aspect-ratio: auto;
		min-height: 32.825vw;
		height: 100%;
	}
} /* @media */

.text_with_image_video-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;
}

.text_with_image_video-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;
}

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

.text_with_image_video-widget-wrapper .overlapping-images-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}

.text_with_image_video-widget-wrapper .overlapping-images-wrapper .overlap-image {
	position: absolute;
	z-index: 2;
	left: 7.5%;
	bottom: 6.5%;
	height: 118%;
}

.text_with_image_video-widget-wrapper .overlapping-images-wrapper .overlap-image img {
	object-fit: contain;
	max-width: none;
	width: auto;
	height: 100%;
}

.text_with_image_video-widget-wrapper .overlapping-images-wrapper .media-wrapper [data-sal] {
	transition-property: opacity, transform;
	transition-duration: 0.5s, 2.5s;
}

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

.text_with_image_video-widget-wrapper .media-wrapper:is(.is-video) {
	aspect-ratio: 16/9;
}

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

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

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

.text_with_image_video-widget-wrapper .play-button {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	transition: all 0.3s ease;
}

@media (min-width: 768px) {
	.text_with_image_video-widget-wrapper .play-button {
		width: 72px;
		height: 72px;
	}
}

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

.text_with_image_video-widget-wrapper .video-wrapper .play-button:hover svg {
	transform: scale3d(1.35, 1.35, 1.35);
}

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

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

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

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

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

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

@media (min-width: 1280px) {
	.text_with_image_video-widget-wrapper.is-rtl {
		grid-template-columns: 66fr 34fr;
		justify-items: end;
	}
}

@media (min-width: 1280px) {
	.text_with_image_video-widget-wrapper.is-rtl .media-container {
		grid-area: 1 / 1;
	}
}

@media (min-width: 1280px) {
	.text_with_image_video-widget-wrapper.is-rtl .content-box {
		grid-area: 1 / 2;
		border-radius: 0 24px 24px 0;
		border-width: 1px 1px 1px 0px;
		padding-left: 62px;
	}
}
