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

.news-header {
    background: linear-gradient(135deg, #2c8a5c 0%, #4caf7d 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

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

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

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

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

.news-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-image {
    height: 200px;
    background-color: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.7;
}

.news-text {
    padding: 25px;
}

.news-text h2 {
    color: #2c8a5c;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

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

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.date {
    color: #999;
}

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

.read-more {
    display: inline-block;
    color: #2c8a5c;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border: 2px solid #2c8a5c;
    border-radius: 30px;
    transition: all 0.3s;
}

.read-more:hover {
    background-color: #2c8a5c;
    color: white;
}

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

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

.pagination a:hover,
.pagination a.active {
    background-color: #2c8a5c;
    color: white;
    border-color: #2c8a5c;
}

@media (max-width: 768px) {
    .news-header h1 {
        font-size: 2rem;
    }

    .news-header p {
        font-size: 1rem;
    }

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