/* === CAROUSEL === */
.jns-scroller-wrapper { position: relative; }
.jns-scroller {
  display: flex; overflow-x: scroll !important; overflow-y: hidden;
  scroll-behavior: smooth; scroll-snap-type: x mandatory; gap: 1.5rem;
  padding: 1rem 0 1.5rem; scrollbar-gutter: stable both-edges;
  scrollbar-width: thin; scrollbar-color: #003d80 #e6ebf5;
}
.jns-item { flex: 0 0 calc(33.333% - 1rem); scroll-snap-align: start; min-width: 250px; border-radius: 16px; transition: transform .25s ease, box-shadow .25s ease; }
.jns-link {
  display: flex; flex-direction: column; height: 100%;
  color: inherit; text-decoration: none; background: #fff; border-radius: 16px;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.jns-link:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.jns-thumb { width: 100%; height: 220px; overflow: hidden; cursor: pointer; }
.jns-thumb img, .jns-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.jns-thumb:hover img { transform: scale(1.05); }
.jns-content { background: #fff; padding: 1rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.jns-date { font-size: .85rem; color: #666; margin: 0 0 .3rem 0; }
.jns-text { font-size: .95rem; color: #333; margin: 0 0 .5rem; line-height: 1.4; }
.jns-readmore-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  background: #003d80; color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: .8rem; text-decoration: none; padding: .5rem 1rem; border-radius: 6px;
  transition: background .3s ease, transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.jns-readmore-btn:hover { background: #0056b3; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }
@media (max-width:1024px){.jns-item{flex:0 0 calc(50% - 1rem);}}
@media (max-width:600px){.jns-item{flex:0 0 calc(100% - 1rem);} .jns-thumb{height:200px;}}

/* === LIGHTBOX === */
.sifp-lightbox-overlay {
  position: fixed; inset: 0; background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.sifp-lightbox-overlay.active { opacity: 1; visibility: visible; }
.sifp-lightbox-content {
  position: relative; max-width: 90%; max-height: 90%;
  background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  overflow: hidden;
}
.sifp-lightbox-media img, .sifp-lightbox-media video {
  width: 100%; max-height: 60vh; object-fit: contain; display: block;
}
.sifp-lightbox-body { padding: 1rem 1.5rem; color: #111; line-height: 1.5; font-size: .95rem; max-height: 30vh; overflow-y: auto; }
.sifp-lightbox-headline { font-weight: 700; margin-bottom: .4rem; font-size: 1.1rem; }
.sifp-lightbox-date { color: #666; font-size: .85rem; margin-bottom: .4rem; }
.sifp-lightbox-footer { text-align: right; padding: .5rem 1.5rem 1rem; }
.sifp-instagram-link { font-size: .9rem; color: #0056b3; font-weight: 600; text-decoration: none; }
.sifp-instagram-link:hover { text-decoration: underline; }
.sifp-lightbox-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 36px; height: 36px; line-height: 36px;
  text-align: center;
  font-size: 24px; color: #333;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10000;
}
.sifp-lightbox-close:hover {
  background: #f5f5f5;
  transform: scale(1.05);
}

/* === BODY SCROLL LOCK === */
body.sifp-modal-open {
  overflow: hidden;
}