body {
            font-family: 'Noto Sans SC', sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
        }
        .highlight {
            color: #f97316;
            font-weight: 600;
        }
        .sidebar {
            scrollbar-width: thin;
            scrollbar-color: #cbd5e1 #f1f5f9;
        }
        .sidebar::-webkit-scrollbar {
            width: 6px;
        }
        .sidebar::-webkit-scrollbar-track {
            background: #f1f5f9;
        }
        .sidebar::-webkit-scrollbar-thumb {
            background-color: #cbd5e1;
            border-radius: 3px;
        }
        .back-to-top {
            transition: all 0.3s ease;
        }
        .back-to-top:hover {
            transform: translateY(-3px);
        }
        .mobile-menu {
            transition: all 0.3s ease;
            max-height: 0;
            overflow: hidden;
        }
        .mobile-menu.active {
            max-height: 500px;
        }
/* 修改后 */
.article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px; /* 增加内边距 */
}

.main-content {
  width: 100%; /* 强制占满容器宽度 */
  max-width: none; /* 移除最大宽度限制 */
  margin: 0; /* 清除默认外边距 */
  padding: 30px 0; /* 保持纵向间距 */
}

/* 文章内容区域全宽 */
#articleListMode {
  width: 95%;
  max-width: 1200px; /* 与容器同宽 */
  margin: 0 auto; /* 保持居中 */
}

#articleContent {
  width: 95%;
  max-width: 1200px; /* 与列表区同宽 */
  margin: 0 auto;
}
/* 面包屑导航 */
.breadcrumb-nav {
  padding: 15px 0;
  font-size: 14px;
  color: #666;
}

.breadcrumb-nav a {
  color: #2a6cce;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-nav a:hover {
  color: #1a4c9e;
}

.separator {
  margin: 0 8px;
  color: #999;
}

.article-list-mode,
.article-detail-mode {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 30px;
}

/* 列表模式 */
.page-title {
  font-size: 24px;
  color: #333;
  margin: 0 0 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #2a6cce;
}

.article-item {
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid transparent;
  transition: all 0.3s;
}

.article-item:hover {
  border-left-color: #2a6cce;
  background: #f8faff;
}

.article-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}


.article-item h3 a {
  color: #333;
  text-decoration: none;
}
.article-item {
  padding: 25px 30px; /* 增加内边距 */
  margin-bottom: 25px;
  transition: transform 0.3s; /* 增加悬停动画 */
}

.article-item:hover {
  transform: translateX(10px);
}

.article-item h3 {
  font-size: 1.4rem;  /* 加大标题字号 */
  margin-bottom: 12px;
}

.article-item .meta {
  color: #666;
  font-size: 13px;
  margin-bottom: 10px;
}

.article-item .meta span:not(:last-child)::after {
  content: "•";
  margin: 0 8px;
  color: #ccc;
}

/* 详情模式 */
.article-detail-mode {
  display: none;
  animation: fadeIn 0.3s;
}

.back-button {
  background: #2a6cce;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 25px;
  transition: background 0.3s;
}

.back-button:hover {
  background: #1a4c9e;
}

.article-content img {
  max-width: 100%;  /* 允许图片按原始宽度显示 */
  height: auto;     /* 保持比例 */
  display: block;   /* 避免行内间隙 */
  margin: 25px auto;
}
/* 分页 */
.pagination {
  margin-top: 30px;
  text-align: center;
}

.pagination button {
  margin: 0 4px;
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination button.active,
.pagination button:hover {
  background: #2a6cce;
  color: white;
  border-color: #2a6cce;
}

/* 响应式 */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .article-list-mode,
  .article-detail-mode {
    padding: 20px;
  }

  .page-title {
    font-size: 20px;
  }

  .article-item {
    padding: 15px;
  }
}
/* 分页容器 */
.pagination {
  margin: 40px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* 分页按钮 */
.pagination button {
  min-width: 40px;
  height: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  color: #666;
  transition: all 0.3s;
}

/* 当前页样式 */
.pagination button.active {
  background: #2a6cce;
  color: white;
  border-color: #2a6cce;
  transform: scale(1.1);
}

/* 悬停效果 */
.pagination button:hover:not(.active) {
  background: #f5f5f5;
  border-color: #2a6cce;
  color: #2a6cce;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
    gap: 5px;
  }
  
  .pagination button {
    min-width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}/* 分页容器 */
.pagination {
  margin: 40px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* 分页按钮 */
.pagination button {
  min-width: 36px;
  height: 36px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination button.active {
  background: #2a6cce;
  color: white;
  border-color: #2a6cce;
}

.pagination button:hover:not(.active) {
  background: #f5f5f5;
}

.pagination button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}