.page-news {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

.page-news .news-hero {
  position: relative;
  border-bottom: 1px solid var(--divider);
}

.page-news .news-hero-media {
  height: 240px;
  overflow: hidden;
  background: var(--bg-deep);
}

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

.page-news .news-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, rgba(5, 10, 19, 0.92) 0%, rgba(11, 30, 58, 0.55) 55%, rgba(5, 10, 19, 0.2) 100%);
}

.page-news .news-hero-overlay .container {
  padding: 32px 16px;
}

.page-news .news-hero .eyebrow {
  margin-bottom: 12px;
  color: var(--cyan);
}

.page-news .news-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text);
}

.page-news .news-hero-desc {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sec);
  margin: 0;
}

.page-news .breadcrumb {
  margin: 20px 0 8px;
  font-size: 13px;
}

.page-news .breadcrumb a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition);
}

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus {
  color: var(--gold);
  text-decoration: underline;
}

.page-news .breadcrumb [aria-current="page"] {
  color: var(--text-sec);
}

.page-news .news-layout {
  display: block;
  margin-top: 24px;
}

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

.page-news .section-head .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--cyan);
}

.page-news .section-head .count {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 12px;
}

.page-news .section-title {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--text);
}

.page-news .section-desc {
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.page-news .section-head.is-compact .section-title {
  font-size: 20px;
}

.page-news .news-filter-zone {
  position: relative;
}

.page-news .news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-news .filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-sec);
  text-decoration: none;
  background: transparent;
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.page-news .filter-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
}

.page-news .filter-tag[href="#cat-all"]::before {
  display: none;
}

.page-news .filter-tag[href="#cat-version"]::before {
  background: var(--gold);
}

.page-news .filter-tag[href="#cat-data"]::before {
  background: var(--cyan);
}

.page-news .filter-tag[href="#cat-guide"]::before {
  background: var(--success);
}

.page-news .filter-tag[href="#cat-announce"]::before {
  background: var(--text-sec);
}

.page-news .filter-tag:hover,
.page-news .filter-tag:focus {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
}

.page-news .news-filter-zone:has(#cat-all:target) .filter-tag[href="#cat-all"],
.page-news .news-filter-zone:not(:has(.news-cat-marker:target)) .filter-tag[href="#cat-all"] {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
}

.page-news .news-filter-zone:has(#cat-version:target) .filter-tag[href="#cat-version"] {
  color: var(--gold);
  border-color: var(--gold);
}

.page-news .news-filter-zone:has(#cat-data:target) .filter-tag[href="#cat-data"] {
  color: var(--cyan);
  border-color: var(--cyan);
}

.page-news .news-filter-zone:has(#cat-guide:target) .filter-tag[href="#cat-guide"] {
  color: var(--success);
  border-color: var(--success);
}

.page-news .news-filter-zone:has(#cat-announce:target) .filter-tag[href="#cat-announce"] {
  color: var(--text-sec);
  border-color: var(--text-sec);
}

.page-news .news-cat-marker {
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-news .news-cat-marker:target ~ .news-list .news-item {
  display: none;
}

.page-news #cat-all:target ~ .news-list .news-item {
  display: block;
}

.page-news #cat-version:target ~ .news-list .news-item[data-cat="version"] {
  display: block;
}

.page-news #cat-data:target ~ .news-list .news-item[data-cat="data"] {
  display: block;
}

.page-news #cat-guide:target ~ .news-list .news-item[data-cat="guide"] {
  display: block;
}

.page-news #cat-announce:target ~ .news-list .news-item[data-cat="announce"] {
  display: block;
}

.page-news .news-list {
  border-top: 1px solid var(--divider);
}

.page-news .news-item {
  border-bottom: 1px solid var(--divider);
  padding: 18px 0;
}

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

.page-news .news-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
}

.page-news .news-circle.is-gold {
  background: var(--gold);
}

.page-news .news-circle.is-cyan {
  background: var(--cyan);
}

.page-news .news-circle.is-success {
  background: var(--success);
}

.page-news .news-circle.is-muted {
  background: var(--text-sec);
}

.page-news .news-cat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-sec);
  letter-spacing: 0.04em;
}

.page-news .news-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-sec);
  opacity: 0.7;
  margin-left: auto;
}

.page-news .news-summary {
  list-style: none;
  cursor: pointer;
  display: block;
}

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

.page-news .news-title {
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 6px;
  color: var(--text);
  transition: color var(--transition);
}

.page-news .news-item:hover .news-title,
.page-news .news-summary:focus-within .news-title {
  color: var(--gold);
}

.page-news .news-details[open] .news-title {
  color: var(--gold);
}

.page-news .news-excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sec);
  margin: 0;
}

.page-news .news-body {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 2px solid var(--gold);
  background: rgba(16, 41, 77, 0.4);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sec);
}

.page-news .news-body > p {
  margin: 0 0 10px;
}

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

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

.page-news .news-aside {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.page-news .featured-media {
  margin: 14px 0 16px;
  border: 1px solid var(--divider);
  overflow: hidden;
}

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

.page-news .featured-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--divider);
  padding-top: 16px;
}

.page-news .featured-card {
  display: block;
  padding: 14px;
  border: 1px solid var(--divider);
  background: rgba(16, 41, 77, 0.35);
  text-decoration: none;
  transition: border-color var(--transition), background-color var(--transition), transform var(--transition);
}

.page-news .featured-card:hover,
.page-news .featured-card:focus {
  border-color: var(--gold);
  background: rgba(255, 201, 74, 0.06);
  transform: translateY(-2px);
}

.page-news .featured-card h3 {
  font-family: var(--font-head);
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--text);
  transition: color var(--transition);
}

.page-news .featured-card:hover h3,
.page-news .featured-card:focus h3 {
  color: var(--gold);
}

.page-news .featured-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-sec);
  margin: 0 0 10px;
}

.page-news .newsletter-box {
  border: 1px solid var(--divider);
  background: linear-gradient(180deg, rgba(16, 41, 77, 0.5), rgba(5, 10, 19, 0.4));
  overflow: hidden;
}

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

.page-news .newsletter-box .section-head {
  padding: 20px 20px 0;
}

.page-news .newsletter-box .newsletter-desc {
  padding: 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sec);
  margin: 0 0 12px;
}

.page-news .newsletter-list {
  list-style: none;
  margin: 0;
  padding: 0 20px 16px;
}

.page-news .newsletter-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sec);
}

.page-news .newsletter-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border: 1px solid var(--cyan);
}

.page-news .newsletter-sub {
  border-top: 1px solid var(--divider);
  padding: 16px 20px 20px;
}

.page-news .newsletter-sub p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sec);
  margin: 0 0 14px;
}

.page-news .newsletter-sub strong {
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 500;
  word-break: break-all;
}

.page-news .news-version {
  margin-top: 56px;
  padding-bottom: 40px;
}

.page-news .version-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.page-news .version-media {
  border: 1px solid var(--divider);
  overflow: hidden;
  background: rgba(16, 41, 77, 0.3);
}

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

.page-news .version-media p {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-sec);
  margin: 0;
}

.page-news .version-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-news .timeline-item {
  position: relative;
  padding-left: 28px;
}

.page-news .timeline-item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  z-index: 1;
}

.page-news .timeline-item::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 22px;
  bottom: -22px;
  width: 1px;
  background: var(--divider);
}

.page-news .timeline-item:last-child::after {
  display: none;
}

.page-news .timeline-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.page-news .timeline-head h3 {
  font-family: var(--font-head);
  font-size: 16px;
  margin: 0;
  color: var(--text);
}

.page-news .timeline-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .timeline-item li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sec);
  margin: 4px 0;
}

.page-news .timeline-item li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  top: 0.1em;
}

.page-news .timeline-item.is-current .timeline-head h3 {
  color: var(--gold);
}

@media (min-width: 768px) {
  .page-news .news-hero-media {
    height: 320px;
  }

  .page-news .news-hero-overlay .container {
    padding: 48px 32px;
  }

  .page-news .breadcrumb {
    margin-top: 28px;
  }

  .page-news .news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 44px;
    align-items: start;
    margin-top: 32px;
  }

  .page-news .news-aside {
    margin-top: 0;
  }

  .page-news .news-version {
    padding-bottom: 56px;
  }

  .page-news .version-grid {
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
  }

  .page-news .news-title {
    font-size: 18px;
  }
}

@media (min-width: 1120px) {
  .page-news .news-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 56px;
  }

  .page-news .version-grid {
    grid-template-columns: 440px 1fr;
    gap: 48px;
  }
}
