html,
body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    position: relative;
    margin: 0;
    padding: 0;
    outline: none;
    font-family: "Noto Sans TC","Roboto","Roboto Flex",sans-serif;
    font-size: 18px;
    background-color: #FFF;
    transition: 0.3s;
}
p,
ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
    transition: 0.3s;
}
div {
    caret-color: transparent;
    transition: 0.3s;
}
a:link,
a:visited,
a:active {
    text-decoration: none;
}

a {
    transition: 0.3s;
    color: #000;
}

a:hover {
    transition: 0.3s;
    text-decoration: none;
}

a:hover .txt {
    transition: 0.3s;
    text-decoration: none;
}

img {
    width: 100%;
    height: auto;
    border: 0;
}

.img {
    position: relative;
    line-height: 0;
    overflow: hidden;
}

.img img {
    width: 100%;
    height: auto;
}

.title {
    font-weight: 700;
    color: #2C2384;
}

input::-ms-clear {
    display: none;
}

textarea,
text,
select,
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: 1px #ff9398 solid;
}

input:focus,
textarea:focus,
select:focus {
    outline: 0;
}

html::-webkit-scrollbar {
    width: 3px;
}

html::-webkit-scrollbar-track {
    margin: 0;
    background-color: #7c7c7c;
}

@media (max-width: 767px) {
    html {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    html::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
        display: none !important;
    }
    html::-webkit-scrollbar-track {
        background: transparent !important;
        border-radius: 0 !important;
        display: none !important;
    }
    html::-webkit-scrollbar-thumb {
        background: transparent !important;
        display: none !important;
    }
}

html, body {
    -webkit-overflow-scrolling: touch;
}

html::-webkit-scrollbar-thumb {
    background: #2C2384;
}

h1,
h2,
h3 {
    padding: 0;
    margin: 0;
}

.playIcon {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../images/play-icon.svg) center center no-repeat;
    background-size: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.playIcon.l {
    background-size: 60px;
}
.playIcon.s {
    background-size: 40px;
}
@media (max-width:767px) {
    .playIcon.l,.playIcon.s {
        background-size: 50px;
    }
}

.container {
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

/*外框*/
.frameBox {
    width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}
@media (max-width:1199px) {
    .frameBox {
        width: 100%;
        margin: 0 auto;
    }
}
/*外框*/

.empty {
    text-align: center;
    padding: 50px 15px;
}
.empty .txt {
    display: inline-block;
    color: #C0C0C0;
}
.empty .img {
    width: 240px;
    margin: 0 auto;
}

/* 廣告欄位 */
#upTop {
    display: none;
}
#upTop .adBox {
    background-color: #fff;
}
#upTop .adBox.insidePage.act {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 280px;
    overflow: hidden;
}
@media(max-width:767px) {
    #upTop {
        display: block;
    }
    header .headerBox.is-sticky #upTop {
        display: none;
    }
}
.adTxt {
    width: 100%;
    display: block;
    color: #999;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}
#news_pc_index_top,
#news_pc_other_index_list1,
#news_pc_index_d1,
#news_m_index_top,
#news_m_read_in2,
#news_m_index_in2,
#news_m_index_d1,
#news_m_index_bottom,
#news_pc_read_top,
#news_pc_read_d1,
#news_m_read_top,
#news_m_read_bottom
{
    width: max-content;
    margin: 0 auto;
}
#news_m_read_uptop_test,
#news_m_read_uptop
{
    width: 100%;
    margin: 0 auto;
}
.fixedBottomAd {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 3;
    display: none;
}
.fixedBottomAd .box {
    position: relative;
    width: 320px;
    line-height: 0;
    margin: 0 auto;
    background-color: #fff;
}
.fixedBottomAd .box .xx {
    width: 20px;
    position: absolute;
    top: 0;
    right: 0;
    aspect-ratio: 1/1;
    cursor: pointer;
    background-color: #fff;
}

/* 蓋版廣告 */
.overLayAd {
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 214748364712;
    top: auto;
    bottom: 0;
    display: none;
}
.overLayAd .box {
    margin: 0 auto;
    width: 100%;
    justify-content: center;
}
.overLayAd .adBox {
    position: relative;
}
.overLayAd .box .xx {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    aspect-ratio: 1/1;
    border-radius: 60px;
    z-index: 2;
}
.overLayAd .box .img {
    line-height: 0;
}
#news_m_index_popup .big,
#news_m_index_popup .small {
    display: none;
}
.overLayAd.hide {
    display: none;
}
.overLayAd.old {
    background-color: rgba(0, 0, 0, 0.75);
    height: 100vh;
    align-items: center;
    justify-content: center;
    bottom: auto;
    top: 0;
    display: none;
}
.overLayAd.old .box {
    width: max-content;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.overLayAd.old .box .xx {
    top: 0px;
    right: 0px;
}
@media (max-width: 359px) {
    .overLayAd.old,.overLayAd.old .box {
        width: 100%;
    }
}
iframe[name="goog_topics_frame"] {
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    display: none !important;
}
img:not(div img) {
    display: none;
}
div[id^=news_m_] iframe {
    width: revert-layer;
}
/* 蓋版廣告 ed*/

/* 高低設定 */
.height-90{ min-height: 90px; }
.height-100{ min-height: 100px; }
.height-250{ min-height: 250px; }
.height-480{ min-height: 480px; }

.pd-t8{ padding-top: 16px; }
.pd-t16{ padding-top: 16px; }
.pd-t40{ padding-top: 40px; }
.pd-t48{ padding-top: 48px; }
.pd-t80{ padding-top: 80px; }
.pd-t96{ padding-top: 96px; }
.pd-t120{ padding-top: 120px; }

.pd-b8{ padding-bottom: 16px; }
.pd-b16{ padding-bottom: 16px; }
.pd-b40{ padding-bottom: 40px; }
.pd-b80{ padding-bottom: 80px; }
.pd-b96{ padding-bottom: 96px; }
.pd-b120{ padding-bottom: 120px; }

.ad-pc {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.ad-mo {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width:1023px) {
    .ad-pc { display: none; }
    .ad-mo { display: flex; }
}
/* 高低設定 ed*/

/* 內頁廣告（TMADSDK 新版：article_banner / index_feed_2，單一 div 讓 SDK 依裝置自行決定版位尺寸） */
.adBoxArticleBanner {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 250px;
    padding: 0 0 16px;
}
.adBoxFeed2Read {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 250px;
    padding-top: 80px;
}
@media (max-width:1023px) {
    .adBoxFeed2Read.ad-pc{
        display: none;
    }
}
/* 內頁廣告 ed */

/* header */
header {
    transition: 0;
}
header .headerHeight {
    width: 100%;
    background-color: #fff;
    transition: none;
}
header .headerBox {
    background-color: #fff;
    width: 100%;
    position: relative;
}
header .headerBoxInner {
    width: 100%;
    position: relative;
    z-index: 11;
    top: 0;
    left: 0;
    background-color: #fff;
    border-bottom: 1px solid #F0F0F8;
}
header .headerBox .frameBox {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    width: 100%;
    max-width: 1440px;
}
header .logo {
    display: flex;
    align-items: center;
    column-gap: 12px;
}
header .logo img {
    width: 114px;
    height: auto;
}
header .logo .divider {
    width: 1px;
    height: 18px;
    background-color: #CCCCCC;
}
header .logo .eventName {
    font-size: 18px;
    font-weight: 700;
    color: #654CD7;
}
header .community {
    display: flex;
    align-items: center;
    column-gap: 10px;
}
header .kvImg {
    width: 100%;
    line-height: 0;
}
header nav .menuBtn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 32px;
    white-space: nowrap;
    overflow-x: auto;
}
header nav .menuBtn::-webkit-scrollbar,
header nav .menuBtn::-webkit-scrollbar-track,
header nav .menuBtn::-webkit-scrollbar-thumb {
    height: 0;
    background: transparent;
}
header nav a {
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: #958E85;
}
header nav a.act,
header nav a:hover {
    color: #000;
}
header nav .menuBtn a.is-invisible {
    visibility: hidden;
    pointer-events: none;
}
@media (max-width:1023px) {
    header .headerBox .frameBox {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 8px 20px;
        height: auto;
    }
    header .logo {
        order: 1;
    }
    header .community {
        order: 2;
        position: static;
    }
    header nav {
        order: 3;
        width: 100%;
    }
    header .logo .divider,
    header .logo .eventName {
        display: none;
    }
    header nav .menuBtn {
        padding: 8px 0 8px 0;
        column-gap: 20px;
        border-top: 1px solid #F0F0F8;
    }
}
/* header ed */

/* main */
main {
    width: 100%;
    min-height: 800px;
    padding: 80px 0;
    overflow: hidden;
}
main section {
    margin-bottom: 120px;
}
main section:last-child {
    margin-bottom: 0px;
}
main .title {
    width: max-content;
    padding: 10px 0;
    margin: 0 auto;
}
main .title h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 135%;
    color: #2C2384;
}
@media (max-width:767px) {
    main {
        padding: 40px 0 80px;
    }
    main section {
        margin-bottom: 80px;
    }
    main .title {
        padding: 0;
    }
    main .title h2 {
        font-size: 26px;
    }
}
/* main ed */

/*footer*/
footer {
    width: 100%;
    min-height: 43px;
    background-color: #fff;
    border-top: 1px solid #DDDDDD;
    overflow: hidden;
    text-align: center;
    padding: 20px 0 !important;
    box-sizing: border-box;
}
footer small {
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
    display: inline-block;
    color: #929398;
}
.footerInner {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.footerInner .logo {
    width: 124px;
    height: auto;
}
.footerInner .community {
    display: flex;
    align-items: center;
    column-gap: 13px;
}
.footerInner .community a {
    width: 30px;
    aspect-ratio: 1/1;
}
.footerInner .community a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media (max-width:767px) {
    footer {
        padding: 20px 20px !important;
    }
}
/*footer ed*/

.moreBtn {
    padding: 40px 0 0;
    text-align: center;
}
.moreBtn a {
    font-family: "Noto Sans TC";
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
    width: max-content;
    margin: 0 auto;
    display: flex;
    padding: 12px 40px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 60px;
    background: #2C2384;
    color: #fff;
}
.moreBtn a:hover {
    background: #6A3EBB;
}
.moreBtn a img {
    width: 20px;
    aspect-ratio: 1/1;
}
@media (max-width:767px) {
    .moreBtn a {
        font-size: 16px;
        padding: 8px 24px;
    }
}

.noData {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.noData p {
    font-size: 16px;
    color: #999;
}
.noData img {
    width: 240px;
    height: auto;
    margin-bottom: 20px;
}

