.upa_youtube_single {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.upa_youtube_single p {
    margin-bottom: 0 !important;
}

.upa_youtube_single_gdpr_mobile p {
    margin-bottom: 0 !important;
}

.upa_youtube_single_background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    transition: 1s all;
    background-position: center;
    transition: 0.4s ease all;
    transition-delay: 250ms;
}

.upa_youtube_single:hover .upa_youtube_single_background {
    transform: scale(1.05);
}

.upa_youtube_single_layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.upa_youtube_single_layer:before {
    content: "";
    position: absolute;
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0% 100%);
    right: 0;
    bottom: -1px;
    left: 0;
    height: 40%;
    background-color: var(--mg-primary-color-b-full);
    opacity: 0.95;
    z-index: 20;
}

.upa_youtube_single_layer.upa_youtube_single_layer_hidden {
    background-color: rgba(0, 0, 0, 0.2);
}

.upa_youtube_single_layer_inner {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 24%;
    display: flex;
    z-index: 30;
    justify-content: center;
    align-items: center;
}

.upa_youtube_single_layer>* {
    color: #fff;
    margin: 0;
    line-height: 1.4;
    font-weight: 400 !important;
    text-align: center;
    padding: 0 20px;
}

.upa_youtube_single_layer h2 {
    font-size: 13px;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.upa_youtube_single_layer p {
    font-size: 13px;
    display: none;
}

.upa_youtube_single_play_wrapper {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upa_youtube_single_play {
    width: 50px;
    height: 50px;
    z-index: 40;
    cursor: pointer;
}

.upa_youtube_single_play img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.upa_youtube_single_play img.upa_youtube_single_play_default {
    display: inline-block;
}

.upa_youtube_single_play img.upa_youtube_single_play_hover {
    display: none;
}

.upa_youtube_single_gdpr_mobile {
    font-size: 13px;
    line-height: 1.6;
    background-color: var(--mg-primary-color-b-bright);
    color: #4b4b4b;
    padding: 15px;
}

@media (min-width: 992px) {
    .upa_youtube_single_play {
        width: 70px;
        height: 70px;
    }

    .upa_youtube_single_layer:before {
        height: 50%;
    }

    .upa_youtube_single_wrapper:not(.upa_youtube_single_wrapper_small) .upa_youtube_single.upa_youtube_single_short_header .upa_youtube_single_layer:before {
        height: 40%;
    }

    .upa_youtube_single_layer h2 {
        font-size: 28px;
    }

    .upa_youtube_single_layer>* {
        padding: 0 15px;
    }

    .upa_youtube_single_layer_inner {
        height: 30%;
    }

    .upa_youtube_single_wrapper:not(.upa_youtube_single_wrapper_small) .upa_youtube_single.upa_youtube_single_short_header .upa_youtube_single_layer_inner {
        height: 24%;
    }

    .upa_youtube_single_layer.upa_youtube_single_layer_hidden {
        background-color: rgba(0, 0, 0, 0);
    }

    .upa_youtube_single_layer.upa_youtube_single_layer_hidden:before {
        opacity: 1;
    }

    .upa_youtube_single:hover .upa_youtube_single_layer:before {
        background-color: var(--mg-primary-color-b-full);
    }

    .upa_youtube_single:hover .upa_youtube_single_play img.upa_youtube_single_play_default {
        display: none;
    }

    .upa_youtube_single:hover .upa_youtube_single_play img.upa_youtube_single_play_hover {
        display: inline-block;
    }

    .upa_youtube_single:hover .upa_youtube_single_layer h2 {
        display: none;
    }

    .upa_youtube_single:hover .upa_youtube_single_layer p {
        display: inline-block;
    }

    .upa_youtube_single_gdpr_mobile {
        display: none;
    }
}