/* 
 * 博客详情页专用样式
 * Blog Single Page Styles
 */

/* 博客标题区域 */
.blog-header .blog-title {
  color: #333;
  font-weight: 700;
  line-height: 1.2;
  font-size: 2.5rem;
}

/* 元信息样式 */
.meta-info {
  color: #666;
  font-size: 0.9rem;
}

.meta-info i {
  color: #afa939;
}

/* 分类标签 */
.category-badge {
  background: linear-gradient(135deg, #afa939, #8b852d);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* 大纲和推荐框 */
.outline-box, 
.recommendations-box {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  border-left: 4px solid #afa939;
}

.outline-box h5, 
.recommendations-box h5 {
  color: #afa939;
  font-weight: 600;
  margin-bottom: 15px;
}

/* 大纲列表 */
.outline-list {
  list-style: none;
  padding-left: 0;
}

.outline-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.outline-list li:last-child {
  border-bottom: none;
}

.outline-list a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.outline-list a:hover {
  color: #afa939;
}

/* 内容章节 */
.content-section {
  scroll-margin-top: 80px;
}

/* 章节标题 */
.section-title {
  color: #333;
  font-weight: 600;
  border-left: 4px solid #afa939;
  padding-left: 15px;
}

/* 正文文本 */
.section-text {
  line-height: 1.8;
  color: #555;
  font-size: 1rem;
  text-align: justify;
}

/* 推荐列表 */
.recommendations-list {
  list-style: none;
  padding-left: 0;
}

.recommendations-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}

.recommendations-list li:last-child {
  border-bottom: none;
}

/* 标签容器 */
.tags-container {
  border-top: 2px solid #e9ecef;
  padding-top: 20px;
}

/* 标签项 */
.tag-item {
  display: inline-block;
  background: #afa939;
  color: white;
  padding: 6px 12px;
  margin: 0 8px 8px 0;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tag-item:hover {
  background: #8b852d;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 文章图片 */
.article-image img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
}

/* 响应式优化 */
@media (max-width: 768px) {
  .blog-header .blog-title {
    font-size: 2rem;
  }
  
  .article-image img {
    max-height: 250px;
  }
  
  .section-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .blog-header .blog-title {
    font-size: 1.75rem;
  }
  
  .tag-item {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
}
