
.rp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
  }
  
  .gallery-section {
    padding: 80px 0;
  }
  
  .gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-auto-rows: 180px;
    gap: 12px;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #000;
  }
  
  .gallery-item img,
  .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Create mosaic variation */
  .gallery-item:nth-child(3n) {
    grid-row: span 2;
  }
  
  .gallery-item:nth-child(5n) {
    grid-column: span 2;
  }

  .modal-content video {
    max-width: 100%;
    max-height: 100%;
    display: block;
  }
  
  
  @media (max-width: 768px) {
    .gallery-item:nth-child(3n),
    .gallery-item:nth-child(5n) {
        grid-column: span 1;
        grid-row: span 1;
    }
  }
  
  