.autoplayer-pro {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-sizing: content-box;
    border-bottom: 10px solid var(--peach);
}

body.blue .autoplayer-pro {
    border-bottom-color: var(--blue-light-alt);
}

.autoplayer-pro:before {
    content: '';
    width: 100%;
    height: 55%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url('/includes/public/assets/shared/angle-sm.svg');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 3;
    pointer-events: none;
}

body.blue .autoplayer-pro:before {
    background-image: url('/includes/public/assets/shared/angle-sm_blue.svg');
}

.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;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0;
    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: block;
}

.autoplayer-pro .video-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 54px;
    height: 42.3px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    position: relative;
}

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

.autoplayer-pro .video-controls {
    position: absolute;
    z-index: 3;
    right: 1.5%;
    bottom: 2%;
    padding: 0;
    width: 61px;
}

.autoplayer-pro .video-player {
    border-bottom: 10px solid var(--peach);
}

.autoplayer-pro .video-controls .video-control.pause:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('/includes/public/assets/shared/pause-button.svg');
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

.autoplayer-pro .video-controls .video-control.play:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('/includes/public/assets/shared/play-button.svg');
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

@media (min-width: 40em) {
    .autoplayer-pro {
        border: none;
        width: calc(100% - 30px);
        left: 30px;
    }

    .autoplayer-pro .video-controls,
    .autoplayer-pro .video-control {
        width: 102.75px;
        height: 76.5px;
    }

    .autoplayer-pro .video-controls {
        bottom: 26px;
        right: 5%;
    }
}

@media(min-width: 64em) {
    .autoplayer-pro {
        width: calc(100% - 60px);
        left: 60px;
    }

    .autoplayer-pro:before {
        background-image: url('/includes/public/assets/shared/angle-lg.svg');   
        height: 38%;
    }

    body.blue .autoplayer-pro:before {
        background-image: url('/includes/public/assets/shared/angle-lg_blue.svg');   
    }

    .autoplayer-pro .video-controls {
        right: 2%;
        bottom: 26px;
        width: 137px;
        height: 102px;
    }

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