.collection-gallery figure > a {
  display: block;
  height: 100%;
}

.collection-gallery figure > a:focus-visible,
.collection-extra-gallery figure > a:focus-visible {
  outline-offset: -4px;
}

.collection-more-photos {
  margin-top: 16px;
}

.collection-more-photos summary {
  display: list-item;
  width: fit-content;
  cursor: pointer;
}

.collection-extra-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 12px;
  margin-top: 16px;
}

.collection-extra-gallery figure {
  margin: 0;
}

.collection-extra-gallery a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cloud);
}

.collection-extra-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
