/* =========================================================
   黑料网站 - 全站样式表
   版本: 1.0
   说明: 资讯内容站专用样式，覆盖首页、内页、404页
   ========================================================= */

/* =========================================================
   1. Base — 基础样式
   ========================================================= */
:root {
  --color-dark: #2c2c2c;
  --color-bg: #f5f5f0;
  --color-accent: #3a6b7a;
  --color-accent-light: #e8f0f2;
  --color-gold: #c9a86a;
  --color-muted: #8a8a8a;
  --color-border: #e0ddd5;
  --color-white: #ffffff;
  --color-text-light: #6b6b6b;

  --font-serif: "Songti SC", "SimSun", "Noto Serif SC", serif;
  --font-sans: "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;

  --container-width: 1200px;
  --container-padding: 24px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 8px;

  --header-height: 72px;
  --transition-base: 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-dark);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-dark);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  line-height: 1.4;
  color: var(--color-dark);
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

/* 屏幕阅读器专用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   2. Layout — 全局布局骨架
   ========================================================= */

/* 全站容器 */
.header-inner,
.footer-inner,
.site-main,
.hero-layout,
.section-head,
.source-box {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* 页头 */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

/* 品牌 Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background-color: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-white);
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 1px;
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--color-text-light);
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background-color var(--transition-base);
}

.nav-list li a:hover {
  color: var(--color-accent);
  background-color: var(--color-accent-light);
}

.nav-list li a.is-current {
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  font-weight: 600;
}

/* 移动端导航按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* 主体 */
.site-main {
  padding-top: 40px;
  padding-bottom: 60px;
  min-height: 60vh;
}

.inner-main {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  padding-top: 28px;
  padding-bottom: 60px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--color-muted);
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: var(--color-border);
  user-select: none;
}

.breadcrumb-current {
  color: var(--color-dark);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-border);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-description {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
  max-width: 720px;
}

/* 页脚 */
.site-footer {
  background-color: var(--color-dark);
  color: #cfcfcf;
  padding-top: 56px;
  padding-bottom: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #a8a8a8;
  font-size: 14px;
  transition: color var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--color-gold);
}

.footer-brand {
  padding-right: 20px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: #a8a8a8;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

/* =========================================================
   3. Components — 通用组件
   ========================================================= */

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 1px solid var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-back-home {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: background-color var(--transition-base);
}

.btn-back-home:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

/* 区块标题 */
.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: 28px;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 12px auto 0;
}

.section-desc {
  color: var(--color-muted);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}

/* 通用 section 标题（内页） */
.section-title {
  font-size: 24px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background-color: var(--color-gold);
}

/* 专题卡片（首页 + 专题页共用） */
.topic-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.topic-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.topic-card:hover .card-media img {
  transform: scale(1.03);
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-body h3 a {
  color: var(--color-dark);
  transition: color var(--transition-base);
}

.card-body h3 a:hover {
  color: var(--color-accent);
}

.card-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* =========================================================
   4. Pages — 首页
   ========================================================= */

/* Hero 区域 */
.hero {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  padding-right: 20px;
}

.hero-issue {
  display: inline-block;
  font-size: 13px;
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--color-accent-light);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 频道分类导航 */
.channels {
  padding: 56px 0;
}

.channel-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-tag {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--color-dark);
  transition: all var(--transition-base);
}

.channel-tag:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* 最新动态 */
.latest {
  padding: 56px 0;
  background-color: var(--color-white);
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dynamic-item {
  display: flex;
  gap: 20px;
  padding: 16px;
  background-color: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.dynamic-item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(58, 107, 122, 0.1);
}

.dynamic-thumb {
  flex-shrink: 0;
  width: 120px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.dynamic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dynamic-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dynamic-main h3 {
  font-size: 17px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.dynamic-main h3 a {
  color: var(--color-dark);
  transition: color var(--transition-base);
}

.dynamic-main h3 a:hover {
  color: var(--color-accent);
}

.dynamic-excerpt {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dynamic-date {
  font-size: 13px;
  color: var(--color-muted);
}

/* 专题推荐区 */
.topics {
  padding: 56px 0;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* 编辑推荐 */
.editorial {
  padding: 56px 0;
  background-color: var(--color-white);
}

.editorial-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.editorial-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background-color: var(--color-bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-gold);
  transition: box-shadow var(--transition-base);
}

.editorial-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rec-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  font-family: var(--font-serif);
}

.editorial-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.editorial-item h3 a {
  color: var(--color-dark);
}

.editorial-item h3 a:hover {
  color: var(--color-accent);
}

.editorial-item p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.7;
}

/* 信息来源与反馈 */
.source {
  padding: 48px 0;
}

.source-box {
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  border: 1px solid rgba(58, 107, 122, 0.2);
}

.source-box h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-accent);
}

.source-box p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.source-links {
  margin-top: 16px;
}

.source-links a {
  display: inline-block;
  margin-right: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.source-links a:hover {
  border-bottom-color: var(--color-accent);
}

/* =========================================================
   5. Pages — 频道分类页
   ========================================================= */

.channel-list {
  margin-bottom: 40px;
}

.channel-list > h2 {
  font-size: 24px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  position: relative;
}

.channel-list > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background-color: var(--color-gold);
}

.channel-item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}

.channel-item:last-child {
  border-bottom: none;
}

.channel-thumb {
  flex-shrink: 0;
  width: 180px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.channel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-info {
  flex: 1;
}

.channel-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.channel-info p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.channel-info a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-base);
}

.channel-info a:hover {
  gap: 8px;
}

/* 频道说明 */
.channel-note {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--color-border);
}

.channel-note h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.channel-note p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* =========================================================
   6. Pages — 内容专题页
   ========================================================= */

.topic-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.topic-grid .topic-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.topic-grid .topic-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.topic-grid .topic-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.topic-card-content {
  padding: 20px;
}

.topic-card-title {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.topic-card-title a {
  color: var(--color-dark);
  transition: color var(--transition-base);
}

.topic-card-title a:hover {
  color: var(--color-accent);
}

.topic-card-excerpt {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* 专题导语 */
.topic-intro {
  margin-bottom: 48px;
}

.intro-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-item {
  padding: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
}

.intro-item-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.intro-item-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* 相关链接 */
.related-links {
  padding: 20px;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(58, 107, 122, 0.2);
}

.related-links p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

.related-links a {
  display: inline-block;
  margin: 4px 16px 4px 0;
  font-weight: 600;
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.related-links a:hover {
  border-bottom-color: var(--color-accent);
}

/* =========================================================
   7. Pages — 实用指南页
   ========================================================= */

.layout-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.sidebar-left .guide-toc {
  order: 0;
}

.sidebar-left .guide-content {
  order: 1;
}

/* 目录侧栏 */
.guide-toc {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--color-border);
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.guide-toc h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.guide-toc ul li {
  margin-bottom: 10px;
}

.guide-toc ul li a {
  font-size: 14px;
  color: var(--color-text-light);
  display: block;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.guide-toc ul li a:hover {
  color: var(--color-accent);
  background-color: var(--color-accent-light);
}

.toc-figure {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.toc-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toc-figure figcaption {
  font-size: 12px;
  color: var(--color-muted);
  padding: 8px 0 0;
  text-align: center;
}

/* 指南正文 */
.guide-content {
  min-width: 0;
}

.guide-section {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.guide-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.guide-section > h2 {
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  position: relative;
}

.guide-section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background-color: var(--color-gold);
}

.guide-section > h3 {
  font-size: 18px;
  margin: 24px 0 12px;
}

.guide-section > p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.step-list {
  counter-reset: step;
  margin: 16px 0;
}

.step-list li {
  position: relative;
  padding: 12px 0 12px 40px;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  border-bottom: 1px dashed var(--color-border);
}

.step-list li:last-child {
  border-bottom: none;
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 26px;
  height: 26px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list li a {
  color: var(--color-accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.step-list li a:hover {
  border-bottom-color: var(--color-accent);
}

/* =========================================================
   8. Pages — 深度解读页
   ========================================================= */

.article-list {
  margin-bottom: 48px;
}

.article-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}

.article-item:last-child {
  border-bottom: none;
}

.article-media {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  flex: 1;
  min-width: 0;
}

.article-title {
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-title a {
  color: var(--color-dark);
  transition: color var(--transition-base);
}

.article-title a:hover {
  color: var(--color-accent);
}

.article-meta {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.article-excerpt {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-link {
  margin: 0;
}

.article-link a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-base);
}

.article-link a:hover {
  gap: 8px;
}

/* 趋势解读 */
.trend-section {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--color-border);
}

.trend-content p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.trend-content p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   9. Pages — 404 页面
   ========================================================= */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-section {
  text-align: center;
  max-width: 480px;
  padding: 48px 24px;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 96px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 28px;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* =========================================================
   10. Responsive — 响应式
   ========================================================= */

/* 平板设备 */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-media {
    max-width: 640px;
  }

  .layout-shell {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
}

/* 手机设备 */
@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
    --header-height: 60px;
  }

  /* 页头 */
  .header-inner {
    height: var(--header-height);
    gap: 12px;
  }

  .logo-text {
    font-size: 17px;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
  }

  /* 导航按钮显示 */
  .nav-toggle {
    display: flex;
  }

  /* 导航列表收起 */
  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  /* 主体间距 */
  .site-main {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .inner-main {
    padding-top: 16px;
    padding-bottom: 40px;
  }

  .page-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-description {
    font-size: 15px;
  }

  .breadcrumb {
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* 首页 Hero */
  .hero {
    padding: 32px 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .hero-figure {
    aspect-ratio: 16 / 10;
  }

  /* 频道标签 */
  .channels,
  .latest,
  .topics,
  .editorial {
    padding: 40px 0;
  }

  .channel-tags {
    gap: 8px;
  }

  .channel-tag {
    padding: 8px 16px;
    font-size: 14px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  /* 动态列表 */
  .dynamic-item {
    flex-direction: column;
    gap: 12px;
  }

  .dynamic-thumb {
    width: 100%;
    aspect-ratio: 16 / 8;
  }

  .dynamic-main h3 {
    font-size: 16px;
  }

  /* 专题卡片 */
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-grid-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-body {
    padding: 16px;
  }

  .card-body h3 {
    font-size: 16px;
  }

  /* 编辑推荐 */
  .editorial-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .rec-badge {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .editorial-item h3 {
    font-size: 16px;
  }

  /* 来源说明 */
  .source-box {
    padding: 24px 20px;
  }

  .source-links a {
    display: block;
    margin: 8px 0;
  }

  /* 页脚 */
  .site-footer {
    padding-top: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* 频道分类页 */
  .channel-item {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .channel-thumb {
    width: 100%;
    aspect-ratio: 16 / 8;
  }

  .channel-info h3 {
    font-size: 18px;
  }

  .channel-note {
    padding: 20px;
  }

  /* 专题页 */
  .topic-card-content {
    padding: 16px;
  }

  .topic-card-title {
    font-size: 16px;
  }

  .intro-item {
    padding: 16px;
  }

  /* 指南页 */
  .layout-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .guide-toc {
    display: none;
  }

  .guide-section > h2 {
    font-size: 22px;
  }

  .step-list li {
    padding-left: 36px;
  }

  .step-list li::before {
    width: 24px;
    height: 24px;
    top: 14px;
    font-size: 12px;
  }

  /* 深度解读页 */
  .article-item {
    flex-direction: column;
    gap: 12px;
  }

  .article-media {
    width: 100%;
    aspect-ratio: 16 / 8;
  }

  .article-title {
    font-size: 18px;
  }

  .article-excerpt {
    -webkit-line-clamp: 3;
  }

  .trend-section {
    padding: 20px;
  }

  /* 404 */
  .error-code {
    font-size: 72px;
  }

  .error-section h1 {
    font-size: 24px;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-col {
    padding-bottom: 8px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .hero-issue {
    font-size: 12px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .page-title {
    font-size: 24px;
  }
}

/* =========================================================
   11. 滚动出现动画（不影响初始可见性）
   ========================================================= */

@keyframes fadeInUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 动画仅作为增强，不改变初始可见性 */
@media (prefers-reduced-motion: no-preference) {
  .dynamic-item,
  .topic-card,
  .editorial-item,
  .channel-item,
  .article-item,
  .intro-item {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  }
}
