/* 新闻详情页样式 */

.article-container {
    padding: 100px 0;
    background: var(--bg-light);
}

.article-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    font-size: 10px;
}

/* 文章头部 */
.article-header {
    margin-bottom: 40px;
}

.article-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.article-meta {
    display: flex;
    gap: 32px;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

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

/* 文章主图 */
.article-featured-image {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文章正文 */
.article-content {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.article-content .lead {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 32px;
    font-weight: 500;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.article-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-gray);
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--text-gray);
}

.article-content blockquote {
    margin: 40px 0;
    padding: 24px 32px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.article-content blockquote p {
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.article-content blockquote footer {
    font-size: 14px;
    color: var(--text-light);
}

.article-cta {
    margin-top: 48px;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    text-align: center;
    color: white;
}

.article-cta h3 {
    margin: 0 0 12px 0;
    color: white;
}

.article-cta p {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.article-cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.article-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* 文章标签 */
.article-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tag {
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

/* 分享按钮 */
.article-share {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
}

.article-share h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 20px;
    background: var(--bg-light);
    border: none;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
}

.share-btn i {
    margin-right: 8px;
}

/* 相关文章 */
.related-articles {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.related-articles h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.related-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.related-date {
    font-size: 13px;
    color: var(--text-light);
}

/* 响应式 */
@media (max-width: 968px) {
    .article-title {
        font-size: 32px;
    }
    
    .article-content {
        padding: 32px;
    }
    
    .article-featured-image {
        height: 350px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .article-title {
        font-size: 28px;
    }
    
    .article-content {
        padding: 24px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .article-content h3 {
        font-size: 20px;
    }
    
    .article-featured-image {
        height: 250px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
    }
}
