/* IKBase Image Lightbox */

body.ikb-lightbox-open {
  overflow: hidden;
}

.ikb-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ikb-lightbox-overlay.is-open {
  display: flex;
}

.ikb-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.ikb-lightbox-image {
  max-width: 90vw;
  max-height: 80vh;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
}

.ikb-lightbox-caption {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-top: 10px;
}

.ikb-lightbox-close,
.ikb-lightbox-prev,
.ikb-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ikb-lightbox-prev { left: -50px; }
.ikb-lightbox-next { right: -50px; }

.ikb-lightbox-close {
  top: 20px;
  right: 20px;
  transform: none;
}

@media (max-width: 640px) {
  .ikb-lightbox-prev { left: -10px; }
  .ikb-lightbox-next { right: -10px; }
}


