.page-news {
  --news-paper: #F5F3EC;
  --news-line: #E2DED7;
  --news-dark: #0A1E18;
  --news-orange: #F95A00;
  background: var(--green-deep);
  overflow-x: hidden;
}

.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 页面标题区 */
.page-news .news-intro {
  background:
    linear-gradient(120deg, rgba(11, 107, 58, 0.28) 0%, transparent 42%),
    linear-gradient(135deg, var(--green-deep) 0%, var(--dark-void) 100%);
  padding: 44px 0 40px;
  border-bottom: 4px solid var(--orange-core);
  color: var(--white);
}

.page-news .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
}

.page-news .breadcrumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-news .breadcrumb a:hover {
  color: var(--white);
  border-bottom-color: var(--orange-core);
}

.page-news .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.36);
}

.page-news .intro-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-news .intro-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime-bright);
  margin-bottom: 12px;
}

.page-news .intro-copy h1 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 900;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.page-news .page-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}

.page-news .intro-meta {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.page-news .intro-meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.page-news .intro-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-news .intro-meta-item strong {
  display: flex;
  align-items: center;
  font-size: 15px;
}

.page-news .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-bright);
  margin-right: 6px;
  animation: news-breathe 1.8s ease-out infinite;
}

/* 章节标题 */
.page-news .section-head {
  margin-bottom: 28px;
}

.page-news .section-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-core);
  margin-bottom: 8px;
}

.page-news .section-head h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
  font-family: var(--font-display);
}

.page-news .section-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  max-width: 600px;
  color: var(--text-mute);
}

/* 更新时间线 */
.page-news .news-timeline-section {
  background:
    radial-gradient(circle at 85% 10%, rgba(11, 107, 58, 0.34) 0, transparent 320px),
    linear-gradient(135deg, var(--green-deep) 0%, var(--dark-void) 100%);
  color: var(--white);
  padding: 56px 0;
}

.page-news .news-timeline-section .section-head h2 {
  color: var(--white);
}

.page-news .news-timeline-section .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

.page-news .timeline-layout {
  display: grid;
  gap: 32px;
}

.page-news .rail-card {
  background: var(--news-paper);
  color: var(--ink);
  padding: 16px;
  border: 1px solid var(--gray-line);
  transform: rotate(-0.6deg);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease);
}

.page-news .rail-card:hover {
  transform: rotate(0deg);
}

.page-news .rail-card-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange-core);
  margin-bottom: 10px;
}

.page-news .rail-card img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  border: 1px solid var(--gray-line);
}

.page-news .rail-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mute);
  margin: 0 0 12px;
}

.page-news .rail-card-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-line);
  font-size: 12px;
  color: var(--text-mute);
}

.page-news .rail-card-note strong {
  font-size: 18px;
  color: var(--orange-core);
}

.page-news .timeline-list {
  position: relative;
  padding-left: 34px;
}

.page-news .timeline-list::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-mid), var(--lime-bright) 55%, var(--orange-core));
  opacity: 0.55;
}

.page-news .timeline-list::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--lime-bright) 35%, transparent 70%);
  opacity: 0.5;
  animation: news-scan 7s linear infinite;
  pointer-events: none;
}

.page-news .timeline-entry {
  position: relative;
  margin-bottom: 24px;
}

.page-news .timeline-marker {
  position: absolute;
  left: -34px;
  top: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--news-paper);
  border: 2px solid var(--orange-core);
  color: var(--orange-core);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-news .timeline-card {
  background: var(--news-paper);
  color: var(--ink);
  border: 1px solid var(--gray-line);
  padding: 16px 16px 12px;
  transform: rotate(-0.4deg);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-news .timeline-entry:nth-child(2n) .timeline-card {
  transform: rotate(0.4deg);
}

.page-news .timeline-card:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 8px 8px 0 rgba(249, 90, 0, 0.28);
}

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

.page-news .timeline-state {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: var(--green-mid);
}

.page-news .timeline-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.page-news .timeline-card p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mute);
}

.page-news .timeline-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed var(--gray-line);
  font-size: 11px;
  color: var(--text-mute);
}

.page-news .timeline-foot strong {
  color: var(--ink);
  font-size: 13px;
}

/* 标签目录 */
.page-news .news-tag-section {
  background: var(--news-paper);
  padding: 56px 0;
  color: var(--ink);
}

.page-news .tag-layout {
  display: grid;
  gap: 28px;
}

.page-news .tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.page-news .tag-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: var(--dark-void);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}

.page-news .tag-chip em {
  font-style: normal;
  font-size: 12px;
  color: var(--lime-bright);
  transition: color 0.2s var(--ease);
}

.page-news .tag-chip:hover {
  background: var(--orange-core);
  color: var(--dark-void);
  transform: translateX(4px);
}

.page-news .tag-chip:hover em {
  color: var(--dark-void);
}

.page-news .tag-figure {
  margin: 16px 0 0;
  position: relative;
}

.page-news .tag-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--gray-line);
  background: var(--off-white);
  transform: rotate(0.6deg);
  transition: transform 0.3s var(--ease);
}

.page-news .tag-figure:hover img {
  transform: rotate(0deg);
}

.page-news .tag-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-mute);
}

/* 专题文章网格 */
.page-news .news-article-section {
  background: var(--green-deep);
  padding: 56px 0;
}

.page-news .news-article-section .section-head h2 {
  color: var(--white);
}

.page-news .news-article-section .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

.page-news .article-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.page-news .article-card {
  display: flex;
  flex-direction: column;
  background: var(--news-paper);
  color: var(--ink);
  border: 1px solid var(--gray-line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-news .article-card:hover {
  transform: translateY(-6px);
  box-shadow: 10px 10px 0 rgba(166, 211, 60, 0.18);
}

.page-news .article-media img {
  width: 100%;
  height: auto;
  display: block;
}

.page-news .article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.page-news .article-card:hover .article-body {
  background: var(--orange-core);
}

.page-news .article-card:hover .article-body h3,
.page-news .article-card:hover .article-body p {
  color: var(--ink);
}

.page-news .article-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.page-news .article-tag {
  display: inline-block;
  background: var(--gray-line);
  color: var(--ink);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-news .article-card:hover .article-tag {
  background: var(--dark-void);
  color: var(--white);
}

.page-news .article-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.page-news .article-body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mute);
}

.page-news .article-card:hover .article-body p {
  color: rgba(17, 17, 17, 0.88);
}

.page-news .article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--orange-core);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.page-news .article-card:hover .article-link {
  color: var(--dark-void);
}

.page-news .article-link:hover {
  text-decoration: underline;
}

.page-news .article-tip {
  font-size: 12px;
  background: var(--gray-line);
  padding: 8px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  color: var(--text-mute);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-news .article-card:hover .article-tip {
  background: rgba(6, 45, 34, 0.14);
  color: var(--ink);
}

/* 订阅与更新提示 */
.page-news .news-subscribe-section {
  background: var(--dark-void);
  color: var(--white);
  padding: 48px 0;
}

.page-news .subscribe-layout {
  display: grid;
  gap: 28px;
}

.page-news .subscribe-copy .section-kicker {
  color: var(--amber-accent);
}

.page-news .subscribe-copy h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.page-news .subscribe-copy p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 520px;
}

.page-news .rss-visual {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.page-news .rss-badge {
  background: var(--orange-core);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.page-news .rss-hint {
  color: var(--lime-bright);
  font-size: 12px;
}

.page-news .subscribe-figure {
  margin: 12px 0 0;
}

.page-news .subscribe-figure img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(-0.6deg);
  transition: transform 0.3s var(--ease);
}

.page-news .subscribe-figure:hover img {
  transform: rotate(0deg);
}

.page-news .subscribe-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* 动效 */
@keyframes news-breathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(166, 211, 60, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(166, 211, 60, 0);
  }
}

@keyframes news-scan {
  0% {
    top: 0;
    opacity: 0;
  }
  5% {
    opacity: 0.7;
  }
  90% {
    top: calc(100% - 2px);
    opacity: 0.4;
  }
  100% {
    top: calc(100% - 2px);
    opacity: 0;
  }
}

/* 桌面布局增强 */
@media (min-width: 860px) {
  .page-news .intro-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: end;
  }

  .page-news .intro-copy h1 {
    font-size: 44px;
  }

  .page-news .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (min-width: 900px) {
  .page-news .timeline-layout {
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
  }

  .page-news .timeline-rail {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }

  .page-news .tag-layout {
    grid-template-columns: 1fr 0.75fr;
    gap: 64px;
    align-items: center;
  }

  .page-news .tag-figure {
    margin: 0;
  }

  .page-news .subscribe-layout {
    grid-template-columns: 1fr 0.8fr;
    gap: 56px;
    align-items: center;
  }

  .page-news .subscribe-figure {
    margin: 0;
  }
}
