.list-box {
    margin: 30px 0 .5rem;
    display: grid;
    /* gap: 20px; */
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 14px;
    
}

.news_item {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: all .3s;
}

.news_item .news-img {
    height: 1.7rem;
    overflow: hidden;
}

.news-img>img {
    height: 100%;
}

.news-title {
    /* padding: 10px 8px; */
    margin: 10px 8px;
    font-size: 20px;
    color: #1D1B1B;
}

.news-time {
    padding: 4px 8px;
    font-size: 14px;
    font-weight: bold;
}

.sub-title {
    margin: 6px 8px;
    color: #8B9195;
}

.news_item:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* 手机 */
@media screen and (max-width:576px) {
    #swiper1 {
        padding-top: 40px;
    }

    .list-box {
        grid-template-columns: 1fr 1fr;
    }

    .news_item .news-img {
        height: 88px;
        overflow: hidden;
    }

    .news-title {
        font-size: 18px;
    }

    .news-time {
        padding: 3px 8px;
        font-size: 10px;
    }
    .sub-title {
        font-size: 14px;
    }
}

/* ipad */
@media screen and (min-width: 576px) and (max-width:1000px) {

    .news_item .news-img {
        height: 2.2rem;
        /* overflow: hidden; */
    }
    .list-box {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .news-title {
        font-size: 18px;
    }
}
