.autoplayer-pro {
    --controls-bg-hover-color: var(--gray-100);
    --controls-text-hover-color: var(--blue-004);
    --text-content-bg-color: var(--primary-color-100);
    --text-color: var(--gray-100);
    --border-color: var(--gray-100);
    
    position: relative;
    overflow: hidden;
    height: 500px;
}

@media (min-width: 641px) {
    .autoplayer-pro {
        height: 672px;
    }
}

.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;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 80%);
    pointer-events: none;
    z-index: 2;
}

.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;
    flex-flow: row nowrap;
    gap: 25px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 10;

}

.autoplayer-pro .video-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 37px;
    height: 37px;
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.151);
    font-size: 25px;
    border: 2px solid var(--border-color);
    box-shadow: 0px 3.29px 3.29px 2px rgba(0, 0, 0, 0.251);
    cursor: pointer;
}

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


.autoplayer-pro .video-control:focus-visible {
    outline: var(--border-color) solid 1px;
    outline-offset: 2px;
}

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

.autoplayer-pro .text-content {
    z-index: 3;
    left: 0;
    bottom: 0;
    width: calc(100% - 4rem);
    max-width: var(--width-comfortable);
    z-index: 12;
}

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

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

.autoplayer-pro .read-more {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: var(--sw-button-shared-padding);
    font: var(--sw-button-shared-font);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: var(--sw-button-primary-color);
    text-decoration: none;
    background-color: var(--sw-button-primary-bg);
    border: var(--sw-button-primary-border);
    transition: border var(--transition-appendix);
    position: relative;
}

.autoplayer-pro .read-more::after {
    content: '\f0da';
    font-family: var(--fa-6-family);
    font-weight: 900;
    pointer-events: none;
    display: block;
    width: auto;
    height: auto;
    font-size: var(--sw-button-shared-icon-size);
    line-height: 0;
}

.autoplayer-pro .logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    z-index: 10;
    gap: 25px;
}

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

@media (hover:hover) {
    .autoplayer-pro .read-more:hover {
        background-color: var(--sw-button-primary-bg-hover);
        color: var(--sw-button-primary-color-hover);
        border-color: var(--white);
    }
}

@media screen and (min-width: 64em) {
    .autoplayer-pro.video-loaded .video-controls {
        bottom: 60px;
        right: 60px;
        gap: 30px;
    }

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

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