/* 
 * 新闻页面样式
 */

.news-list-section {
    background: var(--light-gray);
}

.news-item-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-speed) ease;
}

.news-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-item-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.news-item-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-title {
    font-size: 1.5rem;
    color: var(--wood-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-item-date {
    font-size: 0.9rem;
    color: var(--wood-medium);
    margin-bottom: 15px;
}

.news-item-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-more {
    font-size: 0.95rem;
    color: var(--primary-yellow);
    font-weight: 600;
    align-self: flex-start;
}

/* 新闻详情页面 */
.news-detail-header {
    margin-top: 80px;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(193, 154, 107, 0.2));
}

.news-detail-title {
    font-size: 2.5rem;
    color: var(--wood-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    gap: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-content {
    padding: 60px 0;
    background: var(--white);
}

.news-detail-body {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-primary);
}

.news-detail-body p {
    margin-bottom: 25px;
}

.news-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

/* 相关新闻 */
.related-news {
    padding: 60px 0;
    background: var(--light-gray);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 响应式 */
@media (max-width: 992px) {
    .news-item-card {
        grid-template-columns: 1fr;
    }

    .news-item-image img {
        height: 200px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-detail-title {
        font-size: 1.8rem;
    }

    .news-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
