body {
    font-family: 'gilroy-light';
  }
  
  .diaporama {
    display: flex;
    gap: 10px;
  }
  
  .diaporama img {
    width: 150px;
    cursor: pointer;
  }
  
  .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;
    flex-direction: column;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 80%;
  }
  #lightbox .caption {
    color: white;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 10px;
    max-width: 90%;
    margin: 10px auto;
    font-family: "gilroy-light";
    padding-top: 1rem;
  }
  
  .lightbox .close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
  }
  
  // .prev, .next {
  //   position: absolute;
  //   top: 50%;
  //   color: white;
  //   font-size: 30px;
  //   cursor: pointer;
  //   user-select: none;
  // }
  
  // .prev {
  //   left: 30px;
  // }
  
  // .next {
  //   right: 30px;
  // }
  
#lightbox .prev,
#lightbox .next {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 10;
cursor: pointer;
}

#lightbox .prev img,
#lightbox .next img {
  width: 40px; /* adapte si besoin */
  height: 40px;
  pointer-events: none; /* évite que l'image bloque le clic */
}

#lightbox .prev {
  left: 20px;
}

#lightbox .next {
  right: 20px;
}
