/* 
 * 博客专用样式
 * 补充主站 style1.css，保持风格一致
 */

/* ====== 博客内容区 ====== */
.blog-content-body {
    line-height: 1.9;
    font-size: 16px;
    color: #333;
}

.blog-content-body h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #1e293b;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.blog-content-body h3 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: #1e293b;
    font-weight: 600;
}

.blog-content-body h4 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: #1e293b;
    font-weight: 600;
}

.blog-content-body p {
    margin-bottom: 15px;
    line-height: 1.9;
}

.blog-content-body strong {
    color: #07927b;
    font-weight: 700;
}

.blog-content-body ul {
    margin: 10px 0 20px 20px;
    padding: 0;
}

.blog-content-body ul li {
    list-style: disc;
    margin-bottom: 8px;
    line-height: 1.8;
    padding-left: 5px;
}

.blog-content-body blockquote {
    border-left: 4px solid #07927b;
    background: #f0fdfa;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-style: italic;
}

.blog-content-body img.blog-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-content-body a {
    color: #07927b;
    text-decoration: underline;
}

/* ====== 博客列表页 - 文章间距 ====== */
.blog-page .item {
    margin-bottom: 70px;
}
@media (max-width: 768px) {
    .blog-page .item {
        margin-bottom: 40px;
    }
}

.blog-entry-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.blog-entry-meta span {
    margin-right: 15px;
}

.blog-entry-meta i {
    margin-right: 3px;
}

/* ====== 评论登录提示 ====== */
.login-to-comment {
    background: #f8f9fa;
    border: 1px dashed #07927b;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    text-align: center;
}

.login-to-comment a:hover {
    text-decoration: underline;
}

/* ====== 评论区增强 ====== */
.comments {
    margin-top: 40px;
}

.comment-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-content {
    display: flex;
    gap: 15px;
}

.comment-content img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
}

.comment-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.comment-author .author {
    font-weight: 600;
    color: #1e293b;
}

.comment-author .comment-reply-link {
    font-size: 13px;
    color: #07927b;
}

.comment-time {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 8px;
}

.comment-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* ====== 分页 ====== */
.spendora-pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination-list {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}

.pagination-list li {
    margin: 0;
}

.pagination-list li a,
.pagination-list li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination-list li.active a,
.pagination-list li a:hover {
    background: #07927b;
    color: #fff;
    border-color: #07927b;
    text-decoration: none;
}

/* ====== 无文章提示 ====== */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* ====== 标签 & 信息提示 ====== */
.blog-tag {
    display: inline-block;
    background: #f0fdfa;
    color: #07927b;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
}

/* ====== 响应式 ====== */
@media (max-width: 768px) {
    .blog-content-body {
        font-size: 15px;
    }
    
    .blog-content-body h2 {
        font-size: 20px;
    }
    
    .comment-content {
        flex-direction: column;
    }
}
