.news {
    background: #b1b1b124;
    padding: 0.8rem 0rem;
}

.newsTab {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.newsTab li {
    cursor: pointer;
    width: 1.5rem;
    line-height: 0.4rem;
    border: 1px solid #26446E;
    color: #333;
    margin: 0rem 0.1rem;
    text-align: center;
}

.newsTab .active,
.newsTab li:hover {
    background: #26446E;
    color: #fff;
}

/* 列表 */
.newsUl {
    display: flex;
    flex-wrap: wrap;
}

.newsUl li {
    width: 32%;
    margin-right: 2%;
    background: #fff;
    color: #333;
    margin-bottom: 0.35rem;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.newsUl li:nth-child(3n) {
    margin-right: 0rem;
}

.newsUl a {
    display: block;
    width: 100%;
}

.newsUl .imgBox {
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    position: relative;
}

.newsUl .imgBox img {
    position: absolute;
    top: 0rem;
    left: 0rem;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.newsUl li:hover img {
    transform: scale(1.05);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.newsUl li:hover {
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.newsUl .txt {
    padding: 0.14rem 0.18rem;
}

.newsUl h3 {
    font-weight: bolder;
    margin: 0.1rem 0rem;
}

.newsUl p {
    color: #666;
}


@media (max-width: 800px) {
    .newsTab li {
        width: 1.8rem;
        line-height: 0.65rem;
        margin: 0rem 0.15rem;
    }

    .newsTab {
        margin-bottom: 0.7rem;
    }

    .newsUl li {
        width: 100%;
        margin-right: 0rem;
        margin-bottom: 0.4rem;
    }

    .newsUl .txt {
        padding: 0.24rem 0.28rem;
    }
}