﻿/* ============================================================
   《世界政党》杂志网站 - 共享样式表
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --red: #c0392b;
  --red-dark: #922b21;
  --red-light: #e74c3c;
  --blue: #1a4b8c;
  --blue-dark: #0d2f5e;
  --blue-light: #2471a3;
  --gold: #d4a017;
  --gold-light: #f1c40f;
  --ink: #1c1c1c;
  --ink-light: #3d3d3d;
  --ink-muted: #6b6b6b;
  --ink-faint: #9b9b9b;
  --paper: #faf7f2;
  --paper-warm: #f5f0e8;
  --paper-dark: #ede8df;
  --white: #ffffff;
  --border: #d9d3c8;
  --border-light: #ece7df;
  --font-serif: 'Noto Serif SC', 'Noto Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Noto Sans SC', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.14);
  --shadow-xl: 0 8px 40px rgba(0,0,0,0.18);
  --max-w: 1240px;
  --nav-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--paper-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  padding: 6px 0;
  text-align: center;
  letter-spacing: 0.05em;
}
.top-bar a { color: var(--gold-light); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--red);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.nav-logo em { color: var(--blue); font-style: normal; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-light);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); background: rgba(192,57,43,0.06); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}
.nav-subscribe {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--red-dark)) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  transition: all 0.35s !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(192,57,43,0.25);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  letter-spacing: 0.5px;
}
.nav-subscribe::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.nav-subscribe:hover { background: linear-gradient(135deg, var(--white), var(--paper)) !important; color: var(--red) !important; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(192,57,43,0.35); }
.nav-subscribe:hover::before { left: 100%; }
.nav-subscribe svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav-subscribe:hover svg { transform: rotate(10deg); }

/* Language switch button */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: var(--radius);
  color: var(--red);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-switch:hover {
  background: rgba(192,57,43,0.14);
  border-color: rgba(192,57,43,0.35);
  transform: translateY(-1px);
}
.nav-mobile-btn {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--ink);
  transition: background 0.2s;
}
.nav-mobile-btn:hover { background: var(--paper-dark); }
.nav-mobile-btn svg { width: 22px; height: 22px; }

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-nav.open { pointer-events: all; opacity: 1; }
.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
}
.mobile-nav-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--ink-muted);
  transition: background 0.2s;
}
.mobile-nav-close:hover { background: var(--paper-dark); }
.mobile-nav-links { padding: 12px 0; flex: 1; }
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 0.95rem;
  color: var(--ink-light);
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.mobile-nav-links a:hover { color: var(--red); background: rgba(192,57,43,0.04); border-left-color: var(--red); }
.mobile-nav-links a.active { color: var(--red); border-left-color: var(--red); background: rgba(192,57,43,0.06); font-weight: 600; }
.mobile-nav-links a.mobile-nav-lang { color: #FBBF24 !important; border-color: rgba(251,191,36,0.3) !important; font-weight: 700 !important; font-size: 0.95rem; }
.mobile-nav-section-title {
  padding: 16px 20px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Hero (Sub-page) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 50%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
}
.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 680px;
  position: relative;
}
.page-hero-deco {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  font-size: 0.8rem;
  color: var(--ink-faint);
  overflow-x: auto;
  scrollbar-width: none;
}
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb a { color: var(--ink-muted); white-space: nowrap; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--ink-faint); white-space: nowrap; }
.breadcrumb .current { color: var(--red); font-weight: 600; white-space: nowrap; }

/* ---------- Sub-nav ---------- */
.sub-nav-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
}
.sub-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.sub-nav a:hover { color: var(--blue); border-bottom-color: var(--blue-light); }
.sub-nav a.active { color: var(--red); border-bottom-color: var(--red); font-weight: 600; }
.sub-nav a .tag-new {
  background: var(--red);
  color: var(--white);
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---------- Main Layout ---------- */
.main-wrap {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.main-wrap.full-width { grid-template-columns: 1fr; max-width: 860px; }

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: 32px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--paper-dark);
  display: block;
}
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.card-cat.blue { color: var(--blue); }
.card-cat.gold { color: var(--gold); }
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  letter-spacing: 0.05em;
}
.card-tag.red { background: var(--red); }
.card-tag.blue { background: var(--blue); }
.card-tag.gold { background: var(--gold); }
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
}
.card h3 a:hover { color: var(--red); }
.card p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--ink-faint);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.card-meta span { display: flex; align-items: center; gap: 4px; }

/* ---------- Featured Layout ---------- */
.featured-layout { display: flex; flex-direction: column; gap: 24px; }
.featured-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.featured-main-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  background: var(--paper-dark);
}
.featured-main-body { padding: 28px 28px 24px; display: flex; flex-direction: column; }
.featured-main-body .card-cat { margin-bottom: 10px; }
.featured-main-body h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
}
.featured-main-body h2 a:hover { color: var(--red); }
.featured-main-body p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.featured-list { display: flex; flex-direction: column; gap: 0; }
.featured-list-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}
.featured-list-item:last-child { border-bottom: none; }
.featured-list-item:hover { background: rgba(192,57,43,0.02); margin: 0 -12px; padding: 16px 12px; border-radius: var(--radius); }
.featured-list-item .num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  margin-top: 2px;
}
.featured-list-item h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
}
.featured-list-item h4 a:hover { color: var(--red); }
.featured-list-item p { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.55; }

/* ---------- Horizontal Scroll ---------- */
.h-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.h-scroll::-webkit-scrollbar { height: 4px; }
.h-scroll::-webkit-scrollbar-track { background: transparent; }
.h-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.h-scroll .card { min-width: 280px; flex-shrink: 0; }

/* ---------- Debate Cards ---------- */
.debate-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border-left: 4px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.debate-card:hover { box-shadow: var(--shadow); }
.debate-card.red-border { border-left-color: var(--red); }
.debate-card.blue-border { border-left-color: var(--blue); }
.debate-card.gold-border { border-left-color: var(--gold); }
.debate-side {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.debate-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.debate-icon.red { background: rgba(192,57,43,0.1); color: var(--red); }
.debate-icon.blue { background: rgba(26,75,140,0.1); color: var(--blue); }
.debate-side-label { font-size: 0.8rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.debate-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}
.debate-card h3 a:hover { color: var(--red); }
.debate-card p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 14px; }
.debate-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--blue);
  transition: all 0.2s;
}
.debate-cta:hover { background: var(--blue); color: var(--white); }

/* ---------- Letters ---------- */
.letter-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  position: relative;
}
.letter-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 18px;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--border);
  line-height: 1;
}
.letter-card blockquote {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.75;
  font-style: italic;
  padding-left: 24px;
  margin-bottom: 14px;
  border-left: 2px solid var(--border-light);
}
.letter-writer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 24px;
}
.letter-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-muted);
}
.letter-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.letter-title { font-size: 0.75rem; color: var(--ink-faint); }

/* ---------- Article Layout ---------- */
.article-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.article-content p { font-size: 1rem; color: var(--ink-light); line-height: 1.85; margin-bottom: 18px; }
.article-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
}
.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 10px;
}
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
  list-style: disc;
}
.article-content li { font-size: 1rem; color: var(--ink-light); line-height: 1.8; margin-bottom: 6px; }
.article-content blockquote {
  border-left: 3px solid var(--red);
  padding: 12px 20px;
  margin: 20px 0;
  background: rgba(192,57,43,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content blockquote p { color: var(--ink-light); font-style: italic; margin: 0; }
.article-dropcap > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 0.85;
  margin: 4px 8px 0 0;
}
.article-sidebar { display: flex; flex-direction: column; gap: 20px; }
.article-sidebar-sticky { position: sticky; top: calc(var(--nav-h) + 60px); }

/* ---------- Sidebar ---------- */
.sidebar-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}
.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.sidebar-links { display: flex; flex-direction: column; gap: 2px; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 0.875rem;
  color: var(--ink-muted);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.sidebar-links a:hover { color: var(--red); background: rgba(192,57,43,0.05); }
.sidebar-links a .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.2s;
}
.sidebar-links a:hover .dot { background: var(--red); }

/* ---------- Stat Box ---------- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-item {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border-light);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-num.blue { color: var(--blue); }
.stat-label { font-size: 0.75rem; color: var(--ink-muted); }

/* ---------- Subscription ---------- */
.subscribe-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 60px 24px;
  margin-top: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.subscribe-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}
.subscribe-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}
.subscribe-section p { opacity: 0.8; font-size: 0.95rem; margin-bottom: 28px; position: relative; }
.subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.subscribe-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.5); }
.subscribe-form input:focus { border-color: rgba(255,255,255,0.7); }
.subscribe-form button {
  padding: 12px 24px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}
.subscribe-form button:hover { background: var(--red-dark); }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--ink-muted);
  transition: all 0.2s;
  cursor: pointer;
}
.tag:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.tag.blue-tag:hover { background: var(--blue); border-color: var(--blue); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 28px;
  font-size: 0.875rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo em { color: var(--red-light); font-style: normal; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; opacity: 0.7; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { opacity: 0.65; transition: opacity 0.2s, color 0.2s; }
.footer-col a:hover { opacity: 1; color: var(--white); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: inherit; transition: opacity 0.2s; }
.footer-bottom a:hover { opacity: 0.8; }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(16px);
  cursor: pointer;
  border: none;
  z-index: 50;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--paper);
}
.timeline-item.blue-dot::before { background: var(--blue); }
.timeline-year {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 4px;
}
.timeline-year.blue { color: var(--blue); }
.timeline-item h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.timeline-item p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.65; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-wrap { grid-template-columns: 1fr; }
  .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .article-sidebar-sticky { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .featured-main { grid-template-columns: 1fr; }
  .featured-main-img { height: 240px; min-height: unset; }
}
@media (max-width: 768px) {
  .nav-links, .nav-subscribe { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-inner { gap: 0; justify-content: space-between; }
  .page-hero { padding: 40px 0 36px; }
  .main-wrap { padding: 28px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .article-content { padding: 24px 20px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .subscribe-form { flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .featured-main-body { padding: 20px; }
  .featured-list-item .num { font-size: 1.2rem; width: 24px; }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.5s ease forwards; }
.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.loading { animation: pulse 1.5s infinite; }

/* ---------- Utility ---------- */
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--ink-muted); font-size: 0.875rem; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* ---------- Debate Topics Page ---------- */
.debate-topic {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}
.debate-topic-header {
  background: var(--ink-bg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.debate-topic-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.debate-topic-header h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.debate-side-col { }
.debate-side-label {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px 6px 0 0;
  display: block;
}
.red-label { background: rgba(231,76,60,0.1); color: var(--red); }
.blue-label { background: rgba(52,101,174,0.1); color: var(--blue); }

/* ---------- Letter Page ---------- */
.letter-full {
  background: var(--white);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.letter-full-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.letter-date { font-size: 0.82rem; color: var(--ink-muted); }
.letter-cat { font-size: 0.82rem; color: var(--red); font-weight: 600; background: rgba(231,76,60,0.08); padding: 2px 8px; border-radius: 4px; }
.letter-full-quote {
  border-left: 4px solid var(--red);
  padding: 12px 20px;
  margin: 16px 0;
  background: rgba(192,57,43,0.03);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
}
.scholar-response {
  background: rgba(52,101,174,0.05);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 12px;
}
.scholar-response-header { font-weight: 700; color: var(--blue); margin-bottom: 8px; font-size: 0.9rem; }
.scholar-response p { font-size: 0.875rem; line-height: 1.7; color: var(--ink); }

/* ---------- Submit Letter Box ---------- */
.submit-letter-box {
  background: linear-gradient(135deg, var(--ink-bg) 0%, #f0f0f0 100%);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-top: 32px;
  border: 1px solid rgba(0,0,0,0.06);
}
.submit-letter-box h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 12px; }
.submit-letter-box p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.65; margin-bottom: 8px; }
.submit-letter-box strong { color: var(--ink); }

/* ---------- Mobile responsive for debate/layout ---------- */
@media (max-width: 768px) {
  .debate-topic .debate-topic-header h3 { font-size: 0.9rem; }
  .debate-topic [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ================================================================
   FRONTIER.HTML 重新设计组件
   ================================================================ */

/* ---------- 双栏封面 Lead（主图 + 侧栏热点） ---------- */
.two-col-lead {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  margin-bottom: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.two-col-lead-main { display: flex; flex-direction: column; }
.lead-img-wrap { position: relative; overflow: hidden; }
.lead-img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.4s; }
.lead-img-wrap:hover .lead-img { transform: scale(1.03); }
.lead-date-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.lead-body { padding: 20px 24px; flex: 1; }
.lead-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
.lead-title a { color: var(--ink); transition: color 0.2s; }
.lead-title a:hover { color: var(--red); }
.lead-excerpt { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 14px; }
.lead-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--ink-muted); flex-wrap: wrap; }

/* 右侧热点 */
.two-col-lead-side {
  background: var(--ink-bg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lead-side-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--red);
}
.lead-hot-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: flex-start;
  transition: background 0.2s;
}
.lead-hot-item:last-of-type { border-bottom: none; }
.lead-hot-item:hover { opacity: 0.8; }
.lead-hot-item img { width: 56px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.lead-hot-item div { display: flex; flex-direction: column; gap: 4px; }
.lead-hot-item strong { font-size: 0.8rem; color: var(--ink); line-height: 1.4; font-weight: 600; }
.lead-hot-item span { font-size: 0.72rem; color: var(--ink-muted); }
.lead-more-link {
  display: block;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 600;
  text-align: right;
  transition: opacity 0.2s;
}
.lead-more-link:hover { opacity: 0.7; }

/* ---------- 分类导航卡片 ---------- */
.category-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.category-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  color: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.category-nav-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.cat-icon { font-size: 1.8rem; flex-shrink: 0; }
.cat-info { display: flex; flex-direction: column; }
.cat-info strong { font-size: 0.95rem; font-weight: 700; }
.cat-info span { font-size: 0.75rem; opacity: 0.85; margin-top: 2px; }

/* ---------- 政党风云榜 ---------- */
.ranking-list {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.2s;
  text-decoration: none;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: rgba(192,57,43,0.03); }
.rank-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rank-thumb { width: 60px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.rank-body { flex: 1; min-width: 0; }
.rank-body h4 { font-size: 0.875rem; color: var(--ink); font-weight: 600; line-height: 1.4; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-meta { display: flex; gap: 12px; font-size: 0.75rem; color: var(--ink-muted); }

/* ---------- 专题图集 ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}
.photo-grid-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; grid-row: span 2; }
.photo-grid-main-img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.photo-grid-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
}
.photo-grid-caption h3 { font-family: var(--font-serif); font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.photo-grid-side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-grid-item { position: relative; border-radius: var(--radius); overflow: hidden; display: block; aspect-ratio: 1; }
.photo-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-grid-item:hover img { transform: scale(1.05); }
.photo-grid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-size: 0.7rem;
  color: #fff;
  font-weight: 600;
}

/* ---------- 专家解读卡片 ---------- */
.expert-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  border-top: 4px solid var(--blue);
}
.expert-article-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.expert-author { display: flex; align-items: center; gap: 12px; }
.author-avatar-lg { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.author-title { font-size: 0.75rem; color: var(--ink-muted); margin-top: 2px; }
.expert-article-title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 12px; }
.expert-article-title a { color: inherit; }
.expert-article-title a:hover { color: var(--red); }
.expert-article-excerpt { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: 18px; }
.expert-article-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.expert-point { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); padding: 12px 16px; border-radius: var(--radius); border-left: 3px solid var(--blue); }
.ep-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.expert-point strong { font-size: 0.875rem; color: var(--ink); margin-bottom: 3px; display: block; }
.expert-point p { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.55; margin: 0; }

/* ---------- 侧边栏丰富组件 ---------- */
/* sidebar overflow merged above */
.sidebar-box-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.sidebar-author-card { padding: 0; }
.sidebar-author-img { width: 100%; height: 160px; object-fit: cover; display: block; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.sidebar-author-info { padding: 16px 20px 20px; }
.sidebar-author-info strong { font-size: 0.95rem; color: var(--ink); display: block; margin-bottom: 2px; }
.sidebar-author-info span { font-size: 0.75rem; color: var(--ink-muted); display: block; margin-bottom: 8px; }
.sidebar-author-info p { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 10px; }
.sidebar-author-link { font-size: 0.8rem; color: var(--blue); font-weight: 600; transition: opacity 0.2s; }
.sidebar-author-link:hover { opacity: 0.7; }
.sidebar-mini-post {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: opacity 0.2s;
}
.sidebar-mini-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-mini-post:hover { opacity: 0.75; }
.sidebar-mini-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.sidebar-mini-body { display: flex; flex-direction: column; gap: 3px; }
.sidebar-mini-body strong { font-size: 0.8rem; color: var(--ink); line-height: 1.4; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-mini-body span { font-size: 0.72rem; color: var(--ink-muted); }
.sidebar-highlight-box { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; }
.sidebar-highlight-box .sidebar-box-label { color: rgba(255,255,255,0.75); }
.sidebar-highlight-box .sidebar-desc { font-size: 0.82rem; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 14px; }
.sidebar-subscribe-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s;
  text-align: center;
}
.sidebar-subscribe-btn:hover { background: var(--red-dark); }
.sidebar-title { font-size: 0.72rem; }

/* ---------- 响应式修复（核心） ---------- */
@media (max-width: 1100px) {
  .two-col-lead { grid-template-columns: 1fr 260px; }
}
@media (max-width: 1024px) {
  .main-wrap { grid-template-columns: 1fr; }
  .article-sidebar { display: block; }
  .article-sidebar-sticky { position: static; }
  .two-col-lead { grid-template-columns: 1fr; }
  .two-col-lead-side { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .lead-side-title { grid-column: 1 / -1; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .lead-hot-item { flex-direction: column; border-bottom: none; padding: 12px; }
  .lead-hot-item img { width: 100%; height: 100px; }
  .lead-more-link { grid-column: 1 / -1; text-align: center; margin-top: 0; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.1); }
  .category-nav-grid { grid-template-columns: 1fr 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid-main { grid-row: auto; }
  .photo-grid-main-img { min-height: 200px; }
  .photo-grid-side { grid-template-columns: repeat(4, 1fr); }
  .rank-body h4 { white-space: normal; -webkit-line-clamp: 2; }
}
@media (max-width: 768px) {
  .category-nav-grid { grid-template-columns: 1fr; }
  .photo-grid-side { grid-template-columns: 1fr 1fr; }
  .two-col-lead-side { grid-template-columns: 1fr; }
  .expert-article { padding: 20px 16px; }
  .expert-article-points { flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .sidebar-mini-body strong { -webkit-line-clamp: 3; }
}

/* ============================================================
   Channel-Specific Components — Frontier (政党前沿)
   ============================================================ */

/* ---------- Immersive Hero ---------- */
.frontier-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.frontier-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.frontier-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
}
.frontier-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(13,30,96,0.3) 0%, rgba(13,30,96,0.85) 60%, rgba(13,30,96,0.95) 100%);
}
.frontier-hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 48px;
  width: 100%;
}
.frontier-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.frontier-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.frontier-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.frontier-hero-stats {
  display: flex;
  gap: 32px;
}
.frontier-hero-stat {
  text-align: center;
}
.frontier-hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}
.frontier-hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* ---------- Magazine Cover Story ---------- */
.magazine-cover {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
}
.magazine-cover-img {
  position: relative;
  overflow: hidden;
}
.magazine-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 460px;
  transition: transform 0.4s;
}
.magazine-cover:hover .magazine-cover-img img { transform: scale(1.03); }
.magazine-cover-img .cover-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 2px;
}
.magazine-cover-body {
  background: linear-gradient(135deg, #0d2f5e 0%, #1a4b8c 100%);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.magazine-cover-body::before {
  content: '';position: absolute;top: 0;right: 0;width: 120px;height: 120px;
  background: radial-gradient(circle, rgba(212,160,17,0.15) 0%, transparent 70%);
}
.magazine-cover-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 16px;
}
.magazine-cover-body h2 a { color: #fff; }
.magazine-cover-body h2 a:hover { color: var(--gold-light); }
.magazine-cover-excerpt {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 24px;
}
.magazine-cover-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.magazine-cover-meta .meta-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold);
}
.magazine-cover-meta .meta-info { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.magazine-cover-meta .meta-info strong { color: #fff; }
.magazine-cover-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.2s;
}
.magazine-cover-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ---------- Event Timeline ---------- */
.frontier-timeline {
  position: relative;
  padding-left: 36px;
  margin-bottom: 48px;
}
.frontier-timeline::before {
  content: '';position: absolute;left: 14px;top: 0;bottom: 0;width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--blue), var(--red));border-radius: 2px;
}
.timeline-event {
  position: relative;
  margin-bottom: 32px;
  padding-left: 12px;
}
.timeline-event::before {
  content: '';position: absolute;left: -26px;top: 6px;width: 14px;height: 14px;
  border-radius: 50%;border: 3px solid var(--gold);background: var(--white);z-index: 1;
}
.timeline-event a { display: block; }
.timeline-event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}
.timeline-event a:hover .timeline-event-card {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.timeline-event-thumb {
  border-radius: var(--radius);
  overflow: hidden;
}
.timeline-event-thumb img {
  width: 120px;height: 90px;object-fit: cover;
}
.timeline-event-date {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.timeline-event-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 6px;
}
.timeline-event-excerpt {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.timeline-event-tag {
  display: inline-block;
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 8px;
}
.timeline-event-tag.red { background: var(--red-light); color: var(--red-dark); }
.timeline-event-tag.blue { background: var(--blue-light); color: var(--blue-dark); }
.timeline-event-tag.gold { background: var(--gold-light); color: var(--gold); }

/* ---------- Region Cards (World Map) ---------- */
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.region-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.region-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.region-card img {
  width: 100%;height: 100%;object-fit: cover;min-height: 280px;transition: transform 0.4s;
}
.region-card:hover img { transform: scale(1.05); }
.region-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
}
.region-card-content {
  position: absolute;
  bottom: 0;left: 0;right: 0;
  padding: 24px;
  z-index: 1;
}
.region-card-flag { font-size: 1.8rem; margin-bottom: 4px; }
.region-card h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.region-card-count { font-size: 0.75rem; color: rgba(255,255,255,0.8); }
.region-card-link { position: absolute; inset: 0; z-index: 2; }

/* ---------- Insight Panels ---------- */
.insight-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  border-top: 4px solid var(--blue);
}
.insight-panel.gold-border { border-top-color: var(--gold); }
.insight-panel.red-border { border-top-color: var(--red); }
.insight-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.insight-panel-icon { font-size: 1.5rem; }
.insight-panel-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
}
.insight-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.insight-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: var(--paper);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.insight-item:hover { background: var(--paper-dark); }
.insight-item img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.insight-item h4 { font-size: 0.9rem; font-weight: 700; line-height: 1.4; }
.insight-item h4 a:hover { color: var(--blue); }
.insight-item p { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.6; margin-top: 4px; }
.insight-item .insight-tag { font-size: 0.65rem; padding: 3px 10px; border-radius: 12px; font-weight: 600; }

/* ---------- Detail Page Template (Article) ---------- */
.article-template {
  max-width: 760px;
  margin: 0 auto;
}
.article-template-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.article-template-hero img {
  width: 100%; height: 100%; object-fit: cover; min-height: 360px;
}
.article-template-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
}
.article-template-hero-text {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 32px;
}
.article-template-hero-text h1 {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1.4;
}
.article-template-hero-text .cat-tag {
  display: inline-block; background: var(--gold); color: var(--ink); font-size: 0.7rem; font-weight: 700;
  padding: 4px 14px; border-radius: 16px; margin-bottom: 12px; letter-spacing: 1px;
}
.article-template-meta {
  display: flex; align-items: center; gap: 16px; margin-bottom: 32px;
  font-size: 0.8rem; color: var(--ink-muted);
}
.article-template-content {
  font-size: 1rem; line-height: 1.9; color: var(--ink-light);
}
.article-template-content h2 {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--ink);
  margin: 32px 0 16px; border-bottom: 2px solid var(--border); padding-bottom: 8px;
}
.article-template-content p { margin-bottom: 18px; }
.article-template-content .highlight-quote {
  background: var(--paper-warm); border-left: 4px solid var(--gold);
  padding: 20px 24px; margin: 24px 0;
  font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-template-tags {
  display: flex; gap: 8px; margin-top: 32px;
}
.article-template-tags a {
  font-size: 0.75rem; padding: 6px 16px; border-radius: 16px;
  background: var(--paper-warm); color: var(--ink-muted); transition: all 0.2s;
}
.article-template-tags a:hover { background: var(--blue); color: #fff; }
.cat-tag-red { background: var(--red-light) !important; color: #fff !important; }
.cat-tag-blue { background: var(--blue) !important; color: #fff !important; }
.cat-tag-gold { background: var(--gold) !important; color: var(--ink) !important; }

/* ---------- Responsive — Frontier Components ---------- */
@media (max-width: 1024px) {
  .magazine-cover { grid-template-columns: 1fr; }
  .magazine-cover-img img { min-height: 300px; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .timeline-event-card { grid-template-columns: 1fr; }
  .timeline-event-thumb img { width: 100%; height: 160px; }
  .insight-item { grid-template-columns: 1fr; }
  .insight-item img { width: 100%; height: 120px; }
}
@media (max-width: 768px) {
  .frontier-hero { min-height: 380px; }
  .frontier-hero h1 { font-size: 2rem; }
  .frontier-hero-stats { flex-wrap: wrap; gap: 16px; }
  .region-grid { grid-template-columns: 1fr; }
  .article-template-hero { min-height: 220px; }
}

/* ===== ??? �������׿��ӻ� ===== */
.spectrum-chart {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e8eaed;
}
.spectrum-label-left, .spectrum-label-right {
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}
.spectrum-bar-wrap { flex: 1; }
.spectrum-bar {
  display: flex;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  gap: 2px;
}
.spectrum-segment {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  padding: 0 4px;
  text-align: center;
  transition: flex 0.3s;
  overflow: hidden;
}
.spectrum-segment span { display: none; }
.spectrum-segment:hover { flex: 2; }
.spectrum-segment:hover span { display: block; }
.spectrum-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.65rem;
  color: #888;
}

/* ===== ?? �������������� ===== */
.country-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.country-profile-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8eaed;
}
.country-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.country-profile-img { height: 140px; overflow: hidden; }
.country-profile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.country-profile-card:hover .country-profile-img img { transform: scale(1.05); }
.country-profile-body { padding: 16px; }
.country-profile-flag { font-size: 1.5rem; margin-bottom: 4px; }
.country-profile-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.country-profile-system { font-size: 0.78rem; color: #666; margin-bottom: 12px; }
.country-profile-parties { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.party-bar-item { display: grid; grid-template-columns: 80px 1fr 36px; align-items: center; gap: 6px; font-size: 0.72rem; }
.party-bar-label { font-weight: 600; color: #333; white-space: nowrap; }
.party-bar-track { height: 6px; background: #e8eaed; border-radius: 3px; overflow: hidden; }
.party-bar-fill { height: 100%; border-radius: 3px; transition: width 0.5s; }
.country-profile-meta { font-size: 0.75rem; color: #888; }

/* ===== ?? ѧ��ר�⿨Ƭ ===== */
.theory-article-card {
  display: flex;
  gap: 24px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaed;
  margin-bottom: 32px;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.theory-article-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.theory-article-img { width: 240px; flex-shrink: 0; }
.theory-article-img img { width: 100%; height: 100%; object-fit: cover; }
.theory-article-body { padding: 20px; flex: 1; }
.theory-article-meta { display: flex; gap: 16px; font-size: 0.8rem; color: #888; margin-bottom: 10px; }
.theory-article-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.theory-article-body p { font-size: 0.88rem; color: #555; line-height: 1.7; margin-bottom: 12px; }
.theory-article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.theory-tag { font-size: 0.72rem; padding: 3px 10px; background: #f0f4f8; color: #2c3e50; border-radius: 20px; font-weight: 500; }

/* ===== ��Ӧʽ ===== */
@media (max-width: 1024px) {
  .country-profile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .country-profile-grid { grid-template-columns: 1fr; }
  .theory-article-card { flex-direction: column; }
  .theory-article-img { width: 100%; height: 200px; }
  .spectrum-segment span { display: none !important; }
  .spectrum-segment { font-size: 0; }
}

/* ===== 🏛️ 国际组织档案卡 ===== */
.org-profile-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8eaed;
}
.org-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.org-profile-header {
  padding: 20px 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.org-profile-abbr {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.org-profile-type {
  font-size: 0.72rem;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.org-profile-body { padding: 18px; }
.org-profile-body h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; }
.org-profile-body h3 a { color: #1a1a2e; }
.org-profile-subtitle { font-size: 0.78rem; color: #888; margin-bottom: 14px; }
.org-profile-info { list-style: none; padding: 0; margin: 0 0 14px; }
.org-profile-info li { font-size: 0.82rem; color: #444; padding: 5px 0; border-bottom: 1px dashed #eee; }
.org-profile-info li:last-child { border-bottom: none; }
.org-profile-bar { margin-top: 8px; }
.org-profile-bar span { font-size: 0.75rem; color: #666; font-weight: 600; display: block; margin-bottom: 6px; }

@media (max-width: 768px) {
  .org-profile-header { padding: 16px 18px; }
  .org-profile-abbr { font-size: 1.4rem; }
}

/* ===== 📡 外交动态通栏横排 ===== */
.dynamics-banner {
  background: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  margin: 32px 0;
  border: 1px solid #e8eaed;
}
.dynamics-banner-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px 28px 0;
}
.dynamics-banner-header .section-label { margin-bottom: 4px; }
.dynamics-banner-header .section-title { font-size: 1.4rem; }
.dynamics-banner-more {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  white-space: nowrap;
  margin-left: 16px;
  margin-bottom: 4px;
}
.dynamics-banner-more:hover { border-bottom-color: var(--blue); }
.dynamics-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 20px 28px 28px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.dynamics-track::-webkit-scrollbar { height: 4px; }
.dynamics-track::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.dynamics-track::-webkit-scrollbar-track { background: transparent; }

/* 卡片基础 */
.dynamics-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8eaed;
}
.dynamics-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }

/* 特色卡片（第一张更宽） */
.dynamics-card-featured { flex: 0 0 380px; }

/* 图片区 */
.dynamics-card-img { position: relative; height: 160px; overflow: hidden; }
.dynamics-card-featured .dynamics-card-img { height: 200px; }
.dynamics-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.dynamics-card:hover .dynamics-card-img img { transform: scale(1.04); }

/* 标签 */
.dynamics-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  backdrop-filter: blur(4px);
}
.dynamics-tag-europe { background: rgba(41,128,185,0.85); }
.dynamics-tag-africa { background: rgba(231,76,60,0.85); }
.dynamics-tag-global { background: rgba(142,68,173,0.85); }
.dynamics-tag-theory { background: rgba(39,174,96,0.85); }

/* 内容区 */
.dynamics-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.dynamics-card-date { font-size: 0.72rem; color: #999; margin-bottom: 6px; }
.dynamics-card-body h3 { font-size: 0.92rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; color: #1a1a2e; }
.dynamics-card-featured .dynamics-card-body h3 { font-size: 1.05rem; }
.dynamics-card-body p { font-size: 0.8rem; color: #555; line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
.dynamics-card-meta { display: flex; gap: 12px; font-size: 0.75rem; color: #888; margin-top: auto; }

@media (max-width: 768px) {
  .dynamics-banner-header { padding: 20px 20px 0; }
  .dynamics-track { padding: 16px 20px 20px; }
  .dynamics-card { flex: 0 0 240px; }
  .dynamics-card-featured { flex: 0 0 280px; }
}

/* ===== 侧边栏：文章目录 ===== */
.sidebar-toc .sidebar-links a {
  padding: 7px 14px;
  font-size: 0.84rem;
  border-left: 2px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}
.sidebar-toc .sidebar-links a:hover {
  border-left-color: var(--blue);
  background: #f5f7ff;
}

/* ===== 侧边栏：热门排行 ===== */
.sidebar-rank-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sidebar-rank-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 0.84rem;
  line-height: 1.45;
  transition: background 0.15s;
}
.sidebar-rank-item:hover { background: #f5f7ff; }
.sidebar-rank-num {
  flex: 0 0 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 1px;
}
.sidebar-rank-item:nth-child(1) .sidebar-rank-num { background: #e74c3c; }
.sidebar-rank-item:nth-child(2) .sidebar-rank-num { background: #f39c12; }
.sidebar-rank-item:nth-child(3) .sidebar-rank-num { background: #27ae60; }

/* ===== 侧边栏：订阅 CTA ===== */
.sidebar-subscribe-cta {
  background: linear-gradient(135deg,#f0f4ff 0%,#e8eef8 100%);
  border: 1px solid #d0d7e8;
}


/* ========== Site Footer ========== */
.site-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 60px 0 0;
  margin-top: 80px;
}
.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.footer-brand h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red-primary);
  margin-top: 8px;
}
.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--red-primary);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--red-primary);
}
.footer-bottom {
  max-width: 1320px;
  margin: 40px auto 0;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: #fff;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}