/* 新闻详情页样式 */

.news-detail-header {
    padding: 100px 0 40px;
    background: var(--bg-white);
    margin-top: 70px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.breadcrumb span {
    color: var(--text-light);
}

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

.article-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 20px;
    font-size: 12px;
    margin-right: 15px;
}

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

.article-header h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin: 20px 0;
    line-height: 1.4;
}

.article-summary {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.article-content {
    padding: 60px 0;
    background: var(--bg-white);
}

.article-content .container {
    max-width: 900px;
}

.article-image {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.article-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body ul li {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.article-body ul li strong {
    color: var(--text-dark);
}

.article-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.article-tags span {
    color: var(--text-light);
    font-weight: 500;
}

.article-tags a {
    padding: 5px 15px;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.article-share span {
    color: var(--text-light);
    font-weight: 500;
}

.article-share a {
    padding: 5px 15px;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.article-share a:hover {
    background: var(--accent-color);
    color: var(--bg-white);
}

.related-news {
    padding: 80px 0;
    background: var(--bg-light);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.related-item {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.related-item h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 20px 20px 10px;
    line-height: 1.4;
}

.related-date {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin: 0 20px 15px;
}

.related-item a {
    display: block;
    padding: 0 20px 20px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .news-detail-header {
        padding: 80px 0 30px;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .article-summary {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

