.event-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.event-gallery figure {
  min-width: 0;
  margin: 0;
}

.event-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.event-gallery-pdf {
  display: block;
  width: 100%;
  aspect-ratio: 0.707;
  border: 0;
  background: var(--white);
}

.event-gallery-open {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.event-gallery figcaption {
  padding-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .event-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .event-gallery figure {
    width: min(100%, 480px);
    margin-inline: auto;
  }
}