.nwa-exhibition-page,
.nwa-exhibition-page .wp-site-blocks {
  margin: 0;
  background: #12100e;
}

.nwa-exhibition-page {
  overflow: hidden;
}

.nwa-exhibit {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #12100e;
  color: #f4f0ea;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.nwa-exhibit::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 140px 36px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.nwa-exhibit__bar {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem max(1.15rem, env(safe-area-inset-right)) 0.8rem max(1.15rem, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(244, 240, 234, 0.12);
}

.nwa-exhibit__home,
.nwa-exhibit__title {
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nwa-exhibit__home {
  justify-self: start;
  width: auto;
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
}

.nwa-exhibit__home:hover,
.nwa-exhibit__home:focus-visible {
  color: #d7c4a4;
}

.nwa-exhibit__title {
  justify-self: center;
  width: auto;
  margin: 0;
  font-size: 1.15rem;
  text-align: center;
}

.nwa-exhibit__hint {
  justify-self: end;
  width: auto;
  margin: 0;
  color: rgba(244, 240, 234, 0.62);
  font-size: 0.88rem;
}

.nwa-exhibit__viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  cursor: grab;
  touch-action: pan-x pan-y;
}

.nwa-exhibit__viewport.is-panning {
  cursor: grabbing;
}

.nwa-exhibit__viewport:focus-visible {
  outline: 2px solid #d7c4a4;
  outline-offset: -2px;
}

.nwa-exhibit__wall {
  position: relative;
}

.nwa-exhibit__wall:not(.is-hung) .nwa-exhibit__work {
  visibility: hidden;
}

.nwa-exhibit__work {
  position: absolute;
  display: block;
  overflow: hidden;
  background: #1c1915;
  color: inherit;
  text-decoration: none;
}

.nwa-exhibit__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  pointer-events: none;
  transition: filter 0.45s ease;
}

.nwa-exhibit__wash {
  position: absolute;
  inset: 0;
  background: var(--hue, #8a7358);
  mix-blend-mode: color;
  opacity: 0.38;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.nwa-exhibit__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 2.6rem 0.95rem 0.9rem;
  background: linear-gradient(transparent, rgba(16, 14, 12, 0.88));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.nwa-exhibit__name {
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.nwa-exhibit__meta {
  color: rgba(244, 240, 234, 0.78);
  font-size: 0.84rem;
}

.nwa-exhibit__work:hover .nwa-exhibit__wash,
.nwa-exhibit__work:focus-visible .nwa-exhibit__wash {
  opacity: 0;
}

.nwa-exhibit__work:hover .nwa-exhibit__img,
.nwa-exhibit__work:focus-visible .nwa-exhibit__img {
  filter: none;
}

.nwa-exhibit__work:hover .nwa-exhibit__label,
.nwa-exhibit__work:focus-visible .nwa-exhibit__label {
  opacity: 1;
  transform: none;
}

.nwa-exhibit__work:focus-visible {
  outline: 2px solid #f4f0ea;
  outline-offset: -2px;
}

.nwa-exhibit__wall:has(.nwa-exhibit__work:hover) .nwa-exhibit__work:not(:hover),
.nwa-exhibit__wall:has(.nwa-exhibit__work:focus-visible) .nwa-exhibit__work:not(:focus-visible) {
  opacity: 0.72;
}

.nwa-exhibit__empty {
  margin: 2rem;
  color: #f4f0ea;
}

@media (max-width: 720px) {
  .nwa-exhibit__bar {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .nwa-exhibit__title,
  .nwa-exhibit__hint {
    text-align: left;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nwa-exhibit__img,
  .nwa-exhibit__wash,
  .nwa-exhibit__label {
    transition: none;
  }
}
