.autoplayer-pro {
	--controls-bg-hover-color: var(--light-blue);
	--controls-text-hover-color: var(--sw-key-color);
	--text-content-bg-color: var(--primary-color-100);
	--text-color: var(--gray-100);
	--border-color: var(--gray-100);
	
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	height: auto;
	width: 100%;
	display: flex;
}

@media (min-width: 64em) {
	.autoplayer-pro {
		aspect-ratio: 1440 / 700;
		height: auto;
	}
}

.autoplayer-pro .poster {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	display: block;
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	filter: blur(20px);
}

.autoplayer-pro .fallback.loaded .poster {
	filter: none;
}
.autoplayer-pro:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(358deg, rgba(0, 0, 0, 0.51) 1.81%, rgba(0, 0, 0, 0.00) 98.17%) no-repeat;
	pointer-events: none;
	z-index: 2;
}

.autoplayer-pro .video {
	z-index: 2;
	opacity: 0;
	transition: opacity 300ms cubic-bezier(0,0,0.3,1);
}

@media (min-width: 64em) {
	.autoplayer-pro .video {
		position: absolute;
		top: 50%;
		left: 50%;
		min-width: 100%;
		min-height: 100%;
		opacity: 0;
		transform: translate(-50%, -50%);
		aspect-ratio: unset;
	}
}

.autoplayer-pro.video-loaded .video {
	opacity: 1;
}

.autoplayer-pro .video-controls {
	display: none;
	position: absolute;
	bottom: var(--space-6);
	right: 30px;
	gap: 14px;
}
.autoplayer-pro.video-loaded .video-controls {
	display: flex;
}

@media (min-width: 64em) {
	.autoplayer-pro .video-controls {
		bottom: 52px;
		right: 68px;
		gap: 18px;
	}    
}

.autoplayer-pro .video-control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 53px;
	height: 53px;
	color: var(--controls-text-hover-color);
	border: none;
	border-radius: 50%;
	background-color: var(--controls-bg-hover-color);
	border: 2px solid var(--border-color);
	cursor: pointer;
}

.autoplayer-pro .video-control .fa-pause { font-size: 20px; }
.autoplayer-pro .video-control .fa-volume-off { margin-right: 2px; }

@media (min-width: 64em) {
	.autoplayer-pro .video-control {
		width: 58px;
		height: 58px;
	}
	.autoplayer-pro .video-control .fa { font-size: 20px; }
	.autoplayer-pro .video-control .fa-volume-off {
		margin-right: 4px;
	}
	.autoplayer-pro .video-control .fa-pause { font-size: 25px; }
}

@media (hover: hover) {
	.autoplayer-pro .video-control:hover {
		background-color: var(--controls-bg-hover-color);
		color: var(--controls-text-hover-color);
	}
}

.autoplayer-pro .video-control:focus-visible {
	outline: var(--border-color) solid 1px;
	outline-offset: 2px;
}

.autoplayer-pro .video-control .fa-play {
	margin-left: var(--space-px);
}

.autoplayer-pro .text-content {
	position: absolute;
	z-index: 3;
	left: 0;
	bottom: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
}

.autoplayer-pro .text-content .title {
	font-family: var(--font-display);
	font-size: 3.125rem;
	font-weight: 900;
	line-height: 1.02;
	color: var(--text-color);
	text-align: center;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -90%);
}

.autoplayer-pro .text-content .title::after {
	content: "";
	position: absolute;
	bottom: -24px;
	left: 50%;
	transform: translateX(-50%);
	width: 137.619px;
	height: 8px;
	background-image: url(/includes/public/assets/shared/red_wave_accent.svg);
	background-repeat: no-repeat;
	background-size: contain;
}

@media (min-width: 64em) {
	.autoplayer-pro .text-content .title {
		font-size: 5.25rem;
		width: 740px;
	}

	.autoplayer-pro .text-content .title::after {
		width: 206.43px;
		height: 12px;
		bottom: -32px;
	}
}

.autoplayer-pro .logo-wrapper {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 70%;
	z-index: 3;
}

.autoplayer-pro .logo-wrapper .logo {
	max-width: 242px;
}