.tk-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  width: 100%;
  height: 100%;
}
.tk-lightbox.is-open {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: tkFadeIn 0.3s ease-out;
}
.tk-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  background: rgba(59, 26, 26, 0.9);
  width: 100%;
  height: 100%;
}
.tk-lightbox-content {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.tk-lightbox-figure {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  margin: 0;
  width: 100%;
  max-width: 90vw;
  max-height: 90vh;
  pointer-events: auto;
}
.tk-lightbox-img {
  width: 100%;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}
.tk-lightbox-caption {
  margin-top: 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  text-align: center;
}
.tk-lightbox-close, .tk-lightbox-prev, .tk-lightbox-next {
  position: absolute;
  z-index: 10;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  padding: 10px;
  pointer-events: auto;
  color: #fff;
  font-size: 2rem;
}
.tk-lightbox-close:hover, .tk-lightbox-prev:hover, .tk-lightbox-next:hover {
  opacity: 0.7;
}
.tk-lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 3rem;
  line-height: 1;
}
.tk-lightbox-prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}
.tk-lightbox-next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

@keyframes tkFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}