/* === SAIL: powiększanie grafik w bazie wiedzy === */
.article img:not(.logo):not(.logo-footer),
.main-content img:not(.logo):not(.logo-footer){
  cursor: zoom-in;
}
.article img:not(.logo):not(.logo-footer):hover,
.main-content img:not(.logo):not(.logo-footer):hover{
  filter: brightness(1.02);
}
.sail-lightbox{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(3, 18, 38, .88);
  box-sizing: border-box;
}
.sail-lightbox.is-open{
  display: flex;
}
.sail-lightbox__stage{
  position: relative;
  max-width: 96vw;
  max-height: 92vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  text-align: center;
}
.sail-lightbox__img{
  display: block;
  width: auto;
  height: auto;
  max-width: 94vw;
  max-height: 86vh;
  margin: 0 auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
  cursor: zoom-out;
}
.sail-lightbox__caption{
  display: none;
  margin: 12px auto 0;
  max-width: 900px;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  opacity: .92;
}
.sail-lightbox__caption:not(:empty){
  display: block;
}
.sail-lightbox__close{
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 100000;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #062b5f;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.sail-lightbox__hint{
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  background: rgba(0,0,0,.22);
  border-radius: 999px;
  padding: 7px 12px;
  pointer-events: none;
}
body.sail-lightbox-open{
  overflow: hidden;
}
@media(max-width:760px){
  .sail-lightbox{padding:12px;align-items:center;}
  .sail-lightbox__img{max-width:96vw;max-height:82vh;border-radius:10px;}
  .sail-lightbox__close{top:10px;right:10px;width:42px;height:42px;font-size:26px;}
  .sail-lightbox__hint{display:none;}
}
