/* The three labels follow the order approved in the client's collages. */
.sirolimus-stage {
  display: block;
}
.foogallery-image-viewer .fg-item-inner:has(> a.sirolimus-stages) .fg-caption,
.foogallery-image-viewer .fg-item-inner:has(> a.sirolimus-stages) .fg-caption-inner,
.foogallery-image-viewer .fg-item-inner:has(> a.sirolimus-stages) .fg-caption-desc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  opacity: 1;
  transform: none;
  pointer-events: none;
}
.foogallery-image-viewer .fg-item-inner:has(> a.sirolimus-stages) .sirolimus-stage {
  position: absolute;
  top: 2%;
  left: 3%;
  max-width: 90%;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(25, 40, 33, .92);
  color: #fff;
  font: 600 14px/1.4 sans-serif;
  text-align: left;
}
.foogallery-image-viewer .fg-item-inner:has(> a.sirolimus-stages) .sirolimus-stage:nth-child(2) {
  top: 35%;
}
.foogallery-image-viewer .fg-item-inner:has(> a.sirolimus-stages) .sirolimus-stage:nth-child(3) {
  top: 67.5%;
}

/* The lightbox lists the stages in their top-to-bottom order. */
.fg-media-caption-title:has(.sirolimus-stage) {
  display: none;
}
.fg-media-caption-description:has(.sirolimus-stage)::before {
  content: "Od góry:";
  display: block;
  font-weight: 600;
}
