
 /* ----- Slideshow layout ----- */
	.slideshow {
      margin: 2rem auto;
      max-width: 1200px;
      padding: 0 1rem;
    }
    .imagGrid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
      gap: 1.3rem;
      max-width: 1200px;
    }
    
    .imagGrid img {
      width: 100%;
      height: auto;
      aspect-ratio: 4/3;
      object-fit: cover;
      border-radius: 0.5rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      cursor: pointer;
      transition: transform 0.2s;
    }
    .imagGrid img:hover {
      transform: scale(1.03);
    }

 /* ----- Modal ----- */
    #modal {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.87);
      display: none; 
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }
    #modal.active {
      display: flex;
    }
    #modal .modal-content {
      position: relative;
      max-width: 90vw;
      max-height: 90vh;
    }
    #modal img {
      width: 100%;
      height: auto;
      max-height: 80vh;
      object-fit: contain;
      border-radius: 0.5rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    }

    /* ----- Buttons ----- */
    .close-btn,
    .prev,
    .next {
      position: absolute;
      background: rgba(255,255,255,0.3);
      border: none;
      border-radius: 50%;
      padding: 0.5rem 0.88rem;
      cursor: pointer;
      transition: background 0.2s;
    }
    .close-btn:hover,
    .prev:hover,
    .next:hover {
      background: rgba(255,255,255,0.5);
    }
    .close-btn {
      top: 0.5rem;
      right: 0.5rem;
    }
    .prev {
      left: 0.5rem;
      top: 50%;
      transform: translateY(-50%);
    }
    .next {
      right: 0.5rem;
      top: 50%;
      transform: translateY(-50%);
    }
    .close-btn img,
    .prev img,
    .next img {
      width: 3rem;
      height: 2.5rem;
      display: block;
    }