﻿ 
 /* 新增：左侧边栏模块样式 */
.sidebar-block {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sidebar-block-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e6f0;
  display: flex;
  align-items: center;
}

.sidebar-block-title i {
  color: #0c56aa;
  margin-right: 8px;
  font-size: 18px;
}

/* 热门标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: #fff;
  color: #666;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid #e0e6f0;
}

.tag:hover {
  background: #0c56aa;
  color: #fff;
  border-color: #0c56aa;
}

/* 热门文章列表 */
.hot-article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hot-article-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #e0e6f0;
  display: flex;
  align-items: flex-start;
}

.hot-article-list li:last-child {
  border-bottom: none;
}

.hot-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; /* 增加宽度 */
  height: 30px; /* 增加高度 */
  background: #f0f4fa;
  color: #0c56aa;
  border-radius: 4px;
  font-size: 14px; /* 增大字体大小 */
  font-weight: bold;
  margin-right: 10px;
  flex-shrink: 0;
}

.hot-article-list a {
  color: #333;
  text-decoration: none;
  font-size: 15px; /* 增大字体大小 */
  line-height: 1.5;
  transition: color 0.3s;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hot-article-list a:hover {
  color: #0c56aa;
}

 