.page-news {
  --speed-line: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(57,255,20,0.28) 50%, rgba(255,106,0,0.12) 100%);
  --news-gap: 24px;
  color: var(--c-text);
  background: var(--c-bg);
}

/* ===== Hero 首屏 ===== */
.page-news .news-hero {
  position: relative;
  padding: 44px 0 56px;
  background: var(--grad-bg);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  background: linear-gradient(135deg, rgba(57,255,20,0.14) 0%, rgba(255,106,0,0.06) 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--c-accent) 0 20px, transparent 20px 42px, var(--c-orange) 42px 56px, transparent 56px 84px);
  pointer-events: none;
}
.page-news .news-hero .container {
  position: relative;
  z-index: 1;
}
.page-news .news-hero .breadcrumb {
  margin-bottom: 20px;
}
.page-news .news-hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.page-news .news-hero-subtitle {
  max-width: 660px;
  margin-bottom: 28px;
}
.page-news .news-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  border-top: 1px solid var(--c-border);
  padding-top: 22px;
  margin-bottom: 24px;
}
.page-news .news-hero-stat {
  color: var(--c-text-dim);
  font-size: 14px;
  line-height: 1.4;
}
.page-news .news-hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: 0.02em;
}
.page-news .news-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Section 通栏节奏 ===== */
.page-news .section {
  padding: 64px 0;
}
.page-news .section-head {
  margin-bottom: 32px;
}
.page-news .section-title {
  font-size: clamp(26px, 4vw, 38px);
}
.page-news .section-lead {
  max-width: 620px;
  color: var(--c-text-dim);
  font-size: 16px;
  line-height: 1.6;
}

/* ===== 热门推荐 ===== */
.page-news .news-featured {
  background: var(--c-bg);
  position: relative;
}
.page-news .news-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--speed-line);
  opacity: 0.7;
}
.page-news .featured-grid {
  display: grid;
  gap: var(--news-gap);
  margin-top: 36px;
}
.page-news .featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.page-news .featured-card:hover {
  border-color: rgba(255,106,0,0.55);
  transform: translateY(-2px);
}
.page-news .featured-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--c-accent);
  z-index: 2;
}
.page-news .featured-card--version::before {
  background: var(--c-orange);
}
.page-news .featured-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-news .featured-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 24px;
}
.page-news .featured-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--c-text-dim);
  font-size: 13px;
}
.page-news .featured-card-title {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.16;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.page-news .featured-card-text {
  margin: 0 0 20px;
  color: var(--c-text-dim);
  font-size: 15px;
  line-height: 1.65;
}
.page-news .featured-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
  color: var(--c-text-dim);
  font-size: 13px;
}
.page-news .news-cover {
  overflow: hidden;
  background: linear-gradient(135deg, #1E3A5F, #050D1A);
}
.page-news .news-cover img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.page-news .featured-card--lead .news-cover {
  aspect-ratio: 16 / 9;
}
.page-news .featured-card--lead .news-cover img {
  height: 100%;
}
.page-news .news-cover--sm {
  aspect-ratio: 4 / 3;
}
.page-news .news-cover--sm img {
  height: 100%;
  transition: transform 0.4s ease;
}
.page-news .featured-card:hover .news-cover--sm img,
.page-news .article-item:hover .news-cover img {
  transform: scale(1.02);
}
.page-news .featured-version {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,106,0,0.75);
}
.page-news .featured-card-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
  color: var(--c-text-dim);
  font-size: 13px;
}
.page-news .featured-card-numbers strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  color: var(--c-accent);
}

/* ===== 文章列表区 ===== */
.page-news .news-listing {
  background: var(--c-bg-deep);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.page-news .news-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin-top: 32px;
}
.page-news .news-tab-input,
.page-news .news-more-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.page-news .news-tab-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--c-text-dim);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.page-news .news-tab-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  opacity: 0.35;
  transition: opacity 0.25s, box-shadow 0.25s;
}
.page-news .news-tab-input:checked + .news-tab-label {
  color: var(--c-text);
  border-color: rgba(57,255,20,0.45);
  background: rgba(57,255,20,0.08);
}
.page-news .news-tab-input:checked + .news-tab-label::before {
  opacity: 1;
  box-shadow: 0 0 8px var(--c-accent);
}
.page-news .news-tab-input:focus-visible + .news-tab-label {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* ===== 文章条目 ===== */
.page-news .article-list {
  margin-top: 28px;
  border-top: 1px solid var(--c-border);
  flex-basis: 100%;
}
.page-news .article-item {
  display: grid;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-border);
}
.page-news .article-main {
  min-width: 0;
}
.page-news .article-item .tags {
  margin-bottom: 10px;
}
.page-news .article-title {
  position: relative;
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
.page-news .article-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--c-accent), var(--c-orange));
  transition: width 0.3s ease;
}
.page-news .article-item:hover .article-title::after,
.page-news .article-title:hover::after {
  width: 100%;
}
.page-news .article-excerpt {
  margin: 0 0 14px;
  color: var(--c-text-dim);
  font-size: 15px;
  line-height: 1.65;
}
.page-news .article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  color: var(--c-text-dim);
  font-size: 13px;
}
.page-news .article-time {
  color: var(--c-accent);
  font-weight: 600;
}
.page-news .article-more {
  color: var(--c-text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(57,255,20,0.4);
  transition: border-color 0.25s, color 0.25s;
}
.page-news .article-more:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
}
.page-news .article-cover {
  aspect-ratio: 4 / 3;
}
.page-news .article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 加载更多 ===== */
.page-news .news-loadmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 30px auto 0;
  padding: 12px 28px;
  border: 1px solid rgba(57,255,20,0.4);
  border-radius: var(--radius);
  background: rgba(57,255,20,0.06);
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.page-news .news-loadmore::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
}
.page-news .news-loadmore::after {
  content: "加载更多文章";
}
.page-news .news-loadmore:hover {
  background: var(--c-accent);
  color: var(--c-bg-deep);
  border-color: var(--c-accent);
}
.page-news #news-more:checked ~ .news-loadmore::after {
  content: "已显示全部文章";
}
.page-news #news-more:checked ~ .news-loadmore::before {
  content: "✓";
  font-size: 14px;
}

/* 分类筛选时隐藏加载更多 */
.page-news #cat-report:checked ~ .news-loadmore,
.page-news #cat-review:checked ~ .news-loadmore,
.page-news #cat-update:checked ~ .news-loadmore,
.page-news #cat-guide:checked ~ .news-loadmore,
.page-news #cat-topic:checked ~ .news-loadmore {
  display: none;
}

/* 分类筛选逻辑 */
.page-news #cat-report:checked ~ .article-list .article-item:not([data-category="report"]),
.page-news #cat-review:checked ~ .article-list .article-item:not([data-category="review"]),
.page-news #cat-update:checked ~ .article-list .article-item:not([data-category="update"]),
.page-news #cat-guide:checked ~ .article-list .article-item:not([data-category="guide"]),
.page-news #cat-topic:checked ~ .article-list .article-item:not([data-category="topic"]) {
  display: none;
}
.page-news #cat-report:checked ~ .article-list .article-item[data-category="report"],
.page-news #cat-review:checked ~ .article-list .article-item[data-category="review"],
.page-news #cat-update:checked ~ .article-list .article-item[data-category="update"],
.page-news #cat-guide:checked ~ .article-list .article-item[data-category="guide"],
.page-news #cat-topic:checked ~ .article-list .article-item[data-category="topic"] {
  display: grid;
}

/* 加载更多逻辑：未选中时隐藏 is-more，选中时显示 */
.page-news #news-more:not(:checked) ~ .article-list .article-item.is-more {
  display: none;
}
.page-news #news-more:checked ~ .article-list .article-item.is-more {
  display: grid;
}

/* ===== Bridge 服务入口 ===== */
.page-news .news-bridge {
  background: var(--c-bg);
  position: relative;
}
.page-news .news-bridge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--c-accent) 0 20px,
    transparent 20px 40px,
    var(--c-orange) 40px 56px,
    transparent 56px 84px
  );
}
.page-news .news-bridge-inner {
  display: grid;
  gap: 40px;
}
.page-news .news-bridge-panel {
  padding: 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.page-news .news-bridge-panel .section-title {
  margin-bottom: 12px;
}
.page-news .news-bridge-panel p {
  color: var(--c-text-dim);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ===== SEO 内容 ===== */
.page-news .news-seo {
  background: var(--c-bg-deep);
  border-top: 1px solid var(--c-border);
}
.page-news .news-seo .prose .section-title {
  margin-bottom: 16px;
}
.page-news .news-seo .prose > p {
  color: var(--c-text-dim);
}
.page-news .news-seo .prose ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.page-news .news-seo .prose li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-dim);
  line-height: 1.65;
}
.page-news .news-seo .prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 8px rgba(57,255,20,0.5);
}
.page-news .news-seo .prose li strong {
  color: var(--c-text);
  font-weight: 600;
}

/* ===== 桌面端布局 ===== */
@media (min-width: 720px) {
  .page-news .article-item {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
  }
  .page-news .article-item--flip {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .page-news .article-item--flip .article-cover {
    order: -1;
  }
  .page-news .article-item--flip .article-main {
    order: 2;
  }
  .page-news .featured-card-title {
    font-size: 30px;
  }
}

@media (min-width: 980px) {
  .page-news .featured-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: auto auto;
    align-items: stretch;
  }
  .page-news .featured-card--lead {
    grid-row: span 2;
  }
  .page-news .featured-card--lead .featured-card-inner {
    min-height: 100%;
  }
  .page-news .featured-card--lead .featured-card-body {
    padding: 32px;
  }
  .page-news .featured-card--lead .featured-card-title {
    font-size: 36px;
  }
  .page-news .featured-card--lead .featured-card-text {
    font-size: 16px;
  }
  .page-news .news-bridge-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .page-news .section {
    padding: 88px 0;
  }
}
