
/* Gallery Grid */
.gallery-row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

/* Equal Height Thumbnail Grid */
.gallery-col {
  padding: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* Square Aspect Ratio */
}

@media (min-width: 768px) {
  .gallery-col {
    width: 33.333%;
  }
}

@media (max-width: 767px) {
  .gallery-col {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .gallery-col {
    width: 100%;
  }
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-col:hover .gallery-thumb {
  transform: scale(1.05);
}

/* Overlay for Hover Effect (Play Icon for Video) */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-col:hover .gallery-overlay {
  opacity: 1;
}

.play-icon {
  font-size: 2rem;
  color: #fff;
}
