/* =============================================================================
   resume.css — 简历页
   ============================================================================= */

/* ══ 页面布局 ═══════════════════════════════════════════════════════════════ */
body.bd-resume-page                             { background: var(--pst-color-surface, #f8fafc); }
body.bd-resume-page .bd-sidebar-primary,
body.bd-resume-page .bd-sidebar-secondary       { display: none !important; }
body.bd-resume-page .bd-breadcrumbs             { display: none !important; }
body.bd-resume-page .bd-main                    { flex: 1 1 100% !important; max-width: 100% !important; }
body.bd-resume-page .bd-content {
  max-width: 100% !important; width: 100%; margin: 0;
  padding-left: 1.5rem; padding-right: 1.5rem;
}
body.bd-resume-page .bd-article-container       { max-width: 100% !important; width: 100% !important; }
body.bd-resume-page .bd-article-container .bd-article {
  max-width: 100% !important; width: 100% !important;
  padding: 0 0 2.5rem;
}

/* ══ admonition → 简历卡片 ══════════════════════════════════════════════════ */
body.bd-resume-page .bd-article .admonition {
  border-radius: 0.5rem;
  border: 1px solid var(--pst-color-border, #dee2e6);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  margin-bottom: 1.25rem; overflow: hidden;
}

/* ── 卡片标题栏 ───────────────────────────────────────────────────────────── */
body.bd-resume-page .bd-article .admonition-title {
  font-weight: 600; font-size: 1.05rem;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: var(--pst-color-surface, #f8fafc);
  border-bottom: 1px solid var(--pst-color-border, #dee2e6);
}

/* ── 卡片内容区 ───────────────────────────────────────────────────────────── */
body.bd-resume-page .bd-article .admonition > .admonition-content {
  padding: 1rem 1.25rem 1.25rem;
  background: var(--pst-color-background, #fff);
}
body.bd-resume-page .bd-article .admonition p.last,
body.bd-resume-page .bd-article .admonition .last { margin-bottom: 0.4rem; }
body.bd-resume-page .bd-article .admonition ul.simple { margin-bottom: 0.5rem; }
body.bd-resume-page .bd-article .admonition ul.simple li { margin-bottom: 0.2rem; }

/* ── 卡片内小标题（粗体） ─────────────────────────────────────────────────── */
body.bd-resume-page .bd-article .admonition strong {
  display: block; margin: 0.8rem 0 0.2rem; font-size: 0.98rem;
}

/* ── 表格（个人信息、技能等） ────────────────────────────────────────────── */
body.bd-resume-page .bd-article .admonition .table,
body.bd-resume-page .bd-article .admonition table {
  width: auto; min-width: 16rem; max-width: 100%;
  margin: 0.5rem 0; border-collapse: collapse; font-size: 0.93rem;
}
body.bd-resume-page .bd-article .admonition .table th,
body.bd-resume-page .bd-article .admonition .table td,
body.bd-resume-page .bd-article .admonition table  th,
body.bd-resume-page .bd-article .admonition table  td {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--pst-color-border, #dee2e6); text-align: left;
}
body.bd-resume-page .bd-article .admonition .table thead th,
body.bd-resume-page .bd-article .admonition table  thead th {
  background: var(--pst-color-surface, #f8fafc); font-weight: 600;
}
