@media screen and (min-width: 320px) {
    .t-title.t-animate {
        opacity: 1;
        /*-webkit-transform: none;*/
       transform: none;
      transition-duration: 1.2s;
        data-animate-style: fadeinup;
   }
}

@media screen and (max-width: 479px) {
    .logofooter {left:20px !important;}
    .formfooter {left:20px !important;}
    .addressfooter {left:20px !important;}
    .column1footer {left:20px !important;}
    .column2footer {left:20px !important;}
    .column3footer {left:20px !important;}
    .organizatortitle {left:20px !important;}
    div#rec1190509121 {padding-bottom: 0 !important;}
    div#rec1190514156 {padding-bottom: 20px !important;}
    div#rec1191173081 {padding-bottom: 20px !important;}
}

@media screen and (max-width: 768px) {
  /* Fade-in LEFT */
  #rec1189119041 .t1034__container,
  #rec1187117136 .t1034__container,
  #rec1186006891 .t1034__container,
  #rec1186007006 .t1034__container,
  #rec1192397681 .t1066__img
                {
      opacity: 0;
      transform: translateX(-150px);
      transition: opacity 1.5s ease, transform 1.5s ease;
  }

  /* Fade-in RIGHT */
  #rec1201332446 .t372__text,
  #rec1188537336 .t372__text,
  #rec1187117096 .t1034__container,
  #rec1190401291 .t1034__container,
  #rec1193931516 .t372__text {
    opacity: 0;
    transform: translateX(150px);
    transition: opacity 1.5s ease, transform 1.5s ease;
  }

  /* Fade-in UP */
  #rec1201354036 .t858__inner-col,
  .uc-buttonsvis,
  #rec1201691031 .t502__tablewrapper,
  #rec1206032856 .t774__wrapper,
  #rec1201332511 .t921__title,
  #rec1201332511 .t921__descr,
  #rec1201332511 .t921__tile_right,
  #rec1201332511 .t921__tile_left,
  #rec1201106451 .t-section__descr,
  #rec1201106451 .t668__wrapper,
  #rec1201139001 .t514__time_mobile,
  #rec1201139001 .t514__title,
  #rec1201139001 .t-text_sm,
  .uc-contacthoggett,
  .uc-mapsvis,
  #rec1192600861 .t1059__btn,
  #rec1193927486 .t1059__btn,
  #rec1211106201 .t1059__btn,
  #rec1187208491 .t1059__btn,
  #rec1206246541 .t1059__btn,
  #rec1206257201 .t527 .t-list__item,
  #rec1206310211 .t527 .t-list__item,
  #rec1206331066 .t850__col,
  #rec1187150221 .t940__card,
  #rec1188390956 .t921__title,
  #rec1188390956 .t921__descr,
  #rec1188390956 .t921__tile_single,
  #rec1190418481 .t230__text,
  #rec1190418481 .t230__wrap-video,
  #rec1190509121 .t491__col,
  #rec1190514156 .t491__col,
  #rec1190500176 .t1051__piewrapper,
  #rec1190500176 .t1051__textwrapper,
  #rec1190500176 .t1051__subtitle,
  #rec1191093546 .t497__item,
  #rec1191173081 .t491__col,
  #rec1191190451 .t1051__piewrapper,
  #rec1191190451 .t1051__textwrapper,
  #rec1191190451 .t1051__subtitle,
  #rec1192397681 .t1066__item,
  #rec1193580531 .t844__col,
  #rec1192628636 .t823__imgwrapper,
  #rec1192628636 .t823__title,
  #rec1193372771 .t531__leftcol,
  #rec1193372771 .t531__title,
  #rec1193372771 .t531__persdescr,
  #rec1193372771 .t531__text,
  #rec1193809646 .t-btnflex,
  #rec1193935436 .t-btnflex,
  #rec1193938266 .t920__container,
  #rec1193938266 .t-btnflex,
  #rec1193927476 .t531__leftcol,
  #rec1193927476 .t531__title,
  #rec1193927476 .t531__persdescr,
  #rec1193927476 .t531__text,
  #rec1206447656 .t-section__descr,
  #rec1186721176 .t594__img,
  #rec1197848281 .t-btnflex,
  #rec1197851006 .t-btnflex,
  #rec1186721176 .t-section__title
   {
    opacity: 0;
    transform: translateY(150px);
    transition: opacity 1.5s ease, transform 1.5s ease;
  }
  
/* inizializza il numero VISIBILE (niente più hide) */
  #rec1189119041 .t1034__title,
  #rec1187117096 .t1034__title,
  #rec1187117136 .t1034__title,
  /*#rec1186006891 .t1034__title,*/
  /* #rec1186007006 .t1034__title*/ {
    opacity: 1 !important;
  }
  
  /* Stato attivo */
  .visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}


/* Blocco hero immagine + overlay + testo leggibile */
.uc-heroimage {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.uc-heroimage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* overlay scuro */
  z-index: 1;
}

.uc-heroimage h2,
.uc-heroimage p {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); /* per leggibilità */
}
