.elementor-3510 .elementor-element.elementor-element-5db9d36{--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;}.elementor-3510 .elementor-element.elementor-element-23a2a5c .embedpress-document-embed iframe, , .elementor-3510 .elementor-element.elementor-element-23a2a5c .ep-share-position-bottom .ep-embed-content-wraper{width:100%!important;max-width:100%!important;}.elementor-3510 .elementor-element.elementor-element-23a2a5c .embedpress-document-embed iframe{height:500px!important;}.elementor-3510 .elementor-element.elementor-element-23a2a5c .embedpress-document-embed .pdfobject-container{height:500px!important;}@media(max-width:1024px){.elementor-3510 .elementor-element.elementor-element-23a2a5c .embedpress-document-embed iframe, , .elementor-3510 .elementor-element.elementor-element-23a2a5c .ep-share-position-bottom .ep-embed-content-wraper{width:400px!important;max-width:400px!important;}.elementor-3510 .elementor-element.elementor-element-23a2a5c .embedpress-document-embed iframe{height:400px!important;}.elementor-3510 .elementor-element.elementor-element-23a2a5c .embedpress-document-embed .pdfobject-container{height:400px!important;}}@media(max-width:767px){.elementor-3510 .elementor-element.elementor-element-23a2a5c .embedpress-document-embed iframe, , .elementor-3510 .elementor-element.elementor-element-23a2a5c .ep-share-position-bottom .ep-embed-content-wraper{width:300px!important;max-width:300px!important;}.elementor-3510 .elementor-element.elementor-element-23a2a5c .embedpress-document-embed iframe{height:300px!important;}.elementor-3510 .elementor-element.elementor-element-23a2a5c .embedpress-document-embed .pdfobject-container{height:300px!important;}}/* Start custom CSS for embedpress_pdf, class: .elementor-element-23a2a5c *//* 1. Il container Elementor che ospita il widget: altezza fissa di riferimento */
.elementor-element-5db9d36 {
    height: 100vh; /* oppure il valore che ti serve, es. 600px */
}

/* 2. Widget + wrapper interno Elementor */
#visore-pdf,
#visore-pdf > .elementor-widget-container {
    height: 100% !important;
}

/* 3. Div di EmbedPress: ha display:inline-block inline, va forzato a block */
#visore-pdf .embedpress-document-embed {
    display: block !important;
    height: 100% !important;
    max-width: 100% !important;
}

/* 4. Attraversa i due div "anonimi" con i selettori child mirati sugli id/classe successivi */
#visore-pdf .embedpress-document-embed > div,
#visore-pdf #ep-elementor-content-23a2a5c,
#visore-pdf #ep-elementor-content-23a2a5c > div,
#visore-pdf .ep-embed-content-wraper,
#visore-pdf .ep-embed-content-wraper > div {
    height: 100% !important;
}

/* 5. L'iframe finale */
#visore-pdf iframe.embedpress-embed-document-pdf {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px; /* rete di sicurezza se qualcosa nella catena si rompe */
    display: block !important;
}/* End custom CSS */