* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", sans-serif;
}

/* 页面容器，确保侧边栏能靠右 */
.container {
  width: 1200px;
  margin: 0 auto; /* 页面整体居中 */
  display: flex;
  justify-content: flex-end; /* 让侧边栏靠右 */
  padding: 20px 0;
}

/* 侧边栏核心样式 */
.sidebar {
  width: 300px; /* 侧边栏宽度，可根据需求调整 */
  background-color: #f8f9fa; /* 浅灰色背景，提升视觉效果 */
  border-radius: 8px; /* 圆角，更美观 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 轻微阴影，增加层次感 */
  padding: 20px;
}

/* 侧边栏标题样式 */
.sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #007bff; /* 蓝色下划线，突出标题 */
}

/* 文章列表样式 */
.article-list {
  list-style: none; /* 去掉默认列表圆点 */
  margin-bottom: 25px; /* 两个板块之间的间距 */
}

/* 列表项样式 */
.article-item {
  padding: 8px 0;
  border-bottom: 1px dashed #eee; /* 虚线分隔，更精致 */
}

/* 最后一个列表项去掉下划线 */
.article-item:last-child {
  border-bottom: none;
}

/* 文章链接样式 */
.article-link {
  color: #555;
  text-decoration: none; /* 去掉默认下划线 */
  font-size: 14px;
  transition: color 0.3s; /*  hover 过渡效果 */
}

/* 鼠标悬浮时的样式 */
.article-link:hover {
  color: #007bff;
  text-decoration: underline;
}
