.gallery-fresh-hero {
  background:
    linear-gradient(#ffffffc2, #ffffffc2),
    url("./assets/gallery-original/02-_TCH0119.jpg") 50% 38% / cover no-repeat;
}

.gallery-fresh-collage .gallery-lightbox-tile {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: zoom-in;
  display: block;
  font: inherit;
  height: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: inherit;
  width: 100%;
}

.gallery-fresh-collage .gallery-lightbox-tile img {
  transition: filter 180ms ease, transform 240ms ease;
}

.gallery-fresh-collage .gallery-lightbox-tile:hover img,
.gallery-fresh-collage .gallery-lightbox-tile:focus-visible img {
  filter: brightness(0.72);
  transform: scale(1.03);
}

.gallery-fresh-collage .gallery-lightbox-label {
  align-items: center;
  background: rgba(0, 0, 0, 0.54);
  color: #fff;
  display: flex;
  font: 700 11px/1 Arial, Helvetica, sans-serif;
  inset: 0;
  justify-content: center;
  letter-spacing: 0.12em;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.gallery-fresh-collage .gallery-lightbox-tile:hover .gallery-lightbox-label,
.gallery-fresh-collage .gallery-lightbox-tile:focus-visible .gallery-lightbox-label {
  opacity: 1;
}

.gallery-fresh-collage.act-one .gallery-lightbox-tile:nth-child(3) {
  grid-row: span 2;
}

.gallery-lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  gap: 18px;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  inset: 0;
  justify-items: center;
  opacity: 0;
  padding: 70px 32px 42px;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 9999;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox figure {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0;
  max-height: 100%;
  min-width: 0;
}

.gallery-lightbox img {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  display: block;
  max-height: calc(100vh - 150px);
  max-width: min(1120px, 82vw);
  object-fit: contain;
}

.gallery-lightbox figcaption {
  color: rgba(255, 255, 255, 0.76);
  font: 13px/1.4 Arial, Helvetica, sans-serif;
  min-height: 18px;
  text-align: center;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.gallery-lightbox-close {
  height: 44px;
  position: absolute;
  right: 22px;
  top: 20px;
  width: 44px;
}

.gallery-lightbox-close::before,
.gallery-lightbox-close::after {
  background: currentColor;
  content: "";
  height: 2px;
  position: absolute;
  width: 21px;
}

.gallery-lightbox-close::before {
  transform: rotate(45deg);
}

.gallery-lightbox-close::after {
  transform: rotate(-45deg);
}

.gallery-lightbox-nav {
  border-radius: 999px;
  font: 30px/1 Georgia, "Times New Roman", serif;
  height: 52px;
  width: 52px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .gallery-fresh-collage.act-one .gallery-lightbox-tile:nth-child(3) {
    grid-row: span 1;
  }

  .gallery-lightbox {
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    padding: 68px 12px 28px;
  }

  .gallery-lightbox img {
    max-height: calc(100vh - 144px);
    max-width: 100%;
  }

  .gallery-lightbox-nav {
    height: 38px;
    width: 38px;
  }
}
