.navbar .navbar-title,
.navbar .navbar-brand {
  color: #fff;
  font-weight: 600;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
}

#title-block-header:not(:has(.quarto-page-breadcrumbs)) h1.title {
  display: none;
}

.author-links {
  font-size: 0.9em;
  margin-top: -0.5em;
}

.author-links a {
  color: #4a5568;
  text-decoration: none;
}

.author-links a:hover {
  text-decoration: underline;
}

/* 无序列表圆点用主题红（--bs-primary = #d9230f，与引用上标链接同色）；
   限定正文区，避免波及侧边栏/导航的列表 */
#quarto-document-content ul li::marker {
  color: var(--bs-primary);
}

/* 图/表题注：Quarto 默认 .9rem + 斜体，比表下注释段落还小；
   恢复为正文字号、取消斜体 */
figcaption.quarto-float-caption {
  font-size: 1rem;
  font-style: normal;
}

/* 手写 Markdown 表格（仅有 table 类）对齐代码单元表格的 Bootstrap 观感：
   间隔底纹 table-striped、紧凑 table-sm、小字号 small */
table.table:not(.table-striped) > tbody > tr:nth-of-type(odd) > * {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
}

table.table:not(.table-sm) > :not(caption) > * > * {
  padding: 0.25rem 0.25rem;
}

table.table:not(.small) {
  font-size: 0.875em;
}
