.page-news {
  --news-line: rgba(156, 214, 228, 0.32);
  --news-rule: rgba(11, 61, 46, 0.5);
  --news-shadow-card: 8px 8px 0 rgba(11, 61, 46, 0.16);
  --news-shadow-deep: 12px 12px 0 rgba(11, 61, 46, 0.22);
  background:
    linear-gradient(rgba(156, 214, 228, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 214, 228, 0.08) 1px, transparent 1px),
    var(--sf-cream);
  background-size: 44px 44px;
}

.page-news .news-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ===== 首屏横幅 ===== */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  background: var(--sf-green);
  border-bottom: 4px solid var(--sf-gold);
  color: var(--sf-cream);
}

.page-news .news-hero-note {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--sf-mono);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: rgba(240, 212, 122, 0.6);
  z-index: 2;
}

.page-news .news-hero-grid {
  display: grid;
  gap: 28px;
  padding-block: 36px 44px;
  position: relative;
  z-index: 1;
}

.page-news .news-hero .breadcrumb {
  margin-bottom: 18px;
  font-size: 13px;
}

.page-news .news-hero .breadcrumb-item {
  color: rgba(245, 241, 232, 0.7);
}

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

.page-news .news-hero .page-title {
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.page-news .news-hero .page-lead {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.82);
  margin-bottom: 28px;
}

.page-news .news-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.page-news .hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 3px solid var(--sf-gold);
  padding-left: 12px;
}

.page-news .hero-stat .stat-num {
  font-family: var(--sf-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--sf-gold-light);
  line-height: 1;
}

.page-news .hero-stat .stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245, 241, 232, 0.72);
}

.page-news .news-hero-board {
  align-self: end;
  background: var(--sf-navy);
  border: 2px solid var(--sf-gold);
  box-shadow: 8px 8px 0 rgba(240, 212, 122, 0.5);
  padding: 18px 20px;
  transform: rotate(1deg);
  max-width: 460px;
}

.page-news .hero-board-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sf-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--sf-gold-light);
  border-bottom: 1px solid rgba(156, 214, 228, 0.22);
  padding-bottom: 12px;
  margin-bottom: 6px;
}

.page-news .hero-board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(156, 214, 228, 0.16);
}

.page-news .hero-board-row:last-child {
  border-bottom: 0;
}

.page-news .hero-board-row dt {
  font-size: 14px;
  color: rgba(245, 241, 232, 0.86);
}

.page-news .hero-board-row dd {
  margin: 0;
  font-family: var(--sf-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--sf-gold-light);
}

/* ===== 主体布局 ===== */
.page-news .news-layout {
  display: grid;
  gap: 32px;
  padding-block: 40px 72px;
  align-items: start;
}

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

.page-news .rail-card {
  background: var(--sf-cream);
  border: var(--sf-border);
  box-shadow: var(--news-shadow-card);
  padding: 20px;
}

.page-news .rail-card .section-head {
  margin-bottom: 14px;
}

.page-news .rail-card .section-title {
  font-size: 22px;
  color: var(--sf-green);
}

.page-news .rail-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--sf-ink);
  margin-top: 14px;
  margin-bottom: 0;
}

/* ===== 分类筛选 ===== */
.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .filter-btn {
  font-family: var(--sf-font);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid var(--sf-green-light);
  color: var(--sf-green);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.page-news .filter-btn:hover {
  background: var(--sf-gold-light);
  border-color: var(--sf-gold);
}

.page-news .filter-btn.is-active {
  background: var(--sf-gold);
  border-color: var(--sf-gold);
  color: var(--sf-green);
  box-shadow: 4px 4px 0 rgba(11, 61, 46, 0.2);
}

/* ===== 归档入口 ===== */
.page-news .archive-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.page-news .archive-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(229, 229, 229, 0.65);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-news .archive-item:hover {
  background: var(--sf-gold-light);
  border-color: var(--sf-gold);
  transform: translateX(4px);
}

.page-news .archive-strong {
  font-weight: 900;
  font-size: 15px;
  color: var(--sf-green);
}

.page-news .archive-meta {
  font-family: var(--sf-mono);
  font-size: 12px;
  color: var(--sf-green-light);
  white-space: nowrap;
}

.page-news .archive-image {
  margin-top: 18px;
}

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

/* ===== 订阅与提醒 ===== */
.page-news .subscribe-panel {
  background: var(--sf-navy);
  border-color: var(--sf-navy);
  box-shadow: 10px 10px 0 rgba(11, 61, 46, 0.26);
}

.page-news .subscribe-panel .section-title {
  color: #fff;
}

.page-news .subscribe-lead {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.8);
  margin: 0 0 18px;
}

.page-news .subscribe-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.page-news .fav-count {
  font-family: var(--sf-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--sf-gold-light);
}

.page-news .subscribe-panel .rail-note {
  color: rgba(245, 241, 232, 0.66);
}

/* ===== 置顶专题 ===== */
.page-news .feature-story {
  position: relative;
  background: var(--sf-green-light);
  border: 3px solid var(--sf-green);
  box-shadow: var(--news-shadow-deep);
  padding: 24px 20px 28px;
  color: var(--sf-cream);
  margin-bottom: 48px;
}

.page-news .feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-news .feature-heading {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  color: #fff;
  max-width: 920px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.page-news .feature-summary {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(245, 241, 232, 0.84);
  max-width: 900px;
  margin: 0 0 20px;
}

.page-news .feature-cover {
  margin: 0 0 22px;
  border: 2px solid var(--sf-gold);
}

.page-news .feature-cover img,
.page-news .post-figure img,
.page-news .feature-full-media img,
.page-news .archive-image img {
  display: block;
  width: 100%;
  height: auto;
}

.page-news .feature-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.page-news .feature-stat {
  background: rgba(11, 61, 46, 0.5);
  border-left: 3px solid var(--sf-gold);
  padding: 12px 14px;
}

.page-news .feature-stat .stat-num {
  display: block;
  font-family: var(--sf-mono);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.page-news .feature-stat .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245, 241, 232, 0.76);
}

.page-news .feature-full {
  display: grid;
  gap: 20px;
  padding: 20px;
  border: 1px dashed rgba(156, 214, 228, 0.5);
  margin-top: 4px;
}

.page-news .feature-full-copy h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--sf-gold-light);
  margin: 0 0 14px;
}

.page-news .feature-full-copy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.page-news .feature-full-copy li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.85);
}

.page-news .feature-full-copy li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--sf-gold);
  font-weight: 700;
}

.page-news .feature-full-media {
  border: 2px solid var(--sf-ice);
}

/* ===== 时间线 ===== */
.page-news .timeline-section {
  position: relative;
}

.page-news .timeline-section > .section-head {
  margin-bottom: 28px;
}

.page-news .timeline-wrap {
  position: relative;
  margin-top: 4px;
}

.page-news .timeline-item {
  position: relative;
  padding: 0 0 28px 26px;
  margin-left: 12px;
  border-left: 4px solid var(--news-line);
}

.page-news .timeline-item:last-child {
  border-left-color: transparent;
}

.page-news .timeline-dot {
  position: absolute;
  left: -15px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sf-gold);
  border: 3px solid var(--sf-cream);
  box-shadow: 0 0 0 2px var(--sf-green), 0 0 0 4px rgba(212, 160, 19, 0.4);
}

.page-news .timeline-card {
  background: #fff;
  border: 2px solid var(--sf-green);
  box-shadow: var(--news-shadow-card);
  padding: 18px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-news .timeline-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 rgba(11, 61, 46, 0.22);
}

.page-news .post-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.page-news .post-time {
  font-family: var(--sf-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--sf-green-light);
}

.page-news .post-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--sf-green);
  margin: 0 0 8px;
}

.page-news .post-summary {
  font-size: 14px;
  line-height: 1.75;
  color: var(--sf-ink);
  margin: 0 0 14px;
}

.page-news .post-figure {
  margin: 16px 0;
  border: 2px solid rgba(11, 61, 46, 0.2);
}

.page-news .post-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--sf-green);
  border-bottom: 2px solid var(--sf-gold);
  padding-bottom: 2px;
  text-decoration: none;
}

.page-news .post-link span {
  transition: transform 0.2s ease;
}

.page-news .post-link:hover span {
  transform: translateX(4px);
}

.page-news .timeline-empty {
  display: none;
}

.page-news .timeline-more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 992px) {
  .page-news .news-layout {
    grid-template-columns: 320px 1fr;
  }

  .page-news .news-sidebar {
    position: sticky;
    top: 110px;
  }

  .page-news .news-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }

  .page-news .news-hero-board {
    justify-self: end;
    width: 100%;
  }

  .page-news .feature-story {
    padding: 32px 32px 36px;
  }

  .page-news .feature-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-news .feature-full {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-news .timeline-wrap {
    margin-inline: 24px;
  }

  .page-news .timeline-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(
      to bottom,
      var(--sf-green-light) 0 10px,
      var(--news-line) 10px 18px
    );
    z-index: 0;
  }

  .page-news .timeline-item,
  .page-news .timeline-item.is-right {
    width: 50%;
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }

  .page-news .timeline-item {
    padding: 0 42px 40px 0;
  }

  .page-news .timeline-item.is-right {
    margin-left: 50%;
    padding: 0 0 40px 42px;
  }

  .page-news .timeline-item.is-left .timeline-dot {
    left: auto;
    right: -13px;
  }

  .page-news .timeline-item.is-right .timeline-dot {
    left: -13px;
    right: auto;
  }

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

  .page-news .timeline-item.is-left .post-meta-line {
    justify-content: flex-start;
  }
}
