/* Shared layout for the two 2026 research-news series. Loads after news-article.css. */
.ns-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 3px;
  width: 0;
  background: #c74435;
  pointer-events: none;
}
.na-wrap {
  width: min(896px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 0.25rem;
}
.na-kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #fff0ed;
  color: #9b2c2c;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.na-wrap h1 {
  margin: 0 0 0.75rem;
  color: #1a202c;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.35;
}
.na-wrap > p:not(.na-kicker) {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
}
.na-prose h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.4rem 0 1rem;
  color: #1a202c;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  scroll-margin-top: 92px;
}
.na-prose h2 .bar,
.na-section h2 .bar {
  width: 0.375rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #c74435;
  flex: none;
}
.na-section h2 { scroll-margin-top: 92px; }
.na-prose h3 {
  margin: 1.35rem 0 0.35rem;
  color: #1a365d;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  scroll-margin-top: 92px;
}
.na-prose a {
  color: #1a365d;
  font-weight: 700;
  text-underline-offset: 3px;
}
.na-prose a:hover { color: #c74435; }
.na-figure {
  margin: 1.5rem 0;
  padding: 0.85rem 0.85rem 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.na-figure svg { display: block; width: 100%; height: auto; border: 0; border-radius: 8px; }
.na-figure figcaption { margin: 0.55rem 0 0; color: #64748b; font-size: 0.875rem; line-height: 1.55; }

.ns-toc {
  width: min(896px, calc(100% - 2rem));
  margin: 0.25rem auto 0.5rem;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.ns-toc summary {
  cursor: pointer;
  color: #1a365d;
  font-weight: 800;
}
.ns-toc summary:focus-visible { outline: 3px solid #4c9fd3; outline-offset: 3px; }
.ns-toc ol { margin: 0.65rem 0 0; padding-left: 1.25rem; }
.ns-toc li { margin: 0.28rem 0; }
.ns-toc a { color: #334155; font-weight: 650; text-decoration: none; }
.ns-toc a:hover { color: #c74435; }

.ns-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 2rem;
}
.ns-pager a,
.ns-pager span.ns-end {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 92px;
  padding: 0.9rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #1a202c;
  text-decoration: none;
}
.ns-pager a:hover { border-color: #c74435; }
.ns-pager .ns-end { color: #94a3b8; background: #f8fafc; }
.ns-pager small { color: #64748b; font-size: 0.78rem; font-weight: 800; }
.ns-pager strong {
  font-size: 0.95rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-pager .next { text-align: right; }

.ns-search {
  display: block;
  margin: 0 0 0.75rem;
}
.ns-search span {
  display: block;
  margin-bottom: 0.35rem;
  color: #1a365d;
  font-size: 0.85rem;
  font-weight: 800;
}
.ns-search input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #1a202c;
  font: inherit;
  background: #fff;
}
.ns-search input:focus { outline: 3px solid #4c9fd3; outline-offset: 2px; border-color: #1a365d; }
.ns-count { margin: 0 0 1rem; color: #64748b; font-size: 0.875rem; }
.ns-group { margin: 0 0 1.5rem; }
.ns-group h2 {
  margin: 0 0 0.75rem;
  color: #1a202c;
  font-size: 1.15rem;
}
.ns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.ns-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 0.2rem;
  padding: 1rem 1.05rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.ns-card:hover { border-color: #c74435; background: #fffdfb; }
.ns-card:focus-visible { outline: 3px solid #4c9fd3; outline-offset: 3px; }
.ns-card[hidden],
.ns-group[hidden] { display: none !important; }
.ns-no {
  grid-row: 1 / span 3;
  color: #c74435;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.ns-chip {
  color: #9b2c2c;
  font-size: 0.75rem;
  font-weight: 800;
}
.ns-card strong {
  color: #1a202c;
  font-size: 1.02rem;
  line-height: 1.45;
}
.ns-desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-cross {
  margin: 0.5rem 0 0;
  color: #64748b;
}
.ns-cross a { color: #1a365d; font-weight: 800; }

body.ns-index-page .na-wrap,
body.ns-index-page .na-article,
body.ns-index-page .na-crumb-inner {
  width: min(1120px, calc(100% - 2rem));
}
@media (min-width: 860px) {
  .ns-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .na-wrap, .ns-toc { width: min(100% - 1.5rem, 896px); }
  .ns-pager { grid-template-columns: 1fr; }
  .ns-pager .next { text-align: left; }
}
