.page-news {
  --nb-rail: 220px;
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

.page-news .nb-crumb-sep {
  margin: 0 6px;
  color: var(--stone);
}

/* ---------- Hero ---------- */
.page-news .nb-hero {
  position: relative;
  padding: 24px 0 44px;
  background: var(--ink);
  overflow: hidden;
}

.page-news .nb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--deep);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 0 100%);
  z-index: 0;
}

.page-news .nb-hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
}

.page-news .nb-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--sage);
}

.page-news .nb-strip-no {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  padding: 3px 8px;
  letter-spacing: 0.04em;
}

.page-news .nb-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 7.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 16ch;
}

.page-news .nb-lede {
  margin: 0 0 26px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--sage);
  max-width: 48ch;
}

.page-news .nb-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(233, 227, 211, 0.16);
  border: 1px solid rgba(233, 227, 211, 0.16);
}

.page-news .nb-figures > div {
  background: var(--ink);
  padding: 12px 10px 11px;
}

.page-news .nb-figures dt {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.page-news .nb-figures dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(18px, 5vw, 27px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.page-news .nb-hero-media {
  margin: 0;
}

.page-news .nb-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--moss);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

/* ---------- Body grid ---------- */
.page-news .nb-body {
  display: grid;
  gap: 6px;
  padding-top: 6px;
  padding-bottom: 44px;
}

.page-news .nb-rail {
  border-top: 2px solid var(--yellow);
  padding-top: 14px;
  margin-bottom: 4px;
}

.page-news .nb-rail-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.page-news .nb-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .nb-rail-list a {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--moss);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sage);
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-news .nb-rail-list a:hover,
.page-news .nb-rail-list a:focus-visible {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.page-news .nb-stream {
  min-width: 0;
}

/* ---------- Section frame ---------- */
.page-news .nb-sec {
  border-top: 1px solid rgba(233, 227, 211, 0.14);
  padding: 34px 0 8px;
  scroll-margin-top: calc(var(--hd-h) + 16px);
}

.page-news .nb-sec-head .section-title {
  margin: 8px 0 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(23px, 5.4vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-news .nb-sec-lede {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--sage);
  max-width: 64ch;
}

/* ---------- Topic matrix ---------- */
.page-news .nb-topics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-bottom: 6px;
  background: rgba(233, 227, 211, 0.16);
  border: 1px solid rgba(233, 227, 211, 0.16);
}

.page-news .nb-topic {
  display: block;
  background: var(--deep);
  padding: 18px 16px 16px;
  text-decoration: none;
  color: var(--paper);
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.page-news .nb-topic:hover,
.page-news .nb-topic:focus-visible {
  background: var(--moss);
  transform: translateY(-2px);
}

.page-news .nb-topic--red {
  box-shadow: inset 3px 0 0 var(--red);
}

.page-news .nb-topic h3 {
  margin: 10px 0 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.26;
  color: var(--paper);
}

.page-news .nb-topic p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--sage);
  transition: color 0.18s var(--ease);
}

.page-news .nb-topic:hover p,
.page-news .nb-topic:focus-visible p {
  color: var(--paper);
}

.page-news .nb-topic-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--lime);
}

/* ---------- Details ---------- */
.page-news .nb-det {
  margin: 16px 0 0;
  border: 1px solid var(--moss);
  background: rgba(15, 42, 34, 0.5);
}

.page-news .nb-det summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--yellow);
  transition: color 0.18s var(--ease);
}

.page-news .nb-det summary::-webkit-details-marker {
  display: none;
}

.page-news .nb-det summary::before {
  content: "+";
  font-size: 14px;
  color: var(--lime);
}

.page-news .nb-det[open] summary::before {
  content: "–";
}

.page-news .nb-det summary:hover,
.page-news .nb-det summary:focus-visible {
  color: var(--paper);
}

.page-news .nb-det[open] summary {
  border-bottom: 1px solid var(--moss);
}

.page-news .nb-fields {
  list-style: none;
  margin: 0;
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--sage);
}

.page-news .nb-fields b {
  display: inline-block;
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--paper);
}

/* ---------- Stats ---------- */
.page-news .nb-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.page-news .nb-stat {
  background: var(--deep);
  border: 1px solid var(--moss);
  border-top: 3px solid var(--yellow);
  padding: 12px 10px 11px;
}

.page-news .nb-stat--red {
  border-top-color: var(--red);
}

.page-news .nb-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(17px, 4.6vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-news .nb-stat--red .nb-num {
  color: var(--red);
}

.page-news .nb-stat-l {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--stone);
}

/* ---------- Figures ---------- */
.page-news .nb-figure {
  margin: 0 0 24px;
}

.page-news .nb-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--moss);
  background: repeating-linear-gradient(45deg, rgba(49, 92, 76, 0.4) 0 8px, rgba(11, 15, 13, 0.4) 8px 16px);
}

.page-news .nb-figure figcaption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--stone);
}

/* ---------- Timeline ---------- */
.page-news .nb-tl {
  list-style: none;
  margin: 0 0 8px;
  padding: 2px 0 0 22px;
  border-left: 2px solid var(--moss);
}

.page-news .nb-tl li {
  position: relative;
  padding-bottom: 20px;
}

.page-news .nb-tl li:last-child {
  padding-bottom: 4px;
}

.page-news .nb-tl li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--ink);
}

.page-news .nb-tl-time {
  display: inline-block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  color: var(--yellow);
}

.page-news .nb-tl p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--sage);
}

/* ---------- Duel cards ---------- */
.page-news .nb-duels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 8px;
}

.page-news .nb-duel {
  background: var(--deep);
  border: 1px solid var(--moss);
  padding-bottom: 2px;
}

.page-news .nb-duel-band {
  height: 6px;
  background: linear-gradient(90deg, var(--clay) 0 50%, var(--lime) 50% 100%);
}

.page-news .nb-duel-kind {
  margin: 12px 16px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.page-news .nb-duel-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 16px;
  padding: 10px 0;
  border-top: 1px dashed rgba(233, 227, 211, 0.22);
  border-bottom: 1px dashed rgba(233, 227, 211, 0.22);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--paper);
}

.page-news .nb-duel-x {
  color: var(--yellow);
}

.page-news .nb-duel .nb-det {
  margin: 12px 16px;
}

/* ---------- Versions ---------- */
.page-news .nb-vers {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(233, 227, 211, 0.16);
  border: 1px solid rgba(233, 227, 211, 0.16);
}

.page-news .nb-vers li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: var(--deep);
  padding: 14px;
}

.page-news .nb-vers-no {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding-right: 8px;
  border-right: 1px solid var(--moss);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--yellow);
}

.page-news .nb-vers h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.3;
  color: var(--paper);
}

.page-news .nb-vers p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--sage);
}

/* ---------- Reels ---------- */
.page-news .nb-reels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 6px;
}

.page-news .nb-reel {
  background: rgba(15, 42, 34, 0.55);
  border: 1px solid var(--moss);
  padding: 16px;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-news .nb-reel:hover {
  transform: translateY(-2px);
  border-color: var(--lime);
}

.page-news .nb-reel-no {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lime);
}

.page-news .nb-reel h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.28;
  color: var(--paper);
}

.page-news .nb-reel p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--sage);
}

/* ---------- Cadence ---------- */
.page-news .nb-cadence {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.page-news .nb-cad {
  padding: 18px 16px;
}

.page-news .nb-cad .tag {
  display: inline-block;
  margin-bottom: 10px;
}

.page-news .nb-cad h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: var(--paper);
}

.page-news .nb-cad p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--sage);
}

.page-news .nb-note {
  margin: 0;
  padding: 12px 0 4px 14px;
  border-left: 3px solid var(--clay);
  font-size: 13px;
  line-height: 1.8;
  color: var(--stone);
}

/* ---------- Link more ---------- */
.page-news .link-more {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.page-news .link-more:hover,
.page-news .link-more:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--lime);
}

/* ---------- Next ---------- */
.page-news .nb-next {
  margin-top: 10px;
  padding: 34px 0 44px;
  background: var(--deep);
  border-top: 2px solid var(--yellow);
  border-bottom: 1px solid var(--moss);
}

.page-news .nb-next-in {
  display: grid;
  gap: 24px;
}

.page-news .nb-next .section-title {
  margin: 8px 0 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(23px, 5.4vw, 36px);
  line-height: 1.14;
  color: var(--paper);
}

.page-news .nb-next p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--sage);
  max-width: 54ch;
}

.page-news .nb-next-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .page-news .nb-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .nb-duels,
  .page-news .nb-cadence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .nb-reels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-news .nb-hero {
    padding-top: 30px;
  }
}

@media (min-width: 980px) {
  .page-news .nb-hero {
    padding: 34px 0 56px;
  }

  .page-news .nb-hero-in {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 44px;
  }

  .page-news .nb-body {
    grid-template-columns: var(--nb-rail) minmax(0, 1fr);
    gap: 44px;
    padding-top: 28px;
  }

  .page-news .nb-rail {
    position: sticky;
    top: calc(var(--hd-h) + 20px);
    align-self: start;
    margin-bottom: 0;
  }

  .page-news .nb-rail-list {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .page-news .nb-rail-list a {
    display: block;
  }

  .page-news .nb-topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-news .nb-next-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 40px;
  }

  .page-news .nb-next-actions {
    justify-content: flex-end;
  }

  .page-news .nb-sec {
    padding-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .nb-topic,
  .page-news .nb-reel,
  .page-news .nb-rail-list a,
  .page-news .link-more {
    transition: none;
  }

  .page-news .nb-topic:hover,
  .page-news .nb-reel:hover {
    transform: none;
  }
}
