/* Scoped overrides: retain existing content; let the page grow rather than clip it. */
:is(body.gcc-home.gcc-home,body.gcc-news-page.gcc-news-page,body.gcc-course.gcc-course),:is(body.gcc-home.gcc-home,body.gcc-news-page.gcc-news-page,body.gcc-course.gcc-course) .wp-site-blocks,:is(body.gcc-home.gcc-home,body.gcc-news-page.gcc-news-page,body.gcc-course.gcc-course) .wp-site-blocks>main,:is(body.gcc-home.gcc-home,body.gcc-news-page.gcc-news-page,body.gcc-course.gcc-course) .wp-site-blocks>main>.wp-block-group,:is(body.gcc-home.gcc-home,body.gcc-news-page.gcc-news-page,body.gcc-course.gcc-course) .wp-block-post-content{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
body.gcc-home,body.gcc-course,body.gcc-news-page{height:auto!important;min-height:100vh!important;overflow-y:auto!important}
body.gcc-home .tg-site,body.gcc-news-page .tg-site{display:block!important;height:auto!important;min-height:100svh!important;max-height:none!important;overflow:visible!important}
body.gcc-home .tg-stage{height:auto!important;min-height:560px!important;max-height:none!important;display:grid!important;grid-template-rows:auto auto!important;gap:32px!important;padding-top:40px!important;padding-bottom:32px!important;overflow:hidden!important}
body.gcc-home .tg-main{height:auto!important;min-height:0!important;grid-template-rows:auto!important}
body.gcc-home .tg-copy,body.gcc-home .tg-mentor,body.gcc-home .tg-paths,body.gcc-home .tg-path{height:auto!important;max-height:none!important;min-width:0!important}
body.gcc-home .tg-copy h1{font-size:clamp(30px,4.7vw,70px)!important;line-height:1.3!important;overflow-wrap:anywhere}
body.gcc-home .tg-intro,body.gcc-home .tg-mentor p,body.gcc-home .tg-path p{display:block!important;height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important;line-height:1.65!important}
body.gcc-home .tg-path{min-height:140px!important;padding:18px!important}
body.gcc-home .tg-path h2,body.gcc-home .tg-mentor h2{line-height:1.4!important;overflow-wrap:anywhere}
body.gcc-home .tg-footer,body.gcc-news-page .tg-footer{height:auto!important;min-height:80px!important;flex-wrap:wrap!important;padding-block:20px!important;gap:16px!important}
body.gcc-home .tg-footer-links,body.gcc-news-page .tg-footer-links{flex-wrap:wrap!important}
.gcc-section,.gcc-section *{box-sizing:border-box;min-width:0}
.gcc-home-extra,.gcc-course-extra,.gcc-news-main{position:relative;z-index:2;width:100%;max-width:100%;background:linear-gradient(115deg,#edf5f8,#fffaf2);color:#394a56;font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif}
.gcc-section{width:min(1140px,100%);margin:0 auto;padding:clamp(28px,5vw,64px) clamp(18px,4vw,48px);overflow-wrap:anywhere}
.gcc-section h1,.gcc-section h2{color:#41667c;font-family:"Noto Serif TC","Microsoft JhengHei",serif;font-size:clamp(25px,3vw,38px);line-height:1.45;margin:0 0 26px;text-align:center}
.gcc-news>h1,.gcc-news>h2,.gcc-article>h1{font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;font-weight:700;letter-spacing:.03em}
.gcc-news-list{padding:0!important;margin:0!important;list-style:none!important}
.gcc-news-list li{display:grid;grid-template-columns:110px minmax(0,1fr);gap:22px;align-items:start;border-bottom:1px solid #cddce3;padding:17px 0;line-height:1.8;font-size:16px}
.gcc-news-list time{color:#708592;font-size:14px}.gcc-news-list a{color:#355e74;text-decoration:none;white-space:normal}.gcc-news-list a:hover{text-decoration:underline}.gcc-category{font-weight:700}
.gcc-more{text-align:center;margin-top:28px}.gcc-button{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:44px;padding:12px 24px;background:#55798d;color:#fff!important;border:1px solid #55798d;border-radius:8px;text-decoration:none;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.gcc-pagination ul{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:30px 0 0}.gcc-pagination a,.gcc-pagination span{display:block;min-width:44px;padding:10px;background:#e3edf2;border-radius:8px;text-align:center;text-decoration:none;color:#355e74}.gcc-pagination .current{background:#55798d;color:white}
.gcc-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px}.gcc-media-card{padding:20px;background:#fff;border:1px solid #d3e0e6;border-radius:16px;max-width:100%;overflow-wrap:anywhere}.gcc-media-card h3{line-height:1.5;margin:16px 0 8px;color:#41667c;font-size:20px}.gcc-media-card p{line-height:1.8;margin:0}.gcc-media-visual img,.gcc-media-visual video{display:block;width:100%;height:auto!important;max-width:100%;object-fit:contain}.gcc-media-visual iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;max-width:100%}
.gcc-slot-hero{grid-column:1/-1;padding:0;max-width:100%}.gcc-slot-hero .gcc-media-grid{display:block}.gcc-slot-hero img{max-height:65vh;object-fit:contain}.gcc-slot-hero .gcc-media-card{background:rgba(255,255,255,.8)}
.gcc-article h1{text-align:left}.gcc-meta{color:#708592}.gcc-article-body{font-size:17px;line-height:1.9}.gcc-article-body img,.gcc-article-body video{max-width:100%;height:auto}.gcc-article-body iframe{max-width:100%}.gcc-article-body pre,.gcc-article-body table{display:block;max-width:100%;overflow:auto}.gcc-article-body figure{max-width:100%;margin-inline:0}
body.gcc-news-page .wp-site-blocks{padding:0!important}body.gcc-news-page .wp-site-blocks>header,body.gcc-news-page .wp-site-blocks>footer,body.gcc-news-page .wp-block-post-title,body.gcc-news-page .wp-block-comments{display:none!important}body.gcc-news-page .wp-site-blocks>main,body.gcc-news-page .wp-block-post-content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}body.gcc-news-page .tg-site{margin:0!important}
body.gcc-news-page .wp-site-blocks>main>.wp-block-group.alignfull{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box}body.gcc-news-page .tg-site{display:flex!important;flex-direction:column!important}body.gcc-news-page .gcc-news-main{flex:1}body.gcc-news-page .tg-header,body.gcc-news-page .tg-footer{flex-shrink:0}
body.gcc-news-page .wp-site-blocks>main>.wp-block-group.alignfull>:not(.wp-block-post-content){display:none!important}body.gcc-news-page .wp-site-blocks>main>:not(:has(.wp-block-post-content)):not(.wp-block-post-content){display:none!important}
body.gcc-course .sp-page,body.gcc-course .sp-wrap,body.gcc-course .sp-shell{height:auto!important;max-height:none!important;overflow:visible!important}
body.gcc-course .sp-page{display:block!important}body.gcc-course .sp-page>main{height:auto!important;max-height:none!important;overflow:visible!important}
.ct-form-card,.ct-form-card *{box-sizing:border-box}.ct-form-card input,.ct-form-card textarea,.ct-form-card select{max-width:100%;min-width:0}.ct-form-card label,.ct-form-card small{overflow-wrap:anywhere;white-space:normal}
@media(max-width:1200px){body.gcc-home .tg-menu,body.gcc-news-page .tg-menu,body.gcc-home .tg-nav-actions,body.gcc-news-page .tg-nav-actions{display:none!important}body.gcc-home .tg-header,body.gcc-news-page .tg-header{grid-template-columns:minmax(0,1fr) auto!important}body.gcc-home .tg-menu-trigger,body.gcc-news-page .tg-menu-trigger{display:grid!important}body.gcc-home .tg-mobile-drawer,body.gcc-news-page .tg-mobile-drawer{display:flex!important}}
@media(max-width:768px){body.gcc-home .tg-stage{padding:30px 18px!important;min-height:0!important}body.gcc-home .tg-main{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:25px!important}body.gcc-home .tg-paths{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}body.gcc-home .tg-path{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;min-height:0!important;gap:16px!important}body.gcc-home .tg-path p{font-size:14px!important}body.gcc-home .tg-path h2{font-size:22px!important}body.gcc-home .tg-mentor{display:block!important;margin-top:0!important;padding:24px!important}body.gcc-home .tg-mentor h2{font-size:23px!important}body.gcc-home .tg-footer-brand,body.gcc-news-page .tg-footer-brand{display:block!important}.gcc-news-list li{grid-template-columns:minmax(0,1fr);gap:5px}.gcc-news-list time{font-size:13px}.gcc-section{padding:30px 18px}}
