#news_wrapper{
    padding-bottom: 200px
}

.top-news{
    box-sizing: border-box;
}
.top-news h5{
    font-weight: bold;
}
.img-thum{
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.more{
    margin-top: 50px;
    text-align: center;
}
.more a{
    padding: 10px 50px;
    background: #fff;
    border-radius: 20px;
}

@media screen and (max-width: 799px){
    .top-news{
        margin-bottom: 20px;
    }
    .top-news a{
        display: block;
        padding: 20px;
        background: #fff;
        border-radius: 10px;}
    .top-news h5{
        font-size: 1rem;
        line-height: 1.25rem;
    }
    .day{padding-bottom: 10px;font-size: 0.85rem;}
    .img-thum img{display: none;}
}
@media screen and (min-width: 800px){
    
    #news_wrapper > div{
        display: flex;
        flex-wrap: wrap;
    }
    .img-thum{height: 180px;}

    .top-news{
        margin-right: 30px;
        margin-bottom: 30px;
        width: calc((800px - 60px) / 3);
    }
    .top-news:nth-of-type(3n){
        margin-right: 0;
    }
    .top-news p{padding-top: 8px;}
    .top-news h5{padding-top: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;}
    .img-thum{
        position: relative;
        height: 200px;
    }
    .img-thum::before{
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        content: "";
        background: rgba(0,0,0,.5);
        z-index: 5;
        transition: .8s;
    }
    .img-thum:hover::before{
        opacity: 0;
    }
    
    .img-thum img{
        width: 100%;
        transition: .5s;
    }
    .img-thum:hover img{
        transform:scale(1.05);
    }
}