﻿.index-news-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #fafafa;
    box-sizing: border-box;
    border-bottom: 2px solid #eee;
    z-index: 2;
}
.index-news-all-box{
    width: 1820px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.index-news-title-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 50px 0;
    padding-bottom: 60px;
}
.index-news-title-box .index-super-title{
    padding: 26px 30px;
}
.index-news-info-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
}
.index-news-info{
    width: 260px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-right: 52px;
    outline: none;
    margin-bottom: 70px;
}
.index-news-info-img{
    width: 100%;
    height: 360px;
    display: block;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    transition: all .3s linear;
    box-sizing: border-box;
    border: 0px solid #ffc90c;
}
.index-news-info-headshot-mask{
    width: 100%;
    height: 100%;
    display: block;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+86&0+0,0.6+87 */
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.59) 86%, rgba(0,0,0,0.6) 87%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.59) 86%,rgba(0,0,0,0.6) 87%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.59) 86%,rgba(0,0,0,0.6) 87%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#99000000',GradientType=0 ); /* IE6-9 */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.6;
    transition: all .3s linear;
}
.index-news-info-text-box{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 25px;
    display:         flex;
    display: -webkit-flex;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
}
.index-news-info-headshot{
    width: 80px;
    height: 80px;
    display: block;
    border-radius: 50%;
    border: 2px solid #ffc90c;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.index-news-info-name{
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 30px;
    color: #fff;
    font-family: 'Roboto';
    font-weight: 700;
}
.index-news-info-text-p{
    font-size: 16px;
    letter-spacing: 0.06em;
    line-height: 22px;
    color: #fff;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: 'Noto Sans TC';
    box-sizing: border-box;
}
.index-news-info::after{
    content: '';
    width: 100%;
    height: 4px;
    display: block;
    background-color: #ffc90c;
    position: absolute;
    bottom: -70px;
    left: 0;
    opacity: 0;
    transition: all .3s linear;
}



@media only screen and (max-width: 1820px){
    .index-news-all-box{
        width: 1620px;
    }
    .index-news-info{
        width: 245px;
        margin-right: 30px;
    }
    .index-news-info-img{
        height: calc((360 / 260) * 245px);
    }
}
@media only screen and (max-width: 1620px){
    .index-news-all-box{
        width: 1420px;
    }
    .index-news-info {
        margin-right: 49px;
    }
}
@media only screen and (max-width: 1420px){
    .index-news-all-box{
        width: 1200px;
    }
    .index-news-info {
        width: 224px;
        margin-right: 20px;
    }
    .index-news-info-img{
        height: calc((360 / 260) * 224px);
    }
}
@media only screen and (max-width: 1200px){
    .index-news-all-box{
        width: 1000px;
    }
    .index-news-info {
        width: 220px;
        margin-right: 40px;
    }
    .index-news-info-img{
        height: calc((360 / 260) * 220px);
    }
}
@media only screen and (max-width: 1000px){
    .index-news-all-box{
        width: 750px;
    }
    .index-news-info {
        width: 233px;
        margin-right: 25px;
    }
    .index-news-info-img{
        height: calc((360 / 260) * 233px);
    }
}
@media only screen and (max-width: 768px){
    .index-news-all-box{
        width: 550px;
    }
    .index-news-info {
        width: 300px;
        margin-right: 15px;
        margin-bottom: 40px;
    }
    .index-news-info-img{
        height: calc((360 / 260) * 300px);
        border-radius: 10px;
    }
    .index-news-info-text-box{
        padding: 15px;
    }
    .index-news-info-headshot{
        width: 60px;
        height: 60px;
    }
    .index-news-title-box{
        padding: 30px 0;
    }
}
@media only screen and (max-width: 550px){
    .index-news-all-box{
        width: 95vw;
    }
    .index-news-title-box{
        padding: 20px 0;
    }
    .index-news-title-box .index-super-title{
        padding: 11px 15px;
    }
    .index-news-info{
        width: calc(95vw - 60px);
        margin-right: 10px;
    }
    .index-news-info-img{
        height: calc((360 / 260) * (95vw - 60px));
    }
}





@media only screen and (min-width: 769px){
    .index-news-info:hover .index-news-info-img{
        border-width: 4px;
    }
    .index-news-info:hover .main-bg{
        transform: scale(1.1);
    }

    .index-news-info-box{
        opacity: 0;
    }
    .index-news-title-box.anima .index-super-title{
        animation: indexSuperScale 1s ease 0s 1 both;
    }
    .index-news-info-box.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
}