/* 新闻页面专用样式 */

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23667eea"/><circle cx="50" cy="50" r="30" fill="none" stroke="%23764ba2" stroke-width="2"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.news-content {
    padding: 20px 0 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.news-meta {
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
}

.date,
.category {
    font-size: 0.9rem;
    color: #777;
}

.category {
    background-color: #f0f0f0;
    padding: 3px 10px;
    border-radius: 20px;
}

.news-item h2 {
    padding: 15px 20px 0;
    font-size: 1.4rem;
    color: #333;
}

.excerpt {
    padding: 15px 20px;
    color: #666;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin: 0 20px 20px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid #667eea;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: #667eea;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

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