  
  .thumbnail-container {
    display: flex;
    gap: 10px;
    padding: 20px;
  }
  
  .thumbnail {
    width: 150px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .thumbnail:hover {
    transform: scale(1.05);
  }
  
  /* Lightbox overlay */
  .lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;       /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .lightbox-overlay.active {
    display: flex;
  }
  
  .lightbox-content {
    position: relative;
  }
  
  #lightboxImage {
    max-width: 90vw;
    max-height: 90vh;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
  }
  
  .lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
  }
  
  /* Hover text displayed on top of the thumbnail */
.thumbnail-hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 3px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  /* Show the hover text when hovering over the wrapper (which includes the thumbnail) */
  .thumbnail-wrapper:hover .thumbnail-hover-text {
    opacity: 1;
  }

  .thumbnail-wrapper {
    width: 100%;
    position: relative;
    display: inline-block;
  }