.gallery-wall {
  column-count: 3;
  column-gap: 1.4rem;
}

.gallery-figure {
  margin: 0 0 1.4rem;
  break-inside: avoid;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gallery-item {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border: none;
  border-radius: 0;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-caption {
  padding: 8px 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: left;
  color: var(--text);
  background: var(--background-alt);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

@media (max-width: 1000px) {
  .gallery-wall {
    column-count: 2;
  }
}
@media (max-width: 600px) {
  .gallery-wall {
    column-count: 1;
  }
}

/*# sourceMappingURL=gallery.css.map */