.page-news {
  --news-hero-bg: #ffffff;
  --news-accent-soft: rgba(201, 160, 99, 0.12);
  --news-line: rgba(11, 27, 58, 0.1);
  --news-deep: #0B1B3A;
  --news-gold: #C9A063;
  --news-gold-light: #E8C47C;
  --news-bg-ivory: #F8F6F1;
  --news-text: #1A2332;
  --news-muted: #5A6577;
  --news-border: #D9DCE2;

  background-color: var(--news-bg-ivory);
  color: var(--news-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: clip;
}

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

.page-news .breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--news-muted);
}

.page-news .breadcrumb li + li::before {
  content: "⁄";
  margin-right: 8px;
  color: var(--news-gold);
}

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

.page-news .breadcrumb a:hover {
  color: var(--news-gold);
}

.page-news .news-hero {
  position: relative;
  background-color: var(--news-deep);
  color: #ffffff;
  padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 8vw, 96px);
  overflow: hidden;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 320px;
  height: 200px;
  background: radial-gradient(ellipse at right bottom, rgba(201, 160, 99, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-news .news-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-news .news-hero-svg {
  position: absolute;
}

.page-news .news-hero-svg:nth-child(1) {
  top: 20px;
  right: 24%;
  opacity: 0.5;
}

.page-news .news-hero-svg:nth-child(2) {
  bottom: 30px;
  right: 12%;
  transform: scale(0.8);
}

.page-news .news-hero-svg:nth-child(3) {
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
}

.page-news .news-hero-copy {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  z-index: 2;
}

.page-news .news-hero-copy .eyebrow {
  color: var(--news-gold);
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.page-news .news-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 20px 0;
  max-width: 640px;
  letter-spacing: 0.01em;
}

.page-news .news-hero-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 40px;
}

.page-news .news-hero-aside {
  position: relative;
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 clamp(16px, 4vw, 48px);
  z-index: 2;
}

.page-news .news-hero-aside-btn {
  max-width: 320px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 160, 99, 0.4);
  border-radius: 8px;
  padding: 20px 24px;
  backdrop-filter: blur(4px);
  display: block;
}

.page-news .news-hero-aside-mark {
  display: inline-block;
  color: var(--news-gold);
  font-size: 22px;
  margin-bottom: 8px;
}

.page-news .news-hero-aside-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  color: #ffffff;
}

.page-news .news-hero-aside-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 16px 0;
}

.page-news .news-hero-aside .btn-outline {
  border-color: var(--news-gold);
  color: var(--news-gold);
  background: transparent;
}

.page-news .news-hero-aside .btn-outline:hover {
  background: rgba(201, 160, 99, 0.12);
}

.page-news .section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--news-line);
  margin-bottom: 32px;
  position: relative;
}

.page-news .section-index {
  font-size: 96px;
  font-weight: 700;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 27, 58, 0.16);
  font-family: var(--font-heading);
  position: absolute;
  top: -8px;
  right: 0;
  letter-spacing: -0.03em;
  pointer-events: none;
  user-select: none;
}

.page-news .section-head .eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--news-gold);
  text-transform: uppercase;
  margin: 0;
}

.page-news .section-head .section-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--news-text);
  margin: 0;
  letter-spacing: 0.01em;
}

.page-news .section-head-note {
  font-size: 13px;
  color: var(--news-muted);
  margin: 0;
  line-height: 1.5;
}

.page-news .section-head-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--news-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--news-gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.page-news .section-head-link:hover {
  color: var(--news-gold);
  border-color: var(--news-text);
}

.page-news .latest-section,
.page-news .filter-section,
.page-news .version-section,
.page-news .featured-section,
.page-news .archive-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px) 0;
}

.page-news .latest-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.page-news .latest-featured {
  background: #ffffff;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.page-news .latest-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(11, 27, 58, 0.1);
}

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

.page-news .latest-featured-body {
  padding: 32px 32px 40px;
}

.page-news .latest-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-news .latest-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  background: rgba(11, 27, 58, 0.06);
  color: var(--news-deep);
}

.page-news .latest-tag-version {
  background: rgba(201, 160, 99, 0.16);
  color: #8a6a35;
}

.page-news .latest-tag-function {
  background: rgba(11, 27, 58, 0.08);
  color: var(--news-deep);
}

.page-news .latest-tag-industry {
  background: rgba(90, 101, 119, 0.12);
  color: #3a4456;
}

.page-news .latest-tag-guide {
  background: rgba(232, 196, 124, 0.18);
  color: #8a6a35;
}

.page-news .latest-id {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--news-muted);
  font-variant-numeric: tabular-nums;
}

.page-news .latest-time {
  font-size: 12px;
  color: var(--news-muted);
}

.page-news .latest-featured h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  margin: 12px 0 16px 0;
  line-height: 1.3;
}

.page-news .latest-featured-body p {
  font-size: 15px;
  color: var(--news-muted);
  line-height: 1.7;
  margin: 0 0 24px 0;
  max-width: 720px;
}

.page-news .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  cursor: default;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.page-news .btn-accent {
  background: var(--news-gold);
  color: #ffffff;
  border: 1px solid var(--news-gold);
}

.page-news .btn-accent:hover {
  background: #ab8344;
  border-color: #ab8344;
}

.page-news .btn-outline {
  background: transparent;
  color: var(--news-deep);
  border: 1px solid var(--news-deep);
}

.page-news .btn-outline:hover {
  border-color: var(--news-gold);
  color: var(--news-gold);
}

.page-news .btn-ghost {
  background: rgba(11, 27, 58, 0.04);
  color: var(--news-deep);
  border: 1px solid transparent;
}

.page-news .btn-ghost:hover {
  background: rgba(11, 27, 58, 0.08);
  border-color: rgba(11, 27, 58, 0.12);
}

.page-news .latest-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-news .latest-list-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--news-line);
  transition: background var(--transition-fast);
}

.page-news .latest-list-item:first-child {
  border-top: 1px solid var(--news-line);
  padding-top: 28px;
}

.page-news .latest-list-index {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 27, 58, 0.25);
  min-width: 48px;
  text-align: left;
}

.page-news .latest-list-item h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 8px 0 8px 0;
  color: var(--news-text);
  transition: color var(--transition-fast);
}

.page-news .latest-list-item:hover h3 {
  color: var(--news-gold);
}

.page-news .latest-list-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--news-muted);
}

.page-news .latest-list-item .latest-meta {
  margin-bottom: 4px;
  gap: 8px;
}

.page-news .latest-list-item .latest-tag {
  font-size: 10px;
  padding: 2px 10px;
}

.page-news .filter-section .section-head,
.page-news .version-section .section-head,
.page-news .featured-section .section-head,
.page-news .archive-section .section-head {
  margin-top: 8px;
}

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

.page-news .filter-btn {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--news-border);
  background: #ffffff;
  color: var(--news-muted);
  font-family: var(--font-body);
  cursor: default;
  transition: all var(--transition-fast);
}

.page-news .filter-btn:hover,
.page-news .filter-btn[data-active="true"],
.page-news .filter-btn.is-active {
  background: var(--news-deep);
  border-color: var(--news-deep);
  color: #ffffff;
}

.page-news .filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 27, 58, 0.12);
}

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

.page-news .filter-card {
  background: #ffffff;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  padding: 24px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.page-news .filter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--news-gold);
  transition: height var(--transition-slow);
}

.page-news .filter-card:hover::before {
  height: 100%;
}

.page-news .filter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(11, 27, 58, 0.08);
}

.page-news .filter-card-id {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--news-gold);
  display: inline-block;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.page-news .filter-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(11, 27, 58, 0.06);
  color: var(--news-muted);
  margin-left: 8px;
  vertical-align: 1px;
}

.page-news .filter-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0 8px 0;
  line-height: 1.3;
  color: var(--news-text);
}

.page-news .filter-card p {
  font-size: 14px;
  color: var(--news-muted);
  line-height: 1.6;
  margin: 0;
}

.page-news .version-section {
  border-top: none;
}

.page-news .version-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-news .version-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--news-border);
  box-shadow: var(--shadow-card);
}

.page-news .version-info-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--news-text);
  margin: 0 0 28px 0;
  font-weight: 400;
}

.page-news .version-list {
  border-top: 1px solid var(--news-line);
  margin-bottom: 28px;
}

.page-news .version-list-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--news-line);
  align-items: baseline;
}

.page-news .version-list-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--news-deep);
  grid-row: span 2;
}

.page-news .version-list-inch {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--news-gold);
}

.page-news .version-list-desc {
  font-size: 14px;
  color: var(--news-muted);
  line-height: 1.5;
}

.page-news .version-info-note {
  font-size: 13px;
  color: var(--news-muted);
  background: var(--news-accent-soft);
  border-left: 2px solid var(--news-gold);
  padding: 12px 16px;
  margin: 0 0 28px 0;
  line-height: 1.5;
}

.page-news .version-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .featured-section {
  padding-bottom: 0;
}

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

.page-news .featured-card {
  background: #ffffff;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.page-news .featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(11, 27, 58, 0.1);
}

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

.page-news .featured-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-news .featured-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--news-gold);
  margin-bottom: 12px;
}

.page-news .featured-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.3;
  color: var(--news-text);
}

.page-news .featured-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--news-muted);
  margin: 0;
}

.page-news .featured-card-primary {
  background: var(--news-deep);
  border-color: var(--news-deep);
  color: #ffffff;
}

.page-news .featured-card-primary .featured-card-label {
  color: var(--news-gold-light);
}

.page-news .featured-card-primary h3 {
  color: #ffffff;
}

.page-news .featured-card-primary p {
  color: rgba(255, 255, 255, 0.7);
}

.page-news .featured-card-wide {
  grid-column: 1;
  background: var(--news-bg-ivory);
}

.page-news .featured-card-wide .featured-card-body {
  flex-direction: column;
  gap: 12px;
}

.page-news .featured-card-wide .btn {
  align-self: flex-start;
  margin-top: 12px;
}

.page-news .archive-section {
  padding-bottom: clamp(48px, 8vw, 96px);
  padding-top: 0;
}

.page-news .archive-inner {
  background: #ffffff;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.page-news .archive-icon img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.page-news .archive-copy .eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--news-gold);
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.page-news .archive-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--news-text);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.page-news .archive-copy > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-muted);
  margin: 0 0 24px 0;
}

.page-news .archive-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-news .archive-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--news-muted);
  padding-left: 20px;
  position: relative;
}

.page-news .archive-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 10px;
  color: var(--news-gold);
}

.page-news .archive-list li strong {
  color: var(--news-text);
  font-weight: 600;
}

.page-news .archive-note {
  font-size: 13px;
  color: var(--news-muted);
  background: var(--news-accent-soft);
  border-left: 2px solid var(--news-gold);
  padding: 12px 16px;
  margin: 0;
  line-height: 1.5;
}

.page-news .archive-copy .btn {
  margin-top: 8px;
}

/* 文章卡片悬停显示摘要 */
.page-news [data-filter-item] {
  cursor: default;
}

.page-news [data-filter-item] p {
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.page-news [data-filter-item]:hover p {
  opacity: 1;
}

/* 筛选隐藏逻辑：加 data-filter-hidden 时隐藏 */
.page-news [data-filter-item][data-filter-hidden] {
  display: none;
}

.page-news [data-filter-item] {
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

@media (min-width: 720px) {
  .page-news .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .latest-layout {
    grid-template-columns: 1fr;
  }

  .page-news .version-layout {
    grid-template-columns: 1fr;
  }

  .page-news .latest-list-item h3 {
    font-size: 18px;
  }

  .page-news .archive-inner {
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }
}

@media (min-width: 960px) {
  .page-news .news-hero-copy {
    padding-top: 16px;
  }

  .page-news .news-hero-aside {
    position: absolute;
    right: clamp(16px, 4vw, 48px);
    bottom: -18px;
    margin: 0;
    padding: 0;
    width: 320px;
    z-index: 3;
  }

  .page-news .news-hero-aside-btn {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  }

  .page-news .latest-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .latest-featured {
    position: sticky;
    top: 88px;
  }

  .page-news .latest-list {
    gap: 0;
  }

  .page-news .filter-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

  .page-news .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .featured-card-primary {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-news .featured-card-primary .featured-card-img {
    height: 100%;
  }

  .page-news .featured-card-primary .featured-card-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .page-news .featured-card-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
  }

  .page-news .featured-card-wide .featured-card-body {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    width: 100%;
  }

  .page-news .featured-card-wide .btn {
    margin-top: 0;
  }

  .page-news .section-head {
    flex-direction: row;
    align-items: flex-end;
    gap: 20px;
  }

  .page-news .section-head .section-title {
    margin-bottom: 0;
  }

  .page-news .section-head-note {
    margin-left: auto;
    max-width: 420px;
    text-align: right;
  }

  .page-news .section-head-link {
    align-self: flex-end;
    margin-left: auto;
  }

  .page-news .archive-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }

  .page-news .version-list-line {
    grid-template-columns: 90px 1fr;
  }
}
