.page-news {
  --news-pad: clamp(40px, 6vw, 88px);
  --news-gap: clamp(20px, 2.6vw, 34px);
  position: relative;
  background: var(--navy-deep);
  color: var(--cloud);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-news h1,
.page-news h2,
.page-news h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.015em;
}

.page-news p {
  margin: 0;
  line-height: 1.75;
}

.page-news img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Hero ---------- */
.page-news .news-hero {
  position: relative;
  padding: calc(var(--header-offset) + clamp(14px, 3vw, 38px)) 0 clamp(30px, 5vw, 62px);
  background:
    radial-gradient(1100px 520px at 88% -18%, rgba(255, 90, 31, 0.32), transparent 60%),
    radial-gradient(760px 440px at -10% 6%, rgba(30, 155, 255, 0.22), transparent 62%),
    linear-gradient(168deg, var(--navy) 0%, var(--navy-deep) 74%);
  overflow: hidden;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--flame) 0%, var(--gold) 38%, var(--jade) 68%, var(--sky) 100%);
}

.page-news .news-hero__inner {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  max-width: 940px;
}

.page-news .news-crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
}

.page-news .news-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(247, 244, 239, 0.35);
}

.page-news .news-crumbs a {
  color: rgba(247, 244, 239, 0.72);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.page-news .news-crumbs a:hover {
  color: var(--flame);
}

.page-news .news-crumbs [aria-current="page"] {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.page-news .news-hero__kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--sky);
  font-weight: 700;
}

.page-news .news-hero__title {
  font-size: clamp(34px, 6.4vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--cloud);
}

.page-news .news-hero__lede {
  font-size: clamp(16px, 1.7vw, 19px);
  color: rgba(247, 244, 239, 0.78);
  max-width: 58ch;
}

.page-news .news-hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 52px);
  margin: 8px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-news .news-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .news-stat__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--flame);
}

.page-news .news-stat__label {
  font-size: 13px;
  color: rgba(247, 244, 239, 0.62);
  letter-spacing: 0.02em;
}

/* ---------- Feature ---------- */
.page-news .news-feature {
  padding: clamp(30px, 5vw, 64px) 0 var(--news-pad);
  background: var(--navy-deep);
}

.page-news .news-feature__grid {
  display: grid;
  gap: var(--news-gap);
  grid-template-columns: minmax(0, 1fr);
}

.page-news .news-feature__main {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.page-news .news-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background: linear-gradient(140deg, var(--indigo), var(--navy-deep));
}

.page-news .news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .news-media--feature {
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-2);
}

.page-news .news-media--side {
  aspect-ratio: 7 / 4;
}

.page-news .news-feature__body {
  display: grid;
  gap: 14px;
}

.page-news .news-feature__body h2 {
  font-size: clamp(25px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.14;
  color: var(--cloud);
}

.page-news .news-feature__body p {
  font-size: 16.5px;
  color: rgba(247, 244, 239, 0.78);
}

.page-news .news-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--flame);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-news .news-tag--jade {
  background: var(--jade);
  color: var(--navy);
}

.page-news .news-tag--gold {
  background: var(--gold);
  color: var(--navy);
}

.page-news .news-tag--ghost {
  background: transparent;
  border: 1px solid var(--glass-line);
  color: var(--sky);
}

.page-news .news-facts {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 6px 0 0;
  padding: 0;
}

.page-news .news-facts li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 13px;
  font-size: 15px;
  line-height: 1.68;
  color: rgba(247, 244, 239, 0.84);
}

.page-news .news-facts li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.page-news .news-feature__side {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  align-content: start;
}

.page-news .news-panel {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-card);
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--shadow-1);
  transition: border-color 220ms var(--ease);
}

.page-news .news-panel:hover {
  border-color: rgba(255, 90, 31, 0.55);
}

.page-news .news-panel h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 16px;
}

.page-news .news-pace__list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.page-news .news-pace__list li {
  display: grid;
  gap: 4px;
  padding-bottom: 13px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}

.page-news .news-pace__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-news .news-pace__key {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  color: var(--sky);
}

.page-news .news-pace__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(247, 244, 239, 0.74);
}

.page-news .news-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-chip {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(247, 244, 239, 0.86);
}

/* ---------- Section head ---------- */
.page-news .news-head {
  display: grid;
  gap: 12px;
  max-width: 64ch;
  margin-bottom: clamp(26px, 3.6vw, 46px);
}

.page-news .news-head__eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--flame);
}

.page-news .news-head h2 {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--navy);
}

.page-news .news-head__lede {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(42, 47, 58, 0.74);
}

/* ---------- Log ---------- */
.page-news .news-log {
  background: var(--cloud);
  color: var(--graphite);
  padding: var(--news-pad) 0;
}

.page-news .news-log__grid {
  display: grid;
  gap: clamp(26px, 3.4vw, 44px);
  grid-template-columns: minmax(0, 1fr);
}

.page-news .log-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-news .log-filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .log-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 27, 58, 0.16);
  background: #fff;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-news .log-chip:hover {
  border-color: var(--flame);
  color: var(--flame);
}

.page-news .log-filter-input:checked + .log-chip {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--navy);
}

.page-news .log-filter-input:focus-visible + .log-chip {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.page-news .log-rows {
  flex: 1 0 100%;
  margin-top: 22px;
}

.page-news #logf-entry:checked ~ .log-rows .log-row:not([data-tag="entry"]),
.page-news #logf-board:checked ~ .log-rows .log-row:not([data-tag="board"]),
.page-news #logf-zone:checked ~ .log-rows .log-row:not([data-tag="zone"]) {
  display: none;
}

.page-news .log-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 20px;
  padding: 18px 0 18px 16px;
  border-top: 1px solid rgba(255, 90, 31, 0.28);
  transition: background 220ms var(--ease);
}

.page-news .log-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: var(--flame);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 220ms var(--ease);
}

.page-news .log-row:hover::before {
  transform: scaleY(1);
}

.page-news .log-row:hover {
  background: linear-gradient(90deg, rgba(255, 90, 31, 0.07), rgba(255, 90, 31, 0) 68%);
}

.page-news .log-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
}

.page-news .log-row__stage {
  color: var(--sky-deep);
  font-weight: 700;
}

.page-news .log-row__ver {
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  background: rgba(11, 27, 58, 0.08);
  color: var(--navy);
  font-weight: 700;
}

.page-news .log-row__when {
  color: rgba(42, 47, 58, 0.55);
}

.page-news .log-row__body h3 {
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 800;
  line-height: 1.38;
  color: var(--navy);
}

.page-news .log-row__body p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(42, 47, 58, 0.78);
}

.page-news .log-row__more {
  margin-top: 12px;
}

.page-news .log-row__more summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sky-deep);
}

.page-news .log-row__more summary::-webkit-details-marker {
  display: none;
}

.page-news .log-row__more summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  transition: transform 220ms var(--ease);
}

.page-news .log-row__more[open] summary::after {
  transform: rotate(45deg);
}

.page-news .log-row__more p {
  margin-top: 9px;
}

.page-news .news-log__side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-news .news-side-note {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--flame);
  border-radius: 4px var(--radius-card) var(--radius-card) 4px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(42, 47, 58, 0.78);
}

.page-news .text-link {
  color: var(--sky-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 180ms var(--ease);
}

.page-news .text-link:hover {
  color: var(--flame);
}

/* ---------- Topics ---------- */
.page-news .news-topics {
  padding: var(--news-pad) 0;
  background: linear-gradient(168deg, var(--indigo) 0%, var(--navy) 60%, var(--navy-deep) 100%);
  color: var(--cloud);
}

.page-news .news-topics .news-head h2 {
  color: var(--cloud);
}

.page-news .news-topics .news-head__lede {
  color: rgba(247, 244, 239, 0.76);
}

.page-news .news-topics__grid {
  display: grid;
  gap: var(--news-gap);
  grid-template-columns: minmax(0, 1fr);
}

.page-news .topic-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.page-news .topic-card:hover {
  transform: translateY(-4px);
  border-color: var(--flame);
}

.page-news .topic-card__media {
  background: linear-gradient(140deg, var(--indigo), var(--navy-deep));
}

.page-news .topic-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .topic-card--weekly .topic-card__media {
  aspect-ratio: 3 / 2;
}

.page-news .topic-card--commute .topic-card__media {
  aspect-ratio: 1 / 1;
}

.page-news .topic-card__body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(18px, 2.2vw, 26px);
}

.page-news .topic-card__body h3 {
  font-size: clamp(19px, 2.3vw, 26px);
  font-weight: 900;
  line-height: 1.28;
  color: var(--cloud);
}

.page-news .topic-card__body p {
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(247, 244, 239, 0.78);
}

.page-news .topic-card__note {
  font-family: var(--font-mono);
  font-size: 12.5px !important;
  letter-spacing: 0.05em;
  color: var(--gold) !important;
}

.page-news .topic-card__head {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-news .topic-points {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.page-news .topic-points li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid rgba(30, 155, 255, 0.45);
}

.page-news .topic-points strong {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--sky);
}

.page-news .topic-points span {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(247, 244, 239, 0.76);
}

/* ---------- Archive ---------- */
.page-news .news-archive {
  padding: var(--news-pad) 0;
  background: var(--cloud);
  color: var(--graphite);
}

.page-news .arc-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-news .arc-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .arc-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 27, 58, 0.16);
  background: #fff;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-news .arc-chip:hover {
  border-color: var(--flame);
  color: var(--flame);
}

.page-news .arc-input:checked + .arc-chip {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cloud);
}

.page-news .arc-input:focus-visible + .arc-chip {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.page-news .arc-panels {
  flex: 1 0 100%;
  margin-top: 24px;
}

.page-news .arc-panel {
  display: none;
}

.page-news .arc-panel--project {
  display: block;
}

.page-news #arc-league:checked ~ .arc-panels .arc-panel--project {
  display: none;
}

.page-news #arc-league:checked ~ .arc-panels .arc-panel--league {
  display: block;
}

.page-news .arc-list {
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
}

.page-news .arc-list li {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 16px 18px 18px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-top: 3px solid rgba(30, 155, 255, 0.55);
  border-radius: 4px 4px 14px 14px;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}

.page-news .arc-list li:hover {
  border-top-color: var(--flame);
  transform: translateY(-2px);
}

.page-news .arc-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.page-news .arc-desc {
  font-size: 13.8px;
  line-height: 1.65;
  color: rgba(42, 47, 58, 0.7);
}

/* ---------- CTA ---------- */
.page-news .news-cta {
  padding: var(--news-pad) 0;
  background:
    radial-gradient(780px 400px at 10% 0%, rgba(255, 90, 31, 0.28), transparent 62%),
    radial-gradient(640px 360px at 96% 96%, rgba(0, 168, 143, 0.2), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cloud);
}

.page-news .news-cta__grid {
  display: grid;
  gap: clamp(24px, 3.2vw, 44px);
  grid-template-columns: minmax(0, 1fr);
}

.page-news .news-cta__copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-news .news-cta h2 {
  font-size: clamp(25px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.14;
  color: var(--cloud);
}

.page-news .news-cta__copy p {
  font-size: 16.5px;
  line-height: 1.76;
  color: rgba(247, 244, 239, 0.78);
  max-width: 58ch;
}

.page-news .news-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.page-news .news-cta__aside {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--radius-card);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-1);
}

.page-news .news-cta__aside p {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(247, 244, 239, 0.8);
}

.page-news .news-cta .text-link {
  color: var(--gold);
}

.page-news .news-cta .text-link:hover {
  color: var(--flame);
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .page-news .log-row {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 6px 22px;
  }

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

@media (min-width: 940px) {
  .page-news .news-feature__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-news .news-topics__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-news .topic-card--weekly {
    grid-column: span 4;
  }

  .page-news .topic-card--commute {
    grid-column: span 2;
  }

  .page-news .topic-card--compare {
    grid-column: span 6;
  }

  .page-news .topic-card--compare .topic-card__body {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
    padding: clamp(24px, 2.8vw, 34px);
  }

  .page-news .news-cta__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .page-news .news-log__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }

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

@media (min-width: 1240px) {
  .page-news .news-hero__inner {
    max-width: 1020px;
  }

  .page-news .news-log__grid {
    gap: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
