/* 详情页通用样式 */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 20px;
    list-style: none;
    background: none;
    color: #888;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: inline-block;
}

.breadcrumb li:not(:last-child):after {
    content: ">";
    margin: 0 8px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #db2227;
}

.article-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.article-text {
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
}

.article-text img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.article-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 文章导航样式 */
.article-navigation {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.article-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.article-nav-item {
    flex: 1;
    max-width: 48%;
}

.article-nav-item.prev {
    text-align: left;
}

.article-nav-item.next {
    text-align: right;
}

.article-nav-item a {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.article-nav-item a:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-nav-direction {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.article-nav-direction i {
    margin: 0 5px;
}

.article-nav-title {
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-nav-links {
        flex-direction: column;
    }
    
    .article-nav-item {
        max-width: 100%;
    }
    
    .article-nav-item.next {
        text-align: left;
    }
    
    .article-nav-item a {
        padding: 12px 15px;
    }
}

@media (max-width: 600px) {
    .article-content {
        padding: 20px 15px;
    }
}
