.photo-title {
  margin: 32px 0 40px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 80px;
}

.photo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.photo__img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}

.photo__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.photo__img:hover img {
  transform: scale(1.04);
}

.photo__text {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 60pxpx;
  }

  .photo__text {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
