.elementor-401 .elementor-element.elementor-element-6f00a40{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-401 .elementor-element.elementor-element-725dff0 .acf-image{max-width:100%;}.elementor-401 .elementor-element.elementor-element-955349b .dynamic-content-for-elementor-acf{color:#FFFFFF;margin-bottom:0px;font-size:20px;font-weight:700;}@media(max-width:767px){.elementor-401 .elementor-element.elementor-element-725dff0 .acf-image{max-width:500px;}}/* Start custom CSS for dyncontel-acf, class: .elementor-element-3b15c26 */.video-play-custom .elementor-custom-embed-image-overlay {
    position: relative;
}

/* Nasconde il play originale di Elementor */
.video-play-custom .elementor-custom-embed-play {
    display: none !important;
}

/* Cerchio */
.video-play-custom .elementor-custom-embed-image-overlay::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 110px;
    height: 110px;

    border: 5px solid #fff;
    border-radius: 50%;
    background: transparent;

    z-index: 10;
    pointer-events: none;

    transition: transform 0.3s ease;
}

/* Triangolo */
.video-play-custom .elementor-custom-embed-image-overlay::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-38%, -50%);

    width: 0;
    height: 0;

    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 34px solid #fff;

    z-index: 11;
    pointer-events: none;
}

/* Hover */
.video-play-custom .elementor-custom-embed-image-overlay:hover::after {
    transform: translate(-50%, -50%) scale(1.08);
}




@media (max-width: 767px) {

    /* Wrapper quadrato che mantiene lo spazio nella pagina */
    .video-play-custom .elementor-wrapper {
        position: relative !important;
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        overflow: hidden !important;
    }

    /* Video YouTube */
    .video-play-custom .elementor-wrapper iframe,
    .video-play-custom .elementor-wrapper video {
        position: absolute !important;
        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;
    }

    /* Immagine overlay */
    .video-play-custom .elementor-custom-embed-image-overlay {
        position: absolute !important;
        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;

        background-size: cover !important;
        background-position: center center !important;

        z-index: 2;
    }

    /* Evita sovrapposizioni con la sezione successiva */
    .video-play-custom {
        position: relative !important;
        width: 100% !important;
        display: block !important;
        overflow: hidden !important;
    }
}/* End custom CSS */