/* Symmetrische und ruhige Anordnung sämtlicher Galerie- und Videoelemente. */
.location-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.location-gallery button,
.gallery-grid button {
  width: 100%;
}

.location-gallery img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
}

.video-grid > * {
  flex: 0 1 calc((100% - 36px) / 3);
  min-width: 0;
}

@media (max-width: 900px) {
  .location-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid > * {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 520px) {
  .location-gallery,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .video-grid > * {
    flex-basis: 100%;
  }
}
