:root{color-scheme:dark;font-family:Arial,'Microsoft JhengHei',sans-serif;color:#edf5ff;background:#031524;--line:#24516a;--blue:#8ae3ff;--gold:#efd093}*{box-sizing:border-box}body{margin:0;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}a,button{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}h1,h2,h3,p{margin:0}p{color:#b8d8e7;font-size:16px}svg{width:28px;height:28px;flex-shrink:0}small{display:block;letter-spacing:.16em;color:#b8e6f5;font-size:12px}.masthead{height:78px;padding:0 3%;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);background:#031524f5;position:sticky;top:0;z-index:30}.brand-logo{width:250px;height:65px;border:0;display:block;flex-shrink:0}.desktop-nav{display:flex;flex:1;justify-content:space-evenly;gap:12px;align-items:center}.desktop-nav a{font-size:14px;white-space:nowrap;padding:12px 0}.desktop-nav a:hover,.desktop-nav a[aria-current]{color:var(--gold)}.consult,.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:9px 20px;border-radius:30px;background:linear-gradient(#f9e1aa,#c9a15d);color:#061b30;border:1px solid #eed49b;white-space:nowrap}.consult{font-size:14px}.consult svg{width:19px}.menu-toggle{display:none}.skip{position:absolute;top:-100px;background:#8ae3ff;color:#031524}.skip:focus{top:0;z-index:50}main{max-width:1450px;margin:auto;padding:0 3% 35px}.home-hero{height:340px;position:relative;margin:0 -3.2%;overflow:hidden;background:#021321}.hero-copy{position:relative;z-index:2;padding:5px 5%;max-width:820px}.hero-copy .brand-logo{width:100%;height:auto;aspect-ratio:890/220}.hero-copy h1{font-size:36px;letter-spacing:.07em;text-align:center}.hero-copy p{text-align:center;font-size:21px;margin-top:5px;letter-spacing:.15em}.motto{display:block;text-align:center;margin-top:14px;letter-spacing:.45em;font-size:17px}.earth{position:absolute;right:0;top:0;width:64%;height:100%;opacity:.8}.earth .art{height:100%;width:100%}.earth:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#021321,transparent 65%)}.hero-side{position:absolute;right:4%;top:36px;line-height:2.2;letter-spacing:.25em;font-size:13px;border-left:1px solid #b8d8e7;padding-left:22px}.art{position:relative;overflow:hidden;background:#092a40;min-width:0}.art img{position:absolute;max-width:none}.portal-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;position:relative;margin-top:8px}.portal{overflow:hidden;border:1px solid #376178;border-radius:15px;background:#052034;transition:border-color .15s}.portal:hover{border-color:var(--blue)}.portal .art{width:100%;height:160px}.portal-copy{padding:16px}.portal-title{display:flex;align-items:center;gap:12px}.portal-title svg{width:35px;height:40px;color:var(--blue)}.portal h2{font-size:23px;letter-spacing:.08em}.portal p{margin-top:20px;font-size:14px;min-height:46px}.success .portal-title svg,.videos .portal-title svg{color:var(--gold)}.ai .portal-title svg{color:#74f3dd}.news-strip{margin:28px -3.2% 0;padding:20px 3.2%;display:flex;align-items:center;gap:30px;background:#06283e;border-block:1px solid var(--line)}.news-strip h2{display:flex;gap:14px;align-items:center;font-size:19px;white-space:nowrap}.news-strip a{font-size:15px}.news-strip a:last-child{margin-left:auto;color:var(--blue)}footer{display:flex;gap:35px;align-items:center;justify-content:space-between;max-width:1450px;margin:auto;padding:25px 3%;border-top:1px solid var(--line);font-size:14px}.social{display:flex;gap:22px;color:#a5eaff}.page-hero{height:270px;display:grid;grid-template-columns:1fr 1fr;align-items:center;position:relative;overflow:hidden;margin:0 -3.2% 24px;padding:30px 3.2%;background:linear-gradient(100deg,#031524,#0c3449)}.page-hero>div:first-child{z-index:2}.page-hero h1{font-size:48px;letter-spacing:.08em}.english{display:block;letter-spacing:.24em;color:#b8e6f5;font-size:20px;margin:3px 0 13px}.page-hero p{font-size:21px}.page-hero .art{position:absolute;right:0;top:0;width:55%;height:100%;opacity:.7;mask-image:linear-gradient(90deg,transparent,#000 35%)}.filters{display:flex;gap:12px;margin:20px 0;flex-wrap:wrap}.filters button{flex:1;min-height:45px;padding:8px 16px;background:#052238;border:1px solid var(--line);border-radius:9px;white-space:nowrap}.filters button[aria-pressed=true]{background:linear-gradient(#a5f0ff,#55bfe4);color:#031524;border-color:#97ecff}.selection{margin-bottom:14px}.content-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.content-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#062236;display:block}.content-card>.art{height:160px;width:100%}.content-card>div:not(.art){padding:22px}.content-card h2{font-size:24px}.content-card p{margin:12px 0;min-height:52px}.more,.text-link{color:var(--blue);font-size:14px}.content-card:hover{border-color:#8ae3ff}.page-success .content-card{border-color:#695a3c}.page-success .content-card h2{color:var(--gold)}.notice{font-size:14px;color:#9bb7c7;border-left:2px solid #46778e;padding-left:12px;margin:14px 0}.science-view{display:grid;grid-template-columns:1fr 1fr;align-items:center;background:#03101e;border:1px solid var(--line);border-radius:14px;overflow:hidden;gap:30px;padding:20px}.science-main{height:350px!important;width:300px;max-width:100%;margin:auto}.science-view h2{font-size:30px}.science-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:18px}.science-list button{padding:0;overflow:hidden;background:#082539;border:1px solid var(--line);border-radius:9px}.science-list .art{height:110px;width:100%}.science-list span{display:block;padding:10px}.science-list [hidden]{display:none}.science-list button[aria-pressed=true]{border-color:#8ae3ff}.ai-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.knowledge-tree{width:340px;max-width:100%;margin:auto}.ai-tools{padding:25px;border:1px solid var(--line);border-radius:15px;background:#062636}.ai-tools .filters{display:grid;grid-template-columns:1fr 1fr}.ai-tools h3{font-size:24px;margin-bottom:10px}.news-list a{display:grid;grid-template-columns:120px 1fr 25px;gap:20px;align-items:center;padding:25px 0;border-bottom:1px solid var(--line)}.news-list h2{font-size:21px}.news-list time{color:var(--blue);font-size:14px}.branch-panel,.detail{padding:38px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(135deg,#0b3046,#031524)}.branch-panel svg{width:45px;height:45px;color:var(--gold)}.branch-panel h2{font-size:30px;margin:15px 0}.actions{display:flex;gap:14px;margin:20px 0}.detail p{margin:18px 0}.detail .text-link{margin-left:20px}dialog{margin:0 0 0 auto;width:min(360px,90vw);height:100dvh;max-height:100dvh;border:0;border-left:1px solid var(--line);padding:28px;background:#031524;color:#edf5ff}dialog::backdrop{background:#000a}.close-menu{display:block;margin-left:auto;font-size:30px;background:none;border:0;min-width:44px;min-height:44px}.drawer-title{color:var(--gold);font-size:23px}.drawer-title+nav{display:flex;flex-direction:column;margin:20px 0}dialog nav a{display:flex;align-items:center;gap:15px;padding:11px 0;border-bottom:1px solid #18384b}dialog nav svg{width:21px}html{scroll-behavior:smooth;scroll-padding-top:95px}[hidden]{display:none!important}
@media(max-width:1050px){.desktop-nav{gap:8px}.masthead{gap:12px}.masthead .brand-logo{width:190px}.consult{padding:8px 12px}.portal-title{gap:6px}.portal h2{font-size:19px}.portal-copy{padding:12px}.hero-side{display:none}.hero-copy{max-width:72%}}
@media(max-width:700px){.masthead{height:73px;padding:0 14px;gap:5px}.masthead .brand-logo{width:245px;height:65px;max-width:calc(100% - 48px)}.desktop-nav,.masthead .consult{display:none}.menu-toggle{display:block;margin-left:auto;min-height:44px;min-width:44px;border:0;background:none;color:#d4f2ff;font-size:25px}main{padding:0 15px 25px}.home-hero{height:300px;margin:0 -16px}.hero-copy{padding:27px 22px;max-width:100%}.hero-copy .brand-logo{display:none}.hero-copy h1{font-size:29px;text-align:left;max-width:300px;line-height:1.5}.hero-copy p{text-align:left;font-size:16px;letter-spacing:.03em;max-width:270px;margin-top:12px}.motto{text-align:left;font-size:14px;margin-top:15px;letter-spacing:.17em}.earth{width:100%;top:65px;height:260px;opacity:.8}.earth:after{background:linear-gradient(#021321,transparent 70%)}.portal-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:0}.portal .art{height:110px}.portal-copy{padding:13px}.portal-title{gap:8px;align-items:flex-start}.portal-title svg{width:27px;height:31px}.portal h2{font-size:19px;letter-spacing:.03em}.portal small{font-size:11px;letter-spacing:.08em}.portal p{font-size:14px;margin-top:12px;min-height:46px}.portal:last-child{grid-column:1/-1;display:grid;grid-template-columns:40% 60%}.portal:last-child .art{height:100%}.news-strip{display:block;margin:20px 0 0;padding:16px;border:1px solid var(--line);border-radius:10px}.news-strip h2{font-size:18px;margin-bottom:10px}.news-strip a{display:block;margin:8px 0;font-size:14px}.news-strip a:last-child{margin:0}footer{padding:23px 16px;gap:20px;flex-wrap:wrap}footer>a:first-child{width:100%}.social{gap:20px}.page-hero{height:230px;margin:0 -16px 18px;padding:25px 20px;display:block}.page-hero h1{font-size:36px}.page-hero .english{font-size:18px}.page-hero p{font-size:17px;max-width:260px}.page-hero .art{width:100%;opacity:.38;mask-image:linear-gradient(90deg,transparent,#000 65%)}.filters{gap:7px;margin:14px 0}.filters button{font-size:14px;padding:7px 10px;min-width:0;white-space:normal}.content-grid{grid-template-columns:1fr;gap:13px}.content-card{display:flex;align-items:stretch}.content-card>.art{width:110px;height:auto;min-height:135px;flex-shrink:0}.content-card>div:not(.art){padding:16px;flex:1}.content-card h2{font-size:22px}.content-card p{margin:5px 0;font-size:14px;min-height:0}.more{font-size:13px}.science-view{display:flex;flex-direction:column;padding:16px;gap:16px}.science-main{height:300px!important;width:260px}.science-view h2{font-size:25px}.science-view .english{font-size:15px}.science-list{grid-template-columns:1fr 1fr;gap:10px}.science-list .art{height:100px}.science-list span{font-size:14px}.ai-layout{display:flex;flex-direction:column;gap:16px}.knowledge-tree{width:285px}.ai-tools{padding:20px}.ai-tools h2{font-size:24px}.notice{font-size:13px}.news-list a{grid-template-columns:1fr 20px;gap:5px;padding:19px 0}.news-list time{grid-column:1}.news-list h2{font-size:18px;grid-column:1}.news-list span{grid-column:2;grid-row:1/3}.branch-panel,.detail{padding:22px}.branch-panel h2{font-size:23px}.actions{flex-direction:column}.detail .text-link{display:block;margin:18px 0 0}.page-success .content-card{min-height:120px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.portal-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:700px){.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal:last-child{grid-column:auto;display:block}.portal:last-child .art{height:110px}}

.masthead{height:64px;gap:14px}.masthead .brand-logo{height:60px;width:240px;background:transparent}.home-hero{height:290px}.hero-copy h1.motto{font-size:18px;font-weight:400;letter-spacing:.32em;margin:3px 0 7px}.hero-copy p{font-size:20px;margin:0}.hero-copy .brand-logo{background:transparent}.portal-grid{margin-top:0}footer>a:first-child{width:245px;flex-shrink:0}footer>a:first-child b{display:block;font-size:28px;letter-spacing:.06em;white-space:nowrap}footer>a:first-child small{width:100%;font-size:12px;letter-spacing:.16em;white-space:nowrap}footer .social{margin-left:auto;gap:18px}.social-icon{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center}.social-icon svg{width:32px;height:32px}.search-toggle{background:none;border:0;color:#b8e6f5;width:40px;min-height:44px;padding:7px;flex-shrink:0}#search-dialog{margin:10vh auto;width:min(580px,92vw);height:auto;max-height:80vh;border:1px solid #24516a;border-radius:14px}.close-search{float:right;min-width:44px;min-height:44px;font-size:28px;background:none;border:0}#search-dialog label{display:block;margin:18px 0 6px}#site-search{width:100%;padding:12px;font:inherit;background:#0b2b40;color:white;border:1px solid #5793ad;border-radius:6px}#search-results a{display:block;padding:12px;border-bottom:1px solid #24516a}#search-results p{padding:15px 0}@media(max-width:1050px){.masthead .brand-logo{width:190px}.masthead{gap:8px}}@media(max-width:700px){.masthead{height:64px}.masthead .brand-logo{width:230px;max-width:calc(100% - 92px);height:58px}.home-hero{height:230px}.hero-copy{padding-top:32px}.hero-copy h1.motto{text-align:left;font-size:20px;letter-spacing:.14em}.hero-copy p{font-size:17px;margin-top:12px}.earth{top:0;height:100%}footer>a:first-child{width:245px}footer .social{margin-left:0}footer{gap:15px 24px}}

/* Larger reading text, tighter homepage rhythm, and an explicit home link. */
.home-logo-link{display:block;flex-shrink:0}.home-logo-link .brand-logo{pointer-events:none}.desktop-nav a{font-size:17px}.portal p{font-size:18px;line-height:1.65}footer>a:not(:first-child){font-size:18px}footer .social-icon{width:48px;height:48px}footer .social-icon svg{width:38px;height:38px}.page-home .home-hero{height:255px}.page-home main{padding-bottom:0}.page-home footer{border-top:0;padding-top:15px;padding-bottom:18px}.news-strip{margin-top:20px}.masthead{background:#031524}@media(min-width:701px) and (max-width:1150px){.masthead{padding-left:2%;padding-right:2%;gap:8px}.masthead .brand-logo{width:180px}.desktop-nav{gap:6px}.desktop-nav a{font-size:16px}.consult{padding:8px 12px;font-size:14px}}@media(max-width:700px){.home-logo-link{width:calc(100% - 92px);min-width:0}.masthead .home-logo-link .brand-logo{width:100%;max-width:none}.page-home .home-hero{height:200px}.portal p{font-size:16px}.page-home footer{padding-top:14px}footer>a:not(:first-child){font-size:17px}}

/* Local homepage: spend the viewport on content rather than empty space. */
.page-home .home-hero{height:auto;min-height:0}
.page-home .hero-copy{padding:0 3% 10px}
.page-home .hero-copy .brand-logo{width:min(100%,calc(clamp(110px,22svh,170px) * 890 / 220));height:auto;aspect-ratio:890/220;margin-inline:auto}
.page-home .hero-copy h1.motto{margin:0 0 3px}
.page-home .portal .art{height:clamp(95px,19svh,155px)}
.page-home .portal-copy{padding:12px 14px}
.page-home .portal p{margin-top:10px;min-height:0}
.page-home .news-strip{margin-top:12px;padding-top:12px;padding-bottom:12px}
.page-home footer{padding-top:10px;padding-bottom:10px}
@media(min-width:701px) and (max-height:720px){
 .page-home .hero-copy .brand-logo{width:min(100%,calc(16svh * 890 / 220))}
 .page-home .portal .art{height:clamp(80px,16svh,115px)}
 .page-home .hero-side{top:12px;line-height:1.8}
}
@media(max-width:700px){
 .page-home .hero-copy{padding:18px 22px 22px}
 .page-home .hero-copy h1.motto{margin:0}
 .page-home .hero-copy p{margin-top:6px}
 .page-home .portal .art{height:85px}
 .page-home .portal-copy{padding:10px}
 .page-home .portal p{margin-top:8px}
 .page-home .news-strip{margin-top:12px;padding:12px}
}

/* Keep the original artwork ratio at every viewport size. */
.page-home .portal .art{height:auto;aspect-ratio:276/165}

/* Separate accessible hit areas for the symbol and the wordmark. */
.header-brand{position:relative;flex-shrink:0;transform:translateY(5px)}
.header-brand .brand-logo{pointer-events:none}
.brand-intro-hit,.brand-home-hit{position:absolute;top:0;height:100%;min-height:44px;background:transparent;border:0;padding:0;cursor:pointer}
.brand-intro-hit{left:0;width:24.72%}
.brand-home-hit{left:24.72%;right:0}
.brand-opening{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:radial-gradient(ellipse at center,#103a53,#031524 75%);overflow:hidden}
.brand-opening::backdrop{background:#031524}
.brand-opening iframe{position:absolute;left:5%;top:50%;transform:translateY(-50%);width:90%;height:auto;aspect-ratio:890/220;border:0;pointer-events:none}
.brand-opening button{position:absolute;inset:0;width:100%;border:0;background:transparent;color:#b8e6f5;display:flex;align-items:flex-end;justify-content:center;padding:0 20px 7vh;font-size:16px}
@media(max-width:700px){.header-brand{width:calc(100% - 92px);min-width:0}.masthead .header-brand .brand-logo{width:100%;max-width:none}}

/* Local revision: use the earth artwork for the opening scene. */
.header-brand{transform:translateY(9px)}
.page-home .hero-copy{padding-top:16px;padding-bottom:16px}
.opening-earth{position:absolute;inset:0;overflow:hidden;container-type:size}
.opening-earth img{position:absolute;width:386.9018%;height:279.0191%;left:-221.6625%;top:-23.4332%;max-width:none}
.opening-earth:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#03152499,#03152422 65%,#03152444)}
@supports(width:1cqw){.opening-earth img{width:max(386.9018cqw,418.5286cqh);height:max(257.9345cqw,279.0191cqh);left:calc(50% - max(271.6625cqw,293.8692cqh));top:calc(50% - max(67.8841cqw,73.4332cqh))}}

/* Retain the earth hero's earlier visual height without the large logo. */
.page-home .home-hero{min-height:calc(clamp(110px,22svh,170px) + 79px)}
@media(min-width:701px) and (max-height:720px){.page-home .home-hero{min-height:calc(16svh + 79px)}}
@media(max-width:700px){.page-home .home-hero{min-height:140px}}

/* Original high-resolution image, with proportional cover rather than stretching. */
.opening-earth img{width:100%;height:100%;left:0;top:0;object-fit:cover;object-position:center}
.page-home .home-hero{display:flex;align-items:center;min-height:260px}
.quote-carousel{position:relative;z-index:2;width:62%;padding:20px 28px;margin:14px 0 14px 3%;background:linear-gradient(110deg,#f3f7f8f5,#eaf3f5ed);color:#000;border-radius:3px}
.quote-slides{display:grid}
.quote-slide{grid-area:1/1;visibility:hidden;pointer-events:none}
.quote-slide.is-active{visibility:visible;pointer-events:auto}
.quote-slide h1{font-size:clamp(26px,2.5vw,36px);font-weight:800;color:#000;line-height:1.4;letter-spacing:.08em;margin:0 0 12px}
.quote-slide p{font-size:clamp(16px,1.5vw,20px);font-weight:300;line-height:1.7;color:#000;margin:0;letter-spacing:.025em;text-align:left}
.quote-slide.is-active>*{animation:quote-reveal .85s both;animation-delay:var(--line-delay,0ms)}
@keyframes quote-reveal{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
.quote-controls{display:flex;align-items:center;gap:6px;margin-top:8px}
.quote-controls button{min-width:44px;min-height:36px;border:0;background:transparent;color:#18384b;font-size:22px}
.quote-controls [data-quote=pause]{font-size:14px}
@media(max-width:700px){.quote-carousel{width:94%;margin:12px 3%;padding:18px}.quote-slide h1{font-size:26px}.quote-slide p{font-size:16px}.quote-controls button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.quote-slide.is-active>*{animation:none}}

/* One quote per page visit; retain the earth image without a panel. */
.quote-carousel{width:48%;max-width:600px;padding:12px 18px;margin:12px 0 12px 3%;background:transparent;border:0;border-radius:0}
.quote-slide:not(.is-active){display:none}
.quote-slide h1{color:#efd093;font-size:clamp(24px,2.1vw,30px);text-shadow:0 2px 8px #031524;margin-bottom:10px}
.quote-slide p{color:#e3edf3;font-size:clamp(16px,1.35vw,18px);text-shadow:0 2px 6px #031524,0 0 14px #031524;line-height:1.8}
@media(max-width:700px){.quote-carousel{width:88%;margin:12px 3%;padding:12px;max-width:none}.quote-slide h1{font-size:24px}.quote-slide p{font-size:16px}}

/* Editorial hierarchy: label, main statement, supporting lines. */
.page-home .home-hero{align-items:flex-start}
.quote-carousel{width:min(720px,calc(94% - 100px));max-width:720px;margin:42px 0 48px calc(3% + 100px);padding:12px 18px;background:transparent}
.quote-slide h1{font-size:clamp(26px,2.2vw,30px);font-weight:600;color:#E8C77A;line-height:1.4;letter-spacing:.08em;margin-bottom:12px}
.quote-slide p{font-size:clamp(22px,1.9vw,26px);font-weight:300;line-height:1.65;color:rgb(255 255 255 / 72%);letter-spacing:.025em}
.quote-slide p:first-of-type{font-size:clamp(36px,3vw,42px);font-weight:600;line-height:1.4;color:#fff;margin-bottom:12px}
.quote-slide.is-active>*{animation:quote-soft-in .7s both;animation-delay:var(--line-delay,0ms)}
@keyframes quote-soft-in{from{opacity:0}to{opacity:1}}
@media(max-width:700px){.quote-carousel{width:94%;max-width:none;margin:24px 3% 32px;padding:12px}.quote-slide h1{font-size:26px}.quote-slide p:first-of-type{font-size:36px}.quote-slide p{font-size:22px}}
@media(prefers-reduced-motion:reduce){.quote-slide.is-active>*{animation:none}}

/* Shift desktop copy left and restore the earlier compact card spacing. */
@media(min-width:701px){
 .quote-carousel{margin-left:calc(3% + 60px);margin-top:12px;margin-bottom:12px}
 .page-home .home-hero{align-items:center;min-height:260px}
}

/* Quote hierarchy revision: supporting statement becomes the focal line. */
.quote-slide h1{font-size:clamp(18px,1.5vw,20px);color:#E8C77A;font-weight:600;letter-spacing:.2em}
.quote-slide p:first-of-type{font-size:clamp(24px,2.1vw,28px);color:rgb(255 255 255 / 80%);font-weight:400;line-height:1.5}
.quote-slide p:not(:first-of-type){font-size:clamp(34px,3vw,40px);color:#fff;font-weight:600;line-height:1.45}
@media(min-width:701px){.quote-carousel{margin-left:calc(3% + 20px)}}

/* Match supporting lines to the main statement for this local comparison. */
.quote-slide p:not(:first-of-type){font-size:clamp(24px,2.1vw,28px);color:rgb(255 255 255 / 80%);font-weight:400;line-height:1.5;letter-spacing:.025em}

/* Local typography approval and a shorter hero above the four entrances. */
.quote-slide p:not(:first-of-type){font-size:clamp(24px,2.1vw,28px);color:#fff;font-weight:600}
@media(min-width:701px){
 .page-home .home-hero{min-height:190px}
 .quote-carousel{margin-top:8px;margin-bottom:8px;padding-top:8px;padding-bottom:8px}
 .quote-slide h1{margin-bottom:8px}
 .quote-slide p:first-of-type{margin-bottom:8px}
}

/* Desktop hero and quote width requested for local review. */
@media(min-width:701px){
 .page-home .home-hero{min-height:210px}
 .quote-carousel{width:min(900px,calc(94% - 100px));max-width:900px}
}

/* Compact footer without the duplicate bilingual brand. */
footer.compact-footer{padding-top:4px;padding-bottom:4px;gap:20px;flex-wrap:nowrap}
footer.compact-footer>a:first-child{width:auto;flex-shrink:0;font-size:18px}
footer.compact-footer .social{margin-left:auto}
footer.compact-footer .social-icon{width:44px;height:44px}
footer.compact-footer .social-icon svg{width:32px;height:32px}
@media(max-width:700px){footer.compact-footer{gap:10px;padding-inline:15px}footer.compact-footer>a{font-size:14px;white-space:nowrap}footer.compact-footer .social{gap:2px}footer.compact-footer .social-icon{width:36px}footer.compact-footer .social-icon svg{width:28px;height:28px}}

/* Footer contents at 70% of the previous visual size. */
footer.compact-footer{gap:14px;padding-top:3px;padding-bottom:3px}
footer.compact-footer>a,footer.compact-footer>a:first-child{font-size:12.6px}
footer.compact-footer .social{gap:12.6px}
footer.compact-footer .social-icon{width:30.8px;height:30.8px}
footer.compact-footer .social-icon svg{width:22.4px;height:22.4px}
@media(max-width:700px){footer.compact-footer{gap:7px}footer.compact-footer .social{gap:2px}footer.compact-footer .social-icon{width:30.8px}}

.social-icon.line svg{display:block;overflow:visible;flex-shrink:0}
.social-icon.line svg text{letter-spacing:0}

/* Four consistent image entrances on the four main section pages. */
.image-entrances{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}
.image-entrances button{display:block;min-width:0;padding:0;text-align:left;border:1px solid var(--line);border-radius:13px;background:#062236;overflow:hidden}
.image-entrances button>span{display:block;padding:20px;font-size:24px;font-weight:600}
.image-entrances button:hover,.image-entrances button[aria-pressed=true]{border-color:var(--blue)}
.image-entrances .art{width:100%;height:auto}
.page-ai .image-entrances button:first-child .art{max-height:220px}
:is(.page-courses,.page-success) .content-card>.art{height:auto;width:100%}
@media(max-width:700px){
 .image-entrances,:is(.page-courses,.page-success) .content-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 :is(.page-courses,.page-success) .content-card{display:block}
 :is(.page-courses,.page-success) .content-card>.art{min-height:0}
 .image-entrances button>span{font-size:20px;padding:14px}
 :is(.page-courses,.page-success) .content-card>div:not(.art){padding:14px}
}

/* Course cards: requested desktop dimensions; retain the mobile layout. */
@media(min-width:701px){
 .page-courses .content-grid{grid-template-columns:repeat(4,minmax(0,325px));justify-content:center}
 .page-courses .content-card{height:375px}
 .page-courses .content-card>div:not(.art){padding:14px 18px}
 .page-courses .content-card p{min-height:0;margin:8px 0}
}

/* Do not stretch shorter course cards to the desktop height limit. */
@media(min-width:701px){
 .page-courses .content-card{height:auto;max-height:375px}
}

/* Course cards to footer divider: 24px. */
.page-courses main{padding-bottom:24px}

/* Course desktop banner: 1200 × 250px, centered and responsive. */
@media(min-width:701px){
 .page-courses .page-hero{width:min(1200px,100%);height:250px;margin-left:auto;margin-right:auto}
}

/* Course descriptions: three lines; the entire anchor is the entry point. */
.page-courses .content-card p{line-height:1.5}
.page-courses .content-card{max-height:none}

/* Course title spacing: 12px below image, 6px before body. */
.page-courses .content-card>div:not(.art){padding-top:12px}
.page-courses .content-card p{margin-top:6px}

/* Let the navigation row vertically center the logo without a manual offset. */
.header-brand{transform:none;align-self:center}

/* Slightly shorten only the desktop course banner. */
@media(min-width:701px){.page-courses .page-hero{height:222px}}

/* Approved desktop banner height across the other three section entrances. */
@media(min-width:701px){
 :is(.page-science,.page-success,.page-ai) .page-hero{height:222px}
}

/* All four section overview pages share the approved courses layout. */
.section-entry main{padding-bottom:24px}
.section-entry :is(.content-grid,.image-entrances){gap:18px;margin-bottom:0}
.section-entry :is(.content-card,.image-entrances button){height:auto;max-height:none;border:1px solid #24516a;background:#062236;border-radius:13px;overflow:hidden;text-align:left}
.section-entry .content-card h2,.section-entry .entrance-copy h2{font-size:24px;font-weight:700;color:#edf5ff;line-height:1.65}
.section-entry .content-card>div:not(.art),.section-entry .entrance-copy{padding:12px 18px 14px}
.section-entry :is(.content-card,.entrance-copy) p{font-size:16px;color:#b8d8e7;line-height:1.5;min-height:0;margin:6px 0 8px}
.section-entry .content-card>.entry-picture,.section-entry .entry-picture{position:relative;aspect-ratio:160/108;width:100%;padding:0;overflow:hidden}
.section-entry .entry-picture>.art{position:absolute;top:50%;left:0;transform:translateY(-50%);width:100%;height:auto;max-height:none;min-height:0}
.section-entry :is(.content-card,.image-entrances button):hover{border-color:var(--blue)}
.section-entry #science-detail:not([hidden]),.section-entry #ai-detail:not([hidden]){margin-top:24px}
@media(min-width:701px){
 .section-entry .page-hero{width:min(1200px,100%);height:222px;margin-left:auto;margin-right:auto;margin-bottom:24px}
 .section-entry :is(.content-grid,.image-entrances){grid-template-columns:repeat(4,minmax(0,325px));justify-content:center}
}
@media(max-width:700px){
 .section-entry :is(.content-grid,.image-entrances){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .section-entry .content-card{display:block}
 .section-entry .content-card>div:not(.art):not(.entry-picture),.section-entry .entrance-copy{padding:12px 14px 14px}
 .section-entry .content-card h2,.section-entry .entrance-copy h2{font-size:22px}
 .section-entry :is(.content-card,.entrance-copy) p{font-size:14px}
}

/* Taipei course collection starts at the top left without a hero banner. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
:is(.page-taipei,.page-hsinchu,.page-taichung,.page-tainan) main{padding-top:24px}
:is(.page-taipei,.page-hsinchu,.page-taichung,.page-tainan) .content-grid{justify-content:start}
:is(.page-taipei,.page-hsinchu,.page-taichung,.page-tainan) .content-card .entry-picture{padding:0}

/* Compact campus heading and direct contact links above the course cards. */
.campus-heading{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:24px;padding:4px 0 18px;border-bottom:1px solid var(--line)}
.campus-heading h1{font-size:28px;line-height:1.4;letter-spacing:.04em;color:#edf5ff}
.campus-links{display:flex;gap:12px;flex-wrap:wrap}
.campus-links .button{font-size:16px;padding:8px 18px}
.campus-links .button:first-child{background:#06c755;color:#031524;border-color:#39df7c}
.campus-links .button:last-child{background:#0c3047;color:#d8f1ff;border-color:#467b97}
@media(max-width:700px){.campus-heading{gap:14px;margin-bottom:18px;padding-bottom:16px}.campus-heading h1{font-size:24px}.campus-links{gap:10px}}

/* Equal spacing from the contact buttons to the header and lower divider. */
:is(.page-taipei,.page-hsinchu,.page-taichung,.page-tainan) main{padding-top:0}
:is(.page-taipei,.page-hsinchu,.page-taichung,.page-tainan) .campus-heading{padding-top:10px;padding-bottom:10px;align-items:center}

/* Slightly open body copy tracking across section and Taipei entrance cards. */
.section-entry :is(.content-card,.entrance-copy) p{letter-spacing:.05em}

.page-results main{padding-top:0}
.page-results .campus-heading{padding-top:10px;padding-bottom:10px;min-height:65px}
.page-results .content-grid{justify-content:start}

/* Complete, uncropped annual posters; every branch entrance shares this gallery. */
.page-result-details main{padding-top:0}
.page-result-details .campus-heading{padding:10px 0;min-height:65px}
.result-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px;align-items:start}
.result-gallery figure{margin:0;min-width:0}
.result-gallery a{display:block;cursor:zoom-in}
.result-gallery img{display:block;width:100%;height:auto;background:white;border-radius:4px}
.result-gallery figcaption{padding:10px 0;color:#b8d8e7;font-size:16px}
@media(max-width:900px){.result-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.result-gallery{grid-template-columns:1fr}}

/* Image-only testimonial cards, sharing the approved entrance grid. */
.page-stories main{padding-top:24px}
.page-stories .story-gallery{justify-content:start;align-items:start}
.page-stories .story-card{display:block;cursor:zoom-in}
.page-stories .story-card img{display:block;width:100%;height:auto;background:#fff}

/* Real city landmarks retain the approved entrance image dimensions. */
.page-results .landmark-picture img{display:block;width:100%;height:100%;object-fit:cover}
.page-results .landmark-picture .landmark-taipei{object-position:center 15%}
.page-results .landmark-picture .landmark-tainan{object-position:center 28%}
.page-results .landmark-credits{margin-top:18px;color:#b8d8e7;font-size:14px}
.page-results .landmark-credits summary{cursor:pointer}
.page-results .landmark-credits p{margin:6px 0;overflow-wrap:anywhere}

.page-results .landmark-picture :is(.landmark-taipei-114,.landmark-taipei-113){object-position:center}

/* Preserve each selected landmark photo in the existing thumbnail frame. */
.page-results .landmark-picture img{object-fit:contain;object-position:center;background:#062236}

/* Original YouTube thumbnails, with the same image-wall grid as stories. */
:is(.page-senior-videos,.page-teacher-videos) main{padding-top:24px}
:is(.page-senior-videos,.page-teacher-videos) .senior-video-gallery{justify-content:start;align-items:start}
:is(.page-senior-videos,.page-teacher-videos) .senior-video-card{display:block}
:is(.page-senior-videos,.page-teacher-videos) .senior-video-card img{display:block;width:100%;height:auto}
/* Preserve the portrait subject inside a full-sized, text-free results card. */
:is(.page-senior-videos,.page-teacher-videos) .senior-video-card{aspect-ratio:325/375;overflow:hidden;position:relative;background:#062236}
:is(.page-senior-videos,.page-teacher-videos) .portrait-thumbnail{display:block;position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);height:100%;aspect-ratio:9/16;overflow:hidden}
:is(.page-senior-videos,.page-teacher-videos) .portrait-thumbnail img{display:block;position:absolute;top:0;left:50%;transform:translateX(-50%);height:100%;width:auto;max-width:none;object-fit:initial}

/* Approved AI imagery 02 / 03 / 05. Image-only changes. */
.page-home .approved-home-earth{width:100%;opacity:1}
.approved-home-earth>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.page-courses .page-hero .approved-course-art{width:100%;opacity:1;mask-image:none}
.page-courses .approved-course-art img{inset:0;width:100%;height:100%;object-fit:cover;object-position:center}

/* Approved 04/06 images: preserve original selected artwork and proportions. */
.art.approved-card-art{background:#031524}
.art.approved-card-art>svg{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:hidden}

/* Approved 09 science banner; retain hero dimensions and copy. */
.page-science .page-hero .approved-science-banner{width:100%;opacity:1;mask-image:none}
.page-science .approved-science-banner img{inset:0;width:100%;height:100%;object-fit:cover;object-position:center}

/* Approved 09 panorama: match the reviewed 1200x222 composition without cropping. */
.page-science .page-hero .approved-science-banner{background:#02142b}
.page-science .approved-science-banner img{inset:auto;right:0;top:0;height:100%;width:auto;max-width:none;object-fit:contain;mask-image:linear-gradient(to right,transparent,black 18%)}
/* First homepage entrance: warm amber lighting and accents, existing composition. */
.page-home .portal.courses{border-color:#cf964c;background:radial-gradient(ellipse at bottom right,#50371e55,transparent 65%),#052034;box-shadow:0 0 12px #eda84b26,inset 0 0 10px #efa94c0d}
.page-home .portal.courses:hover{border-color:#ffc878;box-shadow:0 0 17px #eda84b40}
.page-home .portal.courses .portal-title svg{color:#f3bc6b;filter:drop-shadow(0 0 4px #ed9b3745)}
.page-home .portal.courses small{color:#e8aa62}
.page-home .portal.courses p{color:#d6cec2}
.page-home .portal.courses .approved-card-art>svg{filter:sepia(.22) saturate(1.22)}
.page-home .portal.courses .approved-card-art:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(130deg,#ffb34522,#c76d1212);mix-blend-mode:soft-light}

/* Use approved lamp artwork in its original generated colors. */
.page-home .portal.courses .approved-card-art>svg{filter:none}
.page-home .portal.courses .approved-card-art:after{display:none}

/* Approved success dawn artwork */
.page-success .page-hero .approved-success-banner{width:100%;opacity:1;mask-image:none;background:#172737}
.page-success .approved-success-banner img{inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.page-success .approved-success-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,21,36,.78),rgba(3,21,36,.32) 35%,transparent 64%)}

/* Approved emerald AI artwork; preserve complete tree in wide hero */
.page-ai .page-hero .approved-ai-banner{width:100%;opacity:1;mask-image:none;background:#021719}
.page-ai .approved-ai-banner img{inset:auto;right:0;top:0;width:auto;height:100%;max-width:none;object-fit:contain;mask-image:linear-gradient(to right,transparent,black 22%)}

/* Daylight AI artwork: readable headings over ivory background */
.page-ai .page-hero .approved-ai-banner{background:#edf3df}
.page-ai .page-hero h1{color:#153d36;text-shadow:none}
.page-ai .page-hero .english,.page-ai .page-hero p{color:#315c51;text-shadow:none}
/* AI page tonal balance: dark-to-light hero and varied card exposure */
.page-ai .page-hero .approved-ai-banner{background:#073b32}
.page-ai .approved-ai-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#073b32 0%,rgba(7,59,50,.96) 24%,rgba(7,59,50,.70) 42%,rgba(7,59,50,.18) 61%,transparent 76%)}
.page-ai .page-hero h1{color:#f0f8f4}
.page-ai .page-hero .english,.page-ai .page-hero p{color:#cae8dd}
.page-ai .image-entrances button:nth-child(1) .approved-card-art>svg{filter:brightness(.76) saturate(.85)}
.page-ai .image-entrances button:nth-child(2) .approved-card-art>svg{filter:brightness(.86) saturate(.78)}
.page-ai .image-entrances button:nth-child(3) .approved-card-art>svg{filter:brightness(.69) saturate(.94)}
.page-ai .image-entrances button:nth-child(4) .approved-card-art>svg{filter:brightness(.80) saturate(.86)}

/* Deeper green at the far-left edge; retain daylight on right */
.page-ai .approved-ai-banner:after{background:linear-gradient(90deg,#01251c 0%,#04372b 18%,rgba(7,59,50,.88) 34%,rgba(7,59,50,.42) 49%,rgba(7,59,50,.08) 65%,transparent 77%)}
/* Smooth AI hero transition beginning one-third in from the right */
.page-ai .page-hero .approved-ai-banner{background:#edf3df}
.page-ai .approved-ai-banner img{mask-image:linear-gradient(to right,transparent 0%,black 25%)}
.page-ai .approved-ai-banner:after{background:linear-gradient(90deg,#01251c 0%,rgba(1,37,28,.98) 12%,rgba(1,37,28,.91) 23%,rgba(1,37,28,.77) 34%,rgba(1,37,28,.55) 44%,rgba(1,37,28,.30) 53%,rgba(1,37,28,.10) 61%,transparent 67%)}
/* Slightly brighter homepage AI entrance while retaining emerald atmosphere */
.page-home .portal.ai .approved-card-art>svg{filter:brightness(1.24) saturate(.94)}

/* Branch directory: text-only cards, matching results heading. */
.page-branches .campus-heading{padding:10px 0;min-height:65px}
.branch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.branch-card{padding:24px 20px;background:#052034;border:1px solid var(--line);border-radius:15px;display:flex;flex-direction:column;min-width:0}
.branch-card h2{font-size:26px;letter-spacing:.06em}
.branch-subtitle{font-size:15px;margin-top:8px;min-height:50px}
.branch-card dl{margin:24px 0 30px;font-size:16px}
.branch-card dt{font-size:13px;color:#85b2c7;letter-spacing:.12em;margin-bottom:5px}
.branch-card dd{margin:0 0 20px;overflow-wrap:anywhere}
.branch-card dd:last-child{margin-bottom:0;min-height:53px}
.branch-card dd a:hover{text-decoration:underline}
.branch-links{display:grid;gap:10px;margin-top:auto}
.branch-links .button{font-size:14px;padding:9px 12px;border-radius:9px;background:#0c3047;color:#d8f1ff;border-color:#467b97}
.branch-links a:first-child{background:#075a42;border-color:#298464;color:#e0fff0}
.branch-links .pending-link{color:#94acb8;background:#092435;border-color:#2b4b5c;white-space:normal}
@media(max-width:900px){.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.branch-grid{grid-template-columns:1fr}.branch-subtitle{min-height:0}.branch-card dd:last-child{min-height:0}.branch-links{grid-template-columns:1fr 1fr}}

.branch-locations dl+dl{border-top:1px solid var(--line);padding-top:20px}.branch-links a{white-space:normal;text-align:center}

.branch-card h2{font-size:22px;line-height:1.5;letter-spacing:.02em;min-height:66px}

/* Compact branch contacts with LINE left and maps right. */
.branch-card{padding:20px 16px}
.branch-card h2{font-size:21px;min-height:63px}
.branch-locations{margin:14px 0 22px}
.branch-location p{font-size:15px;line-height:1.65;color:#d8e8f0}
.branch-location p+p{margin-top:5px}
.branch-location+.branch-location{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.branch-links{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:8px;align-items:start}
.branch-line,.branch-maps{display:grid;gap:8px;min-width:0}
.branch-links .button{width:100%;font-size:13px;line-height:1.45;padding:8px 5px;min-height:40px}
.branch-links .branch-maps a{background:#0c3047;color:#d8f1ff;border-color:#467b97}
@media(max-width:480px){.branch-card h2{min-height:0}}
/* Match the results-card grid and desktop dimensions without title spacer. */
.branch-grid{container-type:inline-size;grid-template-columns:repeat(4,minmax(0,325px));justify-content:start}
.branch-card{border-radius:13px;background:#062236;padding:16px}
.branch-card h2{min-height:0}
.branch-locations{margin:10px 0 14px}
.branch-location+.branch-location{margin-top:10px;padding-top:10px}
.branch-links{gap:8px}
.branch-links .button{padding:6px 4px}
@media(min-width:701px){.branch-card{min-height:calc((min(100cqw,1354px) - 54px) / 4 * .675 + 152.25px)}}
@media(max-width:700px){.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.branch-card{padding:12px 10px}.branch-card h2{font-size:18px}.branch-location p{font-size:14px}.branch-links{grid-template-columns:1fr 1fr;gap:5px}.branch-links .button{font-size:11px;overflow-wrap:anywhere}}

/* Hsinchu has two equally sized contact panels with a central divider. */
.branch-card.branch-split{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;padding:0;gap:0}
.branch-half{padding:16px;display:flex;flex-direction:column;min-width:0}
.branch-half+.branch-half{border-left:1px solid var(--line)}
.branch-icon-links{display:flex;justify-content:space-between;gap:12px;margin-top:auto}
.branch-contact-icon{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #467b97;border-radius:9px;color:#d8f1ff;background:#0c3047}
.branch-contact-icon.pending-link{color:#94acb8;background:#092435;border-color:#2b4b5c}
.branch-half .branch-location p{font-size:15px}
@media(max-width:700px){.branch-half{padding:12px 10px}.branch-half .branch-location p{font-size:14px}}
/* Keep Hsinchu inside one standard-width card; use the shared card title scale. */
.branch-card.branch-split{grid-column:auto}
.branch-card h2{font-size:24px;font-weight:700;line-height:1.65;letter-spacing:normal;overflow-wrap:anywhere}
.branch-half{padding:16px 10px}
.branch-half .branch-location p{overflow-wrap:anywhere}
.branch-icon-links{gap:5px}
@media(max-width:700px){.branch-card h2{font-size:22px}.branch-half{padding:12px 6px}.branch-contact-icon{width:30px;min-width:0;height:38px}.branch-icon-links{gap:3px}.branch-half .branch-location p{font-size:14px}}

.page-teachers .teacher-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 24%;display:block}.page-teachers .teacher-photo-pending{display:grid;place-items:center;text-align:center;color:#b8d8e7;background:#092a40}
.page-teachers .content-card>.teacher-portrait{padding:0}
.page-teachers .teacher-portrait img{object-position:center 10%}
.page-teachers .teacher-portrait img[src$="weng.jpg"]{object-position:center top}
/* Portraits fill the image slot; text padding must not inset the photo. */
.page-teachers.section-entry .content-card>.entry-picture.teacher-portrait{padding:0;width:100%;aspect-ratio:160/108}
.page-teachers.section-entry .teacher-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 12%}
.page-teachers.section-entry .teacher-portrait img[src$="weng.jpg"]{object-position:center top}
/* Results thumbnails fill the complete card image area without inset padding. */
.page-results.section-entry .content-card>.entry-picture.landmark-picture{padding:0;width:100%;aspect-ratio:160/108}
.page-results.section-entry .landmark-picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}

/* News uses the results heading, grid and full-bleed card artwork. */
.page-news main{padding-top:0}
.page-news .campus-heading{padding:10px 0;min-height:65px}
.page-news .content-grid{justify-content:start;container-type:inline-size}
.page-news.section-entry .content-card>.entry-picture.news-picture{padding:0;width:100%;aspect-ratio:160/108}
.page-news .news-picture img{display:block;width:100%;height:100%;object-fit:cover}
@media(min-width:701px){.page-news .content-card{min-height:calc((min(100cqw,1354px) - 54px) / 4 * .675 + 152.25px)}}

/* Continuous news articles with uncropped original course posters. */
.news-article{max-width:820px;margin:0 auto 35px}
.article-heading{padding:6px 0 26px;border-bottom:1px solid var(--line);margin-bottom:28px}
.article-heading time{color:#9cc4d8;font-size:15px}
.article-heading h2{font-size:32px;line-height:1.5;margin-top:10px}
.news-poster{display:block;width:100%;height:auto;max-width:100%;background:white}
.article-copy{padding:30px 0;color:#d8e8f0;font-size:18px;line-height:1.9}
.article-copy h2{font-size:25px;margin:30px 0 12px;color:#edf5ff}
.article-copy h2:first-child{margin-top:0}
.article-copy p{font-size:18px;line-height:1.9;margin:8px 0}
.article-copy ul{padding-left:26px;margin:14px 0}
.article-copy .news-teachers{list-style:none;padding-left:0}
.article-copy strong{color:#efd093}
.article-copy .article-closing{margin-top:30px}
.article-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding-top:24px;border-top:1px solid var(--line)}
@media(max-width:700px){.article-heading h2{font-size:25px}.article-copy h2{font-size:22px}.article-copy,.article-copy p{font-size:16px}.article-actions{gap:16px}}

/* Trial booking at the end of each news article. */
.trial-section{margin:12px 0 32px;padding:30px;border:1px solid #427389;border-radius:16px;background:linear-gradient(130deg,#10384a,#062236)}
.trial-intro .english{font-size:13px;letter-spacing:.16em;color:#efd093}
.trial-intro h2{font-size:28px;margin:6px 0 10px}
.trial-intro .trial-course{margin-top:16px;color:#efd093}
.trial-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}
.trial-fields label{font-size:16px;display:grid;gap:8px}
.trial-fields input,.trial-fields select{width:100%;min-width:0;min-height:48px;border:1px solid #527b90;border-radius:8px;background:#031b2a;color:#edf5ff;padding:10px 12px;font:inherit}
.trial-fields input::placeholder{color:#92aeba}
.trial-fields :is(input,select):focus-visible{outline:2px solid #8ae3ff;outline-offset:2px}
.trial-consent{display:flex;align-items:flex-start;gap:10px;margin:22px 0;color:#b8d8e7;font-size:14px;line-height:1.7}
.trial-consent input{margin:5px 0 0;min-width:18px;height:18px;accent-color:#efd093}
.trial-submit-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.trial-submit-row button{font-size:17px;font-weight:bold;cursor:pointer;min-height:48px}
.trial-status{font-size:13px}
.trial-honey{display:none}
@media(max-width:700px){.trial-section{padding:22px 16px}.trial-fields{grid-template-columns:1fr;gap:16px}.trial-intro h2{font-size:25px}.trial-submit-row button{width:100%}}

/* Compact trial form: title and essential fields only. */
.trial-section{padding:18px 20px;margin:12px 0 24px;border-radius:12px}
.trial-intro h2{font-size:22px;margin:0 0 12px}
.trial-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:0}
.trial-fields label{font-size:14px;gap:5px}
.trial-fields input,.trial-fields select{min-height:40px;padding:7px 9px;font-size:14px}
.trial-consent{font-size:12px;margin:12px 0;gap:7px}
.trial-consent input{min-width:15px;height:15px;margin-top:3px}
.trial-submit-row{gap:12px}.trial-submit-row button{font-size:14px;min-height:40px;padding:7px 16px}
.trial-status:empty{display:none}
@media(max-width:700px){.trial-section{padding:16px}.trial-intro h2{font-size:21px}.trial-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.trial-submit-row button{width:auto}}
/* Keep booking directly after article copy, with submit at bottom right. */
.news-article .article-copy{padding-bottom:0}
.news-article .article-copy>:last-child{margin-bottom:0}
.news-article .trial-section{margin-top:10px;padding-top:14px;padding-bottom:14px}
.trial-intro h2{margin-bottom:10px}
.trial-consent{margin:10px 0 6px}
.trial-submit-row{justify-content:flex-end;gap:8px}
.trial-submit-row .trial-status{order:-1}
/* Center the search icon vertically without inline SVG baseline spacing. */
.masthead .search-toggle{display:inline-flex;align-items:center;justify-content:center;align-self:center;height:44px;min-height:44px;padding:0;line-height:1}
.masthead .search-toggle svg{display:block;width:28px;height:28px}
/* Opening: lower the horizon and place the complete logo in the dark sky. */
.brand-opening{background:#02070d}
.opening-earth img{top:30%;left:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.opening-earth:after{background:linear-gradient(180deg,#02070d 0%,#02070d 29%,transparent 43%)}
.brand-opening iframe{left:5%;top:auto;bottom:45%;transform:none;width:90%;height:auto;aspect-ratio:890/220}
/* Raise only the opening earth; preserve the approved logo placement. */
.opening-earth img{top:24%}
.opening-earth:after{background:linear-gradient(180deg,#02070d 0%,#02070d 23%,transparent 37%)}
/* Move the opening earth slightly higher again; keep logo fixed. */
.opening-earth img{top:20%}
.opening-earth:after{background:linear-gradient(180deg,#02070d 0%,#02070d 19%,transparent 33%)}

/* Match the header iframe to its artwork so narrow tablet logos stay centered. */
@media(min-width:701px){.masthead .header-brand .brand-logo{height:auto;aspect-ratio:890/220}}
