.news-container {
    background-color: #f5f5f5;
    padding: 50px 0;
    min-height: calc(100vh - 70px);
}

.news-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-title .iconfont {
    color: #01436B;
}

.news-list {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-item {
    display: flex;
    padding: 30px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.news-image {
    width: 200px;
    height: 150px;
    margin-right: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;    /* 保持比例完整显示图片 */
    background: #f5f5f5;    /* 添加背景色，防止图片较小时看起来空白 */
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.news-item:hover .news-content h3 {
    color: #01436B;
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    color: #01436B;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

.read-more:hover {
    background-color: rgba(1, 67, 107, 0.1);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.page-numbers {
    display: flex;
    gap: 10px;
}

.page-numbers a, .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 4px;
    background: #fff;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.page-numbers a:hover, .page-btn:hover {
    background: #01436B;
    color: #fff;
}

.page-numbers a.active {
    background: #01436B;
    color: #fff;
}

.page-btn {
    display: flex;
    gap: 5px;
}

.pagination span {
    color: #999;
}

@media screen and (max-width: 768px) {
    .news-item {
        flex-direction: column;
        padding: 15px;
    }

    .news-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .news-content h3 {
        font-size: 18px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
}