.smart-lazyload {
    opacity: 0
}

.smart-lazyloaded {
    opacity: 1
}

.smart-background {
    background-position: center center;
    background-size: cover
}

video.smart-lazyload {
    background-color: #000
}

.smart-youtube-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000
}

.smart-youtube-player:focus-within {
    outline: 2px solid currentColor;
    outline-offset: 5px
}

.smart-youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    border: 0;
    background: transparent
}

.smart-youtube-player img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
    transition: filter .4s ease,transform .4s ease
}

.smart-youtube-player img:hover {
    filter: brightness(75%);
    transform: scale(1.02)
}

.smart-youtube-player .smart-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border: 0;
    background-color: transparent!important;
    background-image: url(../img/youtube.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 68px 48px;
    z-index: 10;
    transition: transform .2s ease
}

.smart-youtube-player:hover .smart-play {
    transform: scale(1.08)
}

.wp-embed-responsive .wp-has-aspect-ratio .smart-youtube-player {
    position: absolute;
    padding-bottom: 0;
    width: 100%;
    height: 100%;
    inset: 0
}

@media (prefers-reduced-motion:reduce) {
    .smart-lazyload,.smart-youtube-player img,.smart-youtube-player .smart-play {
        transition: none
    }

    .smart-youtube-player:hover .smart-play {
        transform: none
    }
}
