.page-news {
  --gold: #D4A017;
  --gold-light: #F0C75E;
  --gold-dark: #B8860B;
  --red: #8B0000;
  --red-light: #C62828;
  --blue: #1E90FF;
  --bg-dark: #1A1A1A;
  --bg-card: #2C2C2C;
  --bg-card-hover: #363636;
  --text-primary: #FFFFFF;
  --text-secondary: #CCCCCC;
  --link: #F0C75E;
  --link-hover: #D4A017;
  --border-gold: 1px solid rgba(212, 160, 23, 0.45);
  --shadow-gold: 0 4px 24px rgba(212, 160, 23, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 70px;
  --max-w: 1280px;
  --transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  --font-ui: 'SF Mono', 'Fira Code', 'Courier New', monospace;

  display: block;
  width: 100%;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  padding: 24px 0 64px;
  font-family: 'Noto Sans SC', sans-serif;
}

/* ---------- 容器 ---------- */
.page-news .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-family: var(--font-ui);
}

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

.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible {
  color: var(--link-hover);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-news .breadcrumb .sep {
  color: var(--gold);
  font-weight: 700;
}

.page-news .breadcrumb [aria-current="page"] {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---------- 页面标题区 ---------- */
.page-news .news-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: var(--border-gold);
}

.page-news .news-header-text {
  flex: 1;
}

.page-news .news-header-visual {
  flex-shrink: 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-news .news-header-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
  border: var(--border-gold);
}

/* ---------- section-title 复用增强 ---------- */
.page-news .section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-news .section-title .index {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--gold);
  background: rgba(212, 160, 23, 0.12);
  padding: 2px 10px;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  white-space: nowrap;
}

/* ---------- 通用文字 ---------- */
.page-news .text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-news .text-gold {
  color: var(--gold-light);
}

.page-news .text-center {
  text-align: center;
}

/* ---------- 间距 ---------- */
.page-news .mb-16 { margin-bottom: 16px; }
.page-news .mb-32 { margin-bottom: 32px; }
.page-news .mb-48 { margin-bottom: 48px; }
.page-news .mt-16 { margin-top: 16px; }
.page-news .mt-32 { margin-top: 32px; }
.page-news .mt-48 { margin-top: 48px; }

/* ---------- 筛选栏 ---------- */
.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(212, 160, 23, 0.25);
}

.page-news .filter-btn {
  background: transparent;
  border: 1px solid rgba(212, 160, 23, 0.3);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.page-news .filter-btn:hover,
.page-news .filter-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.15);
  outline: none;
}

.page-news .filter-btn.is-active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-dark);
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(212, 160, 23, 0.25);
}

/* ---------- 资讯区块 ---------- */
.page-news .news-section {
  margin-bottom: 56px;
}

/* ---------- 卡片网格 ---------- */
.page-news .card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ---------- 通用卡片 ---------- */
.page-news .card {
  background: var(--bg-card);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.page-news .card:hover,
.page-news .card:focus-within {
  background: var(--bg-card-hover);
  box-shadow: 0 8px 40px rgba(212, 160, 23, 0.2);
  transform: translateY(-2px);
}

.page-news .card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-bottom: var(--border-gold);
}

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

.page-news .card-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 8px 0 6px;
  letter-spacing: 0.01em;
}

.page-news .card-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ---------- tag-gold ---------- */
.page-news .tag-gold {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold-light);
  padding: 2px 10px;
  border-radius: var(--radius);
  border-left: 2px solid var(--gold);
  width: fit-content;
}

/* ---------- 展开详情 ---------- */
.page-news .card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.page-news .card-detail p {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(212, 160, 23, 0.12);
}

.page-news .card[data-expanded] .card-detail {
  max-height: 300px;
  opacity: 1;
}

.page-news .expand-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- btn-ghost ---------- */
.page-news .btn-ghost {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  padding: 6px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.page-news .btn-ghost:hover,
.page-news .btn-ghost:focus-visible {
  background: rgba(212, 160, 23, 0.2);
  box-shadow: 0 0 16px rgba(212, 160, 23, 0.2);
  outline: none;
}

/* ---------- 升段心得卡片特殊样式 ---------- */
.page-news .insight-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .insight-card {
  flex-direction: column;
}

.page-news .insight-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 16px 0;
}

.page-news .insight-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.2);
}

.page-news .insight-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  letter-spacing: 0.02em;
  margin: 2px 0 0;
}

.page-news .insight-card .card-body {
  padding-top: 8px;
}

/* ---------- 页脚链接区 ---------- */
.page-news .news-footer-links {
  margin-top: 48px;
  padding-top: 24px;
  border-top: var(--border-gold);
}

.page-news .news-footer-links a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.page-news .news-footer-links a:hover,
.page-news .news-footer-links a:focus-visible {
  color: var(--link-hover);
  border-bottom-color: var(--gold);
  outline: none;
}

/* ========== 桌面端媒体查询 ========== */
@media (min-width: 768px) {
  .page-news {
    padding: 32px 0 80px;
  }

  .page-news .container {
    padding: 0 32px;
  }

  .page-news .news-header {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .page-news .news-header-text {
    flex: 1;
  }

  .page-news .news-header-visual {
    width: 50%;
    max-width: 600px;
  }

  .page-news .section-title {
    font-size: 2.2rem;
  }

  .page-news .section-title .index {
    font-size: 1rem;
  }

  .page-news .filter-bar {
    gap: 12px;
  }

  .page-news .filter-btn {
    font-size: 0.9rem;
    padding: 8px 24px;
  }

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

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

  .page-news .insight-card {
    flex-direction: column;
  }

  .page-news .insight-card-header {
    padding: 20px 20px 0;
  }

  .page-news .insight-avatar {
    width: 72px;
    height: 72px;
  }

  .page-news .card-body {
    padding: 20px;
  }

  .page-news .card-title {
    font-size: 1.25rem;
  }

  .page-news .news-footer-links {
    margin-top: 64px;
  }
}

/* ========== 大桌面端 ========== */
@media (min-width: 1200px) {
  .page-news .container {
    padding: 0 48px;
  }

  .page-news .news-header {
    gap: 60px;
  }

  .page-news .section-title {
    font-size: 2.5rem;
  }

  .page-news .card-grid {
    gap: 28px;
  }

  .page-news .insight-list {
    gap: 28px;
  }
}
