/* Accessible full-screen gallery with visible previous/next navigation. */
.anour-gallery-lightbox[hidden] { display: none !important; }
.anour-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 27, 37, .94);
  color: #fff;
  padding: 56px 78px 60px;
  box-sizing: border-box;
}
.anour-gallery-lightbox, .anour-gallery-lightbox * { box-sizing: border-box; }
.anour-gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 116px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .28);
}
.anour-gallery-lightbox__control {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(230,243,245,.17);
  color: #fff;
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: background .15s ease;
}
.anour-gallery-lightbox__control:hover { background: #086d87; }
.anour-gallery-lightbox__control:focus-visible {
  outline: 3px solid #d9ef91;
  outline-offset: 3px;
}
.anour-gallery-lightbox__control svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
.anour-gallery-lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.anour-gallery-lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.anour-gallery-lightbox__close {
  right: 18px;
  top: 14px;
  background: #d9ef91;
  color: #092c3c;
  border-color: transparent;
}
.anour-gallery-lightbox__close:hover { background: #eef8cd; }
.anour-gallery-lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #eaf4f5;
  font-size: 14px;
  letter-spacing: .04em;
}
body.anour-gallery-open { overflow: hidden; }
@media (max-width: 640px) {
 .anour-gallery-lightbox { padding: 74px 12px 78px; }
 .anour-gallery-lightbox__image { max-height: calc(100dvh - 165px); border-radius: 11px; }
 .anour-gallery-lightbox__control { width: 45px; height: 45px; }
 .anour-gallery-lightbox__prev, .anour-gallery-lightbox__next { top: auto; bottom: 14px; transform: none; }
 .anour-gallery-lightbox__prev { left: calc(50% - 114px); }
 .anour-gallery-lightbox__next { right: calc(50% - 114px); }
 .anour-gallery-lightbox__counter { bottom: 27px; }
}
.anour-gallery-lightbox__control[hidden] { display: none !important; }
