/* === net-content-imgs v1 (float + lightbox) === */
html body figure.nci-fig,
html body figure.ci-fig {
  width: calc(50% - 0.7rem) !important;
  max-width: calc(50% - 0.7rem) !important;
  margin: 0.4rem 0 1rem !important;
  padding: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
html body figure.nci-fig.nci-fig--left,
html body figure.ci-fig.ci-fig--left {
  float: left !important;
  margin-right: 1.25rem !important;
  margin-left: 0 !important;
  clear: left;
}
html body figure.nci-fig.nci-fig--right,
html body figure.ci-fig.ci-fig--right {
  float: right !important;
  margin-left: 1.25rem !important;
  margin-right: 0 !important;
  clear: right;
}
html body figure.nci-fig img,
html body figure.ci-fig img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  cursor: zoom-in !important;
}
html body figure.nci-fig figcaption,
html body figure.ci-fig figcaption {
  display: block !important;
  margin-top: 8px !important;
  padding: 0 4px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #6b7280 !important;
  font-family: Inter, system-ui, sans-serif !important;
  text-align: center !important;
}
html body article::after,
html body .oldd-article::after,
html body .cagh-article::after,
html body .gnoc-article::after,
html body .dnpe-article::after,
html body .oldd-section::after,
html body section::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}
html body h2 {
  clear: both;
}

/* lightbox */
html body.nci-lb-open {
  overflow: hidden !important;
}
.nci-lb {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 12, 14, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-sizing: border-box;
}
.nci-lb.is-open {
  display: flex;
  animation: nciLbIn 0.18s ease;
}
@keyframes nciLbIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.nci-lb__stage {
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.nci-lb__img {
  max-width: 100%;
  max-height: min(82vh, 900px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  object-fit: contain;
  background: #111;
}
.nci-lb__cap {
  margin: 0;
  max-width: 42rem;
  text-align: center;
  color: rgba(250, 248, 245, 0.9);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
.nci-lb__close {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 248, 245, 0.12);
  color: #faf8f5;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 100001;
}
.nci-lb__close:hover {
  background: rgba(201, 162, 39, 0.85);
}

@media (max-width: 768px) {
  html body figure.nci-fig,
  html body figure.nci-fig.nci-fig--left,
  html body figure.nci-fig.nci-fig--right,
  html body figure.ci-fig,
  html body figure.ci-fig.ci-fig--left,
  html body figure.ci-fig.ci-fig--right {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1rem 0 1.25rem !important;
    clear: both !important;
  }
  .nci-lb {
    padding: 12px;
  }
}
/* === /net-content-imgs v1 === */
