/* 文章页面样式 */
.article-content {
    padding: 40px 0;
    background: var(--gray);
}

.article {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-header h1 {
    font-size: 28px;
    color: var(--black);
    margin-bottom: 15px;
    font-weight: bold;
}

.article-meta {
    color: #666;
    font-size: 14px;
    display: flex;
    gap: 20px;
}

.article-meta span {
    margin-right: 20px;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
}

.content-text {
    margin-bottom: 30px;
}

.content-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
    text-indent: 2em;
}

.content-text h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 40px 0 20px;
    font-weight: bold;
    text-indent: 0;
}

.content-text .subtitle {
    font-size: 18px;
    color: #666;
    margin: 20px 0;
    padding: 10px 0;
    text-align: center;
    font-weight: 500;
    text-indent: 0;
    border-bottom: 1px solid #eee;
}

.content-text p:first-of-type {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    text-indent: 0;
}

.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.image-caption {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article {
        padding: 20px;
    }

    .article-header h1 {
        font-size: 24px;
    }

    .article-meta {
        flex-direction: column;
        gap: 5px;
    }

    .article-meta span {
        display: block;
        margin-right: 0;
    }
} 

/* 文章作者样式 */
.article-authors {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* 文章章节样式 */
.article-section {
    margin-bottom: 40px;
}

.article-section h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

/* 引用文字样式 */
.quote {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 500;
    margin: 20px 0;
    padding-left: 15px;
    border-left: 3px solid var(--primary-color);
}

/* 文章元信息样式优化 */
.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.article-meta span {
    color: #666;
    font-size: 14px;
}

/* 正文段落样式优化 */
.content-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
} 

/* 导语部分样式 */
.article-intro p {
    text-indent: 2em;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

/* 章节标题样式 */
.article-section h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 40px 0 20px;
    font-weight: bold;
    text-align: center;
}

/* 副标题样式 */
.article-section .subtitle {
    font-size: 18px;
    color: #666;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

/* 正文段落样式 */
.article-section p {
    text-indent: 2em;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
} 

/* 移动端文章页面适配 */
@media screen and (max-width: 768px) {
    .article {
        padding: 15px;
    }
    
    .article-header h1 {
        font-size: 20px;
        line-height: 1.4;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .content-text {
        font-size: 16px;
    }
    
    .content-text p {
        margin-bottom: 15px;
    }
    
    .content-image {
        margin: 15px -15px;
    }
    
    .content-image img {
        border-radius: 0;
    }
} 