body{
    margin:0;
    font-family: "Noto Sans TC", sans-serif;
    line-height:1.6;
    background-color:#FDFBF7; /* 與族語學習小棧相同的底色 */
}

a{
    text-decoration:none;
    color:inherit;
}

/* Header */
.site-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 40px;
    height:70px;
    background:white;
    box-shadow:0 2px 5px rgba(0,0,0,0.1);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo img{
    height:45px;
}

.nav a{
    margin-left:25px;
    font-weight:bold;
}

@media screen and (max-width:768px){

.site-header{
    flex-direction:column;
    height:auto;
    padding:20px;
}

.nav{
    margin-top:15px;
}

.nav a{
    margin:0 10px;
}

}

/* Banner */
@media screen and (max-width:768px){

section.banner{        /* 加上 section 提高優先權，避免被下方的 .banner 蓋掉 */
    height:250px;
    font-size:44px;       /* 原 24px，放大 20px */
    padding:0 16px;
}
}

.banner{
    height:400px;
      background:url('image-8ea7df7096dbf4472bab.webp') center/cover;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-family:"Huninn", "Noto Sans TC", sans-serif; /* 粉圓體（想換回霞鶩文楷：改成 "LXGW WenKai TC"，並換回 DEMO1.html 的字體連結） */
    font-size:52px;       /* 原 32px，放大 20px */
    font-weight:bold;
    letter-spacing:2px;
    text-align:center;
    text-shadow:0 2px 6px rgba(0,0,0,0.35); /* 讓白字在背景圖上更清楚 */
}


/* 起源故事 + 公告 */
@media screen and (max-width:768px){

.story-section{
    flex-direction:column;
}

}
.story-section{
    display:flex;
    padding:60px 10%;
    gap:50px;
}

.story, .announcement{
    flex:1;
}

.announcement{
    background:#f5f5f5;
    padding:20px;
    border-radius:10px;
}

/* 大會報告：類別標籤 + 內容 + 公告日期 */
.notice-list{
    list-style:none;
    margin:0;
    padding:0 10px 0 0;
    /* 滾動式：一次顯示兩則公告（實際高度由 DEMO1.html 的 fitNoticeList() 依前兩則計算） */
    position:relative;
    max-height:320px;
    overflow-y:auto;
    overscroll-behavior:contain;
    scroll-snap-type:y proximity;
    scrollbar-width:thin;
    scrollbar-color:#c9b28f transparent;
}

.notice-list::-webkit-scrollbar{ width:6px; }
.notice-list::-webkit-scrollbar-thumb{ background:#c9b28f; border-radius:3px; }
.notice-list::-webkit-scrollbar-track{ background:transparent; }

.notice-item{ scroll-snap-align:start; }

/* 還有更多公告時的提示 */
.notice-more{
    margin:8px 0 0;
    font-size:13px;
    color:#8c6d46;
    text-align:center;
}

.notice-item{
    padding:14px 0;
    border-bottom:1px dashed #d8cbb8;
}

.notice-item:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.notice-tag{
    display:inline-block;
    padding:2px 12px;
    border-radius:20px;
    font-size:14px;
    font-weight:bold;
    color:white;
}

.tag-platform{ background:#8c6d46; } /* 平台公告 */
.tag-learning{ background:#e67e22; } /* 學習資訊 */
.tag-event{    background:#27ae60; } /* 活動消息 */
.tag-team{     background:#2980b9; } /* 團隊消息 */

.notice-text{
    margin:8px 0 4px;
}

.notice-date{
    font-size:13px;
    color:#999;
}

/* 小資訊介紹 */
body{
    margin:0;
}

.info-section{
    max-width:1200px;
    margin:0 auto;
    padding:60px 20px;
}

.info-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}
@media screen and (max-width:768px){

.info-container{
    grid-template-columns:1fr;
}

}


.info-card{
    display:flex;
    gap:20px;
    align-items:flex-start;
    background:#f5f5f5;
    padding:20px;
    border-radius:15px;
}

.info-card img{
    width:150px;
    height:150px;
    object-fit:cover;
    border-radius:10px;
}

.section-title{
    text-align:center;
    margin-bottom:40px;
}

/* 最新消息 */
.news{
    padding:80px 8%;
    background:#FDFBF7;
}

.news-slider{
    margin-top:40px;
}

.news-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    margin:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.news-card:hover{
    transform:translateY(-8px);
}

.news-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.news-content{
    padding:20px;
}

.news-date{
    color:#999;
    font-size:14px;
}

.news-content h3{

    margin:10px 0;
    font-size:22px;
}

.news-content p{

    color:#666;
}


.slick-prev:before,
.slick-next:before{
    color:#444;
    font-size:30px;
}

.slick-dots li button:before{
    font-size:12px;
}

/* 開始學習 */
.start-learning{
    padding:60px 10%;
    text-align:center;
}

.learning-icons{
    display:flex;
    justify-content:center;
    gap:60px;
    margin-top:40px;
}

.learning-item{
    display:block;
    width:140px;          /* 三個按鈕等寬，確保中間的「語音互動遊戲」對齊網頁正中央 */
    flex:0 0 140px;
    text-align:center;
    cursor:pointer;
    text-decoration:none;
    color:inherit;
}

.learning-item img{
    width:90px;           /* 原 80px，放大 10px */
    transition:0.3s;
}

.learning-item img:hover{
    transform:scale(1.2);
}



/* 悄悄話 */
.whisper{
    padding:60px 10%;
    background:#FDFBF7;
}

.whisper form{
    max-width:500px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.whisper input,
.whisper textarea,
.whisper select{
    padding:10px;
}

.whisper button:disabled{
    opacity:0.6;
    cursor:wait;
}

.whisper-status{
    margin:0;
    text-align:center;
    font-weight:bold;
}

.whisper-status.success{
    color:#27ae60;
}

.whisper-status.error{
    color:#c0392b;
}

/* 影片區 */
.video-section{
    padding:60px 10%;
    text-align:center;
}

/* Footer */
footer{
    background:#222;
    color:white;
    text-align:center;
    padding:20px;
}

/* 平板 */

@media screen and (max-width:1024px){

.story-section{
    padding:50px 6%;
    gap:30px;
}

.news{
    padding:60px 5%;
}

}

/* 手機 */

@media screen and (max-width:768px){

img{
    max-width:100%;
}

.nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:6px 4px;
}

.story-section,
.start-learning,
.video-section,
.whisper{
    padding:40px 16px;
}

.info-section{
    padding:40px 16px;
}

.info-container{
    gap:20px;
}

.news{
    padding:40px 16px;
}

.news-card{
    margin:10px 6px;
}

.learning-icons{
    flex-wrap:wrap;
    gap:30px;
}

.video-section iframe{
    width:100% !important;
    height:56vw !important; /* 16:9 */
}

}

/* 小手機 */

@media screen and (max-width:480px){

.banner{
    height:200px;
    font-size:42px;       /* 原 22px，放大 20px */
    padding:0 16px;
    text-align:center;
}

.info-card{
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.info-card img{
    width:100%;
    height:180px;
}

.learning-icons{
    gap:20px;
}

.learning-item{
    width:100px;
    flex:0 0 100px;
}

.learning-item img{
    width:74px;           /* 原 64px，放大 10px */
}

.section-title{
    margin-bottom:24px;
}

}