.site-footer{
margin-top: var(--section-gap);
}
.banner-img-box{
height: unset;
aspect-ratio: 536 / 240;
}
.new-sec {
padding: 0 var(--pad-space) 0 var(--pad-space);
padding-top: 0px;
}
.new_content {
width: 100%;
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr;
grid-gap: 30px;
}
.new_content>div {
background-color: #E8E8E8;
display: grid;
grid-template-columns: 1fr 536px;
border-radius: var(--box-radius);
}
.new_content>div>div:first-child {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 45px;
}
.new_content_detail {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.new_content_btn {
display: grid;
grid-template-columns: auto auto auto 1fr;
align-items: flex-end;
grid-gap: 5%;
}
.mobile_share{
grid-template-columns: auto 1fr;
}
.share-button{
background: transparent !important;
border: unset !important;
outline: unset !important;
padding: 0px;
display: flex;
align-items: center;
gap: 10px;
}
.share-button svg{
height: 20px;
}
.new_content_btn>div {
display: flex;
justify-content: flex-end;
align-items: flex-end;
}
.new_content_btn>div>a>img{
width: 45px;
}
.new_content_btn>a{
display: flex;
align-items: flex-end;
}
.new_content_btn>a>img{
height: 27px;
}
.share-more-box>img{
height: 27px;
}
.share-more-box{
position: relative;
}
.share-more-box,
.share-more-box>div{
cursor: pointer;
}
.share-more-box:hover >div,
.share-more-box>div:hover{
display:grid;
}
.share-more-box>div{
position: absolute;
width: 200px;
top: 100%;
left: 50%;
transform: translateX(-50%);
z-index: 3;
display:none;
padding-top: 6px;
}
.new_content_btn_top .share-more-box>div{
left:unset;
right: calc( 0px - var(--pad-space) - var(--pad-space));
transform: translateX(0%);
}
.share-more-box button{
padding: 0px;
display: grid;
grid-template-columns: 20px 1fr;
grid-gap: 20px;
align-items: center;
border: unset;
background: transparent !important;
outline: unset !important;
color: #707070 !important;
}
.share-more-box button span{
text-align: left;
}
.share-more-box>div>div>div{
display: grid;
grid-template-columns: 20px 1fr;
grid-gap: 20px;
align-items: center;
position: relative;
}
.share-more-box>div>div{
background: white;
padding: 20px;
border-radius: 20px;
grid-template-columns: 1fr;
grid-gap: 15px;
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
display: grid;
}
.share-more-box span{
font-family: var(--en-font) !important;
font-size: 15px !important;
font-weight: 500 !important;
line-height: 1em !important;
}
.share-more-box a{
display: grid;
grid-template-columns: 20px 1fr;
grid-gap: 20px;
align-items: center;
text-decoration: none !important;
color: #707070 !important;
}
.new-sec h4 {
font-family: "Noto Sans TC", sans-serif;
font-size: var(--global-h4-size);
font-weight: 400;
color: var(--main-color);
margin: 0;
}
.new_content h4 {
font-size: 25px;
font-weight: 500;
margin-bottom: 20px;
}
.new-sec p {
font-size: 15px;
width: 100%;
font-family: "Noto Sans TC", sans-serif;
font-weight: 500;
line-height: 2em;
margin: 0;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; 
overflow: hidden;
text-overflow: ellipsis;
}
.new-sec span {
font-size: 16px;
font-family: "Noto Sans TC", sans-serif;
font-weight: 400;
line-height: 2em;
margin: 0;
color: #707070;
}
.mobile_share span{
font-size: 14px;
}
.mobile_share img{
height: 15px;
}
.new_content>div>div:last-child {
border-radius: var(--box-radius);
overflow: hidden;
width: 100%;
height: 100%;
aspect-ratio: 536 / 304;
}
.new_content>div>div:last-child img {
object-fit: cover;
object-position: center;
width: 100%;
height: 100%;
display: block;
}
.banner-top-news{
position: absolute;
right: 0;
top: calc(100% - 145px);
background: white;
width: 50%;
padding: 60px 5vw 0px 5vw;
border-top-left-radius: var(--box-radius);
}
.banner-top-news>div{
width: 100%;
max-width: 500px;
}
.banner-top-news h5{
font-family: var(--ch-font);
font-size: var(--xd-22px);
font-weight: 700;
margin: 0;
color: var(--main-color);
margin-bottom: 45px;
}
.banner-top-news h6{
font-family: var(--ch-font);
font-size: 25px;
font-weight: 600;
margin: 0;
color: var(--main-color);
margin-bottom: 15px;
line-height: 1.4em;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;  
overflow: hidden;
text-overflow: ellipsis;
}
.banner-top-news p{
font-family: var(--ch-font);
font-size: var(--xd-19px);
font-weight: 400;
margin: 0;
color: #000000;
margin-bottom: 40px;
min-height: 45px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;  
overflow: hidden;
text-overflow: ellipsis;
}
.post-a-link{
font-family: var(--ch-font);
font-size: var(--xd-19px);
font-weight: 400;
margin: 0;
color: #000000;
margin-bottom: 0px;
text-decoration: underline;
display: block;
}
.banner-top-news a:hover,
.banner-top-news a:focus{
color: #000000;
}
.banner-top-news>div>div{
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.new_content_btn_top>a{
display: flex;
align-items: flex-end;
}
.new_content_btn_top{
grid-gap: 20px;
}
.mobile_share.new_content_btn_top span{
color: #707070 !important;
}
.new-cat-btn{
margin-top: 85px;
margin-bottom: 80px;
padding: 0 var(--pad-space);
}
.new-cat-btn>div{
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.new-cat-btn>div>div{
background: #E8E8E8;
max-width: 500px;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
align-items: center;
border-radius: 100px;
}
.new-cat-btn>div>div a{
font-family: var(--ch-font);
font-size: var(--xd-22px);
font-weight: 700;
margin: 0;
color: var(--main-color) !important;
margin-bottom: 0px;
display: block;
text-align: center;
padding: 20px 0;
text-decoration: unset;
}
.new-cat-btn>div>div a.active{
background: var(--main-color);
color:white !important;
border-radius: 100px;
}
.page-content .pagination{
display: flex;
justify-content: center;
padding: 0 var(--pad-space);
margin-top: 90px;
}
.pagination>div{
display: flex;
gap:30px;
align-items: center;
}
.pagination a,
.pagination span{
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--ch-font);
font-size: var(--xd-19px);
font-weight: 400;
text-decoration: unset !important;
color: black !important;
border-radius: 100%;
}
.pagination .next,
.pagination .prev{
border:1px solid #707070;
}
.pagination span{
background: #E8E8E8;
}
.no-post-data{
width: 100%;
max-width: 1200px;
padding: 0 var(--pad-space);
margin: 0 auto;
display: flex;
justify-content: center;
font-family: var(--ch-font);
font-size: 15px;
font-weight: 500;
}
@media only screen and (max-width: 1400px) {
.banner-img-box{
aspect-ratio: 536 / 304;
}
}
@media only screen and (max-width: 1300px) {
.banner-top-news{
padding: 60px 0 0px 5vw;
}
.banner-top-news>div{
max-width: unset;
}
.new-cat-btn{
margin-top: 95px;
}
}
@media only screen and (max-width: 1200px) {
.new_content_detail {
flex-direction: column-reverse;
gap: 10px;
padding-bottom: 40px;
}
}
@media only screen and (max-width: 1100px) {
.new-cat-btn>div>div a{
font-size: 15px;
}
.new-cat-btn>div>div{
max-width: 400px;
}
}
@media only screen and (max-width: 1024px) {
.new_content>div{
grid-template-columns: 1fr;
}
.new_content>div>div:first-child{
order: 2;
}
.banner-top-news{
width: calc(100% - var(--pad-space) - var(--pad-space));
left: var(--pad-space);
border-radius: var(--box-radius);
padding: 40px 40px 0 40px;
top: 100%;
transform: translateY(-70px);
}
.new-cat-btn {
margin-top: 265px;
margin-bottom: 60px;
}
.new-cat-btn>div>div{
max-width: 700px;
margin: 0 auto;
}
}
@media only screen and (max-width: 767px) {
.new_content>div>div:first-child{
padding: 35px;
}
.new-cat-btn>div>div a{
padding: 10px 0;
}
.banner-top-news{
padding: var(--pad-space);
padding-bottom: 0px;
}
.banner-top-news a img{
height: 20px;
}
.share-more-box>img{
height: 20px;
}
.banner-top-news h5{
margin-bottom: 15px;
}
.banner-top-news h6{
margin-bottom: 15px;
}
.banner-top-news p{
margin-bottom: 30px;
}
.new-cat-btn{
margin-top: 225px;
margin-bottom: 30px;
}
.page-content .pagination {
margin-top: 50px;
}
.pagination a, .pagination span{
width: 40px;
height: 40px;
}
.pagination>div{
gap:20px;
}
.pagination .next{
padding-left: 3px;
}
.pagination .prev{
padding-right: 2px;
}
}
@media only screen and (max-width: 600px) {
.new_content>div>div:first-child{
padding: 25px;
}
.new_content_btn{
grid-gap:20px;
}
.new_content_btn>a>img,
.share-more-box>img{
height: 20px;
}
.new_content h4{
margin-bottom: 10px;
}
.new_content_detail{
gap: 10px;
}
.new-sec span{
line-height: 1em;
}
.new-sec p{
line-height: 1.7em;
}
.new_content_detail{
padding-bottom: 25px;
}
.banner-top-news{
transform: translateY(-40px);
}
}