/* Consistent image gallery layout */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.about-gallery img {
  width: 100%;
  height: 280px;                /* fixed height for consistent rows */
  object-fit: cover;            /* crop evenly instead of stretching */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-gallery img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

/* On mobile: make them taller and one per row for better view */
@media (max-width: 720px){
  .about-gallery {
    grid-template-columns: 1fr;
  }
  .about-gallery img {
    height: 360px;   /* taller to show more of the image */
  }
}