.event-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) {
  .event-gallery {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
  }
}

@media (max-width: 768px) {
  .event-gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
  }
}

@media (max-width: 480px) {
  .event-gallery {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
}

.event-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}