/* Lions_Gallery — modernes Masonry-Grid + minimaler Lightbox-Overlay */

.lions-gallery { margin: 28px 0; }
.lions-gallery-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 14px; }

.lions-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px)  { .lions-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .lions-gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

.lions-gallery-item {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #e9edf4;
  cursor: zoom-in;
  transition: transform .14s ease, box-shadow .14s ease;
}
.lions-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7,25,47,.18);
}
.lions-gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .25s ease;
}
.lions-gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lions-lb-overlay {
  position: fixed; inset: 0;
  background: rgba(7,25,47,.92);
  display: none;
  z-index: 99999;
  align-items: center; justify-content: center;
  user-select: none;
}
.lions-lb-overlay.is-open { display: flex; }
.lions-lb-img {
  max-width: 92vw; max-height: 84vh;
  border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
  background: #000;
}
.lions-lb-caption {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 1rem; max-width: 90vw; text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.lions-lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 64px; height: 64px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  font-size: 32px; cursor: pointer;
  display: grid; place-items: center;
}
.lions-lb-btn:hover { background: rgba(255,255,255,.22); }
.lions-lb-prev { left: 14px; }
.lions-lb-next { right: 14px; }
.lions-lb-close {
  position: absolute; top: 14px; right: 14px;
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  font-size: 26px; cursor: pointer; display: grid; place-items: center;
}
.lions-lb-close:hover { background: rgba(255,255,255,.22); }

@media (max-width: 520px) {
  .lions-lb-btn { width: 52px; height: 52px; font-size: 26px; }
  .lions-lb-prev { left: 8px; } .lions-lb-next { right: 8px; }
}
