.gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: none;
  overflow: hidden;
}
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.facebook-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font: bold 32px/1 Arial, sans-serif;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.facebook-contact { background: #1877f2; }
.facebook-contact span { display: inline-block; margin-right: 8px; font: bold 20px/1 Arial, sans-serif; }
.gallery-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}
.gallery-open:hover img { transform: scale(1.04); }
.gallery-lightbox {
  width: min(1100px, 94vw);
  height: min(88vh, 850px);
  padding: 58px 18px 16px;
  border: 0;
  border-radius: 8px;
  background: #17100d;
  color: #fff;
  overflow: hidden;
}
.gallery-lightbox::backdrop { background: #120b08dd; }
.hero { min-width: 0; overflow: hidden; }
.hero > *,
.hero-img { min-width: 0; width: 100%; }
.hero-img { display: block; overflow: hidden; }
.hero-img img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 900px) {
  .hero-img { height: 500px; }
}
.lightbox-stage {
  display: block;
  width: 100%;
  height: calc(100% - 42px);
  overflow: auto;
  overscroll-behavior: contain;
}
.lightbox-canvas {
  display: grid;
  place-items: center;
  min-width: 100%;
  min-height: 100%;
}
.lightbox-stage.is-zoomed { cursor: grab; }
.lightbox-stage.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto;
}
.lightbox-stage img {
  display: block;
  max-width: none;
  max-height: none;
  -webkit-user-drag: none;
  user-select: none;
}
.gallery-lightbox p {
  text-align: center;
  margin: 12px 50px 0;
  font-size: 13px;
}

.lightbox-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  padding: 4px 10px;
  z-index: 2;
}
.lightbox-controls {
  position: absolute;
  left: 50%;
  top: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
  transform: translateX(-50%);
  white-space: nowrap;
}
.lightbox-controls button {
  padding: 9px 13px;
  background: var(--copper);
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
}
.lightbox-controls .zoom-level { min-width: 62px; }
@media (max-width: 560px) {
  .hero-img { height: 420px; margin-left: 0 !important; max-width: 100% !important; }
  .hero > div { max-width: 100%; overflow: hidden; }
  header { gap: 8px; }
  header .logo span { width: 128px; }
  .header-actions { gap: 7px; }
  .facebook-icon { width: 40px; height: 40px; flex-basis: 40px; font-size: 27px; }
  .header-actions .btn { padding: 12px 10px; font-size: 12px; }
  .gallery-lightbox { width: 98vw; height: 92vh; padding: 58px 8px 12px; }
  .lightbox-controls { gap: 4px; }
  .lightbox-controls button { padding: 9px 8px; font-size: 11px; }
  .lightbox-controls .zoom-level { min-width: 52px; }
  .lightbox-close { right: 2px; }
}

@media (min-width: 901px) {
  header nav { gap: 18px; }
  header nav a {
    padding: 10px 12px;
    font-size: 17px;
    transition: background-color .2s, color .2s;
  }
  header nav a:hover,
  header nav a:focus-visible {
    background: var(--copper);
    color: #fff;
  }
}
