:root {
  --gov-red: #c30d23;
  --gov-red-dark: #9a0a1c;
  --gov-red-light: #fef2f3;
  --gov-gold: #d4a818;
  --gov-gold-dark: #b8860b;
  --gov-gold-light: #faf6e8;
  --navy: #1a365d;
  --primary: #c30d23;
  --primary-dark: #9a0a1c;
  --primary-light: #fef2f3;
  --accent: #1a365d;
  --success: #15803d;
  --danger: #b91c1c;
  --warning: #b45309;

  --bg: #f5f5f5;
  --bg-2: #eef0f3;
  --card-bg: #ffffff;
  --text: #1a2233;
  --text-2: #475569;
  --text-3: #6b7280;
  --border: #e0e0e0;
  --border-2: #cccccc;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --shadow-lg: 0 6px 24px rgba(0,0,0,.12);
  --radius: 4px;
  --radius-sm: 3px;
  --radius-lg: 6px;
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", -apple-system, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7; font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gov-red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gov-red-dark); }
img { max-width: 100%; }

/* === Gov Header === */
.gov-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.gov-header-top {
  background: linear-gradient(135deg, var(--gov-red), var(--gov-red-dark));
  height: 6px;
}
.gov-header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 70px;
  display: flex; align-items: center; gap: 40px;
}
.logo {
  display: flex; align-items: center; gap: 14px; white-space: nowrap; text-decoration: none;
}
.logo-mark {
  width: 44px; height: 44px; border-radius: 6px;
  background: linear-gradient(135deg, var(--gov-red), var(--gov-red-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -.02em;
  box-shadow: 0 2px 10px rgba(195,13,35,.3);
  position: relative;
}
.logo-mark::after {
  content: '★'; position: absolute; top: -2px; right: -2px;
  font-size: 10px; color: var(--gov-gold);
}
.logo-brand { font-size: 24px; font-weight: 800; color: var(--gov-red); letter-spacing: .02em; }
.logo-sub { font-size: 12px; color: var(--text-3); letter-spacing: .15em; margin-top: 2px; }

.nav-menu { display: flex; gap: 0; flex: 1; }
.nav-menu a {
  padding: 10px 24px; font-weight: 600; font-size: 16px;
  color: var(--text); border-bottom: 3px solid transparent;
  transition: all .2s;
}
.nav-menu a:hover { color: var(--gov-red); border-bottom-color: var(--gov-gold); }
.nav-menu a.active { color: var(--gov-red); border-bottom-color: var(--gov-red); }
.header-right { display: flex; align-items: center; gap: 10px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; border: none; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.btn-primary { background: var(--gov-red); color: #fff; }
.btn-primary:hover { background: var(--gov-red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #13293f; color: #fff; }
.btn-gold { background: var(--gov-gold); color: #fff; }
.btn-gold:hover { background: var(--gov-gold-dark); color: #fff; }
.btn-outline { background: #fff; border: 1px solid var(--border-2); color: var(--text-2); }
.btn-outline:hover { border-color: var(--gov-red); color: var(--gov-red); }
.btn-sm { padding: 5px 14px; font-size: 13px; }
.btn-lg { padding: 12px 32px; font-size: 16px; }

/* === Container === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 32px 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 32px 24px; }

/* === Gov Hero Banner === */
.gov-hero {
  background: linear-gradient(135deg, var(--gov-red) 0%, var(--gov-red-dark) 60%, #7a0815 100%);
  color: #fff; padding: 60px 24px 70px; text-align: center; position: relative; overflow: hidden;
}
.gov-hero::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(212,168,24,.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(212,168,24,.06) 0%, transparent 40%);
}
.gov-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gov-gold) 0%, #f0d060 50%, var(--gov-gold) 100%);
}
.gov-hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.gov-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 20px; border-radius: 100px;
  background: rgba(212,168,24,.12); border: 1px solid rgba(212,168,24,.35);
  font-size: 13px; font-weight: 600; color: #f0d060; margin-bottom: 24px;
  letter-spacing: .05em;
}
.gov-hero h1 {
  font-size: 42px; font-weight: 800; margin-bottom: 16px; letter-spacing: .02em; line-height: 1.2;
}
.gov-hero h1 .gold { color: var(--gov-gold); }
.gov-hero-desc { font-size: 18px; opacity: .9; margin-bottom: 32px; line-height: 1.6; }
.gov-hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.gov-hero .btn-primary { background: #fff; color: var(--gov-red); }
.gov-hero .btn-primary:hover { background: var(--gov-gold-light); }
.gov-hero .btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.gov-hero .btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.gov-stats-bar {
  display: flex; margin-top: 44px;
  background: rgba(255,255,255,.08); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
}
.gov-stat { flex: 1; text-align: center; padding: 20px 16px; border-right: 1px solid rgba(255,255,255,.1); }
.gov-stat:last-child { border-right: none; }
.gov-stat .num { font-size: 30px; font-weight: 800; color: var(--gov-gold); }
.gov-stat .label { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; letter-spacing: .05em; }

/* === Service Pillars (政务服务网格) === */
.service-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: var(--max-width); margin: -50px auto 48px; position: relative; z-index: 10;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gov-gold);
}
.pillar-card {
  padding: 36px 28px; text-align: center; transition: all .25s;
  text-decoration: none; color: var(--text); display: block;
  border-right: 1px solid var(--border);
}
.pillar-card:last-child { border-right: none; }
.pillar-card:hover { background: var(--gov-red-light); color: var(--text); }
.pillar-icon {
  font-size: 40px; margin-bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--gov-red-light);
}
.pillar-card:nth-child(2) .pillar-icon { background: var(--gov-gold-light); }
.pillar-card:nth-child(3) .pillar-icon { background: #e8f0fe; }
.pillar-card h3 { font-size: 20px; margin-bottom: 6px; color: var(--gov-red); font-weight: 700; }
.pillar-card:nth-child(2) h3 { color: var(--gov-gold-dark); }
.pillar-card:nth-child(3) h3 { color: var(--navy); }
.pillar-card > p { font-size: 14px; color: var(--text-3); margin-bottom: 16px; }
.pillar-features { text-align: left; border-top: 1px solid var(--border); padding-top: 14px; }
.pillar-features li { list-style: none; padding: 7px 0; font-size: 14px; color: var(--text-2); border-bottom: 1px dashed var(--bg-2); }
.pillar-features li:last-child { border-bottom: none; }
.pillar-features li::before { content: '◆ '; color: var(--gov-gold); font-size: 9px; }
.pillar-card .more-link { display: block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--gov-red); }

/* === Section Title (政务风格) === */
.section-title { text-align: center; margin: 40px 0 28px; }
.section-title h2 {
  font-size: 28px; font-weight: 700; margin-bottom: 6px; color: var(--text);
  display: inline-flex; align-items: center; gap: 12px;
}
.section-title h2::before, .section-title h2::after {
  content: ''; display: inline-block; width: 36px; height: 2px;
  background: var(--gov-gold);
}
.section-title p { color: var(--text-3); font-size: 15px; }

/* === Cards === */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px; transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow); }
.card-header {
  padding: 14px 20px; border-bottom: 2px solid var(--gov-red); display: flex; align-items: center; justify-content: space-between;
  background: #fff;
}
.card-header h3 { font-size: 17px; font-weight: 700; color: var(--gov-red); display: flex; align-items: center; gap: 8px; }
.card-header h3::before { content: '▎'; color: var(--gov-gold); }
.card-body { padding: 20px; }
.card-footer { padding: 12px 20px; border-top: 1px solid var(--border); background: var(--bg-2); }

/* === Announcement Bar === */
.announce-bar {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px;
  background: var(--gov-gold-light); border: 1px solid var(--gov-gold); border-left: 4px solid var(--gov-gold);
  border-radius: var(--radius); margin-bottom: 24px;
}
.announce-bar .icon { font-size: 18px; flex-shrink: 0; }
.announce-bar .text { font-size: 14px; color: var(--text-2); flex: 1; }
.announce-bar .label {
  background: var(--gov-gold); color: #fff; font-size: 12px; padding: 2px 10px;
  border-radius: var(--radius-sm); font-weight: 600; flex-shrink: 0;
}

/* === Stats Grid === */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; text-align: center; border-top: 3px solid var(--gov-red);
}
.stat-card:nth-child(2) { border-top-color: var(--gov-gold); }
.stat-card:nth-child(3) { border-top-color: var(--navy); }
.stat-card:nth-child(4) { border-top-color: var(--success); }
.stat-card .num { font-size: 28px; font-weight: 800; color: var(--gov-red); }
.stat-card:nth-child(2) .num { color: var(--gov-gold-dark); }
.stat-card .label { font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* === Forum === */
.forum-category { margin-bottom: 24px; }
.forum-category-header {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: var(--gov-red); border-radius: var(--radius); margin-bottom: 10px; color: #fff;
}
.forum-category-header .icon { font-size: 22px; }
.forum-category-header h3 { font-size: 17px; font-weight: 700; color: #fff; }
.forum-category-header .desc { font-size: 13px; color: rgba(255,255,255,.8); margin-left: auto; text-align: right; max-width: 400px; }
.forum-board {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 8px; transition: all .2s;
}
.forum-board:hover { border-color: var(--gov-red); box-shadow: var(--shadow-sm); }
.forum-board .board-icon {
  font-size: 22px; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gov-red-light); border-radius: 6px; flex-shrink: 0;
}
.forum-board .board-info { flex: 1; }
.forum-board .board-info h4 { font-size: 16px; font-weight: 600; }
.forum-board .board-info h4 a { color: var(--text); }
.forum-board .board-info h4 a:hover { color: var(--gov-red); }
.forum-board .board-info p { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.forum-board .board-stats { text-align: right; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.forum-board .board-stats strong { color: var(--gov-red); font-size: 16px; font-weight: 700; }

/* === Thread list === */
.thread-list { list-style: none; }
.thread-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.thread-item:last-child { border-bottom: none; }
.thread-avatar {
  width: 40px; height: 40px; border-radius: 4px; background: var(--gov-red-light);
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.thread-info { flex: 1; min-width: 0; }
.thread-title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-title a { color: var(--text); }
.thread-title a:hover { color: var(--gov-red); }
.thread-meta { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.thread-stats { text-align: right; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.thread-stats strong { font-size: 14px; color: var(--gov-red); font-weight: 700; }
.badge-pinned { background: var(--gov-gold); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-right: 6px; font-weight: 600; }
.badge-essential { background: var(--gov-red); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-right: 6px; font-weight: 600; }

/* === Thread detail === */
.thread-detail-header { padding: 22px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.thread-detail-header h1 { font-size: 24px; margin-bottom: 10px; color: var(--text); line-height: 1.3; }
.thread-detail-meta { font-size: 13px; color: var(--text-3); }
.thread-content { padding: 22px; font-size: 15px; line-height: 1.85; white-space: pre-wrap; word-break: break-word; color: var(--text-2); }
.post-item { padding: 16px 22px; border-bottom: 1px solid var(--border); display: flex; gap: 14px; }
.post-avatar { width: 40px; height: 40px; border-radius: 4px; background: var(--gov-red-light); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.post-body { flex: 1; }
.post-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.post-floor { font-size: 12px; color: var(--text-3); }
.post-content { font-size: 14px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; color: var(--text-2); }
.post-time { font-size: 12px; color: var(--text-3); margin-top: 8px; }

/* === WeChat-style Article (PC) === */
.article-card { background: #fff; border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.article-title { font-size: 26px; font-weight: 700; line-height: 1.4; color: var(--text); padding: 28px 32px 14px; margin: 0; }
.article-meta { display: flex; align-items: center; gap: 12px; padding: 0 32px 20px; border-bottom: 1px solid var(--border); }
.article-meta-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gov-red-light); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.article-meta-info { flex: 1; }
.article-meta-author { font-size: 15px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }
.article-meta-time { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.article-body { padding: 28px 32px; font-size: 16px; line-height: 1.85; color: #333; }
.article-body p { margin-bottom: 18px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body h3.art-h { font-size: 18px; font-weight: 700; color: var(--text); margin: 32px 0 16px; padding-left: 12px; border-left: 4px solid var(--gov-red); line-height: 1.4; }
.article-body h3.art-h:first-child { margin-top: 0; }
.article-body p.art-li { padding-left: 20px; position: relative; margin-bottom: 12px; color: #555; font-size: 15px; line-height: 1.8; }
.article-body p.art-li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--gov-red); }
.article-body p.art-li .art-num { display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; background: var(--gov-red); color: #fff; border-radius: 50%; font-size: 12px; font-weight: 700; margin-right: 8px; margin-left: -20px; }
.article-body .art-footer { margin-top: 32px; padding: 16px 20px; background: #f7f7f7; border-radius: 8px; font-size: 13px; line-height: 1.9; color: var(--text-3); }
.article-body a.art-link { color: #576b95; text-decoration: none; }

.article-comments-title { padding: 16px 32px; font-size: 15px; font-weight: 700; color: var(--text); border-top: 1px solid var(--border); background: #fafafa; }
.article-comments-count { font-size: 13px; color: var(--text-3); font-weight: 400; margin-left: 6px; }
.article-comment { display: flex; gap: 12px; padding: 16px 32px; border-bottom: 1px solid #f0f0f0; }
.article-comment:last-child { border-bottom: none; }
.article-comment-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gov-red-light); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.article-comment-body { flex: 1; }
.article-comment-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.article-comment-header strong { font-size: 14px; }
.article-comment-floor { font-size: 12px; color: var(--text-3); }
.article-comment-content { font-size: 14px; line-height: 1.75; color: #333; white-space: pre-wrap; word-break: break-word; }
.article-comment-time { font-size: 12px; color: var(--text-3); margin-top: 6px; }

/* === Forms === */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 14px; color: var(--text-2); }
.form-control {
  width: 100%; padding: 11px 16px; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-control::placeholder { color: var(--text-3); }
.form-control:focus { outline: none; border-color: var(--gov-red); box-shadow: 0 0 0 3px var(--gov-red-light); }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { cursor: pointer; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.form-error { color: var(--danger); font-size: 13px; margin-bottom: 14px; padding: 10px 14px; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-sm); }
.form-success { color: var(--success); font-size: 13px; margin-bottom: 14px; padding: 10px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-sm); }

/* === Badges === */
.badge { display: inline-block; padding: 2px 10px; border-radius: 3px; font-size: 12px; font-weight: 600; }
.badge-member { background: #e2e8f0; color: #475569; }
.badge-entrepreneur { background: var(--gov-red-light); color: var(--gov-red); }
.badge-enterprise { background: var(--gov-gold-light); color: var(--gov-gold-dark); }
.badge-vip { background: #fce7f3; color: #be185d; }
.badge-admin { background: #fee2e2; color: var(--danger); }

/* === Nav === */
.nav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.nav-cat-card {
  background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border);
  border-top: 3px solid var(--gov-red);
  transition: all .2s; text-decoration: none; color: var(--text); display: block;
}
.nav-cat-card:nth-child(2) { border-top-color: var(--gov-gold); }
.nav-cat-card:nth-child(3) { border-top-color: var(--navy); }
.nav-cat-card:nth-child(4) { border-top-color: var(--success); }
.nav-cat-card:nth-child(5) { border-top-color: var(--gov-red-dark); }
.nav-cat-card:nth-child(6) { border-top-color: var(--gov-gold-dark); }
.nav-cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--text); }
.nav-cat-card .icon { font-size: 32px; margin-bottom: 12px; }
.nav-cat-card h4 { font-size: 17px; margin-bottom: 6px; color: var(--text); }
.nav-cat-card p { font-size: 13px; color: var(--text-3); line-height: 1.6; }
.nav-cat-card .count { margin-top: 10px; font-size: 13px; color: var(--gov-red); font-weight: 600; }

.resource-item {
  display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 8px; transition: all .2s;
}
.resource-item:hover { border-color: var(--gov-red); box-shadow: var(--shadow-sm); }
.resource-logo { width: 46px; height: 46px; border-radius: 6px; background: var(--gov-red-light); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.resource-info { flex: 1; min-width: 0; }
.resource-info h4 { font-size: 15px; margin-bottom: 4px; }
.resource-info h4 a { color: var(--text); }
.resource-info h4 a:hover { color: var(--gov-red); }
.resource-info p { font-size: 13px; color: var(--text-3); }
.resource-tags { margin-top: 6px; }
.resource-tag { display: inline-block; background: var(--bg-2); padding: 2px 10px; border-radius: 3px; font-size: 11px; color: var(--text-3); margin-right: 4px; }
.resource-meta { text-align: right; font-size: 12px; color: var(--text-3); white-space: nowrap; display: flex; flex-direction: column; gap: 3px; justify-content: center; }
.resource-type-free { color: var(--success); font-weight: 600; }
.resource-type-paid { color: var(--gov-gold-dark); font-weight: 600; }
.resource-rating { color: var(--gov-gold); }

/* === MCN === */
.mcn-section { margin-bottom: 40px; }
.mcn-section-header { text-align: center; margin-bottom: 24px; }
.mcn-section-header h2 { font-size: 26px; margin-bottom: 8px; color: var(--text); }
.mcn-section-header p { color: var(--text-3); font-size: 15px; max-width: 600px; margin: 0 auto; }
.mcn-service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.mcn-service-card {
  background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border);
  border-top: 3px solid var(--gov-red); transition: all .2s;
}
.mcn-service-card:nth-child(3n+1) { border-top-color: var(--gov-red); }
.mcn-service-card:nth-child(3n+2) { border-top-color: var(--gov-gold); }
.mcn-service-card:nth-child(3n) { border-top-color: var(--navy); }
.mcn-service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.mcn-service-card .icon { font-size: 34px; margin-bottom: 12px; }
.mcn-service-card h4 { font-size: 18px; margin-bottom: 8px; color: var(--text); }
.mcn-service-card p { font-size: 13px; color: var(--text-3); margin-bottom: 12px; line-height: 1.7; }
.mcn-service-card .price { font-size: 20px; font-weight: 800; color: var(--gov-red); margin-bottom: 12px; }
.mcn-service-card .details { font-size: 12px; color: var(--text-3); padding: 12px; background: var(--bg-2); border-radius: var(--radius-sm); margin-bottom: 12px; line-height: 1.6; }

/* === MCN hero === */
.mcn-hero {
  background: linear-gradient(135deg, var(--gov-red), var(--gov-red-dark));
  color: #fff; border-radius: var(--radius-lg); padding: 44px 28px;
  text-align: center; margin-bottom: 28px; position: relative; overflow: hidden;
}
.mcn-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gov-gold), #f0d060, var(--gov-gold));
}
.mcn-hero h1 { font-size: 28px; margin-bottom: 12px; }
.mcn-hero p { font-size: 16px; opacity: .85; max-width: 640px; margin: 0 auto; }

/* === Tables === */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.table th { font-weight: 700; background: var(--gov-red); color: #fff; font-size: 13px; }
.table tr:hover { background: var(--bg-2); }
.table td { color: var(--text-2); }

/* === Search === */
.search-box { display: flex; gap: 8px; margin-bottom: 20px; }
.search-box input { flex: 1; padding: 12px 18px; border: 1px solid var(--border-2); border-radius: var(--radius-sm); font-size: 15px; font-family: inherit; background: #fff; }
.search-box input::placeholder { color: var(--text-3); }
.search-box input:focus { outline: none; border-color: var(--gov-red); box-shadow: 0 0 0 3px var(--gov-red-light); }

/* === Filter tabs === */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-tab { padding: 7px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; border: 1px solid var(--border-2); background: #fff; color: var(--text-2); transition: all .2s; text-decoration: none; }
.filter-tab:hover { border-color: var(--gov-red); color: var(--gov-red); }
.filter-tab.active { background: var(--gov-red); color: #fff; border-color: var(--gov-red); }

/* === Pagination === */
.pagination { display: flex; gap: 4px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 14px; border: 1px solid var(--border-2); border-radius: var(--radius-sm); font-size: 14px; background: #fff; color: var(--text-2); }
.pagination a:hover { border-color: var(--gov-red); color: var(--gov-red); }
.pagination .active { background: var(--gov-red); color: #fff; border-color: var(--gov-red); }

/* === Breadcrumb === */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--gov-red); }
.breadcrumb .sep::before { content: '›'; color: var(--border-2); }

/* === Feature grid === */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* === Gov Footer === */
.gov-footer {
  background: var(--gov-red-dark); color: rgba(255,255,255,.7); padding: 48px 24px 20px; margin-top: 50px;
}
.gov-footer::before {
  content: ''; display: block; height: 4px; max-width: var(--max-width); margin: 0 auto 32px;
  background: linear-gradient(90deg, var(--gov-gold), #f0d060, var(--gov-gold));
  border-radius: 2px;
}
.gov-footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.gov-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; font-weight: 700; }
.gov-footer a { color: rgba(255,255,255,.7); font-size: 14px; display: block; padding: 5px 0; }
.gov-footer a:hover { color: var(--gov-gold); }
.gov-footer-bottom {
  max-width: var(--max-width); margin: 28px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 13px;
}

/* === Auth === */
.auth-card { max-width: 460px; margin: 40px auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px; border-top: 4px solid var(--gov-red); }
.auth-card h2 { text-align: center; margin-bottom: 24px; font-size: 24px; color: var(--gov-red); }
.auth-tabs { display: flex; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.auth-tab { flex: 1; text-align: center; padding: 12px; cursor: pointer; font-weight: 600; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.auth-tab.active { color: var(--gov-red); border-bottom-color: var(--gov-red); }

/* === WeChat Login === */
.btn-wx { background: #07c160; color: #fff; border: none; padding: 10px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all .2s; text-decoration: none; }
.btn-wx:hover { background: #06ae56; color: #fff; }
.wx-icon { font-size: 18px; }
.wx-login-divider { text-align: center; margin: 20px 0; position: relative; }
.wx-login-divider::before { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--border); }
.wx-login-divider span { background: #fff; padding: 0 16px; position: relative; z-index: 1; font-size: 13px; color: var(--text-3); }

/* === Profile === */
.profile-header { display: flex; gap: 24px; align-items: center; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); border-left: 4px solid var(--gov-red); margin-bottom: 24px; }
.profile-avatar { width: 76px; height: 76px; border-radius: 6px; background: var(--gov-red-light); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.profile-info h2 { font-size: 22px; margin-bottom: 6px; color: var(--text); }
.profile-info p { color: var(--text-3); font-size: 14px; }

/* === Admin === */
.admin-layout { display: flex; min-height: calc(100vh - 64px); }
.admin-sidebar { width: 240px; background: var(--gov-red); padding: 20px 0; flex-shrink: 0; }
.admin-sidebar a { display: block; padding: 12px 24px; color: rgba(255,255,255,.7); font-size: 14px; border-left: 3px solid transparent; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--gov-gold); }
.admin-content { flex: 1; padding: 24px; background: var(--bg); }

/* === Toast === */
.toast { position: fixed; top: 88px; left: 50%; transform: translateX(-50%); padding: 14px 28px; border-radius: var(--radius-sm); font-size: 14px; z-index: 9999; animation: toastIn .3s ease; font-weight: 600; box-shadow: var(--shadow-lg); }
.toast-success { background: var(--success); color: #fff; }
.toast-error { background: var(--danger); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(-10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* === Quick Links (快捷入口) === */
.quick-links {
  display: flex; gap: 0; max-width: var(--max-width); margin: 0 auto 32px; padding: 0 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.quick-link {
  flex: 1; padding: 18px 12px; text-align: center; text-decoration: none; color: var(--text-2);
  border-right: 1px solid var(--border); transition: all .2s;
}
.quick-link:last-child { border-right: none; }
.quick-link:hover { background: var(--gov-red-light); color: var(--gov-red); }
.quick-link .icon { font-size: 24px; margin-bottom: 6px; display: block; }
.quick-link .label { font-size: 13px; font-weight: 600; }

/* === Responsive === */
@media (max-width: 960px) {
  .service-pillars { grid-template-columns: 1fr; margin: -30px 16px 32px; }
  .pillar-card { border-right: none; border-bottom: 1px solid var(--border); }
  .pillar-card:last-child { border-bottom: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gov-footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .form-row { flex-direction: column; }
  .mcn-service-grid { grid-template-columns: 1fr; }
  .nav-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .gov-hero h1 { font-size: 30px; }
  .gov-stats-bar { flex-wrap: wrap; }
  .gov-stat { min-width: 45%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .section-title h2 { font-size: 22px; }
  .admin-sidebar { width: 180px; }
  .quick-links { flex-wrap: wrap; }
  .quick-link { min-width: 33%; border-bottom: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .gov-footer-inner { grid-template-columns: 1fr; }
  .gov-hero h1 { font-size: 24px; }
  .gov-hero-desc { font-size: 15px; }
  .container { padding: 20px 16px; }
  .thread-item { flex-wrap: wrap; }
  .thread-stats { width: 100%; text-align: left; margin-top: 6px; }
  .forum-category-header { flex-wrap: wrap; }
  .forum-category-header .desc { margin-left: 0; text-align: left; max-width: 100%; }
  .gov-stats-bar { flex-direction: column; }
  .gov-stat { border-right: none; }
  .admin-sidebar { display: none; }
  .admin-content { padding: 16px; }
  .mcn-hero { padding: 28px 18px; }
  .mcn-hero h1 { font-size: 22px; }
  .logo-brand { font-size: 20px; }
}
