.page-news {
  --news-gold-line: linear-gradient(135deg, rgba(212, 175, 55, 0.5), rgba(240, 215, 140, 0.12));
  background: var(--cream);
}

.page-news .news-hero {
  position: relative;
  overflow: hidden;
  background: var(--deep-blue);
  color: #ffffff;
  padding: 120px 0 72px;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: radial-gradient(circle at 78% 30%, rgba(212, 175, 55, 0.22), transparent 58%);
  pointer-events: none;
}

.page-news .news-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: luminosity;
}

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

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

.page-news .news-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.82);
}

.page-news .news-hero .breadcrumb-item[aria-current="page"] {
  color: var(--gold);
}

.page-news .news-hero__eyebrow {
  color: var(--gold);
  margin-top: 0;
}

.page-news .news-hero__title {
  font-size: 36px;
  line-height: 1.2;
  margin: 12px 0 20px;
  max-width: 640px;
  letter-spacing: 0.02em;
}

.page-news .news-hero__lead {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.page-news .news-listing {
  padding: 56px 0 72px;
}

.page-news .news-listing__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.page-news .news-listing__heading .eyebrow {
  color: var(--primary-blue);
}

.page-news .news-listing__title {
  font-size: 28px;
  margin: 8px 0 0;
}

.page-news .news-listing__desc {
  color: var(--text-muted);
  margin: 0;
  max-width: 480px;
  line-height: 1.7;
}

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

.page-news .filter-tabs {
  display: flex;
  gap: 10px;
  padding: 4px 0 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-news .filter-tabs::-webkit-scrollbar {
  display: none;
}

.page-news .filter-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface-white);
  color: var(--ink-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-news .filter-tab:hover,
.page-news .filter-tab:focus {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--deep-blue);
}

.page-news .filter-target {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-news #tag-upgrade:target ~ .articles-list .article-item:not([data-filter="upgrade"]) {
  display: none;
}

.page-news #tag-feature:target ~ .articles-list .article-item:not([data-filter="feature"]) {
  display: none;
}

.page-news #tag-version:target ~ .articles-list .article-item:not([data-filter="version"]) {
  display: none;
}

.page-news #tag-announcement:target ~ .articles-list .article-item:not([data-filter="announcement"]) {
  display: none;
}

.page-news .articles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-news .article-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-news .article-item:hover {
  box-shadow: 0 12px 32px rgba(14, 26, 43, 0.06);
}

.page-news .article-item__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--deep-blue);
  line-height: 0;
}

.page-news .article-item__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .article-item__media-main {
  aspect-ratio: 16 / 9;
}

.page-news .article-item__body {
  min-width: 0;
}

.page-news .article-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.page-news .tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.page-news .tag--outline {
  border: 1px solid var(--line);
  color: var(--primary-blue);
  background: transparent;
}

.page-news .article-item__time {
  font-size: 13px;
  color: var(--text-muted);
}

.page-news .article-item__title {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.page-news .article-item__summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 16px;
  max-width: 640px;
}

.page-news .article-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 58, 94, 0.25);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.page-news .article-item__link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.page-news .article-item__inline-chart {
  margin: 8px 0 16px;
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  max-width: 500px;
}

.page-news .article-item .btn {
  margin-top: 4px;
}

.page-news .article-item--feature {
  background: var(--surface-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-body);
}

.page-news .article-item--feature .article-item__title {
  font-size: 26px;
}

.page-news .news-featured {
  background: var(--deep-blue);
  color: #ffffff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-news .news-featured::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), transparent 65%);
  pointer-events: none;
}

.page-news .news-featured::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 300px;
  height: 180px;
  background: var(--news-gold-line);
  border-radius: 50% 0 0 50%;
  opacity: 0.4;
  pointer-events: none;
}

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

.page-news .news-featured__header .eyebrow {
  color: var(--gold);
}

.page-news .news-featured__title {
  font-size: 28px;
  margin: 8px 0 0;
}

.page-news .news-featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .featured-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: #ffffff;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-news .featured-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.page-news .featured-card .tag {
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--gold-light);
  background: transparent;
}

.page-news .featured-card__title {
  font-size: 24px;
  margin: 14px 0 10px;
}

.page-news .featured-card__text {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
  margin: 0 0 20px;
  font-size: 15px;
}

.page-news .featured-card__link {
  margin-top: auto;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.5);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.page-news .featured-card:hover .featured-card__link {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.page-news .news-cross-links {
  background: var(--cream);
  padding: 56px 0 72px;
}

.page-news .news-cross-links__inner .eyebrow {
  color: var(--primary-blue);
}

.page-news .news-cross-links__title {
  font-size: 28px;
  margin: 8px 0 28px;
}

.page-news .news-cross-links__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-news .cross-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink-dark);
  font-size: 15px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-news .cross-link span {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-news .cross-link:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(14, 26, 43, 0.08);
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .page-news .news-hero {
    padding: 160px 0 100px;
  }

  .page-news .news-hero__title {
    font-size: 48px;
  }

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

  .page-news .news-listing__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-news .news-listing__desc {
    text-align: right;
  }

  .page-news .articles-list {
    gap: 24px;
  }

  .page-news .article-item {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 28px 0;
  }

  .page-news .article-item__media {
    flex: 0 0 240px;
  }

  .page-news .article-item--feature {
    align-items: center;
    padding: 28px;
  }

  .page-news .article-item--feature .article-item__media {
    flex: 0 0 420px;
  }

  .page-news .article-item__title {
    font-size: 24px;
  }

  .page-news .article-item--feature .article-item__title {
    font-size: 30px;
  }

  .page-news .article-item__summary {
    font-size: 16px;
  }

  .page-news .news-featured__grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
  }

  .page-news .featured-card--guide {
    padding: 36px;
  }

  .page-news .featured-card--archive {
    padding: 28px;
  }

  .page-news .news-cross-links__grid {
    grid-template-columns: 1fr 1fr;
  }
}
