/* 文章详情页样式 */
.article-detail {
    background: #fff;
    padding: 0;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
}

.article-meta {
    display: flex;
    gap: 30px;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
    justify-content: center;
}

.article-meta .source {
   
    font-weight: 500;
}

/* 文章内容 */
.article-content {
    margin-bottom: 60px;
}

/* 文章图片 */
.article-images {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.image-item {
    text-align: center;
}

.image-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.image-caption {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin: 0;
}

/* 文章正文 */
.article-text {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.article-text p {
    margin: 0 0 20px 0;
    text-align: justify;
}

.article-text p:first-child {
    font-size: 18px;
    font-weight: 500;
    color: #444;
}

/* 相关链接 */
.related-links {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #840064;
}

.related-links h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.related-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-links li {
    margin-bottom: 8px;
}

.related-links a {
    color: #840064;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.related-links a:hover {
    color: #6b0052;
    text-decoration: underline;
}

/* 文章导航 */
.article-navigation {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-prev,
.nav-next {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: color 0.2s ease;
}

.nav-prev:hover,
.nav-next:hover {
    color: #0754D7;
}

.nav-label {
    font-size: 14px;
    color: #666;
    margin-right: 8px;
    white-space: nowrap;
}

.nav-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
    flex: 1;
}

.nav-prev:hover .nav-title,
.nav-next:hover .nav-title {
    color: #0754D7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-main .container {
        padding: 20px 15px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-text {
        font-size: 15px;
    }
    
    .article-text p:first-child {
        font-size: 16px;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .image-item img {
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 20px;
    }
    
    .article-text {
        font-size: 14px;
    }
    
    .related-links {
        padding: 15px;
    }
    
    .nav-prev,
    .nav-next {
        padding: 15px;
    }
}

/* 上一篇/下一篇样式 */
.wp_art_adjoin {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
    line-height: 1.8;
}

.wp_art_adjoin .prev {
    display: inline;
    color: #666;
    font-size: 16px;
    margin-right: 8px;
}

.wp_art_adjoin .prev-title {
    display: inline;
}

.wp_art_adjoin .prev-title::after {
    content: '';
    display: block;
    margin-top: 15px;
}

.wp_art_adjoin .next {
    display: inline;
    color: #666;
    font-size: 16px;
    margin-right: 8px;
}

.wp_art_adjoin .next-title {
    display: inline;
}

.wp_art_adjoin .prev-title a,
.wp_art_adjoin .next-title a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.wp_art_adjoin .prev-title a:hover,
.wp_art_adjoin .next-title a:hover {
    color: #0754D7;
} 

.wp_artfuns .wp_art_adjoin .next{
    padding-left: 0 !important;
}