/* 新闻页面样式 */

.news-header {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: white;
    padding: 32px 24px;
    text-align: center;
}

.news-header .header-content h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.news-header .header-date {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* 新闻主体 */
.news-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* 新闻文章 */
.news-article {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* 新闻分类 */
.news-section {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.news-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #374151;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.section-title svg {
    width: 22px;
    height: 22px;
    color: #6b7280;
}

/* 新闻条目 */
.news-item {
    margin-bottom: 24px;
    padding: 20px;
    background: #fafafa;
    border-radius: var(--radius-sm);
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-item h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 14px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta svg {
    width: 14px;
    height: 14px;
}

.source-link {
    color: #6b7280;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.source-link:hover {
    color: #374151;
    text-decoration: underline;
}

.source-link svg {
    width: 14px;
    height: 14px;
}

/* 新闻正文 */
.news-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text);
}

.news-body h4 {
    font-size: 0.9rem;
    color: #4b5563;
    margin: 14px 0 8px 0;
    font-weight: 600;
}

.news-body h4:first-child {
    margin-top: 0;
}

.news-body p {
    margin-bottom: 10px;
    color: #4b5563;
}

.news-body ul {
    margin: 6px 0 12px 18px;
}

.news-body li {
    margin-bottom: 5px;
    color: #4b5563;
}

/* 数据表格 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.85rem;
}

.data-table th,
.data-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background: #f3f4f6;
    color: #374151;
    font-weight: 600;
}

.data-table tr:hover td {
    background: #f9fafb;
}

/* 图片 */
.news-image {
    margin: 14px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

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

.news-image .caption {
    font-size: 0.8rem;
    color: #6b7280;
    padding: 8px 12px;
    background: #f9fafb;
}

/* 总结区域 */
.summary-section {
    background: #f9fafb;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.summary-card {
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.summary-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 10px;
}

.summary-card h4 svg {
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.summary-card ul {
    padding-left: 16px;
    font-size: 0.85rem;
}

.summary-card li {
    margin-bottom: 6px;
    color: #6b7280;
}

/* 响应式 */
@media (max-width: 768px) {
    .news-article {
        padding: 20px 16px;
    }
    
    .news-item {
        padding: 16px;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .data-table {
        font-size: 0.75rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px;
    }
    
    .summary-section {
        padding: 20px;
    }
}
