/* Screeny w treści — kursor powiększenia */
.md-content article img:not(.twemoji):not(.emojione) {
  cursor: zoom-in;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
  animation: lightbox-in 0.15s ease-out;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  opacity: 0.8;
}

@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
