body.single-post .entry-content img[data-sh-lightbox-ready="true"],
body.single-post .elementor-widget-theme-post-content img[data-sh-lightbox-ready="true"],
body.single-post .sh-article img[data-sh-lightbox-ready="true"],
body.single-post .post-content img[data-sh-lightbox-ready="true"] {
  cursor: zoom-in;
}

.sh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
  background: rgba(0, 8, 7, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.sh-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.sh-lightbox__dialog {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  width: min(96vw, 1600px);
  max-height: 94vh;
  margin: 0;
}

.sh-lightbox__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: calc(94vh - 64px);
  margin: auto;
  object-fit: contain;
  border: 1px solid rgba(62, 255, 164, 0.38);
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  background: #020706;
}

.sh-lightbox__caption {
  min-height: 1.4em;
  margin: 0;
  padding: 0 52px;
  color: #d5e7df;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.sh-lightbox__caption:empty {
  display: none;
}

.sh-lightbox__close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(62, 255, 164, 0.65);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(2, 16, 13, 0.92);
  font: 400 29px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

.sh-lightbox__close:hover,
.sh-lightbox__close:focus-visible {
  background: #0d5f43;
  transform: scale(1.05);
  outline: 2px solid #3effa4;
  outline-offset: 3px;
}

body.sh-lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .sh-lightbox {
    padding: 12px;
  }

  .sh-lightbox__dialog {
    width: 100%;
    max-height: 92vh;
  }

  .sh-lightbox__image {
    max-height: calc(92vh - 54px);
    border-radius: 7px;
  }

  .sh-lightbox__caption {
    padding: 0 8px;
    font-size: 12px;
  }

  .sh-lightbox__close {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-lightbox,
  .sh-lightbox__close {
    transition: none;
  }
}

