/* ============================================================
   建工备考资料库 · 站点样式
   浅色专业风格：蓝为主色，橙为强调色，卡片化布局
   ============================================================ */

:root {
  --blue-800: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-50: #fffbeb;
  --green-600: #16a34a;
  --red-600: #dc2626;

  --ink:      #0f172a;
  --ink-2:    #334155;
  --ink-3:    #475569;
  --muted:    #64748b;
  --muted-2:  #94a3b8;
  --line:     #e2e8f0;
  --line-2:   #eef2f7;
  --bg:       #f6f8fc;
  --card:     #ffffff;

  --radius:   12px;
  --radius-s: 8px;
  --shadow-s: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow:   0 4px 16px rgba(15, 23, 42, .07);
  --shadow-l: 0 12px 32px rgba(15, 23, 42, .10);
  --wrap:     1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
}

a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-600); }
img { max-width: 100%; height: auto; border-radius: var(--radius-s); }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin: .3em 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--blue-700); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------------- 顶部 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; font-weight: 700; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(37, 99, 235, .28);
}
.brand-logo.small { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { color: var(--ink); font-size: 16.5px; letter-spacing: .2px; }
.brand-text em { color: var(--muted); font-size: 11.5px; font-style: normal; }

.search-form { position: relative; margin-left: auto; width: 320px; max-width: 40vw; }
.search-form input {
  width: 100%; height: 38px; padding: 0 40px 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); font-size: 14px; font-family: inherit; color: var(--ink);
  outline: none; transition: .18s;
}
.search-form input:focus { border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 3px var(--blue-50); }
.search-form button {
  position: absolute; right: 4px; top: 4px; width: 30px; height: 30px;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.search-form button:hover { background: var(--blue-50); color: var(--blue-700); }
.suggest {
  position: absolute; top: 46px; left: 0; right: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l);
  padding: 6px; z-index: 80; max-height: 60vh; overflow: auto;
}
.suggest a { display: block; padding: 8px 10px; border-radius: var(--radius-s); font-size: 14px; color: var(--ink-2); }
.suggest a:hover { background: var(--blue-50); color: var(--blue-700); }
.suggest .s-cat { color: var(--muted); font-size: 12px; margin-left: 6px; }

.nav-toggle {
  display: none; width: 38px; height: 38px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; padding: 9px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink-3); border-radius: 2px; }

.main-nav { border-top: 1px solid var(--line-2); background: #fff; }
.nav-inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  position: relative; padding: 11px 14px; font-size: 14.5px; color: var(--ink-3);
  white-space: nowrap; border-radius: 0; font-weight: 500;
}
.nav-link:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-link.active { color: var(--blue-700); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px;
  background: var(--blue-600); border-radius: 2px;
}

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(900px 340px at 12% -10%, #e0edff 0%, rgba(224, 237, 255, 0) 62%),
    radial-gradient(760px 300px at 92% 6%, #fef3c7 0%, rgba(254, 243, 199, 0) 60%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 52px 0 44px;
}
.hero-inner { text-align: center; }
.hero-title { font-size: 34px; letter-spacing: -.4px; margin-bottom: 14px; }
.hero-title em { font-style: normal; color: var(--blue-700); position: relative; }
.hero-title em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 7px;
  background: rgba(245, 158, 11, .28); border-radius: 4px; z-index: -1;
}
.hero-sub { max-width: 760px; margin: 0 auto 26px; color: var(--muted); font-size: 15px; }
.hero-search { display: flex; gap: 10px; max-width: 620px; margin: 0 auto 20px; }
.hero-search input {
  flex: 1; height: 48px; padding: 0 18px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; outline: none;
  box-shadow: var(--shadow-s);
}
.hero-search input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-50); }
.hero-search button {
  height: 48px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--blue-700); color: #fff; font-size: 15px; font-weight: 600; font-family: inherit;
  box-shadow: 0 4px 14px rgba(29, 78, 216, .3);
}
.hero-search button:hover { background: var(--blue-600); }
.hero-stats { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.hero-stats strong { color: var(--blue-700); font-size: 17px; margin-right: 3px; }
.hero-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-tag {
  padding: 5px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}
.hero-tag:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }

/* ---------------- 区块 ---------------- */
.section { padding: 46px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-flat { margin-bottom: 34px; }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: 22px; margin-bottom: 6px; }
.section-head p { color: var(--muted); font-size: 14px; margin: 0; }
.section-head.inline { display: flex; align-items: baseline; justify-content: space-between; }
.section-head .more { font-size: 13.5px; }

.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.exam-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; transition: .2s; box-shadow: var(--shadow-s);
}
.exam-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.exam-card-head { display: flex; gap: 12px; margin-bottom: 14px; }
.exam-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; background: var(--blue-50);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.exam-card-head h3 { font-size: 17px; margin-bottom: 4px; }
.exam-card-head p { font-size: 13px; color: var(--muted); margin: 0; }
.exam-links { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.exam-links a {
  font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  background: var(--bg); color: var(--ink-3); border: 1px solid var(--line-2);
}
.exam-links a:hover { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100); }
.exam-more { margin-top: auto; font-size: 13.5px; font-weight: 600; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; transition: .2s; box-shadow: var(--shadow-s);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.card-cat { font-size: 12px; color: var(--blue-700); background: var(--blue-50); padding: 3px 9px; border-radius: 999px; }
.card-date { font-size: 12px; color: var(--muted-2); }
.card-title { font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.card:hover .card-title { color: var(--blue-700); }
.card-excerpt { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; flex: 1; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-tag {
  font-size: 11.5px; color: var(--muted); background: var(--bg);
  padding: 2px 8px; border-radius: 4px; border: 1px solid var(--line-2);
}
a.mini-tag:hover { color: var(--blue-700); background: var(--blue-50); }

.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }

.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line);
  color: inherit;
}
.news-item:last-child { border-bottom: 0; }
.news-item time { flex-shrink: 0; width: 92px; font-size: 13px; color: var(--muted-2); padding-top: 2px; font-variant-numeric: tabular-nums; }
.news-item h3 { font-size: 15.5px; margin-bottom: 3px; }
.news-item:hover h3 { color: var(--blue-700); }
.news-item p { font-size: 13px; color: var(--muted); margin: 0; }

.sidebar-block {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 18px; box-shadow: var(--shadow-s);
}
.sidebar-title {
  font-size: 14.5px; margin: 0 0 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 7px;
}
.sidebar-title::before { content: ''; width: 3px; height: 14px; background: var(--blue-600); border-radius: 2px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.cloud-tag {
  font-size: 12.5px; padding: 4px 10px; border-radius: 6px; background: var(--bg);
  border: 1px solid var(--line-2); color: var(--ink-3); display: inline-flex; gap: 5px; align-items: center;
}
.cloud-tag span { color: var(--muted-2); font-size: 11px; }
.cloud-tag:hover { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }
.quick-links { list-style: none; padding: 0; margin: 0; }
.quick-links li { border-bottom: 1px dashed var(--line-2); }
.quick-links li:last-child { border-bottom: 0; }
.quick-links a { display: block; padding: 8px 0; font-size: 14px; color: var(--ink-3); }
.quick-links a:hover { color: var(--blue-700); padding-left: 4px; }

.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv-card {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--amber-500);
  border-radius: var(--radius); padding: 18px 20px;
}
.adv-card h3 { font-size: 16px; margin-bottom: 8px; }
.adv-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------------- 页面头 / 面包屑 ---------------- */
.page-head { padding: 28px 0 18px; }
.page-title { font-size: 26px; margin: 10px 0 8px; }
.page-desc { color: var(--muted); font-size: 14.5px; max-width: 820px; margin: 0 0 8px; }
.page-meta { color: var(--muted-2); font-size: 13px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding-top: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-700); }
.crumb-sep { color: var(--muted-2); }
.crumb-current { color: var(--ink-3); }

/* ---------------- 布局：侧栏 + 内容 ---------------- */
.layout-with-side { display: grid; grid-template-columns: 264px 1fr; gap: 30px; align-items: start; padding-bottom: 50px; }
.layout-article { grid-template-columns: 1fr 300px; }
.sidebar { position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow: auto; }
.content-area { min-width: 0; }

.tree { list-style: none; padding: 0; margin: 0; }
.tree-d1 > .tree-item > a { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.tree-d2 { padding-left: 12px; margin: 2px 0 6px; border-left: 1px dashed var(--line); }
.tree-d3 { padding-left: 12px; margin: 2px 0 6px; border-left: 1px dashed var(--line-2); }
.tree-item > a {
  display: flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: var(--radius-s);
  font-size: 14px; color: var(--ink-3); line-height: 1.4;
}
.tree-icon { font-size: 14px; flex-shrink: 0; }
.tree-name { flex: 1; }
.tree-item > a:hover { background: var(--blue-50); color: var(--blue-700); }
.tree-item.is-active > a { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }
.tree-item.on-path > a { color: var(--blue-700); }

/* ---------------- 列表 ---------------- */
.list { display: flex; flex-direction: column; gap: 14px; }
.list-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; transition: .18s; box-shadow: var(--shadow-s);
}
.list-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.list-item-title { font-size: 17px; margin-bottom: 7px; }
.list-item-title a { color: var(--ink); }
.list-item-title a:hover { color: var(--blue-700); }
.list-item-excerpt { font-size: 14px; color: var(--muted); margin: 0 0 11px; }
.list-item-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted-2); align-items: center; }
.meta-cat { color: var(--blue-700); background: var(--blue-50); padding: 2px 9px; border-radius: 999px; font-size: 12px; }
.list-item-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pill {
  font-size: 12px; color: var(--ink-3); background: var(--bg);
  border: 1px solid var(--line-2); padding: 3px 9px; border-radius: 999px;
}
.pill:hover { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100); }

.group { margin-bottom: 30px; }
.group-title {
  font-size: 17px; display: flex; align-items: center; gap: 9px; margin-bottom: 14px;
  padding-bottom: 9px; border-bottom: 2px solid var(--line);
}
.group-title span { font-size: 12px; color: var(--muted); background: var(--bg); padding: 2px 9px; border-radius: 999px; font-weight: 400; }

.sub-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 26px; }
.sub-cat {
  display: flex; gap: 12px; align-items: flex-start; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: .18s;
}
.sub-cat:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.sub-cat-icon { font-size: 20px; }
.sub-cat strong { display: block; color: var(--ink); font-size: 15px; }
.sub-cat em { font-style: normal; font-size: 12px; color: var(--muted-2); margin-left: 6px; }
.sub-cat small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }

.empty {
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 40px 20px; text-align: center; color: var(--muted);
}

/* ---------------- 分页 ---------------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 26px; }
.page-btn {
  min-width: 36px; height: 36px; padding: 0 12px; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fff; color: var(--ink-3); font-size: 13.5px;
}
.page-btn:hover { border-color: var(--blue-500); color: var(--blue-700); }
.page-btn.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; font-weight: 600; }
.page-info { font-size: 12.5px; color: var(--muted-2); margin-left: 6px; }

/* ---------------- 文章 ---------------- */
.article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px 26px; box-shadow: var(--shadow-s); }
.article-head { padding-bottom: 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 22px; }
.article-title { font-size: 27px; line-height: 1.4; margin: 8px 0 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); align-items: center; }
.badge { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.badge-news { background: var(--amber-50); color: var(--amber-600); border: 1px solid #fde68a; }

.article-body { font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.article-body h2 {
  font-size: 20px; margin: 32px 0 14px; padding-left: 12px; border-left: 4px solid var(--blue-600);
}
.article-body h3 { font-size: 17px; margin: 26px 0 10px; color: var(--ink); }
.article-body h4 { font-size: 15.5px; margin: 20px 0 8px; color: var(--ink-3); }
.article-body a { border-bottom: 1px solid var(--blue-100); }
.article-body a:hover { border-bottom-color: var(--blue-600); }
.article-body ul, .article-body ol { padding-left: 1.5em; }
.article-body li { margin: .4em 0; }
.article-body strong { color: var(--ink); }
.article-body code {
  font-family: var(--mono); font-size: .88em; background: #f1f5f9; color: #b91c1c;
  padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line);
}
.article-body blockquote {
  margin: 18px 0; padding: 14px 18px; background: var(--blue-50);
  border-left: 4px solid var(--blue-500); border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--ink-3); font-size: 14.5px;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.code-block, .article-body pre {
  background: #0f172a; color: #e2e8f0; border-radius: var(--radius-s);
  padding: 16px 18px; overflow: auto; font-size: 13.5px; line-height: 1.7; margin: 18px 0;
}
.article-body pre code { background: none; border: 0; color: inherit; padding: 0; font-size: inherit; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius-s); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.table-wrap th, .table-wrap td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.table-wrap thead th { background: #f8fafc; color: var(--ink); font-weight: 600; white-space: nowrap; }
.table-wrap tbody tr:hover { background: #fafcff; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* ---------------- 各省报名时间汇总（/baoming） ---------------- */
.baom-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }
.baom-tab { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); background: var(--card); transition: all .15s; }
.baom-tab:hover { border-color: var(--blue-500); color: var(--blue-700); }
.baom-tab.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

.baoming-table { min-width: 820px; }
.baoming-table th, .baoming-table td { text-align: center; padding: 12px 10px; }
.baoming-table .bm-prov { font-weight: 600; color: var(--ink); white-space: nowrap; background: transparent; }
.baoming-table tbody tr:nth-child(even) { background: #fbfcfe; }
.bm-time { color: var(--red-600); font-weight: 500; line-height: 1.5; }
.bm-time:hover { color: #b91c1c; text-decoration: underline; }
.bm-entry, .bm-notice, .bm-guide, .bm-group { white-space: nowrap; }
.bm-notice { color: var(--blue-700); }
.bm-group { color: var(--amber-600); font-weight: 500; }
.bm-group:hover { color: #b45309; }
.bm-dim { color: var(--muted-2); }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 26px; font-size: 13px; color: var(--muted); }
.article-source { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); }
.notice {
  margin-top: 18px; padding: 12px 16px; background: var(--amber-50);
  border: 1px solid #fde68a; border-radius: var(--radius-s); font-size: 13px; color: #92400e;
}
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.pn {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-s); background: #fff;
}
.pn span { font-size: 12px; color: var(--muted-2); }
.pn strong { font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.pn:hover { border-color: var(--blue-100); background: var(--blue-50); }
.pn.next { text-align: right; }

/* ------------------------------------------------------------ 评论区 */
.comments { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.comments-title {
  display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 18px;
  color: var(--ink); font-weight: 700;
}
.comments-count {
  font-size: 12px; font-weight: 500; color: var(--blue-700);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: 999px; padding: 2px 10px;
}
.comments-closed {
  margin: 0; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-s); font-size: 13.5px; color: var(--muted);
}
.comment-empty { margin: 0 0 20px; font-size: 13.5px; color: var(--muted-2); }

.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment {
  display: flex; gap: 12px; padding: 16px 0;
  border-bottom: 1px dashed var(--line-2);
}
.comment:last-child { border-bottom: 0; }
.comment-avatar {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  user-select: none;
}
.comment-main { flex: 1 1 auto; min-width: 0; }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.comment-name { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.comment-time { font-size: 12px; color: var(--muted-2); }
.comment-text {
  font-size: 14px; line-height: 1.75; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-word;
}
.comment-reply-btn {
  margin-left: auto; padding: 1px 8px; font: inherit; font-size: 12px;
  color: var(--muted-2); background: none;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.comment-reply-btn:hover { color: var(--blue-600, #2563eb); border-color: var(--blue-500); }
.comment-replyto {
  font-size: 12px; color: var(--blue-600, #2563eb); background: rgba(59, 130, 246, .1);
  padding: 1px 8px; border-radius: 999px;
}
.comment-replies {
  list-style: none; margin: 10px 0 0; padding: 0 0 0 14px;
  border-left: 2px solid var(--line);
}
.comment-replies .comment { border-bottom: 0; padding: 8px 0 0; }
.comment-replies .comment-avatar { flex-basis: 28px; width: 28px; height: 28px; font-size: 12px; }
.comment-replies .comment-text { font-size: 13.5px; }
.comment-pagination { margin: 4px 0 22px; }

.cf-replying {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 10px; padding: 7px 12px;
  font-size: 13px; color: var(--blue-600, #2563eb);
  background: rgba(59, 130, 246, .08); border: 1px dashed var(--blue-500);
  border-radius: var(--radius-s);
}
.cf-replying[hidden] { display: none; }
.cf-replying span { font-weight: 600; }
.cf-reply-cancel {
  margin-left: auto; padding: 1px 10px; font: inherit; font-size: 12px;
  color: var(--muted-2); background: none; border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer;
}
.cf-reply-cancel:hover { color: var(--ink); border-color: var(--muted-2); }

.comment-form {
  position: relative; margin-top: 6px; padding: 20px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.comment-form-title { margin: 0 0 6px; font-size: 15px; color: var(--ink); font-weight: 700; }
.comment-form-notice { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.comment-form-row { margin-bottom: 10px; }
.comment-form input[type="text"],
.comment-form textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  transition: border-color .15s, box-shadow .15s;
}
.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59, 130, 246, .14);
}
.comment-form textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.comment-form-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 12px;
}
.cf-tip { font-size: 12px; color: var(--muted-2); line-height: 1.6; }
.cf-submit {
  flex: 0 0 auto; height: 38px; padding: 0 22px; border: 0; border-radius: var(--radius-s);
  background: var(--blue-700); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s;
}
.cf-submit:hover { background: var(--blue-800); }
.cf-submit[disabled] { opacity: .6; cursor: not-allowed; }

.comment-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

.cf-msg {
  margin: 14px 0 0; padding: 10px 14px; border-radius: var(--radius-s);
  font-size: 13px; line-height: 1.6;
}
.cf-msg.ok  { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.cf-msg.err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

.toc { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.toc li { margin: 5px 0; }
.toc-d3 { padding-left: 14px; font-size: 13px; }
.toc a { color: var(--ink-3); display: block; padding: 3px 8px; border-left: 2px solid transparent; border-radius: 0 4px 4px 0; }
.toc a:hover { color: var(--blue-700); background: var(--blue-50); }
.toc a.active { color: var(--blue-700); border-left-color: var(--blue-600); background: var(--blue-50); font-weight: 600; }
.toc-block { position: static; }
.toc-mobile { display: none; margin-bottom: 6px; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 10px 14px; background: var(--bg); font-size: 13.5px; }
.toc-mobile summary { cursor: pointer; color: var(--ink); font-weight: 600; }
.related-list { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.related-list li { padding: 7px 0; border-bottom: 1px dashed var(--line-2); }
.related-list li:last-child { border-bottom: 0; }
.related-list a { color: var(--ink-3); }
.related-list a:hover { color: var(--blue-700); }

/* ---------------- 标签页 ---------------- */
.tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tag-card {
  display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); transition: .18s;
}
.tag-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.tag-card strong { color: var(--ink); font-size: 14.5px; }
.tag-card small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.tag-card em { font-style: normal; font-size: 12px; color: var(--blue-700); margin-top: 4px; }

.inline-search { display: flex; gap: 8px; max-width: 480px; margin: 6px 0 14px; }
.inline-search input {
  flex: 1; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-s);
  font-size: 14px; font-family: inherit; outline: none; background: #fff;
}
.inline-search input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-50); }
.inline-search button {
  height: 40px; padding: 0 20px; border: 0; border-radius: var(--radius-s); background: var(--blue-700);
  color: #fff; font-size: 14px; font-family: inherit; cursor: pointer; font-weight: 600;
}
.inline-search button:hover { background: var(--blue-600); }
.search-tip { font-size: 12.5px; color: var(--muted-2); margin: 0 0 12px; }
.filter-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.filter-list li a { display: block; padding: 7px 10px; border-radius: var(--radius-s); color: var(--ink-3); }
.filter-list li a:hover { background: var(--blue-50); color: var(--blue-700); }
.filter-list li.active a { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }

/* ---------------- 关于 / 文档页 ---------------- */
.prose-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 32px; margin-bottom: 22px; box-shadow: var(--shadow-s);
}
.prose-card h2 { font-size: 19px; margin: 26px 0 12px; padding-left: 11px; border-left: 4px solid var(--blue-600); }
.prose-card h2:first-child { margin-top: 0; }
.prose-card ul, .prose-card ol { padding-left: 1.5em; }
.prose-card li { margin: .4em 0; }
.prose-card code { font-family: var(--mono); background: #f1f5f9; padding: 2px 6px; border-radius: 5px; font-size: .9em; border: 1px solid var(--line); }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.contact-list li span { flex-shrink: 0; width: 84px; color: var(--muted); font-size: 13.5px; }
.method { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 4px; color: #fff; font-family: var(--mono); }
.m-get { background: var(--green-600); }
.m-post { background: var(--blue-600); }
.m-put { background: var(--amber-500); }
.m-delete { background: var(--red-600); }
.method + code { margin-left: 0; }

.sitemap-node { margin-bottom: 24px; padding-left: 14px; border-left: 2px solid var(--line); }
.sitemap-node.depth-1 { border-left-color: var(--blue-500); }
.sitemap-node.depth-3 { border-left-style: dashed; }
.sitemap-title { font-size: 16px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sitemap-node.depth-1 > .sitemap-title { font-size: 18px; }
.sitemap-count { font-size: 11.5px; color: var(--muted); font-weight: 400; background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.sitemap-list { list-style: none; padding: 0; margin: 0 0 10px; }
.sitemap-list li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.sitemap-list time { color: var(--muted-2); font-size: 12.5px; flex-shrink: 0; }

/* ---------------- 404 ---------------- */
.notfound { text-align: center; padding: 70px 20px 90px; }
.nf-code { font-size: 76px; font-weight: 800; color: var(--blue-100); line-height: 1; letter-spacing: 4px; }
.notfound h1 { font-size: 22px; margin: 12px 0 10px; }
.notfound p { color: var(--muted); }
.nf-links { display: flex; gap: 12px; justify-content: center; margin: 20px 0; }
.btn {
  display: inline-block; padding: 10px 22px; border-radius: 999px; background: var(--blue-700);
  color: #fff; font-size: 14px; font-weight: 600;
}
.btn:hover { background: var(--blue-600); color: #fff; }
.btn.ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-3); }
.btn.ghost:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }
.notfound .inline-search { margin: 24px auto 0; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0f172a; color: #94a3b8; margin-top: 0; padding: 46px 0 0; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 30px; padding-bottom: 34px; }
.footer-col h4 { color: #e2e8f0; font-size: 14.5px; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 6px 0; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-about p { line-height: 1.8; margin-bottom: 10px; }
.footer-note { color: #64748b; font-size: 12.5px; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-tags .mini-tag { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #94a3b8; }
.footer-tags .mini-tag:hover { background: rgba(59, 130, 246, .2); color: #fff; border-color: transparent; }
.footer-contact { margin-top: 12px; font-size: 12.5px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; font-size: 12.5px; color: #64748b; }
.footer-disclaimer { flex: 1; min-width: 260px; text-align: right; }

/* ---------------- 交互增强元素 ---------------- */
.tree-toggle {
  display: none; width: 100%; padding: 10px 12px; margin-bottom: 10px;
  border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff;
  color: var(--ink-3); font-size: 14px; font-family: inherit; cursor: pointer; text-align: left;
}
.tree-toggle::after { content: ' ▾'; color: var(--muted-2); }
.sidebar.tree-open .tree-toggle::after { content: ' ▴'; }

.to-top {
  position: fixed; right: 24px; bottom: 28px; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-3);
  font-size: 18px; cursor: pointer; box-shadow: var(--shadow); z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }

/* ============================================================
   报考条件总入口页 /baokao-tiaojian
   ============================================================ */
.baokao-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}
.baokao-tab {
  padding: 9px 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-s);
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink-3);
  font-weight: 500;
  transition: .18s;
}
.baokao-tab:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
  background: var(--blue-50);
}
.baokao-tab.active {
  background: var(--blue-700);
  color: #fff;
  border-color: var(--blue-700);
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(29, 78, 216, .22);
}
.baokao-panel {
  display: none;
  margin: 20px 0 30px;
}
.baokao-panel.active {
  display: block;
}
.baokao-panel table {
  font-size: 14px;
}
.baokao-panel th {
  background: var(--blue-50);
  color: var(--blue-800);
  font-weight: 600;
}
.baokao-panel td:first-child {
  color: var(--ink);
}
.baokao-more {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .baokao-tab {
    padding: 7px 14px;
    font-size: 13px;
  }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .exam-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .tag-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .search-form { width: 200px; max-width: 34vw; }
  .layout-with-side { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; overflow: visible; }
  .tree-toggle { display: block; }
  .sidebar .tree { display: none; }
  .sidebar.tree-open .tree { display: block; }
  .article { padding: 22px 20px; }
  .article-title { font-size: 22px; }
  .toc-mobile { display: block; }
  .toc-block { display: none; }
  .sub-cats { grid-template-columns: 1fr; }
  .prev-next { grid-template-columns: 1fr; }
  .pn.next { text-align: left; }
  .comment-form-foot { flex-direction: column; align-items: stretch; }
  .cf-submit { width: 100%; }
}

@media (max-width: 720px) {
  .comments-title { font-size: 16.5px; }
  .comment-avatar { flex-basis: 30px; width: 30px; height: 30px; font-size: 13px; }
  .comment-form { padding: 16px 14px; }
  .cf-submit { width: 100%; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .header-inner { height: 58px; gap: 12px; }
  .brand-text em { display: none; }
  .search-form { width: auto; flex: 1; max-width: none; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .nav-inner { flex-wrap: wrap; padding: 8px 0; }
  .hero { padding: 34px 0 30px; }
  .hero-title { font-size: 24px; }
  .hero-search { flex-direction: column; }
  .hero-search button { width: 100%; }
  .hero-stats { gap: 14px; font-size: 12.5px; }
  .exam-grid, .card-grid, .adv-grid, .tag-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-disclaimer { text-align: left; }
  .page-title { font-size: 21px; }
  .prose-card { padding: 20px 18px; }
  .sitemap-list li { flex-direction: column; gap: 2px; }
}
/* ---------------- 文章页分享条 ---------------- */
.share-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 4px; padding: 12px 16px; background: #f8fafc; border: 1px solid var(--blue-100); border-radius: var(--radius-s); position: relative; }
.share-label { font-size: 13px; color: #64748b; }
.share-btn { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; color: #475569; text-decoration: none; transition: all .15s; cursor: pointer; }
.share-btn:hover { transform: translateY(-1px); }
.sb-wechat { color: #16a34a; border-color: #bbf7d0; }
.sb-wechat:hover { background: #f0fdf4; }
.sb-weibo { color: #dc2626; border-color: #fecaca; }
.sb-weibo:hover { background: #fef2f2; }
.sb-qzone { color: #f59e0b; border-color: #fde68a; }
.sb-qzone:hover { background: #fffbeb; }
.sb-copy { color: #2563eb; border-color: #bfdbfe; }
.sb-copy:hover { background: #eff6ff; }
.qr-pop { position: absolute; top: calc(100% + 10px); left: 60px; z-index: 30; background: #fff; border: 1px solid var(--blue-100); border-radius: var(--radius-s); box-shadow: 0 10px 30px rgba(30,58,138,.15); padding: 14px 14px 8px; text-align: center; }
.qr-pop img, .qr-pop canvas { display: block; margin: 0 auto; }
.qr-pop p { margin: 8px 0 4px; font-size: 12px; color: #64748b; }
.share-toast { position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%) translateY(10px); background: rgba(15,23,42,.85); color: #fff; font-size: 13px; padding: 8px 18px; border-radius: 999px; opacity: 0; transition: all .25s; z-index: 999; pointer-events: none; }
.share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- 移动端适配补丁 ---------------- */
@media (max-width: 720px) {
  /* 文章排版 */
  .article-body { font-size: 15.5px; line-height: 1.85; }
  .article-body img { max-width: 100%; height: auto; }
  .article-body pre { overflow-x: auto; font-size: 12.5px; padding: 10px; }
  .article-body table { font-size: 13px; }
  .article-meta { flex-wrap: wrap; row-gap: 4px; }
  .prev-next { flex-direction: column; gap: 10px; }
  .pn strong { font-size: 13.5px; }

  /* 各省报名时间汇总表：横向滚动 + 首列吸附 */
  .baoming-table { min-width: 620px; font-size: 13px; }
  .baoming-table th:first-child, .baoming-table td:first-child {
    position: sticky; left: 0; background: #f8fafc; z-index: 1; font-weight: 600;
  }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .baom-tab { padding: 6px 12px; font-size: 13px; }

  /* 分享条与二维码弹层 */
  .share-bar { padding: 10px 12px; gap: 8px; }
  .qr-pop { left: 12px; }
  .qr-pop img, .qr-pop canvas { width: 130px !important; height: 130px !important; }

  /* 目录/侧栏在文章页的间距 */
  .article { padding: 18px 14px; }
  .content-area { padding: 0 0 10px; }
}

@media (max-width: 380px) {
  .article-title { font-size: 19px; }
  .share-btn { padding: 4px 10px; font-size: 12.5px; }
}
