.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: visible;
    height: 100vw;
}

.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 top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 40%);
    pointer-events: none;
    z-index: 3;
}

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

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

.autoplayer-pro .title {
    margin-bottom: 10px;
}

.autoplayer-pro .title span {
	font-family: var(--font-display-bold);
	font-size: var(--slide-title-size);
	line-height: var(--slide-line-height);
	color: var(--white);
	padding: 0 6px;
	background-color: var(--red);
	letter-spacing: var(--slide-letter-spacing);
	text-transform: uppercase;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.autoplayer-pro .description {
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--text-color);
    margin-bottom: var(--space-2);
}

.autoplayer-pro .text-content .read-more {
	color: var(--white);
	font-size: 16px;
	letter-spacing: 0.05em;
	font-weight: bold;
	pointer-events: all;
}

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

.autoplayer-pro .video-wrapper { 
    height: 100%;
    overflow: hidden;
    position: relative;
}
@media screen and (min-width: 40em) {
    .autoplayer-pro {
        height: 80vh;
    }
}

@media screen and (min-width: 64em) {
    .autoplayer-pro {
        height: 100%;
    }
}

@media screen and (min-width: 80em) {
    .autoplayer-pro {
        --slide-title-size: 75px;
		--slide-line-height: 1.25;
		--slide-letter-spacing: 0.05em;
		--margin-bottom: 105px;
    }
    
    .autoplayer-pro .text-content {
        padding-left: 40px;
        bottom: -85px;
        max-width: 670px;
    }

    .autoplayer-pro .title span {
        font-family: var(--font-display-bold);
        font-size: var(--slide-title-size);
        line-height: var(--slide-line-height);
        color: var(--white);
        padding: 0 6px;
        background-color: var(--red);
        letter-spacing: var(--slide-letter-spacing);
        text-transform: uppercase;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
    }

    .autoplayer-pro .text-content .read-more {
		color: var(--red);
		font-size: 18px;
    }
}
