/* 博客详细页面专用样式 */

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主内容区域 */
.main-content {
    padding: 20px 0 80px 0;
}

/* 面包屑导航 */


.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #e74c3c;
}

.breadcrumb-item i {
    font-size: 12px;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

/* 文章容器 */
.blog-article {
    margin-bottom: 60px;
}

/* 文章头部 */
.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.article-date {
    font-weight: 500;
}

.article-author {
    font-weight: 400;
}

/* 文章内容 */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
    padding-top: 20px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 12px 0;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content ul, .article-content ol {
    margin: 16px 0;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content strong {
    font-weight: 600;
}

.article-content em {
    font-style: italic;
}

.article-content blockquote {
    border-left: 4px solid #e74c3c;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

/* 文章标签 */
.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.tag-item {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #e74c3c;
    color: #fff;
}

/* 文章导航 */
.article-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 45%;
}

.nav-link:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.nav-prev {
    justify-content: flex-start;
}

.nav-next {
    justify-content: flex-end;
}

.nav-arrow {
    font-size: 18px;
    font-weight: 600;
    color: #666;
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .main-content {
        padding: 30px 0 60px 0;
    }

    .article-title {
        font-size: 24px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-link {
        max-width: 100%;
        justify-content: center;
    }

    .nav-prev {
        justify-content: center;
    }

    .nav-next {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 20px;
    }

    .article-content {
        font-size: 14px;
    }

    .article-content h2 {
        font-size: 18px;
    }

    .article-content h3 {
        font-size: 16px;
    }

    .nav-link {
        padding: 12px 15px;
    }

    .nav-title {
        font-size: 13px;
    }
}