.gallery {
  padding: 24px;
}
.gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
@media (min-width: 768px) {
  .gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}
@media (min-width: 1024px) {
  .gallery .gallery-grid {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    max-width: 1024px;
  }
}
.gallery .gallery-card {
  cursor: pointer;
}
.gallery .gallery-card .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
}
.gallery .gallery-card .thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.gallery .gallery-card .title {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
}

/* Modal */
.custom-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  padding: 40px;
  overflow-y: auto;
}
.custom-video-modal .video-modal-content {
  max-width: 900px;
  margin: auto;
  position: relative;
  margin-top: 200px;
}
.custom-video-modal .video-modal-content .close {
  position: absolute;
  top: -32px;
  right: 0;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}
.custom-video-modal .video-modal-content .video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  /* YouTube iframe */
}
.custom-video-modal .video-modal-content .video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  display: block;
}
.custom-video-modal .video-modal-content .video-wrapper {
  /* Local MP4 video */
}
.custom-video-modal .video-modal-content .video-wrapper video {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  background: #000;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
  }
}/*# sourceMappingURL=videos.css.map */