/* Homepage gallery: reuse the original six GLGI photographs. */
.home-gallery {
  padding: clamp(64px, 7vw, 104px) 0;
  background: #fff;
  scroll-margin-top: 110px;
}
.home-gallery__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.home-gallery__eyebrow {
  margin: 0 0 12px;
  color: #916c29;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.home-gallery__header h2 {
  margin: 0;
  color: #071b35;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}
.home-gallery__intro {
  max-width: 440px;
  margin: 0;
  color: #52677a;
  line-height: 1.75;
}
.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  background: transparent;
}
.home-gallery .gallery-card-item-inner {
  min-width: 0;
  margin: 0;
}
.home-gallery .gallery-photo {
  border-radius: 12px;
  background: #e6ecf1;
}
.home-gallery .gallery-photo::before,
.home-gallery .gallery-image .icon {
  pointer-events: none;
}
.home-gallery .gallery-image .icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  top: auto;
  left: auto;
  right: 16px;
  bottom: 16px;
  transform: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #003b73;
  font-size: 18px;
  opacity: 1;
}
.home-gallery .gallery-photo > a:focus-visible {
  outline: 3px solid #eac76f;
  outline-offset: -4px;
}
.home-gallery .gallery-photo:focus-within::before {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}
.mfp-bg.home-gallery-lightbox {
  z-index: 100000;
}
.mfp-wrap.home-gallery-lightbox {
  z-index: 100001;
}
@media (max-width: 991px) {
  .home-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-gallery__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .home-gallery__intro {
    max-width: 600px;
  }
}
@media (max-width: 575px) {
  .home-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-gallery .gallery-photo img,
  .home-gallery .gallery-photo::before,
  .home-gallery .gallery-image .icon {
    transition: none;
  }
}
