.rst-content img {
  cursor: zoom-in;
}

.os-lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 2rem;
  position: fixed;
  z-index: 10000;
}

.os-lightbox.is-open {
  display: flex;
}

.os-lightbox img {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
  max-height: calc(100vh - 4rem);
  max-width: calc(100vw - 4rem);
}

.os-lightbox-close {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.25rem;
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
}
