@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  /* roboto-flex-regular - latin */
  src: url('../../../../../static/web/fonts/roboto-flex/roboto-flex.ttf'); /* IE9 Compat Modes */
  
}
.hidden{
    display: none;
}
#news .pb140{
    padding-bottom: 140px;
}
@media (max-width: 767.98px) {
    #news .containerBox{
        padding-bottom: 70px;
    }
}


@media (max-width: 767.98px) {
    #news .slogan-info .container .middle .h1 {
        font-size: 16px;
    }
}

.slogan-info.news .container .middle{
    height: 28vw !important;
    vertical-align: bottom!important;
    padding: 100px 0 80px 0!important;
}


.containerBox{
    padding: 0 110px;
}
.news-Post .containerBox{
    padding: 0 110px 0 127px;
}
.row.base-row, .row.news-post-row{
    margin: 0;

}

@media (max-width: 1199.98px) {
    .containerBox , .news-Post .containerBox{
        padding: 0 30px;
    }
}


.news-bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 1199.98px) {
    .news-bar{
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-direction: column;
    }

}

.news-bar .tabs{
    width: calc(100% - 340px);
    padding: 0;
    margin: 0;
}
@media (max-width: 1199.98px) {
    .news-bar .tabs{
        width: 100%;
        margin: 1rem 0;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

}
.news-bar .tabs>li{
        margin: 10px 32px;
}
@media (max-width: 1199.98px) {
    .news-bar .tabs>li{
            margin: 0;
    }
}
@media (max-width: 575.98px) {
    .news-bar .tabs>li{
        width: calc(50% - 5px);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

.news-bar>.tabs>li>a{
    color: #555!important;
    font-size: 16px!important;
    font-weight: 500;
}
.news-bar>.tabs>li>a:hover, .news-bar>.tabs>li.active>a{
    color: #D6000F!important;
}
@media (max-width: 991.98px) {
.news-bar>.tabs>li.active>a{
    color: #fff!important;
}
}
.news-form{
    max-width: 344px;
    position: relative;
    width: 100%;
}
.form-control-news{
    flex-shrink: 0;
    border: 1px solid #D9D9D9;
    background: #FAFAFA;
    width: 100%;
    height: 65px;
    padding-left: 40px;
    padding-right: 70px;

}
.form-control-news::placeholder{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.6px;
}

.search-button-box .icon-search {
    font-size: 20px;
    cursor: pointer;
}

.search-button-box button{
    background: transparent;
    border:0;
    position: absolute;
    top: calc((100% - 25px) / 2);
    right: 33px;
}

/* 列表**/
a.btn-absolute {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.news-title{
    border-bottom: 5px solid #F5F5F5;
    margin-top: 44px;
    margin-bottom: 35px;

}
.news-title h3{
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    position: relative;
    display: inline-block;
}
.news-title h3:after{
        content: '';
        border-bottom: 5px solid #D6000F;
        width: 120%;
        position: absolute;
        bottom: -14px;
        left: 0;
}

/**/
.box-flex{
    display: flex;
    flex-direction: column;
}
.gap20{
    gap:20px;
}
.gap33{
    gap:33px;
}



.news-content .box{
    width: calc((100% - 20px) / 2);
}
@media (max-width: 1440.98px) {
    .news-content .box{
        width: 100%;
    }
}
/**/
.news-content .list-newsimg .pic,
.news-content .list-news-row .pic,
.news-content .list-news .pic
{
    margin: 0;
}

.news-content .list-newsimg .pic:after  {
    padding-top: 58%;
    content: "";
    display: block;
    min-height: 416px;
}
@media (max-width: 575.98px) {
    .news-content .list-newsimg .pic:after  {
    min-height: auto;

    }

}
.news-content .list-news-row .pic:after ,
.news-content .list-news .pic:after ,
.index-news .list-news .pic:after{
    padding-top: 66.6%;
    content: "";
    display: block;
}
@media (max-width: 575.98px) {
    .news-content .list-news-row .pic:after ,
    .news-content .list-news .pic:after,
    .index-news .list-news .pic:after, {
        padding-top: 56.25%;
    }
}
/**/

.list-newsimg,
.list-news-row,
.list-news
{
    position: relative;

}


.list-news-row .title,
.list-news .title{
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; 

}


.list-newsimg .data,
.list-news-row .data,
.list-news .data{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 25.6px */
    letter-spacing: 0.32px;
}

.list-newsimg .class,
.list-news-row .class,
.list-news .class
{
    display: inline-flex;
    height: 35px;
    padding: 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 5px;
    background: #FFF;
    box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.20);
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.list-newsimg .text,
.list-news-row .text,
.list-news .text{
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    --tw-text-opacity: 1;
    text-align: justify;
    text-overflow: ellipsis;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    letter-spacing: 0.32px;
    word-break: break-all;
}
.list-newsimg .ul-tag ,
.list-news-row .ul-tag ,
.list-news .ul-tag ,
.news-post-ul-tag{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.list-news-row .ul-tag,
.list-news .ul-tag{
    border-top: 1px solid #EBEBEB;
    padding: 18px 10px 14px 10px;
    margin: auto -10px 0px -10px;
}
.list-newsimg .ul-tag li,
.list-news-row .ul-tag li,
.list-news .ul-tag li,
.news-post-ul-tag li{
    list-style-type: none;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    padding: 3.8px 9.1px;
    color: #555;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 20.8px */
    letter-spacing: 0.26px;

}
/**/

.list-newsimg{
    height: 100%;
    min-height: 416px;
}
@media (max-width: 575.98px) {
    .list-newsimg{
            flex-direction: column;
            gap: 10px;
            display: flex;
    }
}
.list-newsimg .pic {
    width: 100%;
    height: 100%;
}
@media (max-width: 575.98px) {
    .news-content .list-newsimg .pic {
        height: auto;
    }
}
.news-content .list-newsimg .pic:after {
    height: 100%;
    width: 100%;
    
}

@media (max-width:575.98px) {
    .news-content .list-newsimg .pic:after {
        height: auto;
    }
}

.list-newsimg .listBox{
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 0 70px 40px 38px;
}
@media (max-width: 575.98px) {
    .list-newsimg .listBox{
        position: static;
        padding: 0 15px;

    }
}
@media (max-width: 575.98px) {
    .list-newsimg  .class{
        position: absolute;
        left: 15px;
        top: 20px;
    }
}

.list-newsimg .title{
    color: #FFF;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

@media (max-width: 575.98px) {
    .list-newsimg  .title{
        color: #000;
    }
}
@media (max-width: 575.98px) {
    .list-newsimg .title{
        font-size: 24px;
    }
}
.list-newsimg  .text{
    color: #FFF;
}

@media (max-width: 767.98px) {
        .list-newsimg  .text{
        color: #777777
    }
}

.list-newsimg .data{
    display: none;
}

@media (max-width: 575.98px) {
    .list-newsimg .data{
        display: block;
    }
}

@media (max-width: 575.98px) {
    .list-newsimg .ul-tag{
        border-top: 1px solid #EBEBEB;
        padding: 18px 10px 14px 10px;
        margin-top: auto;
    }
}

/**/
.list-news-row{
    display: flex;
    flex-direction: row;
    gap: 25px;
    height: 100%;
  
}
@media (max-width: 575.98px) {
.list-news-row{
    flex-direction: column;
    gap: 10px;
    }
}
.list-news-row .listBox{
    width: calc(100% - 350px);
    display: flex;
    flex-direction: column;
    padding-top: 16px;
}

@media (max-width: 1440.98px) {
    .list-news-row .listBox{
        width: calc(100% - 300px);
    }
}
@media (max-width: 575.98px) {
    .list-news-row .listBox{
        width: 100%;
        padding: 0 15px;
    }
}
.list-news-row .pic{
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    max-width: 350px;
}

.news-content .list-news-row  .pic:after {
    height: 100%;
    width: 100%;
}
@media (max-width: 1440.98px) {
    .list-news-row .pic{
        max-width: 300px;
    }
}
@media (max-width: 575.98px) {
    .list-news-row .pic{
        width: 100%;
        max-width:100%
    }
}
.list-news-row .class{
    position: absolute;
    left: 15px;
    top: 20px;
}

/**/
.list-news{

}
@media (max-width: 575.98px) {
.list-news{
    display: flex;
    flex-direction: column;
    gap: 10px;
    }
}
.list-news.list4{
    width: calc((100% - 99px) / 4);
}

@media (max-width: 1440.98px) {
    .list-news.list4{
        width: calc((100% - 66px) / 3);
    }
}

@media (max-width: 991.98px) {
    .list-news.list4{
        width: calc((100% - 33px) / 2);
    }
}

@media (max-width: 575.98px) {
    .list-news.list4{
        width: 100%;
    }
}
.list-news .listBox{
    padding: 0 25px;
    margin-top: -30px;
}
@media (max-width: 575.98px) {
    .list-news .listBox{
        margin-top: 0;
        padding: 0 15px;

    }
}



@media (max-width: 575.98px) {
    .list-news .ul-tag{
        border-top: 1px solid #EBEBEB;
        padding: 18px 10px 14px 10px;
        margin-top: auto;
    }
}
@media (max-width: 575.98px) {
    .list-news  .class{
        position: absolute;
        left: 15px;
        top: 20px;
    }
}

#news .pagination{
    margin-top: 60px;
    justify-content: center;
    align-items: center;
    gap: 9px;
}



#news .page-item .page-link{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Roboto Flex";
    box-shadow: none;
    border: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #555;
}

#news .page-item.pre .page-link,
#news .page-item.next .page-link
{
    font-size: 10px;
}
.page-item.next
 {
    padding-left: 45px;
}
.page-item.pre.pagefirst{
    padding-right: 45px;
}
#news .page-item .page-link:hover{
    background: transparent;
    color: #D6000F;
}

#news .page-item  .page-link:focus{
    box-shadow: none;
}
#news .page-item.active .page-link{
    background: #D6000F;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border-color:#D6000F ;
    font-size: 18px;
    color: #fff;

}

#news .page-item.point .page-link{
    pointer-events: none;
}


/***************************************************************************/
.row.news-post-row{
    align-items: flex-start;
}
.news-Post{
    background: #F9F9F9;
    padding-top: 75px;
    margin-top: 60px;
}
@media (max-width: 767.98px) {
    .news-Post{
        margin-top: 0px;
    }
}

.news-post-row{
    gap: 10px;
    justify-content: space-between;
}
.news-PostTitle{
    display: flex;
    gap: 27px;
    align-items: center;
}
@media (max-width: 767.98px) {
    .news-PostTitle{
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
}


.news-PostTitle .class{
    display: inline-flex;
    height: 35px;
    padding: 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 5px;
    background: #FFF;
    box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.20);
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

}

.news-PostTitle .title{
    color: #000;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
@media (max-width: 767.98px) {
    .news-PostTitle .title{
        font-size: 24px;
    }

}
.news-Postsub{
    display: flex;
    justify-content: space-between;
    margin: 15px 0 35px 0 ;
    border-bottom: 5px solid #F5F5F5;
}
@media (max-width: 575.98px) {
    .news-Postsub{
        margin: 15px 0 65px 0;
        position: relative;
    }
}
.news-Postsub .data{
    position: relative;
    color: #555;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 25.6px */
    letter-spacing: 0.32px;
    padding: 15px 25px 15px 30px;
}

.news-Postsub .data:after{
        content: '';
        border-bottom: 5px solid #D6000F;
        width: 100%;
        position: absolute;
        bottom: -3px;
        left: 0;
}


.news-social{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

@media (max-width: 575.98px) {
    .news-Postsub .social_share{
        position: absolute;
        bottom: -57px;
    }
    .news-social{
        gap: 10px;
    }
}

.news-social .list-noround{
    color: #555;
    font-size: 18px;

}
.news-social .list-noround:hover{
    color: #D6000F;
}

.news-social .list{
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 40px;
    border: 1px solid #EBEBEB;
    background: #FFF;
    font-size: 18px;
    color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}
.news-social .list:hover{
    background: #D6000F;
    border: 1px solid #D6000F;
    color: #fff;
    transition: 0.3s;
}

.news-PostArticle{
    max-width: 1180px;
    width: calc(100% - 480px);
}
@media (max-width: 1440.98px) {
    .news-PostArticle{
        max-width: 1180px;
        width: calc(100% - 280px);
    }
}
@media (max-width: 1199.98px) {
    .news-PostArticle{
        max-width: 1180px;
        width:100%;
    }
}
.news-PostfastLink{
    margin-top: 34px;
    border-radius: 10px;
    border: 1px solid #F0F2F5;
    background: #FFF;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.10);
    padding: 27px 26px 35px 26px;
    margin-bottom: 79px;
}

.news-PostfastTitle{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 15px;
}

.news-PostArticleUl{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    padding: 0 20px;
}

.news-link{

}
.news-PostArticleUl li{
    list-style-type: none;
    position: relative;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    padding-bottom: 3px;
}
.news-PostArticleUl li:before{
    position: absolute;
    content: "";
    width: 2px;
    height: 2px;
    background: #000;
    left: -15px;
    top: 13px;
}
.news-PostArticleUl li a{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}
/*****************/

.news-article .title{
    color: #CC1717;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.news-article .text{
    color: #333;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%; /* 25.6px */
    letter-spacing: 0.32px;
}
.news-article.py38{
    padding: 0 50px  38px 13px;
}
@media (max-width: 991.98px) {
    .news-article.py38{
    padding: 0 13px  38px 13px;
}
}
.news-article .figure{
    margin: 0;
}
.news-article .figure .text{
    margin: 0 0  15px 0 ;
}
.base_ul{
    padding: 0 20px;
}
.base_ul li{
    list-style-type: decimal;
}
/********************/
.news-Post-menu{
    border-top: 1px solid #F0F2F5;
    border-bottom: 1px solid #F0F2F5;
    background: #FFF;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-Post-menu  .post_link {
  display: flex;
  align-items: center;
  position: absolute;
  gap:20px;
  max-width: 350px;
}

/* 第一個元素 */
.news-Post-menu  .post_link:first-child {
  left: 36px;
}

/* 第二、第三個元素 */
.news-Post-menu  .post_link:nth-child(2),
.news-Post-menu  .post_link:nth-child(3) {
  right: 45px;
}

/* 第二、第三個元素裡的 span 文字靠右 */
.news-Post-menu  .post_link:nth-child(2) > span,
.news-Post-menu  .post_link:nth-child(3) > span {
  text-align: right;
}

/* hover 效果 */
.news-Post-menu  .post_link:hover{
    text-decoration: none;
}
.news-Post-menu  .post_link:hover span {
  transition: all 0.3s ease;
  color: #D6000F;
}

.news-Post-menu  .post_link [class*='icon'] {
  transition: all 0.3s ease;
  color: #D6000F;
  font-size: 15px;
}
.news-menu .icon-news-main{
  transition: all 0.3s ease;
  transform: rotate(0deg);
  display: block;

}
.news-menu:hover .icon-news-main{
    transform: rotate(45deg);
    transition: all 0.3s ease;
}
.icon-news-main{
  color: #D6000F;
  font-size: 25px;
}

/* span */
.news-Post-menu  .post_link > span {
  display: none;
  color: #000;
}

/* 在 2xl（≥1536px）以上顯示 */
@media (min-width: 1536px) {
  .news-Post-menu  .post_link > span {
    display: block;
  }
}


/* 標題 */
.news-Post-menu  .post_link .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/******************/

.news-PostAside{
    max-width: 420px;
    display: block;
    border-radius: 10px;
    background: #FFF;
    padding: 28px 30px;
}

@media (max-width: 1440.98px) {
    .news-PostAside{
        max-width: 250px;
    }
}
@media (max-width: 1199.98px) {
    .news-PostAside{
        max-width: 100%;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;

    }
    .news-PostAside-title{
        width: 100%;
    }
    .news-PostAside .list-news{
        width: calc(34.5% - 20px);
    }
}

@media (max-width: 991.98px) {
    .news-PostAside .list-news{
        width: calc(49.5% - 10px);
    }
}
@media (max-width: 575.98px) {
 .news-PostAside .list-news{
        width: 100%;
    }
}
.news-PostAside-title{
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 35px;
}
.news-PostAside .list-news{
    padding-bottom: 30px;
}
.news-PostAside .list-news .listBox{
    margin-top: 15px;
    padding: 0;
}

.list-news .title{
    font-size: 20px;
}

.news-PostAside .list-news .pic:after{
       padding-top: 46.67%;
}


/*******/

.index-news {
    padding: 50px 0;
    margin-top: 30px;
    position: relative;
}
.index-news .container{
    position: relative;
    z-index: 2;
}
.index-news:after{
    position: absolute;
    bottom: 0px;
    background: rgba(0, 0, 0,0.4);
    height: 70%;
    width: 100%;
    left: 0;
    content: "";
    display: block;
    z-index: 0;

}
.index-news .slider{
    margin-bottom: 0;
}

.index-news .slick-slide {
    padding: 0 10px; /* slide 之間的間距 */
    text-align: left;
}

.index-news .listBox .title {
    color: #fff;
    text-align: left;
}

.index-news .data{
    color: #D6000F;

}
.index-news .ul-tag li{
    background: transparent;
    color: #fff;
}