/* Restore the missing layout for the photo gallery in the supplied HTML. */
.about-gallery {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.about-gallery > div {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.about-gallery .cap {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1rem .75rem;
  background: linear-gradient(transparent, rgba(15, 31, 43, .9));
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
}
@media (min-width: 601px) and (max-width: 900px) {
  .about-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
