/*------------ 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 .2s;
    -webkit-border-top-left-radius: 20px;
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-topright: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    max-width: 350px;
    margin:0 auto 30px;
}

.news-list li .box .text{
    background: #F3F3F3;
    padding:30px 25px 185px;
    margin-bottom: -152px;
    transition: all .3s ease;
}


.news-list li .pic {
    position: relative;
    box-sizing: border-box;
    max-width: 304px;
    margin: 0 auto;
}


.news-list li .date {
    position: relative;
    text-align: center;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
    background: rgba(34,34,34,0.95);
    line-height: 109px;
    font-family: 'Hind';
    font-size: 24px;
    font-weight: 500;
    transition: all .3s ease;
    color: #fff;
    letter-spacing: 6px;
}
.news-list li .date a{
    display: block;
}
.news-list li .box:hover .date{
    background: rgba(10,35,122,0.95)
}

.news-list li .box:hover .text{
    background: rgba(34,34,34,0.95)
}
.news-list li .box:hover .name a{
    color: #FFFFFF;

}
.news-list li .box:hover .description a{
    color:#73726F;
    
}
.news-list li .description a{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 60px;
    line-height: 1.5;
    color:#72726E;
    margin: 0 0 0px;
    font-size: 14px;
}

.news-list li .name a{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    color: #0A2179;
    height: 25px;
    text-align: left;
    font-size: 21px;
    font-weight: bold;
    margin: 0 0 20px;
}


/*------------ detail-main ------------*/

.news-detail {
    padding: 40px 15px 60px;
    border: 1px solid #ddd;
}

.news-title {
    font-size: 25px;
    font-weight: bold;
    color: #333333;
    margin: 40px 0 30px;
    text-align: center;
}

.news-date {
    position: relative;
    text-align: center;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
    background: rgba(34,34,34,0.95);
    line-height: 50px;
    font-family: 'Hind';
    font-size: 24px;
    font-weight: 500;
    transition: all .3s ease;
    color: #fff;
    letter-spacing: 6px;
    max-width: 350px;
    margin: auto;
}


/*------------ 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:768px) {
    .news-title{
        font-size: 20px;
        margin: 20px 0;
    }
    .news-list {
        margin: 0;
    }
    .news-list li {
        width: 100%;
        padding: 0 0 10px;
    }
}
