/* 新闻详情页面样式 */
.news-detail {
    padding: 150px 0 80px;
    background: var(--light-gray);
    min-height: 100vh;
}

.news-detail-header {
    background: var(--pure-white);
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.news-detail-header h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
}

.news-detail-meta .date {
    background: var(--primary-red);
    color: var(--pure-white);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
}

.news-detail-content {
    background: var(--pure-white);
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    color: var(--text-dark);
}

.news-detail-content img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

.related-news {
    background: var(--pure-white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.related-news h3 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.related-news h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-red), var(--primary-gold));
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.related-card {
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-info {
    padding: 20px;
}

.related-info h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-info span {
    font-size: 13px;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .news-detail-header,
    .news-detail-content,
    .related-news {
        padding: 30px 20px;
    }
    
    .news-detail-header h1 {
        font-size: 26px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
