@charset "UTF-8";
.block-gallery-flow .gallery-row {
  padding-bottom: 16px;
}
.block-gallery-flow .gallery-row img.gallery-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-gallery-flow .gallery-row.is-full img.gallery-photo {
  height: clamp(360px, 16rem + 39.2vw, 820px);
}
.block-gallery-flow .gallery-row.is-pair-a, .block-gallery-flow .gallery-row.is-pair-b {
  display: grid;
  gap: 16px;
}
.block-gallery-flow .gallery-row.is-pair-a img.gallery-photo, .block-gallery-flow .gallery-row.is-pair-b img.gallery-photo {
  height: clamp(280px, 16rem + 26.7vw, 640px);
}
.block-gallery-flow .gallery-row.is-pair-a {
  grid-template-columns: 1.6fr 1fr;
}
.block-gallery-flow .gallery-row.is-pair-b {
  grid-template-columns: 1fr 1.6fr;
}
@media screen and (max-width: 767px) {
  .block-gallery-flow .gallery-row.is-pair-a, .block-gallery-flow .gallery-row.is-pair-b {
    grid-template-columns: 1fr;
  }
}
.block-gallery-flow {
  /* Photos are lightbox triggers on the frontend */
}
.block-gallery-flow .gallery-photo__zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}
.block-gallery-flow .gallery-photo__zoom .settle-frame {
  display: block;
}
.block-gallery-flow .gallery-photo__zoom img.gallery-photo {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.block-gallery-flow .gallery-photo__zoom:focus-visible {
  outline: 2px solid var(--wp--custom--color--focus);
  outline-offset: -3px;
}
.block-gallery-flow {
  /*
   Scroll-in: each photo fades in as it settles (data-reveal="settle" on the
   button, observed per photo, so they arrive one by one as you scroll). In a
   pair row the second photo follows the first by 180ms.
  */
}
.reveal-ready .block-gallery-flow .gallery-photo__zoom[data-reveal=settle] .settle-frame {
  transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}
.reveal-ready .block-gallery-flow .gallery-photo__zoom[data-reveal=settle]:not(.is-revealed) .settle-frame {
  opacity: 0;
}
.reveal-ready .block-gallery-flow .gallery-row > .gallery-photo__zoom:nth-child(2) .settle-frame {
  transition-delay: 180ms;
}
.block-gallery-flow {
  /* Hover: subtle zoom on the hovered photo */
}
@media (hover: hover) {
  .block-gallery-flow .gallery-photo__zoom:hover img.gallery-photo {
    transform: scale(1.04);
  }
}
.block-gallery-flow {
  /*
   LIGHTBOX — native <dialog>; subtle zoom-in on open and on prev/next.
  */
}
.block-gallery-flow .gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
}
.block-gallery-flow .gallery-lightbox[open] {
  display: flex;
}
.block-gallery-flow .gallery-lightbox:focus {
  outline: none;
}
.block-gallery-flow .gallery-lightbox::backdrop {
  background: color-mix(in srgb, var(--wp--preset--color--primary) 96%, transparent);
}
.block-gallery-flow .gallery-lightbox__stage {
  margin: 0;
}
.block-gallery-flow .gallery-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1400px, 100vw - 150px);
  max-height: 84vh;
}
.block-gallery-flow .gallery-lightbox__img.is-in {
  animation: gallery-lb-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media screen and (max-width: 767px) {
  .block-gallery-flow .gallery-lightbox__img {
    max-width: calc(100vw - 40px);
    max-height: 76vh;
  }
}
.block-gallery-flow .gallery-lightbox__nav, .block-gallery-flow .gallery-lightbox__close {
  position: fixed;
  padding: 14px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--wp--preset--color--white);
  line-height: 0;
  transition: color 0.15s ease;
}
.block-gallery-flow .gallery-lightbox__nav:hover, .block-gallery-flow .gallery-lightbox__close:hover {
  color: var(--wp--preset--color--accent);
}
.block-gallery-flow .gallery-lightbox__nav:focus-visible, .block-gallery-flow .gallery-lightbox__close:focus-visible {
  outline: 2px solid var(--wp--custom--color--focus);
  outline-offset: 2px;
}
.block-gallery-flow .gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}
.block-gallery-flow .gallery-lightbox__nav svg {
  width: 26px;
  height: 48px;
}
.block-gallery-flow .gallery-lightbox__nav.is-prev {
  left: clamp(8px, 2vw, 34px);
}
.block-gallery-flow .gallery-lightbox__nav.is-next {
  right: clamp(8px, 2vw, 34px);
}
@media screen and (max-width: 767px) {
  .block-gallery-flow .gallery-lightbox__nav svg {
    width: 18px;
    height: 34px;
  }
}
.block-gallery-flow .gallery-lightbox__close {
  top: 18px;
  right: 20px;
}
.block-gallery-flow .gallery-lightbox__close svg {
  width: 22px;
  height: 22px;
}
.block-gallery-flow .gallery-lightbox__count {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--wp--preset--color--shade);
}

html.has-lightbox {
  overflow: hidden;
}

@keyframes gallery-lb-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .block-gallery-flow .gallery-lightbox__img.is-in {
    animation: none;
  }
  .block-gallery-flow .gallery-photo__zoom img.gallery-photo {
    transition: none;
  }
  .block-gallery-flow .gallery-photo__zoom:hover img.gallery-photo {
    transform: none;
  }
}
