.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;
    aspect-ratio: 2/3.2;
    display: flex;
}


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

.autoplayer-pro.video-loaded .video-controls {
    display: flex;
    position: absolute;
    bottom: 125%;
    left: 50vw;
    gap: var(--space-5);
    transform: translate(-50%, 50%);
}

.autoplayer-pro .video-control {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
	width: 65px;
    height: 60px;
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    background-color: transparent;
    font-size: var(--text-2xl);
	line-height: 1;
	text-align: center;
    cursor: pointer;
    z-index: 10;
}

.autoplayer-pro .video-control:before,
.autoplayer-pro .video-control:after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background-image: url(/includes/public/assets/shared/play-btn-bg.svg);
	background-size: contain;
	background-repeat: no-repeat;
	height: 100%;
	width: 100%;
	z-index: -1;
}

.autoplayer-pro .video-control:after {
	background-image: url(/includes/public/assets/shared/play-btn-bg-hover.svg);
	transition: opacity 300ms ease-out;
	opacity: 0;
}

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

.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: 3;
    left: 0;
	bottom: 12px;
    padding: var(--space-8) 30px;
    width: calc(100% - 4rem);
    max-width: var(--width-comfortable);
    z-index: 12;
}

.autoplayer-pro .text-content .read-more {
    font-weight: 500;
	color: var(--white);
	text-transform: uppercase;
	font-size: var(--text-lg);
	font-family: var(--font-display);
    position: relative;
	width: fit-content;
	pointer-events: all;
	text-decoration: none;
}

.autoplayer-pro .text-content .read-more::after {
    content: '';
	position: absolute;
	left: -3px;
	bottom: -3px;
	background-image: url(/includes/public/assets/shared/underline-brush.svg);
	height: 4px;
	width: calc(100% + 6px);
	background-size: cover;
	background-repeat: no-repeat;
	pointer-events: none;
	transition: background-image var(--transition-appendix);
}

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

.autoplayer-pro .logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 3;
    margin-top: var(--space-6);
}

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

@media (min-width: 40em) {
    .autoplayer-pro {
        aspect-ratio: unset;
    }
    
    .autoplayer-pro .logo-wrapper {
        margin-top: unset;
    }

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


@media (min-width: 64em) {
    .autoplayer-pro {
        height: 90.25vh;
    }

    .autoplayer-pro .logo-wrapper {
        margin-top: var(--space-6);
    }

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

    .autoplayer-pro.video-loaded .video-controls {
        left: 25%;
    }

	.autoplayer-pro .text-content .read-more {
		font-size: var(--text-xl-1);
	}

	.autoplayer-pro .text-content .read-more:hover:after {
		background-image: url(/includes/public/assets/shared/underline-brush-hover.svg);
	}

}