/* 新闻资讯模块样式 */
.news-section {
    padding: 50px 0;
    background: url(../images/index/bg5.png);
    background-size: cover;
}

.news-header {
    margin-bottom: 30px;
}

.news-title {
    font-size: 40px;
    color: #151835;
    margin-bottom: 10px;
    text-align: left;
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    width: calc(50% - 10px);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease;
    border-bottom: 1px solid #EAEAEA;
    padding: 15px;
    margin-bottom: 20px;
}

.news-item:hover {
    background-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item.active {
}

.news-image {
    width: 168px;
    height: 128px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-title {
    font-weight: bold;
    font-size: 20px;
    color: #0C3272;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.news-item-desc {
    font-weight: 400;
    font-size: 15px;
    color: #8A9299;
    line-height: 1.6;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-date {
    font-weight: bold;
    font-size: 15px;
    color: #7E8C8D;
    line-height: 21px;
    text-align: left;
    font-style: normal;
}

.news-pagination {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.news-page-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;

}

.news-page-item:hover {
    color: #5C5F66;
    background-color: #fff;
}

.news-page-item.active {
    color: #5C5F66;
    background-color: #fff;
    border-color: var(--primary-color);
}

.news-page-dots {
    display: flex;
    align-items: center;
    margin: 0 5px;
    font-size: 14px;
    color: #666;
}
