/* 文章详情页专属样式 */

/* 文章详情容器 */
.article-detail {
  padding: 30px;
  background: #fff;
}

/* 文章头部区域 */
.article-header {
  text-align: center;
  border-bottom: 2px solid #128ee3;
  padding-bottom: 20px;
  margin-bottom: 25px;
}

/* 文章标题 */
.article-title {
  font-size: 28px;
  color: #333;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* 文章元信息 */
.article-meta {
  color: #999;
  font-size: 14px;
  line-height: 28px;
}

.article-meta span {
  margin: 0 15px;
}

/* 文章正文内容 */
.article-content {
  font-size: 16px;
  line-height: 2;
  color: #555;
  text-indent: 2em;
  margin: 30px 0;
}

.article-content p {
  margin-bottom: 20px;
  text-indent: 2em;
}

.article-content h3,
.article-content h4 {
  color: #333;
  font-weight: bold;
  margin: 25px 0 15px;
  text-indent: 0;
}

.article-content h3 {
  font-size: 20px;
}

.article-content h4 {
  font-size: 18px;
}

.article-content ul,
.article-content ol {
  margin: 15px 0 15px 2em;
  text-indent: 0;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* 上下篇导航 */
.article-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.8;
}

.article-nav .prev,
.article-nav .next {
  display: flex;
  align-items: flex-start;
}

.article-nav .prev::before {
  content: "上一篇：";
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
}

.article-nav .next::before {
  content: "下一篇：";
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
}

.article-nav a {
  color: #128ee3;
  text-decoration: none;
  flex: 1;
}

.article-nav a:hover {
  text-decoration: underline;
}

/* 移动端响应式优化 */
@media screen and (max-width: 767px) {
  .article-detail {
    padding: 15px;
  }
  
  .article-title {
    font-size: 22px;
  }
  
  .article-meta {
    font-size: 12px;
  }
  
  .article-meta span {
    margin: 0 8px;
    display: inline-block;
  }
  
  .article-content {
    font-size: 14px;
    line-height: 1.8;
  }
  
  .article-nav {
    gap: 12px;
  }
}
