
  /* Lista relatori scrollabile su mobile */
  #speakersContent .row {
    max-height: 500vh !important;
    overflow-y: auto !important;
    padding-bottom: 100px;
    margin-bottom: 0;
  }
/* Fix overflow and white band on mobile */
@media (max-width: 600px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Optional: ensure all containers do not overflow */
  .container, .card, .section, header, main, footer {
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Hero CTA buttons: stack vertically on mobile */
  .hero-left .d-flex.gap-3 {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100%;
  }

  .hero-left .cta-button {
    width: 100%;
    text-align: center;
  }

  /* Accordion relatori: scrollabile su mobile */
  .accordion-body, .relatori-accordion-body {
    max-height: 500vh;
    overflow-y: auto;
    padding-bottom: 80px;
  }

      /* Info-box su due righe su mobile */
    .info-congress-section .row {
      flex-direction: column !important;
      gap: 24px !important;
    }
    .info-congress-section .info-box {
      width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

  /* Extra spazio in fondo alla pagina per evitare che elementi fissi coprano contenuto */
  body {
    padding-bottom: 100px;
  }

  .hero-title{
    margin-top: 25%;
  }
  .hero-date{
    margin-bottom: 25%;
  }

  p{
    padding-left: 3%;
    padding-right: 3%;
}
h2, h3, h4{
    padding-left: 3% !important;
    padding-right: 3% !important;
}
#programmaContent.show{
    padding-left: 3% !important;
    padding-right: 3% !important;
}
.col-6{
    width: 100% !important;
}

}