.page-news {
  --news-green-dark: #145A2E;
  --news-card-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 6px 20px rgba(0,0,0,0.04);
  --news-card-shadow-hover: 0 4px 16px rgba(0,0,0,0.10), 0 12px 32px rgba(0,0,0,0.06);
  --news-timeline-line: #D0D7DE;
  --news-card-bg: #FFFFFF;
  --news-rotate-odd: 0.3deg;
  --news-rotate-even: -0.2deg;
  background-color: var(--bg-light);
}

/* ========== 横幅 ========== */
.page-news .news-hero {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  background-color: var(--green);
}
.page-news .news-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
}
.page-news .news-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-news .news-hero-content {
  position: relative;
  z-index: 1;
  padding: 32px 16px 28px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-news .breadcrumb {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
}
.page-news .breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.page-news .breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
}
.page-news .breadcrumb li + li::before {
  content: "/";
  color: rgba(255,255,255,0.45);
}
.page-news .breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color var(--transition);
}
.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus {
  border-color: var(--text-light);
}
.page-news .breadcrumb [aria-current="page"] {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.page-news .page-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--text-light);
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}
.page-news .news-hero-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}

/* ========== 主体两栏布局 ========== */
.page-news .news-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 16px 56px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ========== 章节标题 ========== */
.page-news .section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0 0 20px 0;
  position: relative;
  display: inline-block;
}
.page-news .section-heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background-color: var(--orange);
  margin-top: 6px;
  border-radius: 2px;
}

/* ========== 时间轴 ========== */
.page-news .news-timeline {
  flex: 1 1 auto;
  min-width: 0;
}
.page-news .timeline-axis {
  position: relative;
  padding-left: 28px;
}
.page-news .timeline-axis::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--news-timeline-line);
  border-radius: 1px;
}
.page-news .timeline-item {
  position: relative;
  margin-bottom: 28px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.page-news .timeline-item:last-child {
  margin-bottom: 0;
}
.page-news .timeline-marker {
  position: absolute;
  left: -28px;
  top: 16px;
  width: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.page-news .timeline-marker::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--bg-light);
  box-shadow: 0 0 0 2px var(--orange);
  flex-shrink: 0;
}
.page-news .timeline-week {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--orange-dark);
  margin-top: 4px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========== 时间轴卡片 ========== */
.page-news .timeline-card {
  display: flex;
  flex-direction: column;
  background: var(--news-card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--news-card-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}
.page-news .timeline-item:nth-child(odd) .timeline-card {
  transform: rotate(var(--news-rotate-odd));
}
.page-news .timeline-item:nth-child(even) .timeline-card {
  transform: rotate(var(--news-rotate-even));
}
.page-news .timeline-card:hover,
.page-news .timeline-card:focus-within {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--news-card-shadow-hover);
}
.page-news .timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--orange));
  opacity: 0.6;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.page-news .timeline-card-thumb {
  width: 100%;
  max-height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.page-news .timeline-card-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.page-news .timeline-card:hover .timeline-card-thumb img,
.page-news .timeline-card:focus-within .timeline-card-thumb img {
  transform: scale(1.04);
}
.page-news .timeline-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-news .timeline-card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 2px 10px;
  letter-spacing: 0.02em;
}
.page-news .timeline-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
}
.page-news .timeline-card-title a {
  color: inherit;
  text-decoration: none;
}
.page-news .timeline-card-title a:hover {
  color: var(--green);
}
.page-news .timeline-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #3A3A3C;
  margin: 0;
}
.page-news .timeline-card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8E8E93;
  margin-top: 4px;
}

/* ========== 热点话题 ========== */
.page-news .news-topics {
  flex: 0 0 auto;
  width: 100%;
}
.page-news .topics-intro {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #3A3A3C;
  margin: -12px 0 18px 0;
  line-height: 1.5;
}
.page-news .topics-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.page-news .topic-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  border: none;
  line-height: 1.4;
  min-height: 40px;
}
.page-news .topic-tag:hover,
.page-news .topic-tag:focus {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.page-news .topic-tag:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.page-news .topic-tag-lg {
  font-size: 1.0625rem;
  padding: 8px 22px;
}
.page-news .topic-tag-md {
  font-size: 0.9375rem;
  padding: 6px 18px;
}
.page-news .topic-tag-sm {
  font-size: 0.8125rem;
  padding: 4px 14px;
}
.page-news .topics-bg {
  margin-top: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  max-height: 120px;
  opacity: 0.35;
}
.page-news .topics-bg img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.page-news .topics-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #E5E5EA;
}
.page-news .topics-links .button {
  font-size: 0.875rem;
  padding: 8px 20px;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page-news .topics-links .button-primary {
  background-color: var(--green);
  color: var(--text-light);
  border: 1px solid var(--green);
}
.page-news .topics-links .button-primary:hover,
.page-news .topics-links .button-primary:focus {
  background-color: var(--news-green-dark);
  border-color: var(--news-green-dark);
}
.page-news .topics-links .button-secondary {
  background-color: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}
.page-news .topics-links .button-secondary:hover,
.page-news .topics-links .button-secondary:focus {
  background-color: var(--green);
  color: var(--text-light);
}

/* ========== 桌面端两栏布局 ========== */
@media (min-width: 768px) {
  .page-news .news-hero {
    min-height: 280px;
  }
  .page-news .news-hero-content {
    padding: 40px 24px 36px;
  }
  .page-news .page-title {
    font-size: 2.625rem;
  }
  .page-news .news-hero-desc {
    font-size: 1.125rem;
  }
  .page-news .news-main {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 24px 64px;
  }
  .page-news .news-timeline {
    flex: 0 0 62%;
    max-width: 62%;
  }
  .page-news .news-topics {
    flex: 0 0 34%;
    max-width: 34%;
    position: sticky;
    top: 100px;
  }
  .page-news .timeline-axis {
    padding-left: 36px;
  }
  .page-news .timeline-axis::before {
    left: 12px;
  }
  .page-news .timeline-marker {
    left: -36px;
    width: 36px;
  }
  .page-news .timeline-card {
    flex-direction: row;
  }
  .page-news .timeline-card-thumb {
    width: 180px;
    max-height: none;
    flex-shrink: 0;
  }
  .page-news .timeline-card-thumb img {
    height: 100%;
    min-height: 150px;
    object-fit: cover;
  }
  .page-news .timeline-card-body {
    padding: 18px 22px 20px;
    flex: 1;
  }
  .page-news .topics-bg {
    max-height: 140px;
  }
  .page-news .topics-bg img {
    height: 140px;
  }
}

@media (min-width: 1024px) {
  .page-news .news-hero-content {
    padding: 48px 32px 40px;
  }
  .page-news .page-title {
    font-size: 3rem;
  }
  .page-news .news-main {
    padding: 48px 32px 80px;
    gap: 56px;
  }
  .page-news .news-timeline {
    flex: 0 0 64%;
    max-width: 64%;
  }
  .page-news .news-topics {
    flex: 0 0 30%;
    max-width: 30%;
  }
  .page-news .timeline-card-thumb {
    width: 200px;
  }
  .page-news .timeline-card-title {
    font-size: 1.25rem;
  }
}

/* ========== 滚动可见动画（渐进增强） ========== */
.page-news .timeline-item[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}
.page-news .timeline-item:not([data-visible]) {
  opacity: 0.96;
  transform: translateY(6px);
}
.page-news .topic-tag[aria-pressed="true"] {
  box-shadow: 0 0 0 3px var(--blue), 0 4px 12px rgba(0,0,0,0.10);
  transform: scale(1.04);
}

/* ========== 标签复用（确保在 .page-news 内正确呈现） ========== */
.page-news .tag {
  display: inline-block;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.4;
}
.page-news .tag-orange {
  background-color: var(--orange);
  color: var(--text-light);
}
.page-news .tag-green {
  background-color: var(--green);
  color: var(--text-light);
}

/* ========== 移动端微调 ========== */
@media (max-width: 374px) {
  .page-news .page-title {
    font-size: 1.625rem;
  }
  .page-news .news-hero-content {
    padding: 24px 12px 20px;
  }
  .page-news .news-main {
    padding: 24px 12px 40px;
  }
  .page-news .timeline-card-body {
    padding: 12px 14px 14px;
  }
  .page-news .timeline-card-title {
    font-size: 1rem;
  }
  .page-news .topic-tag {
    font-size: 0.8125rem;
    padding: 4px 12px;
    min-height: 36px;
  }
  .page-news .topic-tag-lg {
    font-size: 0.9375rem;
    padding: 6px 16px;
  }
  .page-news .topic-tag-md {
    font-size: 0.875rem;
    padding: 4px 14px;
  }
  .page-news .topic-tag-sm {
    font-size: 0.75rem;
    padding: 3px 10px;
  }
  .page-news .topics-links {
    flex-direction: column;
  }
  .page-news .topics-links .button {
    width: 100%;
    justify-content: center;
  }
}
