/* 文章详情页样式 */
.article-detail {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.article-detail-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.article-detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fbfdff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    color: #8492a6;
    font-size: 0.9rem;
}

.article-detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-detail-meta i {
    color: #6b7c93;
}

.article-detail-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.article-detail-category {
    background: #f7f9fc;
    padding: 4px 12px;
    border-radius: 15px;
    color: #6b7c93;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.article-detail-category:hover {
    background: #e9ecef;
    color: #4a5568;
}

.article-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 30px;
}

.article-detail-tags {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags-label {
    color: #8492a6;
    margin-right: 10px;
}

.tag-link {
    display: inline-block;
    padding: 3px 10px;
    margin: 0 5px 5px 0;
    background: #f1f5f9;
    border-radius: 12px;
    color: #64748b;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #e2e8f0;
    color: #475569;
}

.article-detail-nav {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.article-detail-prev,
.article-detail-next {
    max-width: 45%;
}

.article-detail-prev a,
.article-detail-next a {
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.article-detail-prev a:hover,
.article-detail-next a:hover {
    color: #3b82f6;
}

/* 相关文章样式 */
.related-articles {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.related-articles-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.related-article {
    background: #fff;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.related-article:hover {
    transform: translateY(-3px);
}

.related-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 15px;
}

.related-article-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-article-title {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.related-article-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.related-article-meta {
    display: flex;
    gap: 15px;
    color: #999;
    font-size: 0.85rem;
}

/* 移除所有圆形指示器 */
.related-article-icon,
.status-indicator,
.circle,
.dot,
.blue-circle {
    display: none !important;
}

.no-related-articles {
    text-align: center;
    padding: 30px;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 1.1rem;
}

.no-related-articles i {
    margin-right: 8px;
}

/* 评论区样式 */
.comments-area {
    margin-top: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.comments-title {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #edf2f7;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.comment-meta {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.comment-author {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 600;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 5px;
}

.comment-metadata a {
    color: #64748b;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #3b82f6;
}

.comment-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.comment-content p {
    margin: 0 0 15px 0;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* 回复按钮样式 */
.reply {
    margin-top: 10px;
}

.reply a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.reply a:hover {
    color: #333;
}

/* 移除复选框和圆圈 */
input[type="checkbox"],
.circle,
.dot,
.status-dot,
.blue-circle {
    display: none !important;
}

/* 评论表单样式 */
.comment-respond {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.comment-form input[type="submit"] {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: #357abd;
}

/* 嵌套评论样式 */
.children {
    list-style: none;
    margin: 20px 0 0 30px;
    padding-left: 20px;
    border-left: 2px solid #e2e8f0;
}

/* 评论分页 */
.comment-navigation {
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.comment-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

.comment-navigation a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.comment-navigation a:hover {
    color: #3b82f6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-detail {
        padding: 20px;
    }

    .article-detail-title {
        font-size: 1.8rem;
    }

    .article-detail-meta {
        gap: 15px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .article-detail-nav {
        flex-direction: column;
        gap: 20px;
    }

    .article-detail-prev,
    .article-detail-next {
        max-width: 100%;
    }

    .comments-area,
    .comment-respond {
        padding: 20px;
    }

    .children {
        margin-left: 15px;
        padding-left: 15px;
    }

    .comment {
        padding: 15px;
    }
}

/* 网站域名样式 */
.site-domain {
    margin-left: auto;
    margin-right: 20px;
}

.site-domain span {
    font-size: 14px;
    color: #cfd8e3;
}

/* 额外的评论样式 */
.author-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #3b82f6;
    color: #fff;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.comment-awaiting-moderation {
    margin: 10px 0;
    padding: 8px 12px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    color: #856404;
    font-size: 0.9rem;
}

.comment-author a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-author a:hover {
    color: #3b82f6;
}

.edit-link {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #e2e8f0;
}

.edit-link a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
}

.edit-link a:hover {
    color: #3b82f6;
}

/* 评论表单字段布局 */
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 15px;
}

.required {
    color: #e53e3e;
}

.comment-notes {
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 6px;
    color: #64748b;
    font-size: 0.9rem;
}

#email-notes {
    display: block;
    margin-bottom: 5px;
}

/* 评论内容格式化 */
.comment-content {
    word-wrap: break-word;
}

.comment-content p {
    margin-bottom: 1em;
}

.comment-content a {
    color: #3b82f6;
    text-decoration: none;
}

.comment-content a:hover {
    text-decoration: underline;
}

.comment-content blockquote {
    margin: 1em 0;
    padding-left: 1em;
    border-left: 4px solid #e2e8f0;
    color: #64748b;
}

.comment-content code {
    padding: 2px 4px;
    background: #f1f5f9;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

/* 嵌套评论优化 */
.children .comment {
    background: #fff;
    border: 1px solid #e2e8f0;
}

.children .children .comment {
    background: #f8fafc;
}

/* 评论加载状态 */
.comment-respond .loading {
    opacity: 0.5;
    pointer-events: none;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        width: 100%;
    }
    
    .comment-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .edit-link {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        display: block;
        margin-top: 5px;
    }
} 