/* Interaction states shared by the standalone pages. */
[hidden] {
  display: none !important;
}
.close-menu:focus-visible,
.project-detail-control:focus-visible {
  outline: 2px solid #cee002;
  outline-offset: 4px;
}
.layout-toc__list-item-text {
  scroll-margin-top: 120px;
}
h1[id],
h2[id],
h3[id] {
  scroll-margin-top: 120px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
}
.photo-viewer button {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  margin: 0;
  text-transform: none;
}
.photo-viewer .swiper-wrapper,
.photo-viewer .swiper-slide {
  height: 100%;
  width: 100%;
}
.photo-viewer .dialog-lightbox-widget-content {
  position: absolute;
  inset: 0;
}
.photo-viewer .swiper-zoom-container {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photo-viewer .layout-lightbox-image {
  object-fit: contain;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.photo-viewer .layout-swiper-button {
  position: absolute;
  top: 0;
  z-index: 2;
  padding: 0;
}
.photo-viewer .layout-slideshow__header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
}
.photo-viewer .layout-slideshow__header > button {
  font-size: inherit;
  margin: 0 0.35em;
  padding: 0.25em;
}
.photo-viewer.is-zoomed .swiper-zoom-container {
  overflow: auto;
  display: block;
  text-align: center;
}
.photo-viewer.is-zoomed .layout-lightbox-image {
  max-width: none;
  max-height: none;
  width: 150%;
  height: auto;
}
