.page-news {
  --news-green: var(--neon);
  --news-purple: var(--volt);
  --news-gold: var(--gold);
  --news-panel: rgba(234, 240, 255, 0.045);
  background:
    radial-gradient(ellipse 80% 40% at 12% -5%, rgba(177, 78, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 34% at 96% 12%, rgba(57, 255, 136, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(10, 14, 39, 0) 70%, rgba(5, 8, 26, 0.7) 100%),
    var(--space);
}

.page-news .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0 0.5rem;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--stardust);
}

.page-news .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--volt);
  margin-right: 0.5rem;
}

.page-news .breadcrumb-link {
  color: var(--neon);
  text-decoration: none;
  transition: color var(--fast);
}

.page-news .breadcrumb-link:hover,
.page-news .breadcrumb-link:focus-visible {
  color: var(--cloud);
}

.page-news .news-masthead {
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
}

.page-news .masthead-art {
  position: relative;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(177, 78, 255, 0.34);
  box-shadow:
    0 20px 60px rgba(5, 8, 26, 0.55),
    0 0 22px rgba(177, 78, 255, 0.16);
}

.page-news .masthead-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .masthead-flag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--space);
  background: var(--neon);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 12px rgba(57, 255, 136, 0.35);
}

.page-news .masthead-copy {
  position: relative;
  padding-top: 0.25rem;
}

.page-news .masthead-copy h1 {
  font-family: var(--font-headline);
  font-size: clamp(1.95rem, 5vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0.6rem 0 1rem;
  color: var(--cloud);
  max-width: 15em;
}

.page-news .masthead-lede {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.8;
  color: var(--stardust);
  max-width: 44em;
}

.page-news .masthead-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(177, 78, 255, 0.2);
}

.page-news .masthead-index a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--cloud);
  text-decoration: none;
  transition: color var(--fast);
}

.page-news .masthead-index a:hover,
.page-news .masthead-index a:focus-visible {
  color: var(--neon);
}

.page-news .masthead-index span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--news-gold);
}

.page-news .anchor-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1.1rem;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  background: rgba(234, 240, 255, 0.035);
  border: 1px solid rgba(177, 78, 255, 0.18);
  border-radius: var(--radius);
}

.page-news .anchor-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 14, 39, 0.6);
  color: var(--cloud);
  text-decoration: none;
  transition: background var(--fast), box-shadow var(--fast);
}

.page-news .anchor-link:hover,
.page-news .anchor-link:focus-visible {
  background: rgba(57, 255, 136, 0.08);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 136, 0.25);
}

.page-news .anchor-link-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon);
}

.page-news .anchor-link-text {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
}

.page-news .anchor-link-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--stardust);
  letter-spacing: 0.04em;
}

.page-news .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.page-news .news-main {
  min-width: 0;
}

.page-news .article-section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.page-news .section-heading {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 1.8rem;
}

.page-news .section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--neon) 0%, rgba(57, 255, 136, 0.12) 100%);
}

.page-news .section-heading-purple::before {
  background: linear-gradient(180deg, var(--volt) 0%, rgba(177, 78, 255, 0.14) 100%);
}

.page-news .section-heading-gold::before {
  background: linear-gradient(180deg, var(--gold) 0%, rgba(255, 215, 106, 0.14) 100%);
}

.page-news .section-heading h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.25;
  margin: 0.2rem 0 0.45rem;
  color: var(--cloud);
}

.page-news .section-heading p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--stardust);
  margin: 0;
  max-width: 36em;
}

.page-news .timeline {
  position: relative;
  margin-top: 1rem;
}

.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--neon) 0%, rgba(57, 255, 136, 0.16) 100%);
}

.page-news .timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.7rem;
}

.page-news .timeline-item:last-child {
  margin-bottom: 0;
}

.page-news .timeline-mark {
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(57, 255, 136, 0.45);
  border-radius: 50%;
  background: var(--space);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--neon);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, 0.06);
}

.page-news .timeline-card {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(234, 240, 255, 0.06) 0%, rgba(10, 14, 39, 0.5) 100%);
  border: 1px solid rgba(177, 78, 255, 0.2);
  transition: transform var(--fast), box-shadow var(--fast);
}

.page-news .timeline-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 36px rgba(5, 8, 26, 0.45),
    inset 0 2px 0 rgba(57, 255, 136, 0.25);
}

.page-news .mini-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin-bottom: 0.7rem;
}

.page-news .update-timestamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--stardust);
  letter-spacing: 0.03em;
}

.page-news .pulse-point {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(57, 255, 136, 0.6);
  animation: newsPulse 2s ease-out infinite;
}

.page-news .timeline-card h3 {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0 0 0.55rem;
  color: var(--cloud);
}

.page-news .timeline-card p {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--stardust);
  margin: 0 0 0.8rem;
}

.page-news .timeline-card p:last-child {
  margin-bottom: 0;
}

.page-news .stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: 1rem;
}

.page-news .stat-row > div {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.page-news .tl-image {
  margin-top: 1.2rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(177, 78, 255, 0.15);
}

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

.page-news .tl-image.compact {
  margin-top: 1.1rem;
}

.page-news .tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.page-news .tag-pill {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(177, 78, 255, 0.35);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--volt-glow, var(--volt));
  background: rgba(177, 78, 255, 0.08);
  text-decoration: none;
  transition: background var(--fast), color var(--fast);
}

.page-news .tag-pill:hover,
.page-news .tag-pill:focus-visible {
  background: rgba(57, 255, 136, 0.14);
  color: var(--neon);
  border-color: rgba(57, 255, 136, 0.35);
}

.page-news .card-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
}

.page-news .special-card {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(177, 78, 255, 0.13) 0%, rgba(10, 14, 39, 0.55) 55%, rgba(57, 255, 136, 0.04) 100%);
  border: 1px solid rgba(177, 78, 255, 0.26);
  box-shadow: 0 12px 34px rgba(5, 8, 26, 0.35);
}

.page-news .special-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: -1px;
  bottom: -6px;
  height: 6px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(177, 78, 255, 0.2);
  z-index: -1;
}

.page-news .special-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.page-news .special-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--volt);
  text-transform: uppercase;
}

.page-news .special-card h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0 0 0.7rem;
  color: var(--cloud);
}

.page-news .special-card p {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--stardust);
  margin: 0 0 0.55rem;
}

.page-news .card-note {
  font-size: 0.85rem;
  color: var(--sandstone) !important;
  border-left: 2px solid rgba(216, 201, 166, 0.5);
  padding-left: 0.75rem;
  margin-top: 0.7rem;
}

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

.page-news .glossary-item {
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(177, 78, 255, 0.2);
  border-top: 3px solid var(--volt);
  background: rgba(10, 14, 39, 0.52);
  transition: box-shadow var(--fast);
}

.page-news .glossary-item:nth-child(even) {
  border-top-color: var(--neon);
}

.page-news .glossary-item:hover {
  box-shadow: 0 10px 28px rgba(5, 8, 26, 0.45);
}

.page-news .glossary-head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.page-news .glossary-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--news-gold);
}

.page-news .glossary-head h3 {
  font-family: var(--font-headline);
  font-size: 1.12rem;
  line-height: 1.4;
  margin: 0;
  color: var(--cloud);
}

.page-news .glossary-item p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--stardust);
  margin: 0;
}

.page-news .mini-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.page-news .mini-chart .bar {
  display: block;
  padding: 0.5rem 0.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: center;
  color: var(--space);
  font-weight: 700;
}

.page-news .bar-a { background: var(--neon); }
.page-news .bar-b { background: var(--volt); }
.page-news .bar-c { background: var(--gold); }

.page-news .guide-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}

.page-news .guide-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem 0 0.4rem 1.2rem;
  border-left: 3px solid var(--gold);
}

.page-news .guide-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 215, 106, 0.18);
}

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

.page-news .guide-body {
  flex: 1;
  min-width: 0;
}

.page-news .guide-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--news-gold);
}

.page-news .guide-body h3 {
  font-family: var(--font-headline);
  font-size: 1.18rem;
  line-height: 1.4;
  margin: 0.35rem 0 0.5rem;
  color: var(--cloud);
}

.page-news .guide-body p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--stardust);
  margin: 0;
}

.page-news .news-side {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
  align-content: start;
}

.page-news .side-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(234, 240, 255, 0.04);
  border: 1px solid rgba(177, 78, 255, 0.2);
}

.page-news .side-card-top {
  background: linear-gradient(160deg, rgba(177, 78, 255, 0.2) 0%, rgba(10, 14, 39, 0.7) 100%);
}

.page-news .side-card h2 {
  font-family: var(--font-headline);
  font-size: 1.16rem;
  line-height: 1.4;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(177, 78, 255, 0.18);
  color: var(--cloud);
}

.page-news .side-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-news .side-index a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--cloud);
  text-decoration: none;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background var(--fast);
}

.page-news .side-index a:hover,
.page-news .side-index a:focus-visible {
  background: rgba(57, 255, 136, 0.08);
}

.page-news .side-index span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--neon);
}

.page-news .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-news .time-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.page-news .time-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--stardust);
  line-height: 1.6;
}

.page-news .time-list .pulse-point {
  flex: 0 0 auto;
  margin-top: 0.45rem;
}

.page-news .side-trust {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--sandstone);
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(216, 201, 166, 0.25);
}

.page-news .side-card p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--stardust);
  margin: 0;
}

@keyframes newsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57, 255, 136, 0.55); }
  50% { box-shadow: 0 0 0 5px rgba(57, 255, 136, 0); }
}

@media (min-width: 600px) {
  .page-news .anchor-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .page-news .anchor-link {
    padding: 1rem 1.1rem;
  }

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

  .page-news .special-card-feature {
    grid-column: 1 / -1;
  }

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

  .page-news .guide-item {
    flex-direction: row;
    align-items: center;
  }

  .page-news .guide-media {
    flex: 0 0 42%;
  }

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

@media (min-width: 900px) {
  .page-news .news-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .page-news .news-side {
    grid-template-columns: minmax(0, 1fr);
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
    align-self: start;
  }

  .page-news .timeline-item {
    padding-left: 3.2rem;
  }

  .page-news .timeline-card {
    padding: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .pulse-point {
    animation: none;
  }

  .page-news .timeline-card:hover {
    transform: none;
  }
}
