.autoplayer-pro {
	--controls-bg-hover-color: var(--gray-100);
	--controls-text-hover-color: var(--sw-key-color);
	--text-content-bg-color: var(--primary-color-100);
	--text-color: var(--white);
	--border-color: var(--gray-100);
	
	position: relative;
	overflow: hidden;
	height: 550px;
	display: flex;
}

.autoplayer-pro.maintain-aspect-ratio {
	height: 100%;
}

.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.show-gradient:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
	pointer-events: none;
	z-index: 10;
}

.autoplayer-pro .video {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	opacity: 0;
	transform: translate(-50%, -50%);
	transition: opacity 300ms cubic-bezier(0,0,0.3,1);
}

.autoplayer-pro.maintain-aspect-ratio .video {
	width: 100%;
	position: static;
	transform: none;
}

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

.autoplayer-pro .video-controls {
	display: none;
	margin-bottom: var(--space-12);
	margin-right: var(--space-4);
}

.autoplayer-pro.video-loaded .video-controls {
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 12;
}

.autoplayer-pro .video-control {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: var(--space-1);
	padding: 0;
	width: 40px;
	height: 40px;
	color: var(--text-color);
	border: none;
	border-radius: unset;
	cursor: pointer;
	background: url(/includes/public/assets/shared/m-hero-video-controls.svg);
}

.autoplayer-pro .video-control::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	height: calc(100% + 14px);
	width: calc(100% + 14px);
	background: url(/includes/public/assets/shared/slider-arrow-btn-hover.png);
	background-size: contain;
	background-repeat: no-repeat;
	transition: opacity var(--transition-appendix);
	opacity: 0;
	pointer-events: none;
}

.autoplayer-pro .video-control i {
	color: var(--green-shade);
	font-size: var(--text-lg);
}

@media (hover: hover) {
	.autoplayer-pro .video-control:hover::after {
		opacity: 1;
	}
}

.autoplayer-pro .video-control:focus-visible {
	outline: none;
}

.autoplayer-pro .video-control:focus-visible::after {
	opacity: 1;
}

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

.autoplayer-pro .text-content {
	position: absolute;
	padding: var(--space-8) var(--space-12);
	width: calc(100% - 4rem);
	max-width: var(--width-comfortable);
	z-index: 12;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.autoplayer-pro.show-overlay .text-content {
	position: absolute;
	left: 0;
	bottom: 0;
	text-align: unset;
	top: unset;
	transform: none;
	padding: var(--space-8);
	width: calc(100% - 4rem);
	max-width: var(--width-comfortable);
	z-index: 12;
}

.autoplayer-pro .text-content .title {
	font-family: var(--font-display);
	font-size: 3.75rem;
	text-transform: uppercase;
	font-weight: var(--font-weight-semibold, 600);
	line-height: var(--leading-none);
	color: var(--text-color);
}

.autoplayer-pro .text-content .subtitle {
	font-family: var(--font-script);
	font-size: 3.125rem;
	line-height: var(--leading-none);
	color: var(--text-color);
}

.autoplayer-pro .text-content .read-more {
	position: relative;
	display: inline-block;
	padding: var(--space-3) var(--space-4);
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: var(--font-weight-bold);
	line-height: var(--leading-none);
	text-decoration: none;
	text-align: center;
	color: var(--green-dark);
	background-color: var(--white);
	border-radius: 4px;
	margin-top: var(--space-3);
}

.autoplayer-pro .text-content .read-more::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	height: calc(100% - var(--space-2));
	width: calc(100% - var(--space-2));
	border: 2px solid var(--green-grass);
	border-radius: 4px;
	opacity: 0;
	transition: opacity var(--transition-appendix);
	pointer-events: none;
}

.autoplayer-pro .text-content .read-more:focus-visible {
	outline-color: var(--sw-light-focus-color);
}

@media (hover: hover) {
	.autoplayer-pro .text-content .read-more:hover {
		background-color: var(--white);
	}

	.autoplayer-pro .text-content .read-more:hover::after {
		opacity: 1;
	}
}


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

@media (min-width: 641px) {
	.autoplayer-pro,
	.autoplayer-pro.maintain-aspect-ratio {
		height: 660px;
	}

	.autoplayer-pro.maintain-aspect-ratio .video {
		position: absolute;
		transform: translate(-50%, -50%);
		width: auto;
	}
}

@media (min-width: 64em) {
	.autoplayer-pro .text-content .title {
		font-size: 8.4375rem;
		line-height: 0.53;
	}
	
	.autoplayer-pro .text-content .subtitle {
		font-size: 5.625rem;
		line-height: 1.579;
	}

	.autoplayer-pro .video-control {
		width: 62px;
		height: 62px;
	}

	.autoplayer-pro .text-content .read-more {
		margin-top: var(--space-10);
		margin-left: var(--space-2);
		font-size: var(--text-lg);
		padding: var(--space-4) var(--space-6);
	}

	.autoplayer-pro .video-control i {
		font-size: var(--text-xl);
	}

	.autoplayer-pro .video-control {
		width: 50px;
		height: 50px;
		background: url(/includes/public/assets/shared/d-hero-video-controls.svg);
	}

	.autoplayer-pro .video-controls {
		margin-bottom: var(--space-8);
		margin-right: var(--space-6);
	}

	.autoplayer-pro.show-overlay .text-content {
		left: 0;
		top: unset;
		transform: none;
		text-align: unset;
	}

	.autoplayer-pro .text-content {
		left: 50%;
		top: 40%;
		transform: translate(-50%, -40%);
	}
	
}