/* 新闻页面样式 */

.page-header {
    background: linear-gradient(135deg, #0056b3, #003d82);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

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

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

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

.news-item {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-date {
    background: linear-gradient(135deg, #0056b3, #003d82);
    color: white;
    padding: 20px 15px;
    text-align: center;
    min-width: 80px;
}

.news-date .day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    margin: 5px 0;
}

.news-date .year {
    display: block;
    font-size: 0.9rem;
}

.news-text {
    padding: 25px;
    flex: 1;
}

.news-text h3 {
    margin-bottom: 15px;
    color: #0056b3;
}

.news-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
}

.read-more {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.read-more:after {
    content: "→";
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.read-more:hover:after {
    margin-left: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background-color: #0056b3;
    color: white;
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-date {
        padding: 15px;
        min-width: auto;
    }
}