/* 面包屑导航 */
.breadcrumb {
  padding: 15px 0;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid #eee;
}
.breadcrumb a { color: #666; text-decoration: none; }
.breadcrumb a:hover { color: #1a73e8; }

.main-content { display: flex; justify-content: space-between; margin: 30px 0; }

/* 文章内容区 */
.detail-section { width: 68%; }
.detail-section .article-header {
  text-align: center; padding-bottom: 25px;
  border-bottom: 2px solid #0b3d91; margin-bottom: 30px;
}
.detail-section .article-header h1 { font-size: 26px; font-weight: bold; color: #333; margin-bottom: 20px; }
.detail-section .article-header .article-meta { font-size: 14px; color: #999; }
.detail-section .article-header .article-meta span { margin-right: 20px; }

/* 文章正文 */
.detail-section .article-content { font-size: 16px; line-height: 2; color: #444; }
.detail-section .article-content p { text-indent: 2em; margin-bottom: 20px; }
.detail-section .article-content img { max-width: 100%; height: auto; display: block; margin: 20px auto; }
/* 将H2标题左侧边框改为亮蓝色，打破单调感 */
.detail-section .article-content h2 {
  font-size: 20px; font-weight: bold; color: #333; margin: 30px 0 15px;
  border-left: 4px solid #1a73e8; padding-left: 12px;
}
.detail-section .article-content h3 { font-size: 18px; font-weight: bold; color: #333; margin: 25px 0 12px; }

/* 上下篇导航 */
.article-nav { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }
.article-nav .prev, .article-nav .next { display: flex; align-items: center; padding: 10px 0; }
.article-nav .prev { border-bottom: 1px dashed #eee; }
.article-nav .prev span, .article-nav .next span { color: #999; font-size: 14px; width: 70px; flex-shrink: 0; }
.article-nav .prev a, .article-nav .next a { color: #333; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.article-nav .prev a:hover, .article-nav .next a:hover { color: #1a73e8; }

/* 右侧边栏 */
.side-bar { width: 28%; }
.side-card { background: #f9f9f9; padding: 20px; margin-bottom: 20px; border-radius: 4px; }
.side-card h3 {
  font-size: 16px; font-weight: bold; color: #333; padding-bottom: 10px;
  border-bottom: 1px solid #ddd; margin-bottom: 15px; position: relative;
}
.side-card h3::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: #1a73e8;
}
.hot-news { list-style: none; }
.hot-news li { padding: 8px 0; border-bottom: 1px dashed #e0e0e0; }
.hot-news li a { color: #333; text-decoration: none; font-size: 14px; display: flex; align-items: center; }
.hot-news li a:hover { color: #1a73e8; }

/* 热门排名使用渐变蓝 */
.hot-news li a span {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px;
  background: linear-gradient(135deg, #1a73e8, #0b3d91); color: #fff; font-size: 12px; margin-right: 10px; flex-shrink: 0; border-radius: 2px;
}

/* 新增快捷导航 */
.side-nav .nav-links { display: flex; flex-direction: column; gap: 10px; }
.side-nav .nav-item {
  display: block; padding: 10px 15px; color: #fff; text-decoration: none; font-size: 14px; border-radius: 4px;
  transition: transform 0.2s;
}
.side-nav .nav-item:hover { transform: translateX(5px); }
.nav-green { background: linear-gradient(135deg, #00b894, #00a381); }
.nav-red { background: linear-gradient(135deg, #e17055, #d63031); }
.nav-purple { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }

/* 联系我们 */
.side-contact p { font-size: 14px; color: #666; margin-bottom: 8px; line-height: 1.8; }

/* 移动端适配 */
@media (max-width: 768px) {
  .main-content { flex-direction: column; }
  .detail-section, .side-bar { width: 100%; }
  .detail-section .article-header h1 { font-size: 22px; }
  .detail-section .article-header .article-meta span { display: block; margin-right: 0; margin-bottom: 5px; }
  .detail-section .article-content { font-size: 15px; line-height: 1.8; }
  .detail-section .article-content p { text-indent: 1.5em; }
  .article-nav .prev span, .article-nav .next span { width: auto; margin-right: 5px; }
  .article-nav .prev a, .article-nav .next a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}