.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(--gray-100);
    --border-color:
    var(--gray-100);
    position: relative;
    overflow: hidden;
    height: 80vh;
    display: flex;
    margin-bottom: 20px;
}

@media (min-width: 641px) {
    .autoplayer-pro {
        height: 690px;
        margin-bottom: 37px;
    }
}

.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);
    aspect-ratio: 640/200;
}

.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,.5) 0%, rgba(0,0,0,0) 60%);
    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: flex;
    gap: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px 30px;
    z-index: 11;
}

.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: rgba(255,255,255,0.1);
    /* border: 2px solid var(--border-color); */
    cursor: pointer;
    font-size: 18px;
}

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

@media screen and (min-width: 40em) {
    .autoplayer-pro .poster {
        aspect-ratio: 900/300;
    }
}

@media screen and (min-width: 64em) {
    .autoplayer-pro.video-loaded .video-controls {
        padding: 20px 50px;
    }

    .autoplayer-pro .video-control {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .autoplayer-pro .poster {
        aspect-ratio: 1280/500;
    }
}

@media screen and (min-width: 90em) {
    .autoplayer-pro .poster {
        aspect-ratio: 1600/700;
    }
}

.autoplayer-pro .video-control:focus {
    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: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    padding: 30px;
    width: 100%;
    /* max-width: var(--width-comfortable); */
    z-index: 12;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.autoplayer-pro .text-content .subtitle {
    font-family: var(--font-droid);
    color: var(--text-color);
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 0.9px;
    text-align: center;
}

.autoplayer-pro .text-content .title {
    font-family: var(--font-display);
    font-size: 3.5625rem;
    font-weight: 700;
    /* margin-bottom: var(--space-2); */
    line-height: 1;
    color: var(--text-color);
    text-transform: uppercase;
    text-align: center;
}

@media screen and (min-width: 64em) {
    .autoplayer-pro .text-content .subtitle {
        font-size: 1.625rem;
        letter-spacing: 0.9px;
        margin-bottom: -10px;
    }

    .autoplayer-pro .text-content .title {
        font-size: 6.25rem;
    }
}

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

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