.page-news {
  --news-gap: 20px;
  --news-radius: 20px;
  color: var(--color-cream);
  font-family: var(--font-body);
}

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px 20px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-gray);
}
.page-news .breadcrumb a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-news .breadcrumb a:hover {
  color: var(--color-orange);
}
.page-news .crumb-sep {
  color: var(--color-purple-smoke);
}

.page-news .news-masthead {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 38px;
  padding-bottom: 38px;
}
.page-news .news-masthead h1 {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--color-cream);
  max-width: 19em;
}
.page-news .masthead-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-rock-white);
  max-width: 74ch;
}
.page-news .masthead-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-news .stat-cell {
  background: linear-gradient(145deg, rgba(212,175,55,0.12), rgba(59,42,90,0.28));
  border: 1px solid rgba(212,175,55,0.24);
  border-radius: 16px;
  padding: 14px 8px;
  text-align: center;
}
.page-news .stat-cell dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-gold-light);
  margin-bottom: 6px;
}
.page-news .stat-cell dd {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  color: var(--color-gold);
  line-height: 1.1;
}
.page-news .stat-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-cream);
  margin-left: 2px;
}

.page-news .section-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.page-news .section-header h2 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.3;
  color: var(--color-gold);
}
.page-news .section-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-rock-white);
  max-width: 66ch;
}

.page-news .latest-section {
  padding-bottom: 20px;
}
.page-news .section-title-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-news .filter-btn {
  appearance: none;
  border: 1px solid rgba(212,175,55,0.4);
  background: transparent;
  color: var(--color-gold-light);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.page-news .filter-btn:hover {
  border-color: var(--color-gold);
  background: rgba(212,175,55,0.12);
  color: var(--color-gold-light);
}
.page-news .filter-btn.is-active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-deep-purple);
  font-weight: 700;
}

.page-news .news-grid {
  display: flex;
  flex-direction: column;
  gap: var(--news-gap);
}
.page-news .news-card {
  position: relative;
  background: var(--color-cream);
  border: 1px solid var(--color-gray);
  border-radius: var(--news-radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-news .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.26);
}
.page-news .news-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.page-news .news-card.normal::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-terracotta) 60%, transparent);
}
.page-news .news-card.featured .news-link {
  display: flex;
  flex-direction: column;
}
.page-news .news-media {
  position: relative;
  background: var(--color-charcoal);
}
.page-news .news-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-news .pin-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-gold);
  color: var(--color-deep-purple);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.page-news .news-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  flex: 1;
}
.page-news .news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.page-news .news-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-green);
  background: rgba(74,124,89,0.1);
  padding: 4px 10px;
  border-radius: 999px;
}
.page-news .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  flex: 0 0 auto;
}
.page-news .news-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-terracotta);
  line-height: 1;
}
.page-news .news-body h3 {
  margin: 4px 0 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-charcoal);
}
.page-news .news-excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-gray);
}
.page-news .read-more {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue);
  transition: color 0.2s ease;
}
.page-news .news-card:hover .read-more {
  color: var(--color-orange);
}

.page-news .version-section {
  margin-top: 28px;
  padding: 44px 0 48px;
  background: linear-gradient(180deg, rgba(59,42,90,0.2), rgba(26,10,46,0.85));
  border-top: 1px solid rgba(212,175,55,0.14);
  border-bottom: 1px solid rgba(212,175,55,0.14);
}
.page-news .version-section .section-header,
.page-news .feature-section .section-header {
  margin-bottom: 24px;
}
.page-news .version-layout {
  display: grid;
  gap: 28px;
}
.page-news .timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.page-news .timeline-list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 10px;
  left: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold) 0%, rgba(212,175,55,0.2) 80%);
}
.page-news .timeline-item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 26px;
}
.page-news .timeline-item:last-child {
  padding-bottom: 0;
}
.page-news .timeline-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-deep-purple);
  box-shadow: 0 0 0 2px var(--color-gold);
  box-sizing: border-box;
}
.page-news .timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.page-news .timeline-when {
  color: var(--color-orange);
  font-weight: 700;
}
.page-news .timeline-ver {
  color: var(--color-gold);
  background: rgba(212,175,55,0.1);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.page-news .timeline-item h3 {
  margin: 8px 0 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-cream);
}
.page-news .timeline-item p {
  max-width: 68ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-rock-white);
}
.page-news .version-side {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: rgba(245,240,230,0.03);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: var(--news-radius);
}
.page-news .version-side img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.3);
  flex: 0 0 120px;
}
.page-news .version-side-text h3 {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  color: var(--color-gold);
}
.page-news .version-side-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-rock-white);
}

.page-news .feature-section {
  padding-top: 44px;
  padding-bottom: 28px;
}
.page-news .feature-list {
  display: grid;
  gap: var(--news-gap);
}
.page-news .feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(245,240,230,0.05), rgba(245,240,230,0.01));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--news-radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.page-news .feature-card:hover {
  border-color: rgba(212,175,55,0.5);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}
.page-news .feature-cover {
  position: relative;
  overflow: hidden;
  background: var(--color-purple-smoke);
}
.page-news .feature-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.page-news .feature-cover.decoration {
  aspect-ratio: 2 / 1;
  height: auto;
  border-bottom: 1px solid rgba(212,175,55,0.14);
  background: radial-gradient(circle at 84% 18%, rgba(212,175,55,0.32) 0%, transparent 42%),
    linear-gradient(135deg, var(--color-purple-smoke) 0%, var(--color-deep-purple) 100%);
}
.page-news .feature-cover.decoration::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 14px,
    rgba(212,175,55,0.05) 14px 30px
  );
  pointer-events: none;
}
.page-news .feature-index {
  position: absolute;
  right: 14px;
  bottom: 0;
  z-index: 1;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 84px;
  line-height: 0.9;
  color: rgba(212,175,55,0.3);
  pointer-events: none;
}
.page-news .feature-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 20px;
}
.page-news .feature-cat {
  display: inline-flex;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-green);
  background: rgba(74,124,89,0.14);
  padding: 3px 10px;
  border-radius: 999px;
}
.page-news .feature-body h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-cream);
}
.page-news .feature-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-rock-white);
}
.page-news .feature-link {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-news .feature-link:hover {
  color: var(--color-orange);
}

.page-news .trend-section {
  padding-top: 40px;
  padding-bottom: 48px;
}
.page-news .trend-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(30,58,138,0.14), rgba(59,42,90,0.2));
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 24px;
}
.page-news .trend-panel img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.14);
}
.page-news .trend-copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 28px);
  color: var(--color-gold);
  line-height: 1.3;
}
.page-news .trend-copy p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-rock-white);
  max-width: 64ch;
}

@media (min-width: 720px) {
  .page-news .news-masthead {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
  }
  .page-news .masthead-copy {
    flex: 1 1 auto;
  }
  .page-news .masthead-stats {
    flex: 0 0 340px;
  }
  .page-news .section-title-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .page-news .filter-bar {
    flex: 0 0 auto;
    justify-content: flex-end;
  }
  .page-news .news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .page-news .news-card.featured {
    grid-column: 1 / -1;
  }
  .page-news .news-card.featured .news-link {
    flex-direction: row;
  }
  .page-news .news-card.featured .news-media {
    flex: 0 0 52%;
  }
  .page-news .news-card.featured .news-media img {
    height: 100%;
  }
  .page-news .version-layout {
    grid-template-columns: 1fr 260px;
    align-items: start;
  }
  .page-news .version-side {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .page-news .version-side img {
    width: 200px;
    height: 200px;
    flex: none;
  }
  .page-news .trend-wrap {
    flex-direction: row;
    align-items: center;
  }
  .page-news .trend-panel {
    flex: 0 0 260px;
  }
}

@media (min-width: 1024px) {
  .page-news .news-masthead h1 {
    font-size: clamp(34px, 4.4vw, 50px);
  }
  .page-news .stat-cell {
    padding: 18px 12px;
  }
  .page-news .stat-cell dd {
    font-size: 28px;
  }
  .page-news .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-news .news-card.featured .news-media {
    flex-basis: 56%;
  }
  .page-news .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-news .version-layout {
    grid-template-columns: 1fr 300px;
  }
  .page-news .trend-panel {
    flex-basis: 300px;
  }
}
