  /* Slider layout */
  .relatori-section {
    width: 100%;
    padding: 2rem 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .relatori-wrapper {
    position: relative;
    max-width: 1200px;
    width: 100%;
    overflow: hidden;
  }  
  
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
  }
  
  .relatori-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(.22,.9,.32,1);
    align-items: stretch;
    margin-left:30px;
    margin-right: 30px;

  }
  
  /* responsive card widths */
  .relatore-card {
    background: #fff;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    max-width: 1200px;
    width: 100%; 
    border-radius: 20px;
    

  }

  
  /* Desktop: 3 card */
  @media (min-width: 992px) {
    .relatore-card {
      flex: 0 0 calc((100% - 40px) / 3); /* gap accounted */
    }
  }
  
  /* Tablet: 2 card */
  @media (min-width: 768px) and (max-width: 991.98px) {
    .relatore-card {
      flex: 0 0 calc((100% - 20px) / 2);
    }
  }
  
  /* Mobile: 1 card */
  @media (max-width: 767.98px) {
    .relatore-card {
      flex: 0 0 100%;
      margin-right: 0px;
    }
  }
  
  /* Nav buttons */
  .relatori-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #614288;
    border: 1px solid #ffed00;
    color: #ffed00;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
  }
  
  .relatori-nav.prev { left: 8px; }
  .relatori-nav.next { right: 8px; }
  
  .relatori-nav:disabled,
  .relatori-nav[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
  }
  
  /* small styling */
  .relatore-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    border: 5px solid rgb(211, 207, 205);
  }
  .relatore-title { font-size: 1rem; margin-top: 12px; }
  .intervento-nome { font-weight: 600; margin-top: 6px; cursor: pointer; color: inherit; text-decoration: none; }
  .intervento-ruolo { color: #666; margin-top: 6px; font-size: 0.9rem; }
  .btn-info-relatore { white-space: nowrap; }
  
  /* hide native scrollbar if appears */
  .relatori-slider::-webkit-scrollbar { display: none; }