.party {
    background-color: #f7f7f7;
}
.main .content {
    padding-top: 0;
    padding-bottom: 5.781vw;
}
.news {
    padding: 2.167vw 0 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    /*justify-content: center;*/
    align-items: center;
}
.newsMain {
    display: flex;
    /* flex-direction: column;
    align-items: center; */
}
.news .news-header {
    text-align: center;
}

.news-header div:first-child {
    font-size: 2.3438vw;
    color: #151515;
    margin-bottom: .5vw;
}

.news-header div:last-child {
    font-size: 1.6667vw;
    color: #151515;
}

.news-main {
     display: flex; 
     flex-wrap: wrap;
}

.news-main .item {
    float: left;
    width: 23.438vw;
    /* height: 27.6042vw; */
    background-color: #ffffff;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.06);
    border: solid 1px #ebebeb;
    padding: 1.0938vw 1.4583vw 1.6146vw;
    margin-right: 4.167vw;
    margin-bottom: 6.25vw;
    cursor: pointer;
}
.news-main .item:nth-child(3n) {
    margin-right: 0;
}
.news-main .item:hover {
    background-color: #015cb9;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.06);
    border: solid 1px #ebebeb;
}

.news-main .item:hover img {
    transform: scale(1.1);
}

.news-main .item:hover .title {
    color: #fff;
}

.news-main .item:hover .text {
    color: #fff;
}

.news-main .item:last-child {
    margin-right: 0;
}

.news-main .item .item-img {
    width: 20.5729vw;
    height: 13.8021vw;
    overflow: hidden;
}

.news-main .item img {
    transform: scale(1);
    width: 100%;
    height: 100%;
    transition: all 0.5s;
}

.news-main .item .title {
    font-size: .8333vw;
    font-weight: bold;
    color: #333333;
    width: 100%;
    /*1. 先强制一行内显示文本*/
    white-space: nowrap;
    /*2. 超出的部分隐藏*/
    overflow: hidden;
    /*3. 文字用省略号替代超出的部分*/
    text-overflow: ellipsis;
    margin: 1vw 0 0.8vw;
}

.news-main .item .text {
    font-size: .7292vw;
    color: #777777;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-main .item .foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.9688vw;
}

.news-main .item .foot .foot-time {}

.news-main .item .foot .foot-time>div:first-child {
    font-size: .7292vw;
    color: #919191;
    margin-bottom: 11px;
}

.news-main .item .foot .foot-time>div:last-child {
    width: 150px;
    height: 1px;
    background-color: #bfbfbf;
}

.news-main .item .foot>div:last-child {
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border: solid 2px #c5c5c5;
    border-radius: 50%;
    text-align: center;
    line-height: 26px;
    font-family: monospace;
    color: #c5c5c5;
    font-size: 22px;
    font-weight: bold;
}

.news-main .item:hover .foot .foot-time>div:first-child {
    color: #fff;
}

.news-main .item:hover .foot .foot-time>div:last-child {
    background-color: #fff;
}

.news-main .item:hover .foot>div:last-child {
    border-color: #fff;
    color: #fff;
    background-color: #015cb9;
}


@media (max-width:800px) {
    .news-main {
        width: 100%;
    }
    .news-main .item .item-img {
        width: 100%;
        height: 24.8021vw;
    }
    .news-main .item .foot .foot-time>div:last-child {
        width: 100%;
    }
    .news-main .item {
        width: 49%;
        margin-right: 2%;
    }
    .news-main .item:nth-child(3n){
        margin-right: 2%;
    }
    .news-main .item:nth-child(2n){
        margin-right: 0;
    }
    
    .news-main .item .title {
        font-size: 14px;
    }
    .news-main .item .foot>div:last-child {
        width: 20px;
        height: 20px;
        font-size: 12px;
        line-height:17px;
    }
}