/* ==================================
   2026 人生一翻賞｜少年故事專區
================================== */

/* ==================================
   展覽專屬 Header
================================== */

.expo-header {
    width: 100%;
    background: #214A96;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.expo-header-inner {
    max-width: 1140px;
    width: 92%;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.expo-home-link {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
}

.expo-home-link:hover {
    color: #EBC936 !important;
}

.expo-review-link {
    display: inline-block;
    border: 1.5px solid #EBC936;
    border-radius: 30px;
    padding: 10px 22px;
    color: #EBC936 !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.25s;
}

.expo-review-link:hover {
    background: #EBC936;
    color: #214A96 !important;
}

/* 手機版 Header */

@media (max-width: 767px) {

    .expo-header-inner {
        padding: 15px 0;
        gap: 8px;
    }

    .expo-home-link {
        font-size: 13px;
    }

    .expo-review-link {
        font-size: 13px;
        padding: 8px 12px;
    }

}

/* ==================================
   故事專區｜隱藏原官網 Header
================================== */



body {
    margin: 0 !important;
    padding-top: 0 !important;
}

.expo-stories {
    margin-top: 0 !important;
}

.expo-stories {
    --expo-blue: #214A96;
    --expo-yellow: #EBC936;
    --expo-cream: #F3ECD9;
    --expo-orange: #E95728;
    --expo-green: #2CB6A5;
    background: var(--expo-blue);
    color: #ffffff;
    font-family: inherit;
    padding-bottom: 60px;
}

.expo-stories * {
    box-sizing: border-box;
}

.expo-wrap {
    width: 92%;
    max-width: 1140px;
    margin: 0 auto;
}

/* 主視覺 */

.expo-hero {
    text-align: center;
    padding: 55px 20px 40px;
}

.expo-hero-label {
    color: var(--expo-yellow);
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.expo-hero h1 {
    color: var(--expo-yellow);
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.expo-hero h2 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.6;
}

.expo-hero p {
    color: #ffffff;
    max-width: 720px;
    margin: 25px auto;
    font-size: 17px;
    line-height: 2;
}

.expo-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 35px;
}

/* 少年選擇區 */

.expo-select-title {
    color: #ffffff;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0;
}

.expo-people {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 35px;
}

.expo-person {
    appearance: none;
    background: var(--expo-cream);
    border: 3px solid transparent;
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    color: var(--expo-blue);
    transition: .25s;
    font-family: inherit;
    width: 100%;
}

.expo-person img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.expo-person span {
    display: block;
    font-size: 19px;
    font-weight: 700;
    padding: 10px 0 4px;
}

.expo-person:hover {
    transform: translateY(-4px);
}

.expo-person.is-active {
    background: var(--expo-yellow);
    border-color: #ffffff;
}

/* 故事閱讀區 */

.expo-reader {
    background: var(--expo-cream);
    color: #333333;
    padding: 35px;
    border-radius: 15px;
}

.expo-reader-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.expo-reader-heading h2 {
    color: var(--expo-orange);
    font-size: 40px;
    font-weight: 800;
    margin: 0;
}

.expo-story-number {
    color: var(--expo-blue);
    font-size: 13px;
    letter-spacing: 2px;
}

/* 三段故事頁籤 */

.expo-chapters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.expo-chapter {
    appearance: none;
    border: 0;
    border-radius: 8px;
    background: #e4dcc8;
    color: var(--expo-blue);
    padding: 15px 8px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.expo-chapter small {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.expo-chapter.is-active {
    background: var(--expo-blue);
    color: #ffffff;
}

/* 故事內容 */

.expo-story-body {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: start;
    gap: 30px;
    min-height: 320px;
}

.expo-story-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.expo-story-text h3 {
    color: var(--expo-blue);
    font-size: 26px;
    line-height: 1.6;
    font-weight: 700;
    margin-bottom: 20px;
}

.expo-story-text p {
    font-size: 17px;
    line-height: 2;
    color: #333333;
    margin-bottom: 18px;
}

/* 章節切換 */

.expo-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #d5cbb5;
    padding-top: 25px;
    margin-top: 30px;
}

.expo-page-btn {
    appearance: none;
    background: var(--expo-blue);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.expo-page-btn:disabled {
    opacity: .3;
    cursor: default;
}

.expo-page-count {
    color: var(--expo-blue);
    font-weight: 700;
    font-size: 15px;
}

/* 延伸收聽 */

.expo-podcast {
    margin-top: 40px;
    padding: 35px 25px;
    background: var(--expo-yellow);
    color: var(--expo-blue);
    border-radius: 12px;
    text-align: center;
}

.expo-podcast h2 {
    color: var(--expo-blue);
    font-size: 27px;
    font-weight: 800;
}

.expo-podcast p {
    color: var(--expo-blue);
    line-height: 1.9;
    margin: 15px 0 25px;
}

/* 捐款支持 */

.expo-support {
    padding: 55px 20px 15px;
    text-align: center;
}

.expo-support h2 {
    color: var(--expo-yellow);
    font-size: 30px;
    font-weight: 800;
}

.expo-support p {
    color: #ffffff;
    line-height: 2;
    margin: 20px 0;
}

.expo-action-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--expo-blue);
    color: #ffffff !important;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 700;
    transition: .25s;
}

.expo-support .expo-action-btn {
    background: var(--expo-yellow);
    color: var(--expo-blue) !important;
}

.expo-action-btn:hover {
    opacity: .85;
}

/* 手機版 */

@media (max-width: 767px) {

    .expo-hero {
        padding: 30px 15px 25px;
    }

    .expo-hero h1 {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .expo-hero h2 {
        font-size: 21px;
    }

    .expo-hero p {
        font-size: 15px;
        line-height: 1.9;
    }

    .expo-people {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .expo-person {
        padding: 6px;
    }

    .expo-person span {
        font-size: 16px;
    }

    .expo-reader {
        padding: 20px 16px;
    }

    .expo-reader-heading h2 {
        font-size: 32px;
    }

    .expo-chapters {
        gap: 6px;
    }

    .expo-chapter {
        font-size: 15px;
        padding: 12px 4px;
    }

    .expo-chapter small {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .expo-story-body {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: 0;
    }

    .expo-story-text h3 {
        font-size: 22px;
    }

    .expo-story-text p {
        font-size: 16px;
        line-height: 1.9;
    }

    .expo-page-btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .expo-support h2 {
        font-size: 25px;
    }
}

/* 防止窄螢幕橫向溢出 */
.expo-page { font-family: system-ui, -apple-system, "Noto Sans TC", sans-serif; line-height: 1.8; background: #214A96; }
.expo-stories { overflow-wrap: anywhere; }
.expo-person, .expo-chapter, .expo-story-text { min-width: 0; }
.expo-reader-heading { gap: 10px; flex-wrap: wrap; }
.expo-banner, .expo-story-image { max-width: 100%; }
.expo-page-btn { min-height: 44px; }
@media (max-width: 767px) {
  .expo-hero h1 { font-size: clamp(32px, 10vw, 42px); line-height: 1.3; }
  .expo-hero-label { font-size: 13px; letter-spacing: 1px; }
  .expo-header-inner { flex-wrap: wrap; }
  .expo-story-body { grid-template-columns: minmax(0, 1fr); }
  .expo-story-number { font-size: 11px; letter-spacing: 1px; }
  .expo-page-btn { padding: 10px 9px; font-size: 13px; }
  .expo-pagination { gap: 5px; flex-wrap: wrap; }
  .expo-page-count { font-size: 13px; }
  .expo-action-btn { max-width: 100%; }
}

/* 2026 手機版：少年橫向滑動選單（不自動播放） */
.expo-carousel-controls { display: none; }
@media (max-width: 767px) {
  .expo-stories .expo-carousel-controls {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px; margin: 0 0 8px; color: #EBC936; font-size: 13px;
  }
  .expo-carousel-controls button {
    background: transparent; border: 1px solid #EBC936; color: #EBC936;
    border-radius: 50%; width: 44px; height: 44px; font-size: 26px;
    line-height: 1; cursor: pointer; flex: 0 0 44px;
  }
  .expo-stories .expo-people {
    display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch; margin: 0 0 20px; padding: 3px 0 8px;
    width: 100%; max-width: 100%;
  }
  .expo-stories .expo-person {
    flex: 0 0 calc((100% - 20px) / 3); width: auto;
    min-width: 0; scroll-snap-align: start; padding: 5px;
  }
  .expo-stories .expo-person span { font-size: 14px; padding: 6px 0 2px; }
  .expo-stories .expo-person:hover { transform: none; }
}

/* 2026 展覽導覽列：雙按鈕 */
.expo-stories .expo-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.expo-stories .expo-header-actions .expo-review-link {
    text-align: center;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .expo-stories .expo-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .expo-stories .expo-header-actions {
        width: 100%;
        gap: 8px;
    }
    .expo-stories .expo-header-actions .expo-review-link {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 4px;
        font-size: 13px;
    }
}
