* {
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important; /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

html,body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
}
html{
  touch-action: manipulation !important;
  -ms-touch-action: manipulation !important;
}
body{
  -webkit-overflow-scrolling: touch;  
    padding-top: env(safe-area-inset-top);     /* 替代 constant */
    padding-right: env(safe-area-inset-right); /* 替代 constant */
    padding-bottom: env(safe-area-inset-bottom); /* 替代 constant */
    padding-left: env(safe-area-inset-left);  /* 替代 constant */
    font-size: 1rem;
}
li{
    line-height: 1.5;
    margin-bottom: 10px;
}
a:hover{
    transition: all 0.3s ease;
    text-decoration: none !important;
}
/*  客戶想要加上*/
body, p, li{
font-size: 16px !important; /* 內文 18px */
line-height: 1.7 !important; /* 舒適閱讀行距 1.7 */
letter-spacing: 0.05rem !important;
color: #000 !important;
}
p {
margin-bottom: 1.4rem !important;
}
/* 2. 標題層級統一 */
h1 {
font-size: 38px !important;
line-height: 1.25 !important;
font-weight: 700 !important;
margin-bottom: 0.8rem !important;
}
h2 {
font-size: 30px !important;
line-height: 1.25 !important;
font-weight: 700 !important;
margin-bottom: 0.8rem !important;
}
h3 {
font-size: 22px !important;
line-height: 1.4 !important;
font-weight: 600 !important;
margin-bottom: 0.6rem !important;
}
h4 {
font-size: 18px !important;
line-height: 1.4 !important;
font-weight: 600 !important;
margin-bottom: 0.6rem !important;
}
.font-size28-80{
    --min-size: 28;
    --max-size: 80;
    --font-size: calc( (var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)) );
    font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
}
.font-size36-70,.page-header.page-header-modern h1.font-size36-70{
    --min-size: 36;
    --max-size: 70;
    --font-size: calc( (var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)) );
    font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
    letter-spacing: 1px;
    text-shadow:  0 0 5px rgab(0 0 0 /5%);
}
/*.overlay-color-light:before{
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, #fff0 0%, #faf9ed 100%) !important;
    z-index: -1;
}*/
#header .header-logo img{
   width: auto !important;
   height: 65px !important;
}
.main{
    padding-bottom: 0px !important;
}
footer{
    border:0;
}
.sticky-header-active #header.header-transparent .header-nav.header-nav-links.header-nav-light-text nav > ul > li > a,
.sticky-header-active #header .header-nav-features.header-nav-features-light .header-nav-top-icon{
    color:#444;
    letter-spacing: 1px;
}
#header.header-transparent .header-nav.header-nav-links.header-nav-light-text nav > ul > li > a{
    letter-spacing: 1px;
}
#header .header-nav-main.header-nav-main-font-alternative nav > ul > li > a{
    letter-spacing: 
}
.border-radius-4{
    border-radius: 2rem;
}
.page-header .text-set span{
    z-index: 2;
    display: inline-block;
}
.page-header.page-header-modern .page_title{
    position: relative;
    --min-size: 25;
    --max-size: 70;
    --font-size: calc( (var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)) );
    font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
    letter-spacing: 1px;
    line-height: 1;
    text-shadow:  0 0 5px rgab(0 0 0 /5%);
    color: var(--light);
    white-space: nowrap;
    z-index: 2;
}
.page-header.page-header-modern.page-header-background:not(.page-podcast):before{
    content:'';
    background-color: #aa751f;
    width: 100%;
    height: 100%;
    opacity: .15;
    /*border-radius: 0 0 0 200px;*/
    overflow: hidden;
    position: absolute;
    left:0;
    top:0;
    pointer-events: none;
}
.section-slogan{
    position: relative;
    /*background:linear-gradient(to bottom, #cf954f 40%, #ffffff00 100%) !important;*/
    background:transparent !important;
}
.page-podcast .container-xl,.page-podcast .row{
    height: 80%;
}
.page-header.page-podcast.page-header-modern h1.font-size36-70{
    -webkit-text-stroke-color: var(--light);
    -webkit-text-stroke-width: 1px;
    -webkit-text-fill-color: transparent;
    stroke-width: 2px;
    --min-size: 36;
    --max-size: 90;
    --font-size: calc( (var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)) );
    font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px) !important;
    letter-spacing: 1px;

}
.thumb-index .thumb-info-title,.thumb-info.thumb-index:hover .thumb-info-title{
    background: none;
}
.section-slogan .card-body:before{
    content: none;
    position: absolute;
    width: 130vw;
    aspect-ratio: 10 / 2;
    background: url(../img/podcast.svg) left / contain no-repeat;
    z-index: 2;
    left:calc((100% - 100vw) / 2);
    bottom: -60px;
    opacity: .5;
    pointer-events: none;
    transition: all 0.5s ease-in-out;

}
.sticky-header-active .section-slogan{
    transform: translateY(-8rem);
    transition: all 0.3s ease-in-out;
}
.section-slogan ~ section{
    margin-top: -6rem !important;
}
.section-slogan .card-body > * {
    position: relative;
    z-index: 3;
}
.page-podcast{
    height: 110vh;
}
.border-round{
    border-radius: 20px;
}
.overlay-color-light.no-skin:not(.page-podcast){
    border-radius:  0!important;
}
.custom-stroke-text-effect-1{
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--light);
    white-space: nowrap;
}
.breadcrumb-light{
    white-space: nowrap;
}
.breadcrumb{

    display: none !important;
}
.breadcrumb-light > li{
    font-size: 1.2rem;
    text-shadow: 0 0 25px #171717;
    font-weight: 600;
    mix-blend-mode: difference
}
.breadcrumb-dark > li{
    font-size: 1.2rem;
    font-weight: 600;
}
/* .breadcrumb-dark li:last-child,.breadcrumb-light li:last-child{
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
    overflow: clip;
} */
.page_title_area{
    height: calc((70vw - 15px) / 4 * 1.3);
    display: grid;
    align-content: center;
    gap: 10px;
}
.qaModal .btn-light{
    color: var(--default);
    background-color: #eeebeb;
    border:none;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 7px 25px;
}
.qaModal .btn-light:hover{
    background-color: var(--primary-rgba-20);
    color: var(--primary-200);
}
#news_list .thumb-info .thumb-info-wrapper,#podcast_list .thumb-info .thumb-info-wrapper{
    /*border-radius: 0 0 100px 0;*/
    margin-bottom: 10px;
    overflow: hidden;
}
#news_list .thumb-info .thumb-info-wrapper img{
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4 / 2.2;
}
#podcast_list .thumb-info .thumb-info-wrapper img{
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1/1;
}
#news_list .thumb-info-caption,#podcast_list .thumb-info-caption{
    transition: all 0.3s ease;
    padding: 10px 10px 15px;
}
[data-href],[data-url]{
    cursor: pointer;
}
#news_list [data-href],#podcast_list [data-href]{    
    display: block;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}
#news_list [data-href]:hover,#podcast_list [data-href]:hover{
    border-radius: 5px;
    /*background-color: #fff !important*/
}
.custom-thumb-info-title span,.news_date a{
    color: #333;
}
/*.news_date a:hover,.news_date ~ .title-2:hover,.news_date ~ a:hover .title-2, 
#news_list [data-href]:hover .title-2,#podcast_list [data-href]:hover .title-2 {
    color:var(--primary);
}*/
.custom-thumb-info-title .d-flex span{
    opacity: .7;
}
#news_list [data-href]:hover .custom-thumb-info-name {
    /*color:var(--primary-100);*/
}
#news_list [data-href]:hover .custom-arrow,.event_link:hover .custom-arrow,#podcast_list [data-href]:hover .custom-arrow{
    /*background-color: var(--primary);*/
    color:var(--primary-100);
}
.event_link:hover .custom-arrow i,#podcast_list [data-href]:hover .custom-arrow i{
    color:#fff;
} 
.thumb-info-caption{
    display: flex;
    align-items: center;
}
.custom-arrow{
    color: var(--primary);
    border-radius: 100px;
    display: inline-block;
}
.news-fitst .custom-arrow{
    margin-left: 10px;
}
.page-result.problematic-area .card {
    border-radius: 15px;
}
.page-result.problematic-area .card .img_cover{

    width: 85px;
    height: auto;
    background-color: var(--primary--200);
    padding: 20px;
    margin: 20px auto;
    border-radius: 100px;
    text-align: center;
}
#meals_form form label.error{
    color:#dc3545;
}
#meals_form_cover{
    aspect-ratio: 16 / 5;
    background: url(../img/meals-form-bg.png) #fff center / cover no-repeat;
    border-radius: 10px

}
.bg-gray-100{
    background-color: var(--bs-gray-100);
}
.gap-80{
    height: 80px;
}
.page-result.problematic-area .card .img_cover img{
    max-width: 100%;
    height: auto;
}
.page-result.problematic-area .card:hover .img_cover{
    background-color: var(--primary);
}
.problematic-area .card:hover:after{
    color: #e7b3ac;
}
.custom-arrow i{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    height: 100%;
    font-size: 11px;
    padding-left: 6px;
}
.title-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    line-height: 1.5;
    -webkit-box-orient: vertical;
}
.title-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    line-height: 1.5;
    -webkit-box-orient: vertical;
}
.title-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    line-height: 1.5;
    -webkit-box-orient: vertical;
}
.detail_page{
    padding: 0 !important;   
    background-color: transparent;
}
.detail_page img{
    width: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4 / 1.5;
    border-radius: 0 0 0 100px;
    overflow: hidden;

}
.detail_page .fluid-col-lg-6{
    min-height: auto !important;
}
.detail_page .fluid-col-lg-6 .fluid-col{
    width: calc(70vw - 15px)
}
.page-header.detail_page h1{
    color:#333;
}
.detail_page  .page_txt .breadcrumb li,
.detail_page  .page_txt .breadcrumb li a{
    color:#333;
    text-shadow: none;
}
.page-header.page-header-modern.page-header-lg.detail_page  .page_txt h1{
    position: relative;
    font-size: 2.5rem;
    letter-spacing: 2px;
    padding-bottom: 10px;
    line-height: 1.6;
    text-decoration: underline var(--primary);
    text-underline-offset: 9px;
    width: 40vw;
    padding: 1rem 1rem 1.5rem;
    margin: 20px auto;
    background: linear-gradient(115deg, #ffffff 0%, #ffffff54 100%);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    z-index: 1;
}
#article_contain,#podcast_contain{
    /*margin-top: -4rem;*/
    margin-bottom: 5rem;
    /*border-top: 1px solid #e2deb2;*/
    margin-top: 2rem;
}
#article_contain img{
    margin: 20px auto;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 15px;
}
#article_contain p,#article_contain,#podcast_contain,#article_contain > *,#podcast_contain  > *,#podcast_contain p{
    font-size: 1rem;
    line-height: 1.7;
}
#article_contain h6,#article_contain h5,#article_contain h4,#article_contain h3,#article_contain h2,.download-area p{
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    font-size: 22px !important;
}
#article_contain iframe{
    width: 100%;
    aspect-ratio:16/9;
}
.social_list{
    position: relative;
    list-style: none;
    padding-top: 40px;
    padding-left: 0;
}
.social_list:before{
    content:'Share';
    position: absolute;
    font-size: .8rem;
    color: var(--primary);
    left: 0;
    top:0;
    right: 0;
    text-align: center;
}
.social_list li{
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    text-align: center;
}
.social_list li a{
    display: flex;
    font-size: 1rem;
    background-color: #fff;
    border-radius: 50px;
    width: 40px;
    aspect-ratio:1/1;
    align-items: center;
    justify-content: center;
}
.social_list li a:hover{
    text-decoration: none;
}
#event_list .card{
    margin-bottom: 20px;
    border-radius: calc(8px + 1.5rem)
}
#event_list .card-body{
    padding: 1.5rem;
}
#event_list .card-title,.quiz-area .card-title,#lesson_plans .card-title,#article_list .card-title {
    color:#333;
}
.quiz-area .card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.quiz-area .card-title{
    min-height: 96px;
}
#event_list .card-title:hover,.quiz-area .card-title:hover,#lesson_plans .card-title:hover,#article_list .card-title:hover{
    color: var(--primary);
}
#index-team.accordion{
    counter-reset: custom-counter;
}
#index-team.accordion .card-header a{
    gap:20px;

}
#index-team.accordion .card-header a::before{
    color: #000;
    font-size: 1rem;
    content: counter(custom-counter);
    counter-increment: custom-counter;
}
#index-team  .card-title >h4,#index-team  .card-title  p {
    margin-bottom: 0 !important;
}
#index-team  .card-title img{
    width: 128px;
    border-radius: 200px;
    aspect-ratio:1/1;
}
#index-team  .card-body{
    padding-left: 13.5rem;
}

#index-team.accordion.accordion-modern-status > .card {
    margin-top: 0;
    border:none  !important;
    background-color: transparent;
    border-bottom:1px solid rgba(0, 0, 0, 0.085) !important;
}
.index-download img{
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    /*background-color: #f5f4f4;*/
    border:1px solid #eee;
}
.event_cover img{
    border-radius: 8px;
    aspect-ratio:2/3;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
#event_list .event_cover img{
    aspect-ratio:1/1;
}
.evnet_des{
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.evnet_txt {
    display: flex;
    align-items: center;
    width: 100%;
    /*color:var(--primary-200);*/
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    /*background-color: var(--primary-rgba-10);*/
    overflow: hidden;
}
.evnet_txt span{
    flex: 0 0 140px;
    display: flex;
    /*align-items: center;*/
    align-self: normal;
    justify-content: start;
    padding: 8px 15px;
    font-weight: 600;
    margin-right: 1rem;
    /*background-color: var(--primary-rgba-30);*/
    /*color: var(--primary-300);*/
}
#lesson_plans .evnet_txt span{
    flex: 0 0 100px;
    padding: 0px 5px;
}
#lesson_plans .col-xl-4{
    position: relative;
}
#lesson_plans .col-xl-4:before{
    content:'';
    position: absolute;
    left: calc(var(--bs-gutter-x) / 2);
    width: calc(100% - var(--bs-gutter-x));
    height: 100%;
    border:1px solid #ddd;
    z-index: 2;
    border-radius: 8px;
    pointer-events: none;
}
#lesson_plans .col-xl-4 .col-xl-12:nth-child(2){
    padding: 0 var(--bs-gutter-x);
}
.evnet_txt p{
    color:var(--primary-rgba-70);
    padding: 15px 0;
    margin-bottom: 0;
}
.event_link,.download_link{
    display: inline-flex;
    text-align: right;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 15px;
    border-radius: 25px;
    border: 1px solid var(--primary);
    padding: 2px 15px;
    align-items: center;
    float: right;
}
.search_page .event_link{
     float: none;
}
.search_page .card-body hr{
    background: #bfbfbf;
    opacity: .5;
}
.search_page .thumb-info img{
    aspect-ratio: 416 / 277;
    object-fit: cover;
}

span.download_link,span.download_link i{
    color: var(--primary);
}
.download_link:hover{
    color:#fff;
    background-color:var(--primary);
}
#download_list .col-xl-4 .download_link{
    pointer-events: none;
    opacity: 0;
}

#download_list .col-xl-4:hover .thumb-info-inner{
    border-radius: 25px;
    border:1px solid #fff;
    padding: 2px 15px;
    display: inline-block;
    margin: 0 auto;

}
#download_list .col-xl-4:hover .thumb-info-inner i{
    font-size: .6rem;
}
.event_link:hover,.download_link:hover i,span.download_link:hover{
    color:#fff;
    background-color: var(--primary);
}
.download_link:hover i{
    background-color:transparent;
}
.event_link:hover i,span.download_link:hover i{
    color:#fff;
}
.modal-header {
    border-bottom: none;
    align-items: start;
    background-color: rgb(249 234 231);
}
.modal-title{
    color: var(--primary-200);
    letter-spacing: 1px;
    font-size: 1.5rem;
    line-height: 1;
}
.modal-title small{
    opacity: .6;
    font-size: 14px;
    text-transform: uppercase;
}
#school_form{
    background-color: var(--primary);
    min-height: 50vh;
}
#school_form:before{
    content:'';
    position: absolute;
    border-radius: 2rem;
    background-image: url(../img/school.png);
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    mask: linear-gradient(to left, transparent 00%, rgb(146 134 118 / 90%) 15%);
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
#corporate_form{
    background-color: var(--primary);
    min-height: 50vh;
}
#corporate_form:before{
    content:'';
    position: absolute;
    border-radius: 2rem;
    background-image: url(../img/firm.png);
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    mask: linear-gradient(to left, transparent 00%, rgb(146 134 118 / 90%) 15%);
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
#school_form form,#corporate_form form{
    width: 50%;
    position: absolute;
    top: -27%;
    right: -15%;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0 0 0 / 10%);
}
#school_form form label,#corporate_form form label{
    color:#444;
}
.slogan{
    font-size: 2rem;
}
.member-wrap{
    margin: 1rem auto 5rem;
    border-radius: 10px;
    border:1px solid #eee;
    background-color: #fff;
}
.member_form{
    padding: 4rem 3rem;
}
.volunteer_box{
    position: relative;
    padding: 4rem 0;
    border-radius: 0 10px 10px 0;
    background-color: var(--primary-200);
}
.volunteer_box:before{
    content: '';
    position: absolute;
    border-radius: 0 0 10px 0;
    background-image: url(../img/member.png);
    background-position: bottom;
    background-size: 150%;
    background-repeat: no-repeat;
    mask: linear-gradient(to bottom, #00000000 30%, rgb(0 0 0) 100%);
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
.tag_list li{
    display: inline-block;
    margin: 0 0px 5px 5px;
}
.tag_list li a{
   display: inline-block;
   background-color: var(--primary-rgba-20);
   color:var(--primary-200);
   padding: 5px 16px;
   font-size: 1rem;
   border-radius: 20px;
}
blockquote.with-borders{
    position: relative;
    margin:4rem 0;
    border: 1px solid var(--primary-rgba-20);
    border-right: 0;
    border-left:0;
    color:var(--primary-300);
    /*font-style: italic;*/
    border-radius: 0px;
}
blockquote.with-borders i.fa-quote-left,blockquote.with-borders i.fa-quote-right{
    position: absolute;
    font-size: 2.3rem;
    color:var(--primary-rgba-20);
}
blockquote.with-borders i.fa-quote-left{
    top: -2rem;
    left: 0;
    background-color: #ffffff;
    padding: 10px;
}
blockquote.with-borders i.fa-quote-right{
    bottom: -2rem;
    right: 0;
    background-color: #ffffff;
    padding: 10px; 
}
.ai_qa{
    margin-top: 5rem;
}
.ai_qa ul{
    padding-left: 0;
}
.ai_qa ul li{
    list-style: none;
}
.ai_qa ul li a{
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    justify-content:space-between;
    margin-bottom: 13px;
}
.btn-secondary{
    border-color: var(--secondary);
}
.tags_filter{
    position: relative;
    padding-left: 10px;
    margin-bottom:5px;
}
.tags_filter li{
    display: inline-block;  
    margin-bottom: 5px;
}
.tags_filter li:not(:first-child) a,#tags .tags_filter li a,.btn-tagmore{ 
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 0 4px 4px;
    background-color: rgb(156 156 156 / 20%);
    border: 1px solid #efefef;
    color: #4f4f4f;
    font-size: .9rem;
    line-height: 1;
    transition: all 0.3s ease;
}
.tags_filter li:not(:first-child) a:hover,.tag_list li a:hover,.tags_filter li a.active,
#tags .tags_filter li a:hover,#tags .tags_filter li a.active,.btn-tagmore:hover{
    background-color: var(--primary-rgba-20);
    color: var(--primary-300);
    border: 1px solid var(--primary-rgba-30);

}
#tags .card{
    padding: .5rem 1rem;
    margin-bottom: 1rem;
}
.btn-tagmore{
    font-weight: 400;
}
.btn-tagmore[aria-expanded="true"] .fa-caret-up{
    transform: translateY(2px);
}
.card-glass {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}
.item_tags{
    display: block;
    padding: 0 10px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    line-height: 1.5;
    -webkit-box-orient: vertical;
}
.item_tags .tag,.btn-tag{
    display: inline-block;
    padding: 2px 8px;
    margin: 4px 4px 0 0;
    background-color: #eee;
    color: #444;
    line-height: 1;
    border-radius: 20px;
    border: 1px solid #ddd;
    font-size: 14px !important;
}
.btn-tag:hover{
    background-color: var(--primary-rgba-20);
    color: var(--primary-200);
    border: 1px solid var(--primary-rgba-30);
}
#news_list [data-href]:hover .item_tags .tag, #podcast_list [data-href]:hover .item_tags .tag{
   background-color: var(--primary-rgba-20);
    color: var(--primary-200);
    border: 1px solid var(--primary-rgba-30);
}
.news-fitst .thumb-info-caption
{
    height: 80%;
}
#related_list .thumb-info:hover h3{color:var(--primray);}
#related_list.row{
    --bs-gutter-x: 2.5rem;
}
#related_list .thumb-info .thumb-info-wrapper img{
    aspect-ratio:4/3;
    object-fit: cover;
    object-position: center;
}
#related_list .cate_name{
    position: relative;
    color:var(--primary);
    font-size: 1.1rem;
    display: block;
    margin-top: 8px;
}
#related_list .cate_name:after{
    content:'';
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 1px;
    top: 50%;
    margin-left: 8px;
    background-color: var(--primary);
}
#lesson_plans .download_cover img{
    aspect-ratio: 5 / 3;
    object-fit: cover;
    border: 1px solid #eee;
    display: inline-block;
    margin-bottom: 10px;
}
#download_list #lesson_plans .download_cover img{
    aspect-ratio: 5 / 3.5; 
}
#lesson_plans .card{
    height: 100%;
}
ul.side_menu{
    margin-top: 1rem;  
    list-style: none;
    background: linear-gradien t(109deg, rgb(252 252 252) 0%, rgb(249 246 241) 100%);
    padding: 20px;
    border-radius: 0 0 80px 0;
}
ul.side_menu li{
    width: 100%;
    display: block;
}
ul.side_menu li a.nav-link{
    position: relative;
    font-weight: 600;
    color: #84796e;
    padding: 5px 14px 20px 2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
ul.side_menu li a.nav-link:before{
    content: "\f054";
    font-size: 1rem;
    font-family: 'Font Awesome 6 Free';
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 7px;
    left: 7px;
    opacity:.6;
}
ul.side_menu li a.nav-link{
    color:#84796e;
}
ul.side_menu li a.nav-link.active,ul.side_menu li a.nav-link:hover,
ul.side_menu li a.nav-link:hover:before{
    color: var(--primary);
}
ul.side_menu li.active a.nav-link {
    color: var(--primary);
}
#section1 img{
    border-radius: 16px;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 10px;
}
.page-line{
    top: min(16.40625vw, 0px);
    left: min(8.4375vw, 10px);
    width: min(.625vw, 8px);
    height: min(369.765625vw, 100%);
    position: relative;
    overflow: hidden;
    background-color: #0000001a;
}
.event-list{
    counter-reset: custom-counter;
}
.event-item{
    position: relative;
    transform: translateX(-20px);
    margin-bottom: 2.5rem;
}
.event-item .col-lg-9:before{
    position: absolute;
    font-weight: 700;    
    font-size: 1.3rem;
    line-height: 1.5;
    color:var(--primary);
    opacity: .4;
    content: counter(custom-counter, decimal-leading-zero);;
    counter-increment: custom-counter;
}
.event-item .event-title{
    color:var(--primary);
    line-height: 1.5;
}
.event-item p.event-title{
    padding-left: 2.4rem;
}

.event-item img,.item_m img{
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}
.page-line-active{
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}
.timeline-content {
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  border-left: 4px solid #FF8C00;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}
.history {
  position: relative;
  display: flex;
  gap: 40px;
  /*padding: 100px 0;*/
}

/* 左側線條 */
.line-wrap {
  position: relative;
  width: 8px;
  flex: 0 0 8px;
  overflow: hidden;
}

/* 灰色底線 */
.page-line {
  position: absolute;
  left: 3px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #ddd;
}

/* 滾動中會成長的線 */
.page-line-active {
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 400px;
  background: var(--primary);
  transition: all 0.3s ease-out;
}
#history_list .line-wrap{
    position: absolute;
    left: calc(50% + 20px);
    top: 0;
    height: 100%;
}
#history_list .row  .col-sm-6:nth-child(odd) .item_m{
    /*margin-right: 2rem;*/
    margin-left: 0rem;
}
#history_list .row  .col-sm-6:nth-child(even) .item_m{
    margin-top: 9rem;
    margin-left: 3rem;
}
#history_list .item_m{
    position: relative;
    border-left: 0;
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    height: auto;
}
#history_list .item_m h5{
    position: relative;
}
#history_list .item_m h5:before{
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background-color: var(--primary);
    top: 30%;
    right: -4.7rem;
}
#history_list .row  > .col-sm-6:nth-child(even) .item_m h5:before{
     left: -4.7rem;
}
#history_list .item_year{
    position: relative;
    text-align: center;
    color:var(--primary);
    transform: translateX(2rem);
    z-index: 2;
}
[id^=section]{
    padding-bottom: 50px;
    padding-top: 50px;

}

/* 右側內容 */
.items {
  display: flex;
  flex-direction: column;
  gap:25px;
}

.item_m {
  font-size: 24px;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.item_m.active {
  opacity: 1;
  /*font-weight: 700;*/
}
.item_year{
    margin: 1rem 0 ;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    color:var(--primary-rgba-40);
}
.item_m{
    padding: .5rem 1rem .5rem 0;
    height: 100%;
    /*border-left:.1rem solid var(--primary-rgba-30);*/
}
.item_m.event-item{
    border-left: 0;
}
.item_m .event-title{
    color:var(--primary);
    font-size: 1.5rem;
    letter-spacing: 1.5px;
    font-weight: 700;
}
.event-title ~ p,.event-title + div,.event-title + span{
    font-size: 1.1rem !important;
    line-height: 2 !important;
}
.item_m h5{
    line-height: 1.6;
    letter-spacing: 1.5px;
    font-size: 1.3rem;
    color:#444;

}
.wh_time .col-sm-6{
    margin-bottom: 50px;
}
#article_list .article_cover{
    margin: 0 1rem;
    flex: 0 0 25%;
    display: flex;
    align-items: start;
}
#article_list .article_cover img{
    border-radius: 16px;
    overflow: hidden;
}
.article_item{
    position: relative;
    padding: 1rem;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px;
}
#article_list .article_item > .d-md-flex{
    align-items: stretch;
    min-height: 155px;
}
#article_list .article_content{
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
#article_list .article_content .card-title{
    margin-top: 0;
}
#article_list .article_content p.title-2{
    min-height: 3.2em;
    margin-bottom: 0.75rrem !important;
}
#article_list .article_content .item_tags{
    margin-top: auto;
}
#article_list .article_link{
    flex: 0 0 70px;
    align-content: center;
    background-color: var(--primary-rgba-10);
    border-radius: 10px;
    margin-left: 1rem;
}
#article_list .article_link .download_link{
    text-align: center;
    margin-top: 0;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-self: center;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border: 0;
}
#article_list .article_link:hover .download_link .custom-arrow{
    /*background-color: var(--primary--200);*/

}
#article_list .article_link:hover{
    background-color: var(--primary);
}
#article_list .article_link:hover .download_link,#article_list .article_link:hover .download_link i{
    color: #fff;
}
#article_list .article_link .download_link:is(button){
    width: 100%;
    background-color: transparent;
    color: var(--primary);
}
#article_list .article_link.disabled{
    opacity: .45;
    cursor: not-allowed;
}
#article_list .article_link.disabled:hover{
    background-color: var(--primary-rgba-10);
}
#article_list .article_link.disabled .download_link,
#article_list .article_link.disabled:hover .download_link,
#article_list .article_link.disabled:hover .download_link i{
    color: var(--primary);
    background-color: transparent;
    cursor: not-allowed;
}

textarea.form-control.article_data{
    min-height: 200px;
}
.preview-outter {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 15px;
    position: relative;
}
.preview-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/upload.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e9eaea;
}
.delupImg{
    position: absolute;
    background-color: #fff;
    border-radius: 20px;
    z-index: 2;
    width: 31px;
    height: 31px;
    right: -5px;
    top: 2.5rem;
    display: none;
}
.delupImg i{
    text-shadow: none;
    top: 0px;
    right: 0px;
    font-size: 30px;
    color: #848484;
}
.small_text{
    font-weight: 600;
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
}
.member_page .identity_check:checked+label.text-box{
    border: 2px solid var(--primary);
    background-color: var(--primary-rgba-20);
}
.modal{
    backdrop-filter: blur(16px);
}
#searchModal .btn-close{
    position: absolute;
    top:10px;
    right:10px;
}
#searchModal .modal-body{
    border-radius: 12px;
    position: relative;

}
#searchModal  .simple-search .form-control{
    border-radius: 15px 0 0 15px;
    border-color:#dedddd;
    font-size: 1rrem !important;
    height: 50px;

}
#searchModal .simple-search .btn{
    border-radius: 0 15px 15px 0;
    border-color:#dedddd;
}

#searchModal .page-result.problematic-area .card .img_cover{
    width: 80px;    
    background-color:var(--primary--200);
    margin: 10px auto;
}
#searchModal .page-result.problematic-area .card:hover{
    cursor: pointer; 
}
#searchModal .problematic-area .card:after,.page-result.problematic-area .card:after{
    content:none;
    right: 10px;
    top: -.8rem;
    color: var(--primary--200);
    font-size: 2.5rem;
    font-weight: 700;
}
#searchModal .page-result.problematic-area .card:hover .img_cover{
    background-color:var(--primary);
}
#searchModal .problematic-area .card:hover:after{
    color:var(--primary);
    opacity: .5;
}
.page-author:after{
    content: '';
    background-color: #39100687;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
}
.page-header.page-author.page-header-modern.page-header-background.page-header-background-md{
    padding: 80px 0;
    position: relative;
    z-index: 2;
}
.page-author .tags_filter li,.page-author .tags_filter li a{
    color:#fff !important;
}
.page-author .tags_filter li:not(:first-child) a,.page-author  #tags .tags_filter li a{
    background-color: rgb(255 255 255 / 34%);
    border: 1px solid #efefef63;
    font-weight: 700;
    color:#fff;
}
.page-author .page_title{
    --min-size: 25;
    --max-size: 45;
    --font-size: calc((var(--min-size) * 1px) + (var(--max-size) - var(--min-size)) * ((100cqw - 320px) / (1920 - 320)));
    font-size: clamp(var(--min-size) * 1px, var(--font-size), var(--max-size) * 1px);
    letter-spacing: 1px;
}
.page-author  .tags_filter li a.active,.page-author  .tags_filter li:hover a,
.page-author .btn-tagmore:hover{
    background-color: #fff;
    color: #444 !important;
    border: 1px solid #fff;
}
.page-author .btn-tagmore{
    color:#fff;
}
.page-author .card-glass{
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, .6);
}
#author_list .col-xl-3{
    margin-bottom: 25px;
}
#author_list .card{
    height: 100%;
}
#author_list .card-body{
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    padding-bottom: 70px;
}
#author_list .cover{
    width: 135px;
    margin: 15px auto;
    aspect-ratio:1/1;   
}
#author_list .s-title,.page-author .s-title{
    font-weight: 600;
    display: inline-block;
    font-size: 1rem;
    padding: 0px 15px;
    color: #fff;
    margin-bottom: 10px;
    background-color:#c82b0b;
}
#author_list .card-title{
    color:#444 !important;
    margin-bottom: 20px;
}
#author_list .download_link {
    display: block;
    font-size: 1rem;
    letter-spacing: 1px;
    position: absolute;
    bottom: 20px;
    right: 0;
    left: 0;
    text-align: center;
    margin: 0 auto;
    max-width: 150px;
}
#author_list .author-intro{
    margin-bottom: 0;
}
#author_list .card-title ~ p{
    margin-bottom: 50px;
}
.author_img{
    max-width: 200px;
    margin: 0 auto;
    display: ;
    /*transform: translateY(4.5rem);*/
}
.author_img img{
    width: 100%;
    aspect-ratio:1/1;
    border-radius: 15rem;
}
.author_des,.author_des  p,.author_des  span{
    color:#fff !important;
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
    font-weight: 500 !important;
}
.author_des > h2,.author_des > h3,.author_des > h4,.author_des > h5{
    color:#fff;
}
[class$="-content"]:not(.modal-content,.mfp-content) img{
    margin-bottom: 15px;
    margin: 0 auto 15px;
    display: block;
}
[class$="-content"]:not(.modal-content) > h2,[class$="-content"]:not(.modal-content) > h3{
    position: relative;
    /*color: var(--primary);*/
    display: block;
    /*padding-left: 30px;*/
    font-weight: 500;
    /*font-size: 1.6rem;*/
    /*letter-spacing: 1px;*/
    /*margin: 1.5rem 0;*/
    padding-right: 10px;
}
[class$="-content"]:not(.modal-content) > h5{
    line-height: 1.5;
}
/*[class$="-content"]:not(.modal-content)> h2:before,[class$="-content"]:not(.modal-content)> h3:before,
[class$="-content"]:not(.modal-content)> h3:before,[class$="-content"]:not(.modal-content)> h4:before {
    width: 6px;
    height: 100%;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 3px;
    background-color: var(--primary-200);
}*/
.list-view{
    background-color: #fff;
    border-radius: var(--bs-border-radius);
    padding: 1rem;   
}
.list-view li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 0 20px;
    border-bottom: 1px dashed #d6d4bf;
}
.list-view li:last-child{
    border-bottom: none;
}
.list-view .item_tags{
    padding: 0;
    margin-bottom: 0;
}
.list-view .item_tags .tag-line{
    position: relative;
    display: inline-block;
    margin-left: 8px;
}
.list-view .item_tags .tag-line:before{
    content:'# ';
    position: relative;
}
.list-view .custom-arrow{
    width: 30px;
    flex: 0 0 30px;
    background-color: #efefef;
    aspect-ratio: 1 / 1;
}
.list-view .custom-arrow i{
     padding-left: 0px;
     color:#444;
}
.list-view li:hover .custom-arrow{
    background-color:var(--primary);
}
.list-view li:hover .custom-arrow i{
    color:#fff;
}
.list-view li:hover h4{
    color:var(--primary);
}
.scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 820px;
}

.flow-svg {
    width: 100%;
    overflow: visible;
}

/* Cards 
.card-group {
    cursor: default;
    transition: filter 0.3s ease;
}
.card-group:hover {
    filter: drop-shadow(0 10px 24px rgba(45,90,39,0.28));
}
.card-group rect {
    transition: transform 0.3s ease;
}
.card-group:hover rect {
    transform: translateY(-5px);
}

/* Connector animation */
.dash-path {
    fill: none;
    stroke-dasharray: 7 5;
    animation: dashFlow 1.8s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -24; } }

.dot-ring {
    animation: ringPulse 2.2s ease-in-out infinite;
}
@keyframes ringPulse {
    0%,100% { r: 5; opacity: 0.2; }
    50%      { r: 9; opacity: 0; }
}

/* Card fade-up */
.card-group { opacity:0; animation: fadeUp 0.55s ease forwards; }
.c1 { animation-delay: 0.05s; }
.c2 { animation-delay: 0.18s; }
.c3 { animation-delay: 0.31s; }
.c4 { animation-delay: 0.44s; }
.c5 { animation-delay: 0.57s; }
@keyframes fadeUp {
    from { opacity:0; transform: translateY(18px); }
    to   { opacity:1; transform: translateY(0); }
}
.vision-content .fluid-col img{
    border-radius: 5px 0 0 100px;
}
.bg-mission{
    position: relative;
    background: url(../img/vision.png) center/cover no-repeat;
}
.bg-mission:before{
    content:'';
    position: absolute;
    background-color: #8f7345c4;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
}
.mission_item{
    padding: 1rem;
    background-color: #ffffffa8;
    border-radius: 10px;
    height: 100%;
    backdrop-filter: blur(20px);
    border: 1px solid #fff;
}
.mission_item h4{
    padding: 0 0 15px;
    border-bottom: 1px solid  var(--primary);
    margin-bottom: 25px;
    align-items: center;
    letter-spacing: 1px;
    color:  var(--primary);
}
.mission_item h4 .no {
    position: relative;
    font-size: 16px;
    letter-spacing: 0.12em;
    line-height: 1em;
    width: auto;
    text-align: center;
}
.mission_item h4 .no:before{
    content: "";
    display: block;
    position: absolute;
    right: -26px;
    top: 0;
    width: 1px;
    height: 100%;
    border-right: 1px dashed  var(--primary);
}
.mission_item h4 .no div{
    font-size: 50px;
    line-height: 1em;
    color: var(--primary);
}
.mission_title{
    padding-left: 55px;
}
.mission_item p,.mission_item ul li{
    font-size: 1.1rem;
    line-height: 1.5;
    letter-spacing: 1px;
    color:rgb(33, 37, 41);
}
.share_area img{
    aspect-ratio:1/1;
    object-fit: cover;
    object-position: center;
}
#group-block .button-container .toggle-button{
    padding-left: 5px;
}
#group-block .button-container .toggle-button i{
    display: inline-flex;
    font-weight: 600;
    width: 35px;
    aspect-ratio: 1 / 1;
    margin-right: 5px;
    padding: 6px;
    font-size: 1.20em;
    border-radius: 50px;
    background-color: var(--grey-900);
    color: #fff;
    align-items: center;
    justify-content: center;
}
#group-block .button-container .toggle-button span{
    text-align: center;
    flex-wrap: wrap;
}
#group-block .button-container .toggle-button:has(:checked) i{
    background-color: #ffffff;
    color: var(--primary);
}
.vision-album p{
    position: relative;
    margin-top: 5px;
}
.vision-album p:before{
    content: "\f0d8";
    display: inline-block;

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    font-size: 1rem;
    line-height: 1.5;

    margin-right: .5rem;


}
.stage{
    position: absolute;
    left: -20px;
    margin-top:-10px;
    display: inline-block;  
    padding: 2px 0.5em;
    height: 38px;
    line-height: 2;
    color: white;
}

.stage:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}

.stage:after {
     position: absolute;
    content: '';
    right: -38px;
    top: 0px;
    border: none;
    border-bottom: solid 38px transparent;
}
.stage.s1{
    background: #2e9da1;
}
.stage.s1:before{
  border-right: solid 20px rgb(28 110 113);
}
.stage.s1:after{
    border-left: solid 38px #2e9da1;    
}

.stage.s2{
    background: #5fa12e;
}
.stage.s2:before{
  border-right: solid 20px rgb(59 111 21);
}
.stage.s2:after{
    border-left: solid 38px #5fa12e;    
}
.stage.s3{
    background: #e26d57;
}
.stage.s3:before{
  border-right: solid 20px rgb(162 58 38);
}
.stage.s3:after{
    border-left: solid 38px #e26d57;    
}
.stage.s4{
    background: #626262;
}
.stage.s4:before{
  border-right: solid 20px #3c3c3c;
}
.stage.s4:after{
    border-left: solid 38px #626262;    
}

.tooltip-icon{
    cursor: pointer;
    color: #fff;
}
.tooltip-icon i{
    padding-left: 6px;
}
/* tooltip 本體 */
.custom-tooltip-box{
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    min-width: 300px;
    max-width: 400px;

    background: #222;
    color: #fff;

    font-size: 14px;
    line-height: 1.6;

    padding: 12px 14px;
    border-radius: 10px;

    opacity: 0;
    visibility: hidden;

    transition: .25s ease;

    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* 小箭頭 */
.custom-tooltip-box::after{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;

    transform: translateX(-50%);

    border-width: 6px;
    border-style: solid;

    border-color: #222 transparent transparent transparent;
}

/* hover 顯示 */
.tooltip-wrap:hover .custom-tooltip-box,
.tooltip-wrap:focus-within .custom-tooltip-box{
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.alert-primary{
    background-color: #e7ecf7;
    border-color: #a9bad4;
}
#all .city > path{
    fill:#C9CACA;
}
#all .city.red > path{
    fill:#ff7263;
    cursor:pointer;
}
#map_top .city_top.has-modal{
    cursor:pointer;
}

#map_top .city_top.has-modal:hover > path{
    fill:var(--primary);
}
.project-area .thumb-info.thumb-info-hide-info-hover:hover .thumb-info-wrapper:after{
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, var(--dark) 100%);
    opacity: 0.65;

}

.thumb-info.thumb-info-hide-info-hover:hover .thumb-info-title{
    opacity: 1;
    /*color:var(--primary);*/
}
#ai-modal .modal-dialog{
    --bs-modal-width: 550px;
}
.article-pagenav {
    display: flex;
    align-items: stretch;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin: 48px 0 32px;
  }

  .article-pagenav__item {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 8px;
    text-decoration: none;
    min-width: 0; /* 讓內部文字可以正常被截斷 */
    transition: background-color 0.2s ease;
  }

  .article-pagenav__item:hover {
    background-color: #fff7f6;
  }

  .article-pagenav__item--next {
    text-align: right;
    flex-direction: row-reverse;
    padding-left: 20px;
  }

  .article-pagenav__item--prev {
    padding-right: 20px;
  }

  .article-pagenav__item--disabled {
    pointer-events: none;
    opacity: 0.35;
  }

  /* 中間分隔線 */
  .article-pagenav__item--prev {
    /*border-right: 1px solid #e5e5e5;*/
  }

  .article-pagenav__arrow {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #eee;
    background-color: #eee;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .article-pagenav__item:hover .article-pagenav__arrow {
    background-color: #e72410;
    color: #fff;
  }

  .article-pagenav__text {
    min-width: 0;
  }

  .article-pagenav__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
  }
  .article-pagenav__item:hover .article-pagenav__label {
    color: var(--primary);
  }


  .article-pagenav__title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
  }

  .article-pagenav__item:hover .article-pagenav__title {
    color: #e72410;
  }

  /* 手機版：改成上下堆疊 */
  @media (max-width: 576px) {
    .article-pagenav {
      flex-direction: column;
    }
    .article-pagenav__item--prev {
      border-right: none;
      border-bottom: 1px solid #e5e5e5;
    }
    .article-pagenav__item--next {
      flex-direction: row;
      justify-content: flex-start;
      text-align: left;
      padding-left: 8px;
    }
    .article-pagenav__item--next .article-pagenav__arrow {
      order: 2;
    }
    .article-pagenav__item--next .article-pagenav__text {
      order: 1;
    }
  }
.mission .row:last-child{
    margin-bottom: 0 !important;
    padding: 0 !important;
}





/*
| ----------------------------------------------------
| responsive
| ----------------------------------------------------
*/
@media(max-width: 1550px){
    #school_form form, #corporate_form form{
        width: 45%;
        right: -8%;
    }
    .main{
        min-height: 90vh;
    }
    .detail_page .fluid-col-lg-6 .fluid-col{
        width: calc(75vw - 15px);
    }
    .page-header.page-header-modern.page-header-lg.detail_page .page_txt h1{
        width: 50vw;
    }
    .detail_page img{
        aspect-ratio: 4 / 2;
    }
}
@media (max-width: 1367px) {
    .section-slogan .card-body:before{
        width: 130vw;
        left:calc((100% - 130vw) / 2);
    }
    .page-podcast.page-header.page-header-modern.page-header-background.page-header-background-md{
        height: 45vh;
        background-position: top !important;
    }

    .sticky-header-active .section-slogan{
        transform: translateY(0rem);
    }
    .section-slogan{
        position: relative;
    }
    .section-slogan:before{
        content: '';
        height: 10vh;
        width: 100vw;
        background: linear-gradient(to top, #cf954f 0%, #ffffff00 100%) !important;
        display: block;
        top: -10vh;
        position: absolute;
    }
    .section-slogan ~ section{
        margin-top: 0 !important;
    }
}


@media (max-width: 1181px) {
    .page-header.page-header-modern.page-header-lg.detail_page .page_txt h1{
        width: 65vw;
        font-size:2rem;
    }
    #article_contain, #podcast_contain{
        margin-top: 2rem;
    }
    .index_deco_about_2{
        right: -80% !important;
    }
    .index_deco_about_2 img{
        width: 50%;
    }
    #header .header-nav-main nav > ul li a.active{
        background-color: var(--primary-rgba-20);
        color: #222;
    }
    .custom-thumb-info-title .d-flex span{
        font-size: .85rem;
        letter-spacing: 0
    }
    .page-podcast.page-header.page-header-modern.page-header-background.page-header-background-md{
        height: 40vh;
    }
    .section-slogan{
        margin-top: -5rrem !important;
    }
    .section-slogan .card-body:before{
        bottom: auto;
        top:-4rem;
    }
    .counters-tw{
        height: 90%;
    }
    .mission{
        gap:20px;
    }
     .custom-tooltip-box::after{
        left: 20%;
      }
    .custom-tooltip-box{
        left: 10%;
        transform: translateX(0%) translateY(10px)
    }
    .tooltip-wrap:hover .custom-tooltip-box, .tooltip-wrap:focus-within .custom-tooltip-box{
        transform: translateX(-0%) translateY(0);
    }
}


@media (max-width: 821px) {
    .page-header.page-header-modern.page-header-background.page-header-background-md{padding: 70px 0 100px;}
    .overlay-color-light.no-skin {border-radius: 0 0 0 100px;}
    .page-podcast.overlay-color-light.no-skin{
        border-radius: 0;
    }
    .overlay-color-light.no-skin:not(.page-podcast){
        border-radius: 0 0 0 100px;
    }
    .section-slogan .card-body:before{width: 200vw; left: calc((100% - 180vw) / 2);}
    .event_cover img{aspect-ratio: 2/1;}
    .history{gap: 0px; padding: 20px 0;}
    .volunteer_box{border-radius: 0 0 10px 10px; padding:0;}
    .volunteer_box:before{border-radius: 0 0 10px 10px;}
    .article_link .custom-arrow{flex: 0 0 30px;}
    #article_list .article_link{flex: 0 0 50px;}
    .page-header.page-header-modern.page-header-lg.detail_page .page_txt h1{background: #ffffffde;font-size: 1.7rem;margin-bottom: 0px;border-bottom: 0;border-radius: 10px 10px 0 0;}
    .detail_page .fluid-col-lg-6 .fluid-col{width: calc(85vw - 15px);}
    .breadcrumb.breadcrumb-light .active{
        opacity: .8;
    }
    .breadcrumb-light > li{
        font-size: 1rem;
    }
    .page-header .breadcrumb.breadcrumb-light:not(.text-lg-end){
        background: linear-gradient(74deg, #ffffff47 0%, #ffffff47 100%);
        border: 1px solid rgb(255 255 255 / 74%);
        border-radius: 0 0 10px 10px;
        backdrop-filter: blur(10px);
        padding: 15px 15px 0 15px;
        width: 65vw;
        border-top: 0;
        margin-top: -22px;
    }
    .page-header .breadcrumb.breadcrumb-light.text-lg-end{
        /*display: inline-block !important;*/
        backdrop-filter: blur(3px);
        padding: 15px 15px 0 15px;
        width: auto; 
    }
    .page-header .header-column.justify-content-end{
        flex-shrink: 0
    }
    .index_deco_about_2{
        right: -9% !important;
    }
    .index_deco_about_2 img{
        width: 80%;
    }
    #thinktank_list .thumb-info .thumb-info-inner{
        font-size: 1.2rem;
    }
    #thinktank_list .thumb-info.thumb-info-show-button-hover:hover .thumb-info-contact{
        max-height: 150px;
        overflow: auto;
    }
    #header .header-nav-main.header-nav-main-font-alternative nav > ul > li > a{
        font-size: 1.1rem;
        padding: 13px 8px;
    }
    #header .header-nav-main nav > ul li a{
        font-size: 1rem;
        padding: 13px 8px;
    }
    #header .header-nav-main nav{
        max-height: 80vh;
    }
    .page_title_area{
        height: auto;
        gap:0;
    }
    .custom-counters .counter{
        display: inline-flex;
        width: 45%;
        margin: 8px;
    }
    .counters strong{
        font-size: 35px;
    }
    .counters-tw{
        position: relative;
        margin-top: 3rem;
    }
    .tw-mask{
        aspect-ratio: 1 / 1.5;
    }
    .items.event-list{
        padding-left: 20px;
    }
}


/*iphone plus*/
@media (max-width: 430px) {
    #header .header-logo img{
        height: 48px !important; 
    }
    .navScrollbox{overflow-x: auto;margin-bottom: 1.5rem;}
    ul.side_menu{white-space: nowrap; display: flex; flex-wrap: nowrap; padding: 0;}
    ul.side_menu li a.nav-link{border: 1px solid #c6c6c6; padding: 10px 14px; margin: 0 10px 8px 0; border-radius: 8px; text-align: center;}
    ul.side_menu li a.nav-link:before{display: none;}
    .breadcrumb-light {white-space: inherit;}
    .breadcrumb-light > li{margin-bottom: 0;}
    #article_list .article_item > .d-md-flex{min-height: 0;}
    #article_list .article_content p.title-2{min-height: 0;}
    #article_list .article_link{margin-left: 0;}
    .article_link .custom-arrow{margin-left: 8px;}
    .social_list{display: flex; align-items: baseline;}
    .social_list:before{position: relative; margin-right: 1rem;}
    .social_list li{margin-right: 0.5rem;}
    .detail_page .fluid-col-lg-6 .fluid-col{width: 100vw; left: 0;margin-left: 0rem; position: relative;}
    .slogan{font-size: 1.6rem;}
    .page-header.page-header-modern.page-header-lg.detail_page .page_txt h1 {
        font-size: 1.4rem;
        margin-top: 20px;
        width: 100%;
        background: linear-gradient(115deg, #ffffff 0%, #ffffff54 100%);
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 10px;
        margin-bottom: 20px;
    }
    .page-header .breadcrumb.breadcrumb-light{
        background: none;
        border: 0;
        backdrop-filter:none;
        padding: 0  15px;
        width: 65vw;
        margin-top: 0px;
    }
    .page_title.text-primary{
        position: relative;  
        padding: 10px;
        opacity: 1 !important;
        margin-top: -12px;
    }
    .page_title.text-primary:before{
        content: attr(data-stroke);
        position: absolute;
        z-index: -1;
        -webkit-text-stroke: 6px #ffffffc4;
        text-stroke: 6px #ffffffc4;
    }
    .page_title:not(.text-primary):before{
        content: attr(data-stroke);
        position: absolute;
        z-index: -1;
        -webkit-text-stroke: 6px var(--primary-rgba-30);
        text-stroke: 6px var(--primary-rgba-30);
    }
    .member_form {
        padding: 2rem 1.5rem;
    }
    .index_deco_about_2{
        right: -73% !important;
    }
    .index_deco_about_2 img{
        width: 60%;
    }
    #thinktank_list .thumb-info.thumb-info-show-button-hover:hover .thumb-info-contact{
        max-height: 230px;
        overflow: auto;
    }
    ul.side_menu li a.nav-link.active, ul.side_menu li a.nav-link:hover, ul.side_menu li a.nav-link:hover:before{
        border-color: var(--primary);
        background-color: var(--primary-rgba-10);
    }
    .event-item .col-lg-9:before{
        font-size: 4rem;
        transform: translateY(-10px);
    }
    .event-item p.event-title{
        padding-left: 6.4rem;
    }
    .news-fitst{
        padding: 15px 0;
        background: #fff;
    }
    .news-fitst hr{display: none;}
    .news-fitst a.d-block{
        font-size: 1.1rem
        ;
    }
    .news-fitst .custom-arrow{
        width: 50px;
    }
    .page_txt{
        order:1 !important;
    }
    .page_txt ~ .fluid-col-lg-6{
        order:2 !important;
    }
    .page-header .breadcrumb.breadcrumb-light:not(.text-lg-end){
        margin-top: 0;
        white-space: nowrap;

    }
    .custom-counters .counter{
        width: 100%;
        display: flex;
    }
    .counters strong{
        font-size: 40px;
    }
    #history_list .line-wrap{
        position: relative;
        left: 0;
        height: auto;
    }
    #history_list .item_year{
        transform:translateX(0);
    }
    #history_list .row .col-sm-6:nth-child(odd) .item_m,#history_list .row .col-sm-6:nth-child(even) .item_m{
        margin-left: 1rem;
    }
    #history_list .row .col-sm-6:nth-child(even) .item_m{
        margin-top: 1rem;
    }
    #history_list .row > .col-sm-6:nth-child(even) .item_m h5:before,#history_list .row > .col-sm-6:nth-child(odd) .item_m h5:before{
        left: -3.5rem;
        width: 24px;
        height: 24px;
    }
    .stage{
        padding: 2px 0.5em 2px 20px;
    }
}


/*iphone: 7px*/
@media (max-width: 400px) {}



/*iphone 5*/
@media (max-width: 321px) {}


/*iPhone XR*/
@media only screen 
    and (device-width : 414px) 
    and (device-height : 896px) 
    and (-webkit-device-pixel-ratio : 2) { 



}

/*iPhone XS*/
@media only screen 
    and (device-width : 375px) 
    and (device-height : 812px) 
    and (-webkit-device-pixel-ratio : 3) { 

}

/*iPhone XS Max*/
@media only screen 
    and (device-width : 414px) 
    and (device-height : 896px) 
    and (-webkit-device-pixel-ratio : 3) { 


}
/*橫拿*/
@media screen and  (orientation:landscape) {}
/*縱拿*/
@media screen and (orientation:portrait) {}
/*設備寬高比*/
@media screen and (device-aspect-ratio: 16/9) {}

