.gallery-grid {
  column-count: 5; /* Creates 4 columns by default */
  column-gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
  margin-bottom: 1rem; /* Space between images vertically */
  display: block; /* Ensures the image takes up the full column width */
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Make the layout responsive */
@media (max-width: 1200px) {
  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 800px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    column-count: 1;
  }
}

.float-right-img {
  float: right;
  margin: 1em 1em 1em 1em;
}

a {
  color: #2C497F;
}