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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f5f5f5;
}

header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #2196f3;
}

/* 原h1样式保留 */
h1 {
  color: #333;
  margin-bottom: 10px;
}

.category {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  scroll-margin-top: 20px;
}

/* 分类信息样式（替换原h2和i标签的样式） */
.category-info {
  color: #1976d2;
  margin-bottom: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  background-color: #e8f4fd;
  border-left: 4px solid #2196f3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 分类标题（替代h2） */
.category-title {
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.3px;
}

/* 分类描述 */
.category-desc {
  /* 轻微加粗 */
  font-weight: 600;
  /* 增加内边距形成区块感 */
  padding: 8px 12px;
  /* 增加底部间距避免拥挤 */
  margin-bottom: 16px;
}

.item {
  margin-bottom: 20px;
  padding-left: 10px;
}

/* 子项信息样式（替换原h3和h4标签的样式） */
.item-info {
  color: #2196f3;
  margin-bottom: 15px;
  padding: 12px 15px;
  border-radius: 6px;
  background-color: #f9f9f9;
  border-bottom: 2px solid #f0f0f0;
  transition: border-color 0.3s;
}

/* 子项标题 */
.item-title {
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-weight: 600;
}

/* 子项描述 */
/* 项目描述样式强化 */
.item-desc {
  /* 文字颜色加深 */
  color: #444;
  /* 中等加粗 */
  font-weight: 500;
  /* 内边距调整 */
  padding: 6px 0;
  /* 与上方元素拉开距离 */
  margin-top: 4px;
  /* 斜体区分普通文本（可选） */
  font-style: italic;
  /* 可选：添加下边框分隔 */
  border-bottom: 1px dashed #eee;
  padding: 8px 12px;
  padding-bottom: 8px;
}

/* 以下为原有样式，保持不变 */
#content {
  width: 100%;
}

.content-list {
  list-style-type: none;
}

.content-list li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.content-list li:before {
  content: "•";
  color: #f32521;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.navigation {
  position: fixed;
  top: 20px;
  right: calc(5%);
  width: 160px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  padding: 15px;
  z-index: 100;
  max-height: 80vh;
  overflow-y: auto;
}

.navigation li {
  margin-bottom: 8px;
  word-break: break-all;
}

.nav-list {
  list-style: none;
}

.nav-list li {
  margin-bottom: 10px;
}

.nav-list a {
  color: #2196f3;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: #0b7dda;
  text-decoration: underline;
}

.toggle-nav {
  position: fixed;
  bottom: 30px;
  right: calc(5%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2196f3;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-nav:hover {
  background-color: #0b7dda;
}

@media (max-width: 768px) {
}

.nav-toggle:checked ~ #navigation {
  display: block;
}

.nav-toggle:not(:checked) ~ #navigation {
  display: none;
}

.toggle-nav .nav-icon::before {
  content: "☰";
}

.nav-toggle:checked ~ label .nav-icon::before {
  content: "✕";
}

/* 内容项描述样式*/
.content-desc {
  font-size: 0.85rem;
  border-radius: 3px;
}

/* 内容项辅助信息样式 */
.content-info {
  color: #333; /* 主内容用深灰 */
  font-weight: 500; /* 比普通文本稍重但不加粗 */
  margin-right: 8px;
  font-size: 0.95rem;
  padding: 2px 0;
}

.content-link {
  font-weight: bold;
  color: #2196f3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: calc(100% - 100px);
  display: inline-block;
}
