#teton-splitfest .photos-2026-page > .archive-title,
#teton-splitfest .photo-gallery-return {
  text-align: center;
}

#teton-splitfest .photos-2026-page > .archive-title {
  margin-bottom: 10px;
}

#teton-splitfest .photo-gallery-return {
  margin: 0 0 24px;
}

#teton-splitfest .full-photo-grid a:focus-visible {
  outline-offset: 3px;
}

#teton-splitfest .gallery-lightbox {
  box-sizing: border-box;
  width: min(1000px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 12px;
  border: 1px solid #f6efdf40;
  border-radius: 12px;
  background: #0a0a0b;
  color: #f6efdf;
  margin: auto;
}

#teton-splitfest .gallery-lightbox::backdrop {
  background: #000c;
}

#teton-splitfest .gallery-lightbox-tools,
#teton-splitfest .gallery-lightbox-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

#teton-splitfest .gallery-lightbox-tools {
  justify-content: space-between;
  margin-bottom: 8px;
}

#teton-splitfest .gallery-lightbox-controls {
  justify-content: center;
  margin-top: 12px;
}

#teton-splitfest .gallery-lightbox-frame {
  height: clamp(120px, calc(100dvh - 180px), 680px);
}

#teton-splitfest .gallery-lightbox-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#teton-splitfest .gallery-lightbox button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #fc7f3a;
  background: #fc7f3a10;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

#teton-splitfest .gallery-lightbox button:focus-visible {
  outline: 2px solid #f6efdf;
  outline-offset: 2px;
}

#teton-splitfest .full-photo-grid img[data-src]:not([src]) {
  visibility: hidden;
}
