/* ============================================================
   小红书涨粉指南 · 全站样式
   设计基调：小红书红 (#ff2442) + 大量留白 + 轻卡片阴影
   ============================================================ */

:root {
  --brand: #ff2442;
  --brand-dark: #e01a35;
  --brand-soft: #fff1f3;
  --brand-line: #ffd6dc;

  --bg: #fff;
  --bg-alt: #fafafa;
  --card: #ffffff;

  --text: #1a1a1a;
  --text-sub: #4a4a4a;
  --muted: #8a8a8a;
  --border: #ececec;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;

  --shadow-s: 0 1px 3px rgba(0, 0, 0, .05);
  --shadow: 0 6px 22px rgba(0, 0, 0, .06);
  --shadow-l: 0 14px 40px rgba(255, 36, 66, .12);

  --wrap: 1120px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 860px; }

.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ============================== Header ============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow-s); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 16px; font-weight: 800; letter-spacing: .2px; }
.brand-text em { font-size: 11px; font-style: normal; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  font-size: 14px;
  color: var(--text-sub);
  padding: 7px 11px;
  border-radius: var(--radius-s);
  white-space: nowrap;
}
.site-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.site-nav a.active { color: var(--brand); font-weight: 700; background: var(--brand-soft); }

.header-cta {
  flex-shrink: 0;
  background: var(--brand);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 36, 66, .3);
}
.header-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  font-size: 18px;
  padding: 4px 11px;
  cursor: pointer;
  color: var(--text);
}

/* ============================== Hero ============================== */

.hero {
  background: linear-gradient(160deg, #fff5f6 0%, #ffffff 55%, #fff 100%);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 40px;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 12.5px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: .3px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 900;
  letter-spacing: -.5px;
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(120deg, #ff2442, #ff5a74 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: clamp(14.5px, 1.6vw, 17px);
  color: var(--text-sub);
  line-height: 1.9;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.entry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 940px;
  margin: 0 auto;
}

.entry-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.entry-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-line);
  color: var(--brand);
}
.entry-icon { font-size: 22px; }
.entry-grid strong { font-size: 14px; font-weight: 700; }
.entry-grid em { font-size: 11.5px; font-style: normal; color: var(--muted); }

/* ============================== Buttons ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: var(--brand);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(255, 36, 66, .28);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  color: var(--text) !important;
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--brand-line); color: var(--brand) !important; }
.btn-light {
  background: #fff;
  color: var(--brand) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.btn-light:hover { transform: translateY(-2px); }

/* ============================== Section ============================== */

.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.2px; }
.section-head p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.section-head .more { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ============================== Cards ============================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #e2e2e2; }

.card-body { display: block; padding: 22px 22px 20px; color: var(--text); }
.card-body:hover { color: var(--text); }

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.card-meta .cat {
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
}

.card-title {
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 10px;
  letter-spacing: -.2px;
}
.card:hover .card-title { color: var(--brand); }

.card-intro {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 2px 9px;
  border-radius: 999px;
}
.tag:hover { color: var(--brand); border-color: var(--brand-line); background: var(--brand-soft); }

.card-compact .card-title { font-size: 16.5px; }
.card-compact .card-intro { -webkit-line-clamp: 2; }

/* ============================== 服务卡片 ============================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.service-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-s);
  color: var(--text);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-line);
  color: var(--text);
}
.service-card:hover h3 { color: var(--brand); }
.service-go {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  opacity: .5;
  transition: opacity .2s ease, transform .2s ease;
}
.service-card:hover .service-go { opacity: 1; transform: translateX(3px); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #ff6b81);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 14px;
}
.service-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--text-sub); line-height: 1.8; }

/* ============================== CTA ============================== */

.cta-band {
  background: linear-gradient(135deg, #ff2442 0%, #ff5a74 100%);
  color: #fff;
  padding: 44px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.cta-inner p { font-size: 14px; opacity: .92; max-width: 620px; line-height: 1.8; }

.cta-inline { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 8px; }

/* ============================== 首页杂项 ============================== */

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 22px;
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--brand);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 20px; font-size: 14.5px; color: var(--text-sub); line-height: 1.9; }

.value-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.value-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}
.value-list li strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }

/* ============================== 面包屑 / 页头 ============================== */

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 22px 0 4px;
  line-height: 1.9;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 6px; color: #ccc; }
.breadcrumb span[aria-current] { color: var(--text-sub); }

.page-head { padding: 14px 0 26px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.page-head h1 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; letter-spacing: -.4px; margin-bottom: 10px; }
.page-head p { font-size: 14.5px; color: var(--text-sub); line-height: 1.9; max-width: 780px; }
.page-head-meta { font-size: 13px !important; color: var(--muted) !important; margin-top: 8px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  font-size: 13px;
  color: var(--text-sub);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}
.chip:hover { color: var(--brand); border-color: var(--brand-line); background: var(--brand-soft); }

/* ============================== 搜索 ============================== */

.search-box { display: flex; gap: 10px; margin-bottom: 24px; }
.search-box input {
  flex: 1;
  font-size: 15px;
  font-family: inherit;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  outline: none;
  transition: border-color .18s ease, background .18s ease;
}
.search-box input:focus { border-color: var(--brand); background: #fff; }
.search-box button {
  font-size: 15px;
  font-family: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease;
}
.search-box button:hover { background: var(--brand-dark); }
.search-status { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

/* ============================== 文章详情 ============================== */

.post {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: 40px 44px 34px;
  margin-bottom: 28px;
}

.post-head { padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.post-meta .cat {
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 11px;
  border-radius: 999px;
  font-weight: 700;
}
.post-head h1 {
  font-size: clamp(23px, 3.2vw, 33px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
.post-intro {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.95;
  background: var(--bg-alt);
  border-left: 3px solid var(--brand);
  padding: 14px 18px;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

/* 目录 */
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.toc h2 { font-size: 14.5px; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.toc ol { counter-reset: toc; display: grid; gap: 6px; }
.toc li { counter-increment: toc; font-size: 14px; line-height: 1.7; }
.toc li::before { content: counter(toc) ". "; color: var(--brand); font-weight: 700; }
.toc a { color: var(--text-sub); }
.toc a:hover { color: var(--brand); }

/* 正文排版 */
.post-content { font-size: 16px; line-height: 1.95; color: #242424; }
.post-content > *:first-child { margin-top: 0; }

.post-content h2 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
  margin: 42px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  scroll-margin-top: calc(var(--header-h) + 16px);
  position: relative;
}
.post-content h2 .anchor {
  margin-left: 8px;
  color: #ddd;
  font-size: 16px;
  font-weight: 400;
  opacity: 0;
  transition: opacity .15s ease;
}
.post-content h2:hover .anchor { opacity: 1; color: var(--brand); }

.post-content h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 28px 0 12px;
  color: #171717;
}

.post-content p { margin-bottom: 16px; }

.post-content ul, .post-content ol { margin: 0 0 18px; padding-left: 0; }
.post-content ul li,
.post-content ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 15.5px;
  line-height: 1.9;
}
.post-content ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.post-content ol { counter-reset: ol; }
.post-content ol li::before {
  counter-increment: ol;
  content: counter(ol);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.post-content strong { color: #111; font-weight: 800; }
.post-content em { font-style: normal; color: var(--brand); font-weight: 600; }

.post-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.post-content blockquote {
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 15px;
  color: #5a3a3f;
}
.post-content blockquote p:last-child { margin-bottom: 0; }

.post-content .post-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 14.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  overflow: hidden;
}
.post-content .post-table th {
  background: linear-gradient(135deg, #fff1f3, #fff7f8);
  color: #8c1c2d;
  font-weight: 800;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--brand-line);
}
.post-content .post-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-sub);
  vertical-align: top;
}
.post-content .post-table tr:last-child td { border-bottom: none; }
.post-content .post-table tr:nth-child(even) td { background: #fcfcfc; }

.post-content code {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 14px;
}

.post-foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.post-author { font-size: 13px; color: var(--muted); line-height: 1.9; }

/* 文末服务说明块：核心关键词的载体之一，同时提供一条带词锚文本指向服务页 */
.service-note {
  margin-top: 26px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 16px 18px;
}
.service-note b { display: block; font-size: 13.5px; color: var(--brand-dark); margin-bottom: 6px; }
.service-note p { font-size: 13.5px; color: var(--text-sub); line-height: 1.85; margin-bottom: 10px; }
.service-note-link { font-size: 13.5px; font-weight: 700; }

.post-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-bottom: 8px; }
.post-nav-item {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.7;
  box-shadow: var(--shadow-s);
}
.post-nav-item em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.post-nav-item:hover { color: var(--brand); border-color: var(--brand-line); box-shadow: var(--shadow); }

/* ============================== 分页 ============================== */

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 38px 0 8px;
}
.page-item {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-sub);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
}
.page-item:hover { color: var(--brand); border-color: var(--brand-line); background: var(--brand-soft); }
.page-item.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-item.nav { padding: 0 16px; }
.page-gap { color: #bbb; padding: 0 4px; }

/* ============================== 通用正文块 ============================== */

.prose { font-size: 15.5px; line-height: 1.95; color: var(--text-sub); }
.prose h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 34px 0 14px;
  padding-left: 13px;
  border-left: 4px solid var(--brand);
}
.prose h3 { font-size: 16.5px; font-weight: 800; color: var(--text); margin: 22px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 18px; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.prose ol { counter-reset: pol; }
.prose ol li::before {
  counter-increment: pol;
  content: counter(pol) ".";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
}
.prose strong { color: var(--text); font-weight: 800; }

/* ============================== 404 ============================== */

.error-page { text-align: center; padding: 70px 0 90px; }
.error-code {
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(120deg, #ff2442, #ff8fa1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.error-page h1 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.error-page p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.error-page .cta-inline { justify-content: center; }

/* ============================== Footer ============================== */

.site-footer {
  background: #16161a;
  color: #a6a6ad;
  padding: 52px 0 28px;
  font-size: 13.5px;
  line-height: 1.9;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid #2a2a30;
}
.footer-col h4 { color: #fff; font-size: 14.5px; font-weight: 800; margin-bottom: 14px; }
.footer-col p { color: #8b8b93; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #a6a6ad; }
.footer-col a:hover { color: #ff7b8f; }
.footer-bottom { padding-top: 22px; text-align: center; }
.footer-bottom p { color: #77777f; font-size: 12.5px; }
.footer-note { margin-top: 6px; color: #5e5e66 !important; }

/* ============================== 文末「参考来源」 ============================== */
/*
 * 文章末尾的官方引用区块。
 * ⚠️ 里面的链接**故意不带 nofollow**（见 lib/pages.mjs 的 renderSources）：
 *    它们是真实的编辑引用，是 E-E-A-T 里「权威性」的信号，
 *    别为了「全站外链统一 nofollow」而把它们也改掉。
 */
.sources {
  margin: 32px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
}

.sources-head {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--text);
}

.sources ul {
  margin: 0;
  padding-left: 20px;
}

.sources li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.source-note {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
}

.sources-foot {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* 商业关系披露（合规要求，别删） */
.ad-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 0 5px;
  border: 1px solid currentColor;
  border-radius: var(--radius-s);
  font-size: 11.5px;
  line-height: 1.5;
  vertical-align: 1px;
  opacity: 0.85;
}

.cta-ad,
.ad-disclosure {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
}

/* ============================== 响应式 ============================== */

@media (max-width: 960px) {
  .entry-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .entry-grid a { padding: 12px 4px; }
  .entry-grid strong { font-size: 12.5px; }
  .entry-grid em { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .post { padding: 30px 26px 26px; }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; }

  .header-inner { gap: 10px; flex-wrap: wrap; height: auto; padding: 10px 0; }
  .brand-text em { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-left: 0;
    padding-bottom: 10px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 12px; background: var(--bg-alt); }
  .site-nav a.active { background: var(--brand-soft); }

  .hero { padding: 40px 0 32px; }
  .hero-actions { margin-bottom: 30px; }
  .btn { padding: 11px 22px; font-size: 14.5px; }

  .section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head h2 { font-size: 21px; }

  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cta-inner h2 { font-size: 19px; }

  .post { border-radius: var(--radius); padding: 24px 20px 22px; }
  .post-head h1 { font-size: 21px; }
  .post-content { font-size: 15.5px; }
  .post-content h2 { font-size: 19px; margin-top: 34px; }
  .post-content h3 { font-size: 16px; }
  .post-content ul li, .post-content ol li { font-size: 15px; }
  .post-content .post-table { font-size: 13.5px; }
  .post-content .post-table th,
  .post-content .post-table td { padding: 10px 12px; }

  .post-nav { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .error-code { font-size: 68px; }
}

@media (max-width: 420px) {
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .entry-grid a:nth-child(5) { grid-column: span 2; }
}

@media print {
  .site-header, .site-footer, .cta-band, .post-nav, .toc, .search-box { display: none; }
  .post { border: none; box-shadow: none; padding: 0; }
}
