/* STILLS_LIGHTBOX */
.archive-gallery .stills-lightbox__open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
}

.archive-gallery .stills-lightbox__open:focus-visible {
  outline: 2px solid #c6a15a;
  outline-offset: 3px;
}

.stills-lightbox[hidden] {
  display: none !important;
}

.stills-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}

.stills-lightbox__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(12, 12, 12, 0.92);
  cursor: pointer;
}

.stills-lightbox__frame {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 0;
  padding: 2.75rem 1rem 1rem;
  background: #0c0c0c;
  border: 2px solid #c6a15a;
  box-shadow: 0 18px 50px rgba(12, 12, 12, 0.55);
}

.stills-lightbox__title {
  position: absolute;
  top: 0.7rem;
  left: 1rem;
  margin: 0;
  color: #f4ead6;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stills-lightbox__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #c6a15a;
  background: #0c0c0c;
  color: #f4ead6;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.stills-lightbox__close:focus-visible {
  outline: 2px solid #f4ead6;
  outline-offset: 2px;
}

.stills-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: #0c0c0c;
  border: 6px solid #f4ead6;
  outline: 1px solid #c6a15a;
}

html.stills-lightbox-open {
  overflow: hidden;
}
