.page-news {
  --news-toc-width: 240px;
  --news-card-bg: rgba(255, 255, 255, 0.72);
  --news-line: #d8d0c3;
  background: var(--surface);
}

.page-news .page-header {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 48px;
}

.page-news .page-header::after {
  content: "3.1";
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 180px;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

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

.page-news .news-layout {
  padding-top: 40px;
  padding-bottom: 80px;
}

.page-news .news-toc {
  margin-bottom: 32px;
}

.page-news .news-toc .toc {
  background: var(--glass-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.page-news .toc-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divider);
}

.page-news .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .toc-list li {
  margin: 0;
}

.page-news .toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.page-news .toc-link:hover,
.page-news .toc-link[aria-current="true"] {
  background: var(--primary);
  color: #fff;
}

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

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

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

.page-news .section-lead {
  max-width: 560px;
}

.page-news .news-hero-media {
  margin: 0 0 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-news .news-hero-media img,
.page-news .history-media img,
.page-news .focus-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-news .update-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-news .update-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--news-card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-purple);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.page-news .update-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(10, 27, 42, 0.12);
}

.page-news .update-item--featured {
  background: linear-gradient(135deg, var(--primary) 0%, #16324a 100%);
  border: none;
  border-radius: var(--radius-lg);
  padding: 36px;
  border-left: 5px solid var(--accent-orange);
  color: #fff;
  grid-template-columns: 88px 1fr;
  box-shadow: 0 20px 44px rgba(10, 27, 42, 0.22);
}

.page-news .update-item--featured .update-title,
.page-news .update-item--featured .update-summary {
  color: #fff;
}

.page-news .update-item--featured .update-summary {
  color: rgba(255, 255, 255, 0.78);
}

.page-news .update-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.page-news .update-version {
  font-weight: 900;
  font-size: 15px;
  color: var(--accent-purple);
  background: rgba(124, 58, 237, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
}

.page-news .update-item--featured .update-version {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.page-news .update-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.page-news .update-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.page-news .update-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-news .update-expand {
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.page-news .update-item:not(.update-item--featured) .update-expand {
  border-top-color: var(--divider);
}

.page-news .update-expand summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-purple);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-news .update-expand summary::before {
  content: "+";
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-orange);
  transition: transform var(--transition-fast);
}

.page-news .update-expand[open] summary::before {
  content: "−";
}

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

.page-news .update-detail-body {
  margin-top: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-sm);
}

.page-news .update-item:not(.update-item--featured) .update-detail-body {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--divider);
}

.page-news .update-detail-body p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.page-news .history-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.page-news .timeline {
  position: relative;
  padding-left: 0;
}

.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-purple), var(--accent-orange));
}

.page-news .timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}

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

.page-news .timeline-version {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent-purple);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--surface);
}

.page-news .timeline-item:first-child .timeline-version {
  background: var(--accent-purple);
  color: #fff;
}

.page-news .timeline-card {
  background: var(--news-card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
}

.page-news .timeline-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-news .timeline-card ul {
  margin: 0;
  padding: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-news .history-media {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-news .focus-grid {
  display: grid;
  gap: 32px;
}

.page-news .focus-card {
  background: var(--news-card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.page-news .focus-media {
  margin: 0;
  overflow: hidden;
}

.page-news .focus-media img {
  transition: transform 0.4s var(--ease-out);
}

.page-news .focus-card:hover .focus-media img {
  transform: scale(1.03);
}

.page-news .focus-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.page-news .focus-body .tag {
  align-self: flex-start;
}

.page-news .focus-body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.page-news .focus-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-news .focus-body .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.page-news .subscribe-panel {
  padding: 44px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, #16283a 100%);
}

.page-news .subscribe-panel::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 70%);
  pointer-events: none;
}

.page-news .subscribe-copy {
  position: relative;
  z-index: 1;
}

.page-news .subscribe-copy .section-kicker {
  color: rgba(255, 255, 255, 0.7);
}

.page-news .subscribe-copy h2 {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.page-news .subscribe-copy p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.8;
  max-width: 480px;
}

.page-news .subscribe-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .page-news .toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .page-news .toc-title {
    display: none;
  }

  .page-news .news-toc .toc {
    padding: 12px;
  }

  .page-news .toc-link {
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.5);
  }

  .page-news .toc-link:hover,
  .page-news .toc-link[aria-current="true"] {
    background: var(--primary);
    color: #fff;
  }
}

@media (max-width: 600px) {
  .page-news .update-item,
  .page-news .update-item--featured {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .page-news .update-meta {
    flex-direction: row;
    align-items: center;
  }

  .page-news .timeline-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .page-news .timeline-version {
    width: 48px;
    height: 48px;
    font-size: 12px;
  }

  .page-news .timeline::before {
    left: 23px;
  }

  .page-news .subscribe-panel {
    padding: 32px 24px;
  }

  .page-news .subscribe-copy h2 {
    font-size: 24px;
  }
}

@media (min-width: 768px) {
  .page-news .focus-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .page-news .focus-card--accent {
    margin-top: 64px;
  }

  .page-news .subscribe-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 56px;
  }
}

@media (min-width: 992px) {
  .page-news .news-layout {
    display: grid;
    grid-template-columns: var(--news-toc-width) 1fr;
    gap: 48px;
    align-items: start;
    padding-top: 56px;
    padding-bottom: 96px;
  }

  .page-news .news-toc {
    position: sticky;
    top: calc(var(--header-height) + 32px);
    margin-bottom: 0;
  }

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

  .page-news .history-layout {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }

  .page-news .history-media {
    position: sticky;
    top: calc(var(--header-height) + 120px);
  }
}
