/* 文章详情页整体样式 */
.article-detail {
    width: 99%;
    margin-top: 10px;
    margin-left: 0;
    border: solid 1px #cccccc;
}

/* 文章标题样式 */
.article-detail .title {
    font-size: 24px;
    color: #e56244;
    margin-top: 5px;
}

/* 收藏按钮区域样式 */
.article-detail .favorite {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: bold;
}

/* 文章信息栏样式 */
.article-detail .info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #999;
    margin: 10px 0;
    border-bottom: solid 1px #cccccc;
    padding-bottom: 5px;
    border-radius: 0;
}

/* 文章内容区域样式 */
.content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
}

/* 文章内容区图片样式 */
.content img {
    max-width: 100%;
}

/* 阅读全文按钮区域样式 */
.article-detail .readall {
    margin: 15px 0;
}

/* 文章底部区域样式 */
.article-bottom {
    width: 99%;
    margin-left: 0;
}

/* 文章底部导航样式(上一篇、下一篇) */
.article-bottom .article-nav {
    border: solid 1px #cccccc;
    margin: 15px 0;
    padding: 10px;
    font-size: 14px;
}

/* 评论区整体样式 */
.article-bottom .article-comment {
    border: solid 1px #cccccc;
    margin: 0;
    background-color: whitesmoke;
    padding: 20px 0 10px 0;
    line-height: 35px;
}

/* 评论区你的昵称标签 */
#label-nickname {
    width: 100px;
    margin-left: 10px;
}

/* 评论区昵称输入区域 */
.article-comment .nickname {
    margin-top: -10px;
}

/* 评论区收藏按钮 */
#comment-fav {
    width: 120px;
}

/* 评论区你的评论标签 */
#label-comment {
    width: 100px;
    margin-left: 10px;
}

/* 评论输入区域 */
.article-comment .comment {
    margin-top: 10px;
}

/* 评论按钮区域 */
.article-comment .comment-btn {
    margin-top: 10px;
    margin-bottom: 0;
}


/* 评论列表区整体样式 */
#commentDiv {
     padding: 0;
}

/* 评论列表项样式 */
.article-bottom .comment-item {
    border: 1px solid #ccc;
    margin-top: 5px;
}

.article-bottom .list {
    margin-left: 0px;
    border-radius: 4px;
}

/* 评论容器：让头像和评论内容并排 */
.article-bottom .list {
  display: flex;
  align-items: flex-start; /* 头像和评论内容顶部对齐 */
  gap: 12px; /* 头像和评论之间的间距，替代 margin-right */
  padding: 8px;
}

/* 头像区域：固定宽度 + 居右 */
.article-bottom .list .icon {
  width: 70px;
  display: flex;
  justify-content: right;
  align-items: center;
  padding: 0;
}
.article-bottom .list .icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* 评论内容区域：占满剩余空间 */
.article-bottom .list .comment {
  flex: 1; /* 让评论区占满右侧空间 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

/* 昵称 + 时间 */
.article-bottom .list .comment .commenter {
  color: #007AB7;
  margin-left: 0;
  padding: 4px 12px;
}

/* 评论内容：左对齐 + 调整间距 */
.article-bottom .list .comment .content {
  font-size: 16px;
  margin: 4px 0;
  padding: 0;
}

/* 回复/隐藏/赞成：右对齐 + 紧凑布局 */
.article-bottom .list .comment .reply {
  font-size: 14px;
  color: #666;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 5px; /* 按钮之间的间距 */
}

/* 评论列表分页导航栏样式 */
.current-page {
    color: #ff8a70; /* 示例：蓝色，可替换成任意想要的颜色 */
    font-weight: bold; /* 可选：加粗突出 */
}