.autoplayer-pro {
    --controls-bg-hover-color: var(--gray-100);
    --controls-text-hover-color: var(--primary-color-700);
    --text-content-bg-color: var(--primary-color-100);
    --text-color: var(--gray-100);
    --border-color: var(--gray-100);
    position: relative;
    overflow: hidden;
    height: calc(100vw * 446 / 375);
    width: 100%;
}

@media (min-width: 641px) {
    .autoplayer-pro {
        height: 810px;
		max-height: 100vh;
    }
}

.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(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 40%);
    pointer-events: none;
    z-index: 10;
}

.autoplayer-pro:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    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.video-loaded .video {
    opacity: 1;
}

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

.autoplayer-pro.video-loaded .video-controls {
    display: none;
}

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

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

.autoplayer-pro .video-control:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--controls-bg-color);
    outline: none;
}

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

.autoplayer-pro .text-content {
    position: absolute;
    z-index: 11;
    left: 50%;
    bottom: 50%;
	transform: translate(-50%, 50%);
    padding: var(--space-1);
    width: 70%;
	max-width: 1200px;
}

.autoplayer-pro .text-content .title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    line-height: var(--leading-tight);
    color: var(--text-color);
}

.autoplayer-pro .description {
    font-family: var(--font-body);
	font-weight: 200;
    font-size: 15px;
	line-height: 21px;
    color: var(--text-color);
	text-align: center;
	padding-top: 30px;
	margin-bottom: 12px;
}

.autoplayer-pro .text-content h1 > img {
    margin: 0 auto;
}

@media (min-width: 64em) {
    .autoplayer-pro .text-content {

    }
    
	.autoplayer-pro .text-content .title-image {
		padding-top: 20px;
	}
    
	.autoplayer-pro .description {
		font-size: 18px;
		line-height: 27px;
		padding: 18px 10px 0;
		margin-bottom: 0;
	}
}

.autoplayer-pro .text-content .read-more {
    font-family: var(--font-display);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
}

.autoplayer-pro .text-content .read-more:hover,
.autoplayer-pro .text-content .read-more:focus {
    text-decoration: underline;
    outline: none;
}

/* Styles when logo is not shown */
.autoplayer-pro .text-content .title:not(.no_logo) {
 	display: none;
}
.autoplayer-pro .text-content .title.no_logo {
 	font-family: var(--font-display-alt);
 	font-size: 50px;
 	font-weight: var(--font-weight-normal);
 	margin-bottom: 14px;
 	line-height: 1;
 	color: var(--text-color);
 	letter-spacing: normal;
 	text-transform: uppercase;
 	text-align: center;
 	position: relative;
 	padding-top: 66px;
 	padding-bottom: 20px;
}

.autoplayer-pro .text-content.hide_logo {
 	padding: 24px 0;
 	max-width: 95%;
}

.autoplayer-pro .text-content.hide_logo .description {
 	padding: 32px 46px;
 	padding-top: 0;
}

.autoplayer-pro .text-content .title.no_logo:before {
 	content: '';
 	background-image: url(/includes/client_public/assets/shared/ornaments/left-ornament.svg);
 	position: absolute;
 	background-repeat: no-repeat;
 	top: -65px;
 	top: 0;
 	left: 50%;
 	width: 50px;
 	height: 50px;
 	transform: translateX(-50%) rotate(270deg);
}

.autoplayer-pro .text-content .title.no_logo:after {
 	content: '';
 	background-image: url(/includes/client_public/assets/shared/ornaments/small-flat-ornament.svg);
 	position: absolute;
 	background-repeat: no-repeat;
 	bottom: 0px;
 	left: 50%;
 	width: 16px;
 	height: 5px;
 	transform: translateX(-50%);
}

@media (min-width: 376px) {
 	.autoplayer-pro .text-content.hide_logo {
 	 	max-width: 476px
 	}
}
@media (min-width: 40em) {
    .autoplayer-pro .text-content {
        width: 40%;
    }
}

@media (min-width: 64em) {

 	.autoplayer-pro .text-content.hide_logo {
 	 	max-width: 800px;
 	 	display: flex;
 	 	flex-direction: column;
 	 	align-items: center;
 	}
 	.autoplayer-pro .text-content.hide_logo .description {
 	 	max-width: 425px;
 	}
 	.autoplayer-pro .text-content .title.no_logo {
 	 	font-size: 80px;
 	 	padding-top: 61px;
 	 	padding-bottom: 23px;
 	 	margin-bottom: 18px;
 	}

 	.autoplayer-pro .text-content .title.no_logo:before {
 	 	transform: translateX(-65%) rotate(270deg);
 	}
 	.autoplayer-pro .text-content .title.no_logo:after {
 	 	width: 29px;
 	}
}