/*------------ news ------------*/

.news-list {
    margin: 0 -5px;
}

.news-list li {
    width: 25%;
    padding: 0 5px 10px;
}

.news-list li:nth-child(4n+1) {
    clear: left;
}

.news-list li .box {
    transition: all .3s ease;
    padding: 20px 25px;
    padding-top: 0;
    position: relative;
}
.news-list li .box:before {
    content: "";
    background: #F3F3F3;
    width: 100%;
    height: 315px;
    position: absolute;
    top: 122px;
    left: 0;
    z-index: -1;
    transition: all .3s ease;
}
.news-list .cover2{
    position: absolute !important;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    font-size: 0;
    z-index: 30;
}
.news-list li .pic {
    position: relative;
    box-sizing: border-box;
    max-width: 304px;
    margin: 0 auto;
}
.news-list li .date,
.news-date {
    position: relative;
    text-align: center;
    display: block;
    line-height: 1;
    margin: 0 -25px 10px;
}
.news-list li .date,
.news-date{
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    display: block;
    transition: all .3s ease;
    background: rgba(34, 34, 34, 0.95);
    font-family: 'Hind', sans-serif;
    height: 109px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-date{
    background: #F9F8F8;
    color: #585555;
}
.news-list li .date:before,
.news-date:before{
    content: "";
    background: url('../../images/common/news-icon-1.png');
    width: 170px;
    height: 15px;
    position: absolute;
    left: calc(50% - 85px);
    top: 0;
}
.news-list li .description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 62px;
    line-height: 1.5;
    color: #73726F;
    margin: 0 0 30px;
    transition: all .3s ease;
}
.news-list li .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    color: #2D2D2D;
    height: 21px;
    text-align: center;
    font-size: 21px;
    font-weight: normal;
    margin: 42px 0 22px;
    transition: all .3s ease;
}
.news-list .box:hover .date {
   background: rgba(211, 0, 0, 0.95);
}
.news-list .box:hover:before{
   background: rgba(34, 34, 34, 0.95);
}
.news-list .box:hover .name{
   color: #FFF;
}
.news-list .box:hover .description{
    color: #FFF;
}


/*------------ detail-main ------------*/

.news-detail {
    padding: 0px 15px 30px;
}

.news-title {
    font-size: 21px;
    font-weight: bold;
    color: #333333;
    margin: 40px 0 30px;
    text-align: center;
}

.news-date {
    margin: 0 -15px 10px;
}


/*------------ rwd ------------*/

@media screen and (max-width: 1280px) {
    .news-list li {
        width: calc((100% / 3) - 0.1px);
    }
    .news-list li:nth-child(4n+1) {
        clear: none;
    }
    .news-list li:nth-child(3n+1) {
        clear: left;
    }
}

@media screen and (max-width: 900px) {
    .news-list li {
        width: 50%;
    }
    .news-list li:nth-child(3n+1) {
        clear: none;
    }
    .news-list li:nth-child(2n+1) {
        clear: left;
    }
}

@media screen and (max-width: 600px) {
    .news-list {
        margin: 0;
    }
    .news-list li {
        width: 100%;
        padding: 0 0 10px;
    }
}
