.page-news {
  --news-gap: 18px;
  --news-radius: 16px;
  --news-surface: #1a1420;
  --news-surface-2: #201826;
  --news-line: #3a2d3f;
  font-family: var(--font-body);
  color: var(--c-text);
  padding-bottom: 56px;
  overflow-x: clip;
}

@keyframes news-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes news-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-news .news-hero {
  padding: 28px 16px 24px;
  background:
    radial-gradient(ellipse 80% 120% at 85% -10%, rgba(155, 92, 255, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 90% at -10% 20%, rgba(255, 43, 125, 0.14) 0%, transparent 50%);
  border-bottom: 1px solid var(--news-line);
  animation: news-fade-up 0.5s both;
}

.page-news .news-hero .breadcrumb {
  margin-bottom: 14px;
}

.page-news .news-hero-eyebrow {
  margin: 14px 0 4px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.page-news .news-hero-title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.05;
  color: var(--c-text);
}

.page-news .news-hero-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 12px;
  background: var(--grad-neon);
  border-radius: var(--radius-pill);
}

.page-news .news-hero-lead {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text-dim);
}

.page-news .news-timeline {
  margin: 24px 16px 0;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  border-radius: var(--news-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.page-news .news-timeline-track {
  position: relative;
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 18px 12px 22px;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(13, 11, 15, 0.5), var(--c-base) 75%);
}

.page-news .news-timeline-track::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-neon), var(--c-rose), var(--c-gold));
  opacity: 0.45;
  border-radius: 2px;
}

.page-news .news-timeline-node {
  position: relative;
  flex: 0 0 108px;
  padding: 18px 8px 0;
  text-align: center;
}

.page-news .news-timeline-dot {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 0 10px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 12px rgba(245, 197, 66, 0.8);
}

.page-news .news-timeline-ver {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--c-text);
}

.page-news .news-timeline-label {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-news .news-layout {
  max-width: 100%;
  padding: 0 16px;
}

.page-news .news-sidenav {
  margin-top: 28px;
  padding: 0;
}

.page-news .news-sidenav-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-rose);
}

.page-news .news-toc {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-toc-link {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid var(--news-line);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--c-text-dim);
  background: rgba(26, 20, 32, 0.8);
  text-decoration: none;
  transition: color var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.page-news .news-toc-link:hover {
  color: var(--c-text);
  border-color: var(--c-neon);
  box-shadow: var(--shadow-neon);
}

.page-news .news-sidenav-card {
  margin-top: 14px;
  padding: 16px;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.page-news .news-sidenav-version {
  display: block;
  margin: 8px 0 4px;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--c-gold);
}

.page-news .news-sidenav-card p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-dim);
}

.page-news .news-sidenav-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--news-line);
}

.page-news .news-sidenav-nav a {
  font-size: 13px;
  color: var(--c-neon);
  text-decoration: none;
  transition: color var(--ease);
}

.page-news .news-sidenav-nav a:hover {
  color: var(--c-rose);
}

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

.page-news .news-section {
  margin-bottom: 40px;
}

.page-news .news-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--news-line);
}

.page-news .news-section-head .section-title {
  margin: 0;
  font-size: 1.5rem;
}

.page-news .news-section-head .news-section-meta {
  margin-left: auto;
}

.page-news .news-card {
  position: relative;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  animation: news-fade-up 0.45s both;
}

.page-news .news-card:nth-child(2) {
  animation-delay: 60ms;
}

.page-news .news-card:nth-child(3) {
  animation-delay: 120ms;
}

.page-news .news-card:hover {
  border-color: rgba(155, 92, 255, 0.6);
  box-shadow: 0 0 20px rgba(155, 92, 255, 0.25);
}

.page-news .news-card-feature {
  display: grid;
  gap: 0;
}

.page-news .news-card-media {
  min-height: 160px;
  background: var(--news-surface-2);
  overflow: hidden;
}

.page-news .news-card-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 8 / 5;
}

.page-news .news-card-body {
  padding: 18px;
}

.page-news .news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-news .news-tag {
  display: inline-flex;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
}

.page-news .news-tag-new {
  color: var(--c-neon);
  background: rgba(155, 92, 255, 0.14);
  border: 1px solid rgba(155, 92, 255, 0.4);
}

.page-news .news-tag-opt {
  color: var(--c-rose);
  background: rgba(255, 43, 125, 0.12);
  border: 1px solid rgba(255, 43, 125, 0.35);
}

.page-news .news-tag-fix {
  color: var(--c-gold);
  background: rgba(245, 197, 66, 0.12);
  border: 1px solid rgba(245, 197, 66, 0.35);
}

.page-news .news-time {
  margin-left: auto;
  font-size: 13px;
  color: var(--c-text-dim);
}

.page-news .news-card-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--c-text);
}

.page-news .news-card-summary {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text-dim);
}

.page-news .news-details {
  border-top: 1px solid var(--news-line);
  margin-top: 10px;
  padding-top: 8px;
}

.page-news .news-details summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-neon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--ease);
}

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

.page-news .news-details summary::after {
  content: "+";
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  color: var(--c-rose);
  transition: transform var(--ease);
}

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

.page-news .news-details-body {
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(13, 11, 15, 0.6);
  border-left: 2px solid var(--c-neon);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.page-news .news-details[open] .news-details-body {
  animation: news-reveal 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-news .news-details-body p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-dim);
}

.page-news .news-details-body p:last-child {
  margin-bottom: 0;
}

.page-news .news-version {
  margin-bottom: 12px;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--ease);
}

.page-news .news-version:hover {
  border-color: rgba(155, 92, 255, 0.45);
}

.page-news .news-version summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(90deg, rgba(155, 92, 255, 0.06), transparent 60%);
  transition: background var(--ease);
}

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

.page-news .news-version summary:hover {
  background: rgba(155, 92, 255, 0.1);
}

.page-news .news-version summary::after {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-neon);
  border-bottom: 2px solid var(--c-neon);
  transform: rotate(45deg);
  transition: transform var(--ease);
}

.page-news .news-version[open] summary::after {
  transform: rotate(225deg);
}

.page-news .news-version-code {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--c-gold);
}

.page-news .news-version-tagline {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
}

.page-news .news-version-date {
  font-size: 12px;
  color: var(--c-text-dim);
  padding: 4px 10px;
  background: rgba(245, 197, 66, 0.1);
  border-radius: var(--radius-pill);
}

.page-news .news-version-body {
  padding: 14px 16px 18px;
  border-top: 1px solid var(--news-line);
  background: rgba(13, 11, 15, 0.4);
}

.page-news .news-version[open] .news-version-body {
  animation: news-reveal 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-news .news-version-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-dim);
}

.page-news .news-series-grid {
  display: grid;
  gap: 18px;
}

.page-news .news-series-card {
  position: relative;
  padding: 22px 18px;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.page-news .news-series-card:hover {
  border-color: rgba(255, 43, 125, 0.5);
  box-shadow: 0 0 20px rgba(255, 43, 125, 0.12);
}

.page-news .news-series-num {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--c-rose);
}

.page-news .news-series-title {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--c-text);
}

.page-news .news-series-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-dim);
}

.page-news .news-series-card--featured {
  background: linear-gradient(160deg, rgba(255, 43, 125, 0.08), rgba(155, 92, 255, 0.04) 55%, var(--news-surface));
}

.page-news .news-series-media {
  margin: 12px 0 4px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--news-line);
}

.page-news .news-series-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
}

.page-news .news-inline-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-neon);
  text-decoration: none;
  border-bottom: 1px dashed rgba(155, 92, 255, 0.5);
  transition: color var(--ease), border-color var(--ease);
}

.page-news .news-inline-link:hover {
  color: var(--c-rose);
  border-color: var(--c-rose);
}

.page-news .news-notice {
  display: grid;
  gap: 18px;
}

.page-news .news-notice-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--news-line);
  background: var(--news-surface);
}

.page-news .news-notice-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
}

.page-news .news-notice-body {
  display: grid;
  gap: 12px;
}

.page-news .news-notice-item {
  position: relative;
  padding: 18px 16px 16px 48px;
  background: var(--news-surface);
  border: 1px solid var(--news-line);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.page-news .news-notice-item:hover {
  border-color: rgba(245, 197, 66, 0.4);
  box-shadow: 0 0 16px rgba(245, 197, 66, 0.08);
}

.page-news .news-notice-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-neon);
  box-shadow: 0 0 8px rgba(155, 92, 255, 0.5);
}

.page-news .news-notice-item .badge {
  display: inline-block;
  margin-bottom: 6px;
}

.page-news .news-notice-item h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--c-text);
}

.page-news .news-notice-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-dim);
}

@media (min-width: 860px) {
  .page-news .news-hero {
    max-width: var(--container-w);
    margin-inline: auto;
    padding: 36px 24px 30px;
  }

  .page-news .news-timeline {
    margin-left: auto;
    margin-right: auto;
    max-width: min(calc(var(--container-w) - 40px), 1240px);
  }

  .page-news .news-timeline-track {
    justify-content: space-between;
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-news .news-timeline-node {
    flex: 0 0 auto;
    min-width: 132px;
  }

  .page-news .news-layout {
    max-width: var(--container-w);
    margin-inline: auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }

  .page-news .news-sidenav {
    position: sticky;
    top: calc(var(--header-h) + var(--nav-h) + 20px);
    margin-top: 32px;
  }

  .page-news .news-toc {
    flex-direction: column;
    gap: 4px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .page-news .news-toc-link {
    flex: none;
    border-radius: var(--radius-sm);
    border: 0;
    background: transparent;
    padding: 10px 14px;
    border-left: 2px solid var(--news-line);
  }

  .page-news .news-toc-link:hover {
    border-left-color: var(--c-neon);
    background: rgba(155, 92, 255, 0.08);
  }

  .page-news .news-main {
    padding-top: 32px;
  }

  .page-news .news-card-feature {
    grid-template-columns: 300px 1fr;
  }

  .page-news .news-card-media {
    height: 100%;
    min-height: 260px;
  }

  .page-news .news-card-media img {
    height: 100%;
    aspect-ratio: auto;
  }

  .page-news .news-series-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .page-news .news-series-card:nth-child(2) {
    transform: translateY(24px);
  }

  .page-news .news-series-card:nth-child(3) {
    transform: translateY(8px);
  }

  .page-news .news-notice {
    grid-template-columns: 340px 1fr;
    align-items: start;
  }

  .page-news .news-notice-media img {
    height: 340px;
    aspect-ratio: auto;
    object-fit: cover;
  }
}
