.elementor-776 .elementor-element.elementor-element-17b0ab2{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-776 .elementor-element.elementor-element-4cf8887{text-align:center;}.elementor-776 .elementor-element.elementor-element-9c6e90f{--display:flex;}.elementor-776 .elementor-element.elementor-element-576c87f > .elementor-widget-container{padding:0px 0px 0px 0px;}@media(max-width:1024px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}}@media(max-width:767px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-776 .elementor-element.elementor-element-9c6e90f{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-776 .elementor-element.elementor-element-576c87f > .elementor-widget-container{margin:0px 0px 0px 0px;}}/* Start custom CSS for container, class: .elementor-element-17b0ab2 *//* === FIX SAFARI iOS + ELEMENTOR + AMELIA === */
.amelia-section {
  position: relative !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}

/* forza Elementor a contenere i figli */
.amelia-section > .elementor-container,
.amelia-section > .elementor-container > .elementor-column,
.amelia-section > .elementor-container > .elementor-column > .elementor-widget-wrap {
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}

/* neutralizza layout fullscreen Amelia */
.amelia-section #amelia-container {
  position: relative !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;

  --am-dvh: auto !important;
  --am-hd-main: auto !important;
}

/* wrapper eventi */
.amelia-section #amelia-container .am-els,
.amelia-section #amelia-container .am-els__wrapper {
  position: relative !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* evita che Safari "sfori" il footer */
.amelia-section #amelia-container .am-ec {
  contain: layout paint;
}

/* paginazione sempre nel flusso */
.amelia-section #amelia-container .am-els__pagination {
  position: relative !important;
  margin-bottom: 32px;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-9c6e90f */@media (max-width: 767px) {
    .e-con.e-flex {
        --flex-wrap: nowrap;
    }
}/* End custom CSS */
/* Start custom CSS */@media (max-width: 768px) {

  /* 1. Disattiva altezza calcolata Amelia */
  #amelia-container {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }

  /* 2. Neutralizza la variabile che tronca il layout */
  #amelia-container {
    --am-hd-main: auto !important;
  }

  /* 3. Wrapper lista eventi */
  #amelia-container .am-els__wrapper {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* 4. Spazio reale prima del footer */
  #amelia-container .am-els__pagination {
    margin-bottom: 80px;
  }

}/* End custom CSS */