/* ========================================
   北美华人 BeiMeiHuaRen - 共享样式
   ======================================== */

/* NOTE: 所有页面共享此样式文件，保持设计一致性 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

:root {
  --red: #C8102E;
  --gold: #D4A017;
  --gold-light: #F5E6A3;
  --ink: #1A1208;
  --charcoal: #2C2416;
  --warm-gray: #6B5E4E;
  --parchment: #FDF8F0;
  --cream: #FAF4E8;
  --white: #FFFFFF;
  --border: #E8DCC8;
  --tag-bg: #FFF3E0;
  --shadow: 0 2px 20px rgba(26,18,8,0.08);
  --shadow-lg: 0 8px 40px rgba(26,18,8,0.14);
  --blue-dark: #1A3A5C;
  --blue-accent: #4FC3F7;
  --success: #16A34A;
  --error: #DC2626;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}
html { overflow-x: hidden; width: 100%; }

a { color: inherit; text-decoration: none; }

/* ── 公告栏 ── */
.announcement {
  background: var(--red);
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.announcement a { color: var(--gold-light); text-decoration: none; font-weight: 700; }
.announcement a:hover { text-decoration: underline; }

/* ── 头部导航 ── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}
.logo-cn {
  font-family: 'Noto Serif SC', serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--red);
}
.logo-en {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--warm-gray);
  text-transform: uppercase;
  font-weight: 500;
}
.logo-badge {
  background: var(--gold);
  color: var(--ink);
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-left: 4px;
  vertical-align: middle;
}

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}
nav a:hover { background: var(--cream); color: var(--red); }
nav a.active { background: var(--cream); color: var(--red); font-weight: 700; }
nav a.hot { color: var(--red); font-weight: 700; }
nav a.hot::after { content: '🔥'; font-size: 11px; margin-left: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-search {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--warm-gray);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-search:hover { border-color: var(--red); color: var(--red); }
.btn-join {
  background: var(--red);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans SC', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-join:hover { background: #A00D24; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* ── 搜索弹窗 ── */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,18,8,0.85);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}
.search-overlay.active { display: flex; }
.search-box {
  background: white;
  border-radius: 12px;
  padding: 32px;
  width: 90%;
  max-width: 640px;
  box-shadow: var(--shadow-lg);
}
.search-box h3 { font-family: 'Noto Serif SC', serif; font-size: 20px; margin-bottom: 16px; }
.search-input-wrap { display: flex; gap: 10px; }
.search-input-wrap input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Noto Sans SC', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.search-input-wrap input:focus { border-color: var(--red); }
.search-input-wrap button {
  background: var(--red);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 600;
}
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.search-tag {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.search-tag:hover { background: var(--red); color: white; border-color: var(--red); }
.search-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* ── 面包屑 ── */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--warm-gray);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .separator { color: var(--border); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* ── Hero ── */
.hero {
  background: var(--ink);
  color: white;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(212,160,23,0.04) 0px, rgba(212,160,23,0.04) 1px, transparent 1px, transparent 50px),
    repeating-linear-gradient(-45deg, rgba(212,160,23,0.04) 0px, rgba(212,160,23,0.04) 1px, transparent 1px, transparent 50px);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.hero-main-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
  display: block;
}
.hero-main-card:hover { transform: translateY(-3px); }
.hero-main-img {
  height: 320px;
  background: linear-gradient(135deg, #8B1A2E 0%, #C8102E 30%, #2C1A0E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}
.hero-main-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.hero-main-body { padding: 24px; }
.hero-tag {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: white;
  margin-bottom: 10px;
}
.hero-excerpt { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.7; }
.hero-meta { display: flex; align-items: center; gap: 16px; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.4); }

.hero-sidebar { display: flex; flex-direction: column; gap: 12px; }
.hero-side-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
}
.hero-side-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.25); }
.hero-side-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.hero-side-tag { font-size: 10px; color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.hero-side-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  color: white;
  line-height: 1.4;
  font-weight: 600;
}
.hero-side-meta { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 4px; }

/* ── 统计栏 ── */
.stats-bar {
  background: var(--gold);
  padding: 14px 0;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: space-around;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--charcoal); font-weight: 500; line-height: 1.3; }
.stat-divider { width: 1px; height: 36px; background: rgba(26,18,8,0.2); }

/* ── 通用区块标题 ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
  display: block;
}
.section-more {
  color: var(--red);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.section-more:hover { gap: 8px; }

/* ── 主内容区 ── */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* ── 分类标签 ── */
.cat-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cat-tab {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: white;
  color: var(--warm-gray);
  transition: all 0.2s;
  font-family: 'Noto Sans SC', sans-serif;
}
.cat-tab.active, .cat-tab:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.cat-tab.active { font-weight: 700; }

/* ── 文章卡片 ── */
.articles-list { display: flex; flex-direction: column; gap: 0; }
.article-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.article-card:hover .article-title { color: var(--red); }
.article-card:first-child { padding-top: 0; }
.article-thumb {
  width: 140px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
}
.article-body { display: flex; flex-direction: column; justify-content: space-between; }
.article-tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  width: fit-content;
}
.article-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  transition: color 0.2s;
  margin-bottom: 6px;
}
.article-excerpt {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: #9B8878;
}
.article-meta span { display: flex; align-items: center; gap: 4px; }

/* 特色大卡 */
.article-card.featured {
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.featured-img {
  height: 240px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
}
.featured-body { padding: 20px; }
.featured .article-title { font-size: 20px; }

/* ── 侧边栏 ── */
.sidebar { display: flex; flex-direction: column; gap: 32px; }

.sidebar-widget {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.widget-header {
  background: var(--ink);
  color: white;
  padding: 14px 20px;
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-body { padding: 16px 20px; }

/* 热门列表 */
.hot-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.hot-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.hot-item:last-child { border-bottom: none; padding-bottom: 0; }
.hot-item:hover .hot-title { color: var(--red); }
.hot-num {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.hot-num.n1 { background: var(--red); color: white; }
.hot-num.n2 { background: var(--charcoal); color: white; }
.hot-num.n3 { background: var(--warm-gray); color: white; }
.hot-num.nx { background: var(--cream); color: var(--warm-gray); }
.hot-title { font-size: 14px; line-height: 1.5; font-weight: 500; transition: color 0.2s; }
.hot-meta { font-size: 11px; color: #9B8878; margin-top: 3px; }

/* 快捷入口 */
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
}
.quick-link:hover { background: var(--red); color: white; border-color: var(--red); transform: translateY(-2px); }
.quick-link .icon { font-size: 22px; }

/* 推广卡 */
.promo-card {
  background: linear-gradient(135deg, var(--ink) 0%, #3D2C1A 100%);
  border-radius: 12px;
  padding: 24px;
  color: white;
  text-align: center;
}
.promo-card h4 {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--gold);
}
.promo-card p { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 16px; line-height: 1.6; }
.promo-btn {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Noto Sans SC', sans-serif;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.promo-btn:hover { background: var(--gold-light); transform: translateY(-2px); }

/* 天气 */
.weather-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.weather-city {
  background: var(--cream);
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
}
.weather-city-name { font-size: 11px; color: var(--warm-gray); font-weight: 600; }
.weather-temp { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1; margin: 4px 0 2px; }
.weather-desc { font-size: 11px; color: var(--warm-gray); }

/* 汇率 */
.rate-list { display: flex; flex-direction: column; gap: 0; }
.rate-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.rate-item:last-child { border-bottom: none; }
.rate-pair { font-size: 13px; font-weight: 600; }
.rate-val { font-size: 15px; font-weight: 700; color: var(--ink); }
.rate-change { font-size: 11px; }
.rate-up { color: #16A34A; }
.rate-down { color: var(--red); }

/* ── 分类板块 ── */
.categories-section {
  background: var(--ink);
  padding: 60px 0;
  margin: 0;
}
.categories-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.categories-section .section-title { color: white; }
.categories-section .section-title::before { background: var(--gold); }
.categories-section .section-more { color: var(--gold); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.cat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
  text-decoration: none;
  display: block;
  color: white;
}
.cat-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  border-color: var(--gold);
}
.cat-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.cat-name { font-family: 'Noto Serif SC', serif; font-size: 18px; color: white; font-weight: 700; margin-bottom: 6px; }
.cat-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.cat-count { font-size: 11px; color: var(--gold); margin-top: 10px; font-weight: 600; }

/* ── 生活攻略 ── */
.guide-section { padding: 60px 0; }
.guide-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.guide-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.guide-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.guide-body { padding: 20px; }
.guide-badge {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.guide-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 8px;
}
.guide-desc { font-size: 13px; color: var(--warm-gray); line-height: 1.6; }
.guide-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: #9B8878;
}
.guide-read-more { color: var(--red); font-weight: 600; font-size: 12px; display: flex; align-items: center; gap: 4px; }

/* ── 迷你卡片网格 ── */
.card-grid-section { padding: 0 0 60px; }
.card-grid-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.mini-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: block;
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mini-thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.mini-body { padding: 14px; }
.mini-tag { font-size: 10px; color: var(--red); font-weight: 700; letter-spacing: 0.5px; margin-bottom: 6px; }
.mini-title { font-family: 'Noto Serif SC', serif; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.mini-meta { font-size: 11px; color: #9B8878; margin-top: 6px; }

/* ── 信用卡板块 ── */
.cc-section {
  background: linear-gradient(135deg, #1A3A5C 0%, #0D2137 100%);
  padding: 60px 0;
}
.cc-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.cc-section .section-title { color: white; }
.cc-section .section-title::before { background: #4FC3F7; }
.cc-section .section-more { color: #4FC3F7; }
.cc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.cc-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.cc-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.cc-icon { font-size: 40px; margin-bottom: 12px; }
.cc-name { font-family: 'Noto Serif SC', serif; font-size: 16px; color: white; font-weight: 700; margin-bottom: 6px; }
.cc-bonus { color: #4FC3F7; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.cc-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.cc-tag {
  display: inline-block;
  background: rgba(79,195,247,0.2);
  color: #4FC3F7;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 10px;
}

/* ── 论坛板块 ── */
.forum-section { padding: 60px 0; }
.forum-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.forum-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.forum-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.forum-item:hover { border-color: var(--red); transform: translateX(4px); }
.forum-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.forum-content { flex: 1; min-width: 0; }
.forum-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.forum-sub { font-size: 12px; color: var(--warm-gray); }
.forum-stats { display: flex; gap: 12px; margin-top: 6px; font-size: 11px; color: #9B8878; }

/* ── 订阅区 ── */
.newsletter-section {
  background: var(--red);
  padding: 60px 0;
  text-align: center;
}
.newsletter-inner { max-width: 600px; margin: 0 auto; padding: 0 24px; }
.newsletter-section h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  color: white;
  margin-bottom: 10px;
  font-weight: 900;
}
.newsletter-section p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 24px; line-height: 1.6; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Noto Sans SC', sans-serif;
  outline: none;
}
.newsletter-form button {
  background: var(--ink);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans SC', sans-serif;
  white-space: nowrap;
  transition: all 0.2s;
}
.newsletter-form button:hover { background: var(--charcoal); }
.newsletter-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }
.newsletter-tag { background: rgba(255,255,255,0.15); color: white; font-size: 12px; padding: 4px 12px; border-radius: 20px; }

/* ── 页脚 ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo-cn { font-size: 24px; display: block; margin-bottom: 4px; }
.footer-brand .logo-en { font-size: 11px; display: block; margin-bottom: 14px; }
.footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
}
.social-btn:hover { background: var(--red); border-color: var(--red); }
.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: 'Noto Serif SC', serif;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 40px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom-links a:hover { color: white; }

/* ── 移动端菜单 ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 1500;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 2px solid var(--ink);
}
.mobile-nav-close {
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--ink);
  line-height: 1;
}
.mobile-nav-links { padding: 16px 24px; }
.mobile-nav-links a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.mobile-nav-links a:hover { color: var(--red); }
.mobile-nav-footer { padding: 24px; background: var(--cream); margin-top: auto; }

/* ── Toast 通知 ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink);
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 20px; }

/* ── 回到顶部 ── */
#back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 900;
  transition: all 0.2s;
}
#back-to-top:hover { background: #A00D24; transform: translateY(-2px); }
#back-to-top.visible { display: flex; }

/* ── 淡入动画 ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── 页面标题 / Hero Banner（子页面通用） ── */
.page-hero {
  background: var(--ink);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(212,160,23,0.04) 0px, rgba(212,160,23,0.04) 1px, transparent 1px, transparent 50px),
    repeating-linear-gradient(-45deg, rgba(212,160,23,0.04) 0px, rgba(212,160,23,0.04) 1px, transparent 1px, transparent 50px);
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 36px;
  font-weight: 900;
  color: white;
  margin-bottom: 10px;
}
.page-hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
}
.page-hero-meta {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── 文章详情页 ── */
.article-detail {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px;
}
.article-detail-header {
  margin-bottom: 32px;
}
.article-detail-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 16px;
}
.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--warm-gray);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.article-detail-meta span { display: flex; align-items: center; gap: 4px; }
.article-detail-content {
  font-size: 16px;
  line-height: 2;
  color: var(--charcoal);
}
.article-detail-content h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--red);
}
.article-detail-content h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 12px;
}
.article-detail-content p {
  margin-bottom: 16px;
}
.article-detail-content ul, .article-detail-content ol {
  margin: 16px 0;
  padding-left: 24px;
}
.article-detail-content li {
  margin-bottom: 8px;
}
.article-detail-content blockquote {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--warm-gray);
}
.article-detail-content .info-box {
  background: #E3F2FD;
  border: 1px solid #90CAF9;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}
.article-detail-content .info-box-title {
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-detail-content .warning-box {
  background: #FFF3E0;
  border: 1px solid #FFB74D;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}
.article-detail-content .tip-box {
  background: #E8F5E9;
  border: 1px solid #81C784;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}
.article-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-detail-content th {
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}
.article-detail-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.article-detail-content tr:nth-child(even) td {
  background: var(--cream);
}

/* 文章标签列表 */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-tags a {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-gray);
  transition: all 0.2s;
}
.article-tags a:hover { background: var(--red); color: white; border-color: var(--red); }

/* 相关文章 */
.related-articles {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* 评论区 */
.comments-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}
.comment-form {
  margin-bottom: 32px;
}
.comment-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}
.comment-form textarea:focus { border-color: var(--red); }
.comment-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.comment-list { display: flex; flex-direction: column; gap: 24px; }
.comment-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.comment-body { flex: 1; }
.comment-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}
.comment-time {
  font-size: 12px;
  color: #9B8878;
  margin-bottom: 8px;
}
.comment-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--charcoal);
}
.comment-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--warm-gray);
}
.comment-actions span { cursor: pointer; transition: color 0.2s; }
.comment-actions span:hover { color: var(--red); }

/* ── 注册/登录表单 ── */
.auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
}
.auth-card h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  text-align: center;
  margin-bottom: 8px;
}
.auth-card .auth-subtitle {
  text-align: center;
  color: var(--warm-gray);
  font-size: 14px;
  margin-bottom: 32px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Noto Sans SC', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: white;
}
.form-group input:focus, .form-group select:focus { border-color: var(--red); }
.form-group .input-hint {
  font-size: 12px;
  color: var(--warm-gray);
  margin-top: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans SC', sans-serif;
  transition: all 0.2s;
  margin-top: 8px;
}
.btn-primary:hover { background: #A00D24; transform: translateY(-1px); }
.btn-outline {
  width: 100%;
  padding: 14px;
  background: white;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans SC', sans-serif;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--ink); color: white; }
.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--warm-gray);
}
.auth-switch a { color: var(--red); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--warm-gray);
  font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  font-size: 13px;
  color: var(--warm-gray);
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.checkbox-group a { color: var(--red); text-decoration: none; }

/* ── 搜索结果页 ── */
.search-results-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}
.search-results-header {
  margin-bottom: 32px;
}
.search-results-header h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  margin-bottom: 8px;
}
.search-results-header .result-count {
  color: var(--warm-gray);
  font-size: 14px;
}
.search-result-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.search-result-item:hover .article-title { color: var(--red); }

/* ── 列表页分页 ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  background: white;
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .active {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.pagination .prev, .pagination .next {
  width: auto;
  padding: 0 16px;
}
.pagination .dots {
  border: none;
  background: none;
  color: var(--warm-gray);
}

/* ── 招聘求职页 ── */
.job-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: all 0.2s;
  cursor: pointer;
}
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.job-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.job-salary {
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.job-company {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.job-tag {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--warm-gray);
  font-weight: 500;
}
.job-info {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #9B8878;
}

/* ── 关于/联系等静态页 ── */
.static-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px;
}
.static-page h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 24px;
}
.static-page h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 12px;
  padding-left: 16px;
  border-left: 4px solid var(--red);
}
.static-page p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal);
}
.static-page ul, .static-page ol {
  margin: 12px 0 16px;
  padding-left: 24px;
}
.static-page li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
}

/* 联系表单 */
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin-top: 32px;
}
.contact-form textarea {
  width: 100%;
  min-height: 150px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form textarea:focus { border-color: var(--red); }

/* ── 加载更多按钮 ── */
.load-more-btn {
  background: white;
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: 12px 40px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans SC', sans-serif;
  transition: all 0.2s;
}
.load-more-btn:hover {
  background: var(--ink);
  color: white;
}

/* ── 论坛详情回复 ── */
.forum-detail {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px;
}
.forum-post-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.forum-post-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.forum-post-author-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.forum-post-author-info .author-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 3px;
  margin-left: 8px;
}
.forum-post-author-info p {
  font-size: 12px;
  color: var(--warm-gray);
  margin-top: 2px;
}
.forum-post-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--charcoal);
}
.forum-post-body p {
  margin-bottom: 14px;
}
.forum-post-footer {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--warm-gray);
}
.forum-post-footer span {
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.forum-post-footer span:hover { color: var(--red); }

.reply-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.reply-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.reply-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.reply-time {
  font-size: 12px;
  color: #9B8878;
}
.reply-floor {
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--warm-gray);
  font-weight: 600;
  margin-left: auto;
}
.reply-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--charcoal);
}
.reply-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--warm-gray);
}
.reply-actions span {
  cursor: pointer;
  transition: color 0.2s;
}
.reply-actions span:hover { color: var(--red); }

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cc-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .btn-join { display: none; }
  .hero-main-title { font-size: 22px; }
  .stats-inner { gap: 8px; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .cc-grid { grid-template-columns: 1fr; }
  .forum-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .article-card { grid-template-columns: 100px 1fr; gap: 14px; }
  .article-thumb { width: 100px; height: 72px; font-size: 28px; }
  .auth-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .article-detail-title { font-size: 24px; }
  .page-hero-title { font-size: 28px; }
  .related-grid { grid-template-columns: 1fr; }
  .job-header { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .hero-main-img { height: 220px; font-size: 56px; }
  .hero-inner { padding: 24px 16px; }
  .main-content { padding: 32px 16px; }
  .section-title { font-size: 18px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { padding: 16px 14px; }
  .cat-icon { font-size: 28px; }
  .cat-name { font-size: 15px; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .article-detail-title { font-size: 22px; }
  .page-hero-title { font-size: 24px; }
}

/* ── 文章详情页 h1 标题 ── */
.article-detail-header h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.45;
  color: var(--ink);
  margin: 14px 0 16px;
}
/* 文章标签云 */
.article-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.detail-tag { background: var(--cream); border: 1px solid var(--border); padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; color: var(--warm-gray); cursor: pointer; transition: all .2s; }
.detail-tag:hover { background: var(--red); color: white; border-color: var(--red); }

/* ── 分类筛选 Tab ── */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cat-tab { padding: 7px 18px; border: 1.5px solid var(--border); border-radius: 20px; background: white; font-size: 13px; font-weight: 600; color: var(--warm-gray); cursor: pointer; transition: all .2s; font-family: 'Noto Sans SC', sans-serif; }
.cat-tab:hover { border-color: var(--red); color: var(--red); }
.cat-tab.active { background: var(--red); color: white; border-color: var(--red); }

/* ── 侧边栏 promo 卡片 ── */
.promo-card { background: linear-gradient(135deg, var(--red), #A00D24); color: white; border-radius: 12px; padding: 24px; margin-top: 16px; text-align: center; }
.promo-card h4 { font-family: 'Noto Serif SC', serif; font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.promo-card p { font-size: 13px; opacity: .85; line-height: 1.6; margin-bottom: 16px; }
.promo-btn { display: inline-block; background: white; color: var(--red); font-weight: 700; font-size: 14px; padding: 10px 24px; border-radius: 6px; text-decoration: none; transition: all .2s; }
.promo-btn:hover { background: var(--gold); color: var(--ink); }

/* ── 面包屑 ── */
.breadcrumb { max-width: 1280px; margin: 0 auto; padding: 12px 24px; font-size: 13px; color: var(--warm-gray); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.breadcrumb a { color: var(--warm-gray); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .separator { color: #CCC; margin: 0 2px; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ── 文章列表容器 ── */
.articles-list { display: flex; flex-direction: column; gap: 0; }

/* ── 相关阅读 & 评论区标题 ── */
.related-articles h3, .comments-section > h3 { font-family: 'Noto Serif SC', serif; font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.comment-form button { margin-top: 12px; padding: 10px 28px; background: var(--red); color: white; border: none; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'Noto Sans SC', sans-serif; transition: all .2s; }
.comment-form button:hover { background: #A00D24; }

/* ── 打折页 deal 样式 ── */
.deal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 28px; }
.deal-card { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: all .25s; text-decoration: none; color: inherit; display: block; }
.deal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.deal-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.deal-body { padding: 16px; }
.deal-badge { display: inline-block; background: var(--red); color: white; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 3px; margin-bottom: 8px; }
.deal-title { font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.4; margin-bottom: 6px; }
.deal-price { color: var(--red); font-weight: 700; font-size: 16px; margin-top: 8px; }
.deal-original { text-decoration: line-through; color: #9B8878; font-size: 12px; margin-left: 6px; }
@media (max-width: 768px) { .deal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .deal-grid { grid-template-columns: 1fr; } }

