/*
 * Event 115 / Boarding to Future
 * Palette sampled from 1_待機畫面.svg and 4_題3.svg.
 * Loaded only by the Event 115 landing template, after its legacy styles.
 */
body:has(.event-115-wrapper) {
    --e115-ink: #233e3d;
    --e115-forest: #1b431a;
    --e115-charcoal: #3f3f3f;
    --e115-sky: #8cb6cd;
    --e115-mint: #bef4e2;
    --e115-paper: #f4faf7;
    --e115-orange: #ff7900;
    --e115-muted: #4c6975;
    background: var(--e115-paper) !important;
    color: var(--e115-ink);
}
.event-115-wrapper {
    --e-global-color-primary: #427075;
    --e-global-color-secondary: #233e3d;
    --e-global-color-text: #233e3d;
    --e-global-color-accent: #ff7900;
    --e-global-color-09ce0ac: #e8f5f0;
    --e-global-color-3694839: #bef4e2;
    --e-global-color-74b6172: #ff9843;
    --e-global-color-305cc9f: #8cb6cd;
    --e-global-color-d33ca7d: #1b431a;
    color: var(--e115-ink);
    font-family: "Noto Sans TC", sans-serif;
}
.event-115-subnav {
    background: var(--e115-charcoal);
    border-bottom: 3px solid var(--e115-orange);
    box-shadow: 0 4px 18px #233e3d12;
}
.event-115-subnav ul { gap: 4px; }
.event-115-subnav ul li :is(a, button) {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    letter-spacing: .035em;
    min-height: 52px;
}
.event-115-subnav ul li a:hover,
.event-115-subnav ul li a:focus-visible {
    background: #ffffff12;
    color: #ffb877;
}
.event-115-subnav .e115-download-pending { color: #cacfcf; opacity: 1; }
body:has(.event-115-wrapper) :is(a, button):focus-visible,
.event-115-subnav :is(a, button):focus-visible {
    outline: 3px solid #427075;
    outline-offset: 5px;
}
.event-115-subnav a:focus-visible { outline-color: #ffb877; outline-offset: -5px; }
body:has(.event-115-wrapper) .elementor-element-53017a5 {
    background: #233e3d !important;
}

/* A quiet atmospheric field connects the film, numbers and livestream. */
body:has(.event-115-wrapper) #dream-highlights {
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, #dbeaf0 0, #edf6f3 640px, #f4faf7 1200px);
    padding: clamp(56px, 6vw, 96px) 24px 88px;
    --padding-block-start: 0;
    --padding-block-end: 0;
}
body:has(.event-115-wrapper) #dream-highlights::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 520px;
    background: url("./contours.svg") center / cover;
    opacity: .36;
    pointer-events: none;
    z-index: -1;
}
body:has(.event-115-wrapper) #dream-highlights > .e-con-inner { padding: 0; }
body:has(.event-115-wrapper) .elementor-element-629b3f7 .elementor-heading-title {
    color: var(--e115-ink) !important;
    font-family: "Noto Sans TC", sans-serif !important;
    font-size: clamp(32px, 4.5vw, 62px) !important;
    font-weight: 800 !important;
    letter-spacing: .035em;
    line-height: 1.3;
}
body:has(.event-115-wrapper) .elementor-element-73f0d21 { margin-top: 20px; }
body:has(.event-115-wrapper) .elementor-element-73f0d21 .elementor-counter-number-wrapper {
    color: var(--e115-forest) !important;
    font-family: "Roboto Condensed", "Noto Sans TC", sans-serif !important;
    font-weight: 500 !important;
    font-size: clamp(46px, 5.7vw, 80px) !important;
    letter-spacing: -.035em;
    font-variant-numeric: tabular-nums;
}
body:has(.event-115-wrapper) .elementor-counter-number-suffix {
    color: #427075;
    font-size: .55em;
    align-self: center;
    padding-left: 5px;
}
body:has(.event-115-wrapper) .elementor-element-73f0d21 .elementor-counter-title {
    color: var(--e115-muted) !important;
    font-family: "Noto Sans TC", sans-serif !important;
    font-weight: 500;
    letter-spacing: .06em;
}
body:has(.event-115-wrapper) .counter-link-wrapper { border-right: 1px solid #42707530; }
body:has(.event-115-wrapper) .counter-link-wrapper:last-child { border-right: 0; }
body:has(.event-115-wrapper) .stats-cta-btn {
    display: inline-block;
    background: var(--e115-ink);
    border: 1px solid var(--e115-ink);
    border-radius: 999px;
    color: var(--e115-paper) !important;
    padding: 13px 26px;
    font-weight: 600;
    text-decoration: none;
}
body:has(.event-115-wrapper) .stats-cta-btn:hover { background: #427075; }
body:has(.event-115-wrapper) .elementor-element-3ab9eb7 { margin-top: 64px; }
body:has(.event-115-wrapper) :is(.heading-title, .e115-schedule-title, .e115-placeholder-inner h2) {
    font-family: "Noto Sans TC", sans-serif !important;
    font-size: clamp(30px, 4vw, 52px) !important;
    font-weight: 800 !important;
    color: var(--e115-ink) !important;
    letter-spacing: .035em;
    line-height: 1.3;
}
body:has(.event-115-wrapper) .heading-sub-title {
    font-family: "Noto Sans TC", sans-serif !important;
    color: #427075 !important;
    font-weight: 500 !important;
    letter-spacing: .12em;
}
body:has(.event-115-wrapper) .e115-section-intro p {
    color: var(--e115-muted) !important;
    line-height: 1.9 !important;
}
body:has(.event-115-wrapper) .e115-livestream-comingsoon {
    position: relative;
    overflow: hidden;
    justify-content: flex-start;
    min-height: 320px;
    aspect-ratio: 2.35;
    background: #d9ece8;
    border: 1px solid #42707530;
    border-radius: 20px;
}
.e115-livestream-comingsoon__art {
    position: absolute;
    inset: 0 0 0 auto;
    width: 56%;
    height: 100%;
    object-fit: cover;
    object-position: center 68%;
    mask-image: linear-gradient(90deg, transparent, black 25%);
}
body:has(.event-115-wrapper) .e115-livestream-comingsoon__frame {
    position: relative;
    z-index: 1;
    text-align: left;
    width: 52%;
    padding: clamp(24px, 4vw, 48px);
    color: var(--e115-ink);
}
body:has(.event-115-wrapper) .e115-livestream-comingsoon__badge {
    font-family: "Roboto Condensed", sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.1;
}
body:has(.event-115-wrapper) .e115-livestream-comingsoon__badge::before {
    content: "";
    display: block;
    width: 36px;
    height: 5px;
    border-radius: 3px;
    margin-bottom: 20px;
    background: var(--e115-orange);
}
body:has(.event-115-wrapper) .e115-livestream-comingsoon__text {
    color: var(--e115-ink);
    line-height: 1.8;
    max-width: 15em;
}

/* Both schedules share one palette and clear selected/focus states. */
body:has(.event-115-wrapper) #interactive-signup {
    background: #e0efeb;
    padding: 80px 24px;
    border-block: 1px solid #42707525;
}
body:has(.event-115-wrapper) .e115-schedule-tabs { gap: 10px; }
body:has(.event-115-wrapper) .e115-day-btn {
    border: 1px solid #42707570;
    color: var(--e115-ink);
    background: #ffffff80;
    font-size: 16px;
    min-height: 48px;
    padding: 11px 25px;
}
body:has(.event-115-wrapper) .e115-day-btn:hover { background: #bef4e2; border-color: #427075; }
body:has(.event-115-wrapper) .e115-day-btn.is-active {
    background: var(--e115-ink);
    border-color: var(--e115-ink);
    color: #fff;
    box-shadow: inset 0 -3px var(--e115-orange);
}
body:has(.event-115-wrapper) .e115-table-wrap {
    background: #fbfdfc;
    border: 1px solid #42707540;
    border-radius: 14px;
    box-shadow: none;
}
body:has(.event-115-wrapper) :is(#interactive-signup, #e115-livestream-schedule) .e115-schedule-table thead th {
    background: var(--e115-charcoal);
    color: #fff;
    padding-block: 17px;
}
body:has(.event-115-wrapper) :is(#interactive-signup, #e115-livestream-schedule) .e115-schedule-table tbody td {
    color: var(--e115-ink);
    border-color: #42707525;
    padding-block: 18px !important;
}
body:has(.event-115-wrapper) :is(#interactive-signup, #e115-livestream-schedule) .e115-schedule-table tbody tr:nth-child(even) {
    background: #eff6f3;
}
body:has(.event-115-wrapper) :is(.e115-type-desc, .e115-schedule-note) { color: #4c6975; }
body:has(.event-115-wrapper) .e115-schedule-note { margin: 20px 0 0; }
/* Shared formatting for all three livestream days. */
#e115-livestream-schedule .e115-schedule-table .e115-rundown-content {
    white-space: normal;
}
#e115-livestream-schedule .e115-rundown-labeled {
    display: flex;
    align-items: baseline;
    gap: .6em;
}
#e115-livestream-schedule .e115-rundown-topic {
    flex: 1;
    min-width: 0;
}
#e115-livestream-schedule .e115-rundown-pill {
    display: inline-block;
    flex: 0 0 auto;
    padding: .2em .8em;
    border: 1px solid #42707540;
    border-radius: 999px;
    background: #d0ede2;
    color: #233e3d;
    font-size: .9em;
    font-weight: 700;
    line-height: 1.65;
    white-space: nowrap;
}
#e115-livestream-schedule .e115-rundown-pill--dynamic {
    background: #dceaf4;
    border-color: #8cb6cd;
}
#e115-livestream-schedule .e115-rundown-pill--prize {
    background: #ff7900;
    border-color: #b44b00;
    color: #23312b;
}
#e115-livestream-schedule .e115-rundown-heading {
    display: block;
    color: #233e3d;
    font-weight: 700;
}
#e115-livestream-schedule .e115-rundown-details {
    margin-top: .2em;
    white-space: pre-line;
}
@media (max-width: 480px) {
    #e115-livestream-schedule .e115-rundown-labeled { flex-wrap: wrap; gap: .35em .6em; }
    #e115-livestream-schedule .e115-rundown-topic { flex-basis: 100%; }
}
body:has(.event-115-wrapper) .e115-signup-btn {
    background: var(--e115-orange);
    color: #23312b;
    border: 1px solid #b44b00;
    font-weight: 700;
    padding: 10px 20px;
    min-height: 44px;
}
body:has(.event-115-wrapper) .e115-signup-btn:hover {
    background: #ff9843;
    color: #23312b;
}

/* The illustrations retain their own category colors; their setting is unified. */
/* These containers sit outside .elementor-816 in the imported markup, so its
 * --display rule does not reach them. Keep their backgrounds in flex boxes
 * instead of fragmented inline boxes at the section boundaries. */
.event-115-wrapper :is(#go-getter, .elementor-element-d119078, #dreamhub) {
    --display: flex;
}
/* The nested #dreamhub background must reach both viewport edges. */
.event-115-wrapper .elementor-element-d119078 {
    padding-inline: 0;
}
body:has(.event-115-wrapper) #go-getter,
body:has(.event-115-wrapper) .elementor-element-d119078 {
    background: #f4faf7;
}
body:has(.event-115-wrapper) #go-getter { padding-top: 36px; }
body:has(.event-115-wrapper) #dreamhub {
    background: #e4f2eb;
    border-top: 1px solid #42707525;
    padding: 60px 20px 70px;
}
body:has(.event-115-wrapper) .e115-cat__title { color: var(--e115-ink); }
body:has(.event-115-wrapper) .e115-cat__desc { color: #4c6975; line-height: 1.85; }
body:has(.event-115-wrapper) .e115-cat__img-wrap { box-shadow: 0 8px 20px #233e3d12; }
body:has(.event-115-wrapper) .zhumeng-ring { border-color: #42707566 !important; }
body:has(.event-115-wrapper) .zhumeng-ring.r2 { border-color: #8cb6cd80 !important; }
body:has(.event-115-wrapper) .zhumeng-ring.r3 { border-color: #57927366 !important; }
body:has(.event-115-wrapper) .zhumeng-ring.r4 { border-color: #42707533 !important; }
body:has(.event-115-wrapper) .elementor-swiper-button { color: #233e3d !important; }
body:has(.event-115-wrapper) .swiper-pagination-bullet-active { background: #427075 !important; }
body:has(.event-115-wrapper) #quiz {
    background: #c5e6df url("./contours.svg") center / cover;
    padding-block: 80px !important;
    border-top: 1px solid #42707525;
}
body:has(.event-115-wrapper) #quiz h2 { margin-bottom: 30px; }
body:has(.event-115-wrapper) #e115-quiz-frame {
    border-radius: 0;
    box-shadow: none;
}
body:has(.event-115-wrapper) #signup-116 {
    background: #233e3d url("./contours.svg") center / cover;
    min-height: 360px;
    padding: 80px 24px;
}
body:has(.event-115-wrapper) #signup-116 h2 { color: #e8f5f0 !important; }
body:has(.event-115-wrapper) #signup-116 p { color: #c5dfd7; margin: 20px 0 26px; }
body:has(.event-115-wrapper) .footer_bgColor { background: #e4efea; color: #233e3d; }
body:has(.event-115-wrapper) #back-to-top {
    background-color: #bef4e2;
    color: #233e3d;
    border: 1px solid #42707550;
}
@media (max-width: 767px) {
    .event-115-subnav ul { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-inline: 8px; }
    .event-115-subnav ul li { flex: 0 0 auto; }
    .event-115-subnav ul li :is(a, button) { min-height: 44px; font-size: 13px; padding-inline: 12px; }
    body:has(.event-115-wrapper) #dream-highlights { padding: 48px 20px 56px; }
    body:has(.event-115-wrapper) .counter-link-wrapper { border-right: 0; }
    body:has(.event-115-wrapper) .elementor-element-73f0d21 { gap: 24px; }
    body:has(.event-115-wrapper) .elementor-element-3ab9eb7 { margin-top: 40px; }
    body:has(.event-115-wrapper) .e115-livestream-comingsoon { min-height: 260px; aspect-ratio: auto; }
    body:has(.event-115-wrapper) .e115-livestream-comingsoon__frame { padding: 24px; width: 65%; }
    body:has(.event-115-wrapper) .e115-livestream-comingsoon__text { font-size: 14px; max-width: 10em; }
    .e115-livestream-comingsoon__art { width: 58%; opacity: .85; }
    body:has(.event-115-wrapper) #interactive-signup { padding: 52px 16px; }
    body:has(.event-115-wrapper) .e115-day-btn { padding: 10px 14px; font-size: 14px; }
    body:has(.event-115-wrapper) .e115-schedule-tabs { gap: 6px; }
    body:has(.event-115-wrapper) #dreamhub { padding: 44px 8px; }
    body:has(.event-115-wrapper) #quiz { padding: 48px 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
    body:has(.event-115-wrapper) *, body:has(.event-115-wrapper) *::before, body:has(.event-115-wrapper) *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    body:has(.event-115-wrapper) .elementor-invisible { visibility: visible !important; }
}

/* Counter widget children declare their own typeface in the imported theme. */
body:has(.event-115-wrapper) #dream-highlights .elementor-counter-number {
    font-family: "Roboto Condensed", "Noto Sans TC", sans-serif !important;
    font-weight: 500 !important;
}
body:has(.event-115-wrapper) .stats-cta-btn { box-shadow: none !important; }
body:has(.event-115-wrapper) #dreamhub .heading-title { color: #233e3d !important; }
body:has(.event-115-wrapper) #dreamhub .heading-sub-title { color: #427075 !important; }
