.gallery-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--header-height, 7.83rem) + 2rem) 1.25rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.gallery-page h1.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  margin: 0 0 1.5rem;
}

.gallery-filter {
  color: inherit;
  text-decoration: none;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 150ms ease, opacity 150ms ease;
  opacity: 0.6;
}
.gallery-filter:hover, .gallery-filter:focus-visible {
  opacity: 1;
}
.gallery-filter.is-active {
  opacity: 1;
  border-bottom-color: var(--brand-gold-color, #cda74e);
}

.gallery-grid {
  width: 100%;
  -moz-columns: 3 280px;
       columns: 3 280px;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}

.gallery-item {
  margin: 0 0 1rem;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
}
.gallery-item[hidden] {
  display: none;
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  line-height: 0;
}
.gallery-open img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  transition: opacity 200ms ease, transform 300ms ease;
}
.gallery-open:hover img, .gallery-open:focus-visible img {
  opacity: 0.88;
  transform: scale(1.01);
}
.gallery-open:focus-visible {
  outline: 2px solid var(--brand-gold-color, #cda74e);
  outline-offset: 3px;
}

.gallery-empty {
  opacity: 0.7;
  padding: 2rem 0;
}

.gallery-lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox[open] {
  display: flex;
}
.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.86);
}
.gallery-lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 88dvh;
  width: auto;
  height: auto;
  border-radius: 3px;
}

.gallery-lightbox__close {
  position: fixed;
  top: 1.2rem;
  right: 1.6rem;
  z-index: 1;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.gallery-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background 200ms ease;
}
.gallery-lightbox__nav:hover {
  background: rgba(0, 0, 0, 0.75);
}
.gallery-lightbox__nav--prev {
  left: 1.2rem;
}
.gallery-lightbox__nav--next {
  right: 1.2rem;
}
.gallery-lightbox__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-open img {
    transition: none;
  }
  .gallery-open:hover img {
    transform: none;
  }
}

/*# sourceMappingURL=gallery.css.map */