/*------------ news ------------*/
.news-list {
    margin: 0 -20px;
}
.news-list li {
    width: calc((100% / 3) - 0.1px);
    padding: 0 20px 35px;
}
.news-list li:nth-child(3n+1) {
    clear: left;
}
.news-list li .box{
    transition: all .2s;
    background: #fff;
    padding: 12px;
    position: relative;
    max-width: 375px;
    margin: 0 auto;
    box-sizing: border-box;
}
.news-list li .cover {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
    font-size: 0;
}

.news-list li .pic {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}
.news-list .pic img {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}
.news-list li .box:hover .pic img {
    -moz-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -o-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}
.news-list .txt {
    position: relative;
    z-index: 5;
   
}
.news-list .date{
     transition: all .3s ease;
     font-size: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
     width: 135px;
     height: 32px;
     line-height:32px;
     color: #fff;
     background: #122c54;
     margin: -16px 15px 16px;
     border-radius: 60px;
     box-sizing: border-box;
     letter-spacing: 1px;
     font-family: "Jost", sans-serif;
    
}
.news-list .box:hover .date{
    background: #cc4d4d;
}
.news-list li .name {
    transition: all .3s ease;
     font-family: "Noto Serif TC", serif;
     font-weight: 600;
     color:#333;
     font-size:18px;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     letter-spacing: 1.5px;
     line-height: 1.5;
     margin: 5px 0 10px;
}
.news-list .box:hover .name {
    color:#cc4d4d;
}
/*------------ detail-main ------------*/
.news-date {
     transition: all .3s ease;
     font-size: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
     width: 135px;
     height: 32px;
     line-height:32px;
     color: #fff;
     background: #122c54;
     margin: 0 auto 15px;
     border-radius: 60px;
     box-sizing: border-box;
     letter-spacing: 1px;
     font-family: "Jost", sans-serif;
     text-align: center;
}
.news-detail {
    background: #fff;
    padding: 0 15px 50px;
}
.news-title {
    position: relative;
    margin: 0 -15px 35px;
    padding: 20px 20px 16px;
    letter-spacing: 2px;
    color: #333;
    font-size: 20px;
    border-bottom: 1px solid #ddd;
    line-height: 1.5;
    font-family: "Noto Serif TC", serif;
    font-weight: 600;
    text-align: center;
}
.news-title h1{
    display: inline-block;
    font-size: 18px;
    margin: 0;
}
.news-date small {
    color: #AAAAAA;
    position: absolute;
    left: 100%;
    top: 0;
    margin: 12px 0 0 15px;
}
/*------------ rwd ------------*/
@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 35px;
    }
}
@media screen and (max-width: 480px) {
    .news-title {
        padding: 85px 20px 20px;
    }
}
