.gallery a.gallery-item{
  display:block;
  border-radius:16px;
  overflow:hidden;
  cursor: zoom-in;
  line-height:0;
}
.gallery a.gallery-item img,
.gallery img{
  cursor: zoom-in;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.gallery a.gallery-item:hover img,
.gallery img:hover{
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 40px rgba(0,31,77,.16);
  opacity: .96;
}
.ssok-lightbox-open{
  overflow: hidden;
}
.ssok-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(5,18,35,.88);
  backdrop-filter: blur(12px);
}
.ssok-lightbox.is-open{
  display: flex;
}
.ssok-lightbox__figure{
  margin: 0;
  max-width: min(1180px, 92vw);
  max-height: 88vh;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.ssok-lightbox__img{
  max-width: min(1180px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 120px rgba(0,0,0,.45);
  background: #fff;
}
.ssok-lightbox__caption{
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 14px;
  opacity: .86;
}
.ssok-lightbox__close,
.ssok-lightbox__nav{
  position: absolute;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.ssok-lightbox__close:hover,
.ssok-lightbox__nav:hover{
  background: rgba(255,255,255,.22);
  transform: translateY(-1px);
}
.ssok-lightbox__close{
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  font-size: 36px;
  line-height: 1;
}
.ssok-lightbox__nav{
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  font-size: 52px;
  line-height: 1;
  padding-bottom: 6px;
}
.ssok-lightbox__prev{ left: 22px; }
.ssok-lightbox__next{ right: 22px; }
@media (max-width: 720px){
  .ssok-lightbox{padding: 18px;}
  .ssok-lightbox__nav{width:44px;height:44px;font-size:40px;}
  .ssok-lightbox__prev{left:10px;}
  .ssok-lightbox__next{right:10px;}
  .ssok-lightbox__close{top:10px;right:10px;width:42px;height:42px;font-size:30px;}
  .ssok-lightbox__img{max-width:96vw;max-height:78vh;border-radius:12px;}
}
