/* NN ZigZag Timeline – FIXED dashed connector (desktop + mobile) */
.nnzz{font-size:16px;line-height:1.6}
.nnzz-h2{margin:0 0 10px;font-size:30px;line-height:1.15}
.nnzz-ex{margin:0 0 16px;opacity:.85}

/* Timeline grid */
.nnzz-tl{position:relative}
.nnzz-item{
  display:grid;
  grid-template-columns:1fr 40px 1fr;
  gap:14px;
  align-items:stretch;
  margin:20px 0;
  position:relative;
}

/* CENTER LINE (CONNECTED + DASHED) */
.nnzz-mid{
  position:relative;
  display:flex;
  justify-content:center;
}
.nnzz-mid::before{
  content:'';
  position:absolute;
  top:-30px;
  bottom:-30px;
  width:2px;
  background-image:repeating-linear-gradient(
    to bottom,
    rgba(245,196,0,.55),
    rgba(245,196,0,.55) 8px,
    transparent 8px,
    transparent 16px
  );
}

/* DOT */
.nnzz-dot{
  width:18px;
  height:18px;
  border-radius:999px;
  background:#f5c400;
  box-shadow:0 0 0 5px rgba(245,196,0,.25);
  margin-top:18px;
  z-index:2;
}

/* CARD */
.nnzz-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:16px;
}
.nnzz-h3{margin:0;font-size:20px;line-height:1.25}
.nnzz-meta{margin-top:8px;opacity:.9;font-size:14px}
.nnzz-sec{margin-top:12px;font-weight:800;font-size:14px}
.nnzz-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.nnzz-foot{margin-top:10px;font-size:14px;opacity:.9}

/* DATE PILL */
.nnzz-date{
  display:flex;
  align-items:center;
  justify-content:center;
}
.nnzz-date span{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  font-weight:700;
}

/* MOBILE – vertical timeline */
@media (max-width: 768px){
  .nnzz-item{
    grid-template-columns:40px 1fr;
  }
  .nnzz-mid{
    order:1;
  }
  .nnzz-card{
    order:2;
  }
  .nnzz-mid::before{
    top:-20px;
    bottom:-20px;
  }
}
/* === NN ZigZag Timeline: stronger connected dashed line + mobile support (v2.4.2) === */

/* Connected center line across ALL items */
.nnzz-tl{position:relative}
.nnzz-tl:before{
  content:'';
  position:absolute;
  left: calc(50% - 1px);
  top: 0;
  bottom: 0;
  width: 2px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.35) 8px,
    transparent 8px,
    transparent 18px
  );
  pointer-events:none;
}

/* Remove per-item line so there are no gaps */
.nnzz-mid:before{background:none !important;}

/* Make dots stand out a bit more */
.nnzz-dot{
  width: 18px;
  height: 18px;
  box-shadow: 0 0 0 5px rgba(245,196,0,.18);
}

/* Mobile: keep timeline effect (single column with left dashed line + dots) */
@media (max-width: 780px){
  .nnzz-tl:before{
    left: 12px;
  }
  .nnzz-item{
    grid-template-columns: 1fr;
    padding-left: 32px;
  }
  .nnzz-mid{
    display:block !important;
    position:absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    justify-content:center;
  }
  .nnzz-mid:before{
    content:'';
    position:absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-image: repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.35),
      rgba(255,255,255,0.35) 8px,
      transparent 8px,
      transparent 18px
    ) !important;
  }
  .nnzz-dot{
    position:absolute;
    left: 3px;
    top: 18px;
    margin-top: 0 !important;
  }
  /* Always show card on mobile */
  .nnzz-side{display:block}
  .nnzz-date{display:none}
}
