/* ==========================================================================
   COMPONENTE: tela cheia para imagens (fork Marina, v1.2.63)
   Montado pelo assets/js/lightbox.js (links com data-lightbox="grupo").
   Botões escuros com filete claro: continuam visíveis sobre foto clara.
   ========================================================================== */

html.noord-lb-open { overflow: hidden; }

.noord-lb {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px clamp(8px, 5vw, 88px) 64px;
  background: rgba(8, 8, 8, 0.96);
  color: #ffffff;
  touch-action: pan-y;
}

.noord-lb[hidden] { display: none; }

.noord-lb__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  margin: 0;
}

.noord-lb__img {
  display: block;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.noord-lb__caption {
  flex: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.noord-lb__btn {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.noord-lb__btn:hover { background: rgba(40, 40, 40, 0.95); }
.noord-lb__btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.noord-lb__btn[hidden] { display: none; }

.noord-lb__close { top: 10px; right: 10px; }
.noord-lb__prev  { left: 10px; top: 50%; margin-top: -22px; }
.noord-lb__next  { right: 10px; top: 50%; margin-top: -22px; }

/* No celular as setas somem: desliza com o dedo. */
@media (hover: none) and (max-width: 767px) {
  .noord-lb__prev,
  .noord-lb__next { display: none; }
}
