/* ── ARTICLE IMAGE LIGHTBOX ── */

.alb-img-trigger {
  cursor: zoom-in !important;
}

.alb-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9800;
  background: rgba(8, 16, 28, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.alb-backdrop.alb-visible {
  opacity: 1;
}

.alb-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
  max-height: 92vh;
  transform: scale(0.92);
  transition: transform 0.22s ease;
}
.alb-backdrop.alb-visible .alb-inner {
  transform: scale(1);
}

.alb-img {
  display: block;
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.alb-caption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-family: Inter, sans-serif;
  text-align: center;
  max-width: 680px;
  line-height: 1.5;
}

.alb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  z-index: 9801;
}
.alb-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.alb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  z-index: 9801;
  user-select: none;
}
.alb-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}
.alb-nav.alb-prev { left: 16px; }
.alb-nav.alb-next { right: 16px; }
.alb-nav.alb-hidden { display: none; }

.alb-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-family: Inter, sans-serif;
  z-index: 9801;
}

@media (max-width: 600px) {
  .alb-img {
    max-height: 72vh;
    border-radius: 8px;
  }
  .alb-nav.alb-prev { left: 6px; }
  .alb-nav.alb-next { right: 6px; }
  .alb-nav {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .alb-close {
    top: 12px;
    right: 12px;
  }
}
