/* Gallery block uses Tailwind utility classes (no custom CSS needed here) */
/* Lightbox */
.ttk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}
.ttk-lightbox.is-open {
  display: block;
}
.ttk-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.ttk-lightbox__dialog {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  padding: 24px;
}
.ttk-lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: min(1200px, 100%);
  justify-self: center;
}
.ttk-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: transparent;
}
.ttk-lightbox__caption {
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  padding: 0 16px;
  display: none;
}
.ttk-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ttk-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.ttk-lightbox__download {
  position: absolute;
  top: 16px;
  right: 72px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ttk-lightbox__download:hover {
  background: rgba(255, 255, 255, 0.2);
}
.ttk-lightbox__nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 32px;
  line-height: 44px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ttk-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}
.ttk-lightbox__prev {
  justify-self: start;
}
.ttk-lightbox__next {
  justify-self: end;
}

html.ttk-lightbox-open,
html.ttk-lightbox-open body {
  overflow: hidden;
}
