.image_gallery_1__section_title {
  width: 100%;
  display: flex;
  justify-content: center;
}

.image_gallery_1__section_title h1 {
  text-align: center;
}

.image_gallery_1__container {
  padding-top: 60px;
  padding-bottom: 70px;
}

.image_gallery_1__images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 940px;
}

.image_gallery_1__image {
  flex: 0 1 calc((100% - 16px) / 3); /* 3 columns with 8px gap */
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  box-shadow: var(--box-shadow-warm);
  overflow: hidden;
}

.image_gallery_1__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: outline-offset 125ms var(--cubic-bezier),
              outline-color 125ms var(--cubic-bezier);
}

@media (hover: hover) {
  .image_gallery_1__image a:hover img {
    outline: 2px solid var(--slate-200);
    outline-offset: -4px;
  }
}

/* Responsive: 2 columns on medium screens */
@media (max-width: 1000px) {
  .image_gallery_1__image {
    flex: 0 1 calc((100% - 8px) / 2);
  }
}

/* Responsive: 1 column on small screens */
@media (max-width: 600px) {
  .image_gallery_1__image {
    flex: 0 1 100%;
  }
}