.gallery-cover__open {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius);
}
.gallery-cover__open img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery-cover__badge {
  position: absolute;
  inset-block-end: 1rem;
  inset-inline-end: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  background: #111;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
}
.gallery-cover__open:focus-visible {
  outline: 3px solid var(--color-text-primary-medium);
  outline-offset: 4px;
}
