/** @format */

.acf_section--title {
	position: relative;
	margin-top: var(--header-dynamic-height);
	padding: 0;
	min-height: min(56.25vw, calc(70dvh) - var(--header-dynamic-height));
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.acf_section--title.acf_section--title_small,
.acf_section--title.acf_section--title_no-image {
	min-height: auto;
}

/*Image Part*/
.acf_section--title .title_video,
.acf_section--title .title_image {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
.acf_section--title .title_video video,
.acf_section--title .title_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.acf_section--title.acf_section--title_video .title_image--dark video,
.acf_section--title.acf_section--title_large .title_image--dark img {
	filter: brightness(70%);
	backface-visibility: hidden;
	transform: translate3d(0, round(to-zero, 1px, -1px), 0);
}

.acf_section--title.acf_section--title_small .title_image {
	position: relative;
	height: min(40vw, calc(50dvh) - var(--header-dynamic-height));
}

/*Text Part*/
.acf_section--title .title_text_container {
	width: 100%;
	padding: calc(var(--universal-gap) * 2) 0;
	pointer-events: none;
}

.acf_section--title .title_text_container .wysiwyg * {
	text-align: left !important;
}

.acf_section--title .title_text_container a {
	pointer-events: all;
}

.acf_section--title.acf_section--title_video .title_text_container,
.acf_section--title.acf_section--title_large .title_text_container {
	position: relative;
	z-index: 1;
	min-height: 100%;
	text-align: left;
	display: flex;
	align-items: center;
}

.acf_section--title.acf_section--title_video .title_text span,
.acf_section--title.acf_section--title_large .title_text span {
	color: var(--color-white) !important;
}

/*Video Mute Button*/
.acf_section--title.acf_section--title_video .title_video video {
	pointer-events: none;
}

.acf_section--title.acf_section--title_video .title_video video + .mute_button::after {
	content: '\e04f';
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
	color: var(--color-white);
	font-family: var(--ff-icon-font);
	font-size: 2rem;
	min-height: 50px;
	min-width: 50px;
	position: absolute;
	top: calc(var(--universal-gap));
	right: 0;
	justify-content: center;
	align-items: center;
	display: block;
	z-index: 1000;
	cursor: pointer;
}
.acf_section--title.acf_section--title_video .title_video video + .mute_button.unmuted::after {
	content: '\e050';
}
