#news {
    min-height: 50rem;
    background-color: #fff;
    padding: 1.2rem 1.2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.banner{
    width: 100%;
    margin-bottom: 2rem;
}

.banner img {
    width: 100%;
}

#news .title {
    padding: 0.6rem 0;
    width: 8rem;
    background-color: #e30009;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

#news .text-content {
    display: flex;
    flex-flow: column;
    margin-top: 2rem;
}

#news .text-content .news-li {
    width: 100%;
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1rem;
    box-sizing: border-box;
    border: 1px solid #f2f2f2;
    cursor: pointer;
}

#news .text-content .news-li a {
    display: block;
}

#news .text-content .news-li:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

#news .text-content .news-li:hover .item-mesg-title {
    color: #e30009;
}

#news .text-content .news-li .item-mesg {
    width: 30%;
    flex: 1;
    padding-top: 0.4rem;
    padding-left: 1rem;
}

#news .text-content .news-li .item-mesg-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

#news .text-content .news-li .item-mesg .text {
    font-size: 1rem;
    line-height: 1.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    color: #666;
}

#news .text-content .news-li .date {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #999;
}

#news .text-content .news-li .item-img {
    width: 38%;
    height: 14rem;
    overflow: hidden;
}

#news .text-content .news-li .item-img img {
    width: 100%;
}

@media screen and (max-width: 768px) {
    #news .text-content .news-li {
        display: flex;
        flex-flow: column;
    }

    #news .text-content .news-li .item-img {
        width: 100%;
    }

    #news .text-content .news-li .item-mesg {
        width: 100%;
        padding-left: 0;
    }
}


/* 页码开始 */
#news .pagination-wrapper {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

#news .pagination-wrapper .pagination{
    display: flex;
    align-items: center;
}

#news .pagination-wrapper .pagination li{
    cursor: pointer;
}

#news .pagination-wrapper .pagination .total{
    margin-right: 20px;
}

#news .pagination-wrapper .page-item {
    box-shadow: none;
}

#news .pagination-wrapper .page-link {
    color: #e30009;
    box-shadow: none;
}

#news .pagination-wrapper .active .page-link {
    background-color: #e30009;
    color: #fff;
    border-color: #e30009;
}