:root {
  --blue: #063D83;
}

.news-list {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
}
.news-list .item {
    display: flex;
    align-items: self-start;
    justify-content: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    transition: all 0.3s ease-out;
}
.news-list .item .item-img {
    flex: 0 0 350px;
    overflow: hidden;
    margin-right: 80px;
}
.news-list .item .item-img img {
    width: 100%;
}

.news-list .item .item-content .item-content-time {
    font-size: 18px;
    color: var(--blue);
    margin-bottom: 10px;
}
.news-list .item .item-content .item-content-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}
.news-list .item .item-content .item-content-desc {
    font-size: 18px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;


    display: -webkit-box; /* 必须结合的属性 ，将对象作为弹性伸缩盒子模型显示 。*/
    -webkit-box-orient: vertical; /* 必须结合的属性 ，设置或检索伸缩盒对象的子元素的排列方式 。*/
    text-overflow: ellipsis; /* 可以用来多行文本的情况下，用省略号“…”隐藏超出范围的文本 。*/
    -webkit-line-clamp: 5;
    overflow : hidden;
}

.news-list .item:hover  .item-img img{
    transform: scale(1.1);
    transition: all 0.3s ease-out;
}




.news-details {
    margin-top: 50px;
}

.news-details .news-details-content {
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
}
.news-details .news-details-content span {
    margin-right: 5px;
    color: #333;
}
.news-details .desc {
    margin: 20px 0;
}



@media (max-width: 1280px) {
    
}

@media (max-width: 980px) {
    .news-list .item .item-content .item-content-title {
        font-size: 22px;
    }
    .news-list .item .item-content .item-content-desc {
        font-size: 16px;
    }
    .news-list .item .item-img {
        margin-right: 30px;
    }
}

@media (max-width: 780px) {
    .news-list {
        margin-top: 5px;
        padding: 10px;
    }
    .news-list .item {
        flex-direction: column;
        justify-content: flex-start;
    }
    .news-list .item .item-img {
        flex: 1;
        width: 100%;
    }
    .news-list .item .item-content .item-content-time {
        margin-top: 5px;
    }
    
    .news-details {
        margin-top: 10px;
    }
    
}
