/* TIOSTC site refresh - responsive, legacy content preserved */
:root{--ink:#20302c;--muted:#65736d;--green:#2d6b52;--green2:#174b3a;--mint:#edf5ef;--gold:#c8a96b;--line:#e2e9e4;--paper:#fff;--shadow:0 14px 40px rgba(24,55,41,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;background:#f7f9f7!important;color:var(--ink)!important;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC","Microsoft JhengHei",sans-serif!important;font-size:16px!important;line-height:1.75!important;text-align:left!important}img{max-width:100%;height:auto}a{color:var(--green)!important;text-decoration:none!important;transition:color .2s,background .2s}a:hover{color:#a37e3c!important;text-decoration:none!important}p,ol,ul{font-family:inherit!important;font-size:1rem!important;line-height:1.85!important;color:inherit}p{font-style:normal!important;font-weight:400!important;color:inherit!important}h1,h2,h3,h4{font-family:inherit!important;color:var(--ink)!important;line-height:1.35!important;font-weight:750!important}table{max-width:100%;border-collapse:collapse}td,th{padding:10px!important;line-height:1.7!important}#logo.container{width:100%!important;max-width:1180px!important;height:auto!important;min-height:0!important;padding:24px 24px 18px!important;overflow:visible!important;text-align:center!important}#logo h1{margin:0!important;padding:0!important;font-size:1rem!important;text-transform:none!important}#logo h1 img{width:min(390px,85vw)!important;height:auto!important;object-fit:contain}#apDiv1{display:none!important}#menu-wrapper{width:100%!important;height:auto!important;overflow:visible!important;margin:0!important;background:#fff!important;border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;box-shadow:0 4px 18px rgba(25,58,41,.04);position:relative;z-index:5}#menu.container{width:100%!important;max-width:1200px!important;height:auto!important;overflow:visible!important;margin:auto!important;padding:0 18px!important}#menu ul{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:4px!important;margin:0!important;padding:8px 0!important;list-style:none!important}#menu li{display:block!important;margin:0!important;padding:0!important}#menu a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:8px 15px!important;border-radius:9px!important;line-height:1.3!important;font-size:15px!important;font-weight:650!important;color:var(--ink)!important;text-transform:none!important;font-family:inherit!important;white-space:nowrap}#menu a:hover,#menu .current_page_item a{background:var(--mint)!important;color:var(--green)!important}#menu a img{display:none!important}#menu a[href*="about.html"]:after{content:"關於學會"}#menu a[href*="programme.html"]:after{content:"課程介紹"}#menu a[href*="Teachers.html"]:after{content:"師資介紹"}#menu a[href*="Test.html"]:after{content:"專業技能"}#menu a[href*="Column.html"]:after{content:"人才招募"}#menu a[href*="Information.html"]:after{content:"場地租借"}#menu a[href*="Contact.html"]:after{content:"聯絡我們"}#menu a[href*="News.html"]:after{content:"最新消息"}#page.container{width:100%!important;max-width:1160px!important;height:auto!important;margin:28px auto!important;padding:0 22px!important;overflow:visible!important}#page #box1,#page #box2,#page #box3,.entry,.content{max-width:100%!important;height:auto!important;overflow:visible!important}#page #box1>img{max-width:100%!important;height:auto!important}#page #box1 .entry,#page .entry{background:#fff!important;border:1px solid var(--line)!important;border-radius:18px!important;padding:clamp(18px,3vw,38px)!important;box-shadow:var(--shadow)!important}#page table{width:auto;max-width:100%;margin:16px auto;border-color:var(--line)!important}#page td,#page th{border-color:var(--line)!important}#footer.container,#footer{width:100%!important;max-width:none!important;height:auto!important;margin:40px 0 0!important;padding:26px 20px!important;background:#173e31!important;color:#eaf2ec!important;text-align:center!important;line-height:1.8!important}#footer img{max-width:150px!important}#footer span,#footer p{color:#eaf2ec!important;font-size:13px!important;line-height:1.8!important}body>p:last-child{display:none}iframe,embed,object{max-width:100%}
/* legacy inline layouts: keep content readable on mobile */
#page [style*="width:"]{max-width:100%!important}#page [style*="position:absolute"]{position:relative!important;left:auto!important;top:auto!important}#page img[width]{height:auto!important}#page h1,#page h2,#page h3{margin:14px 0!important}#page a{overflow-wrap:anywhere}#page ul{padding-left:1.5rem!important}
/* New homepage */
.home-shell{width:100%;overflow:hidden}.home-wrap{width:min(1160px,calc(100% - 40px));margin:0 auto}.home-top{background:#fff;border-bottom:1px solid var(--line)}.home-brand{display:flex;align-items:center;gap:18px;padding:22px 0}.home-brand img{width:190px;max-height:82px;object-fit:contain}.brand-copy{border-left:1px solid var(--line);padding-left:18px}.brand-copy strong{display:block;color:var(--green2);font-size:clamp(17px,2vw,23px);line-height:1.4}.brand-copy span{display:block;color:var(--muted);font-size:12px;letter-spacing:.03em}.home-nav{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.home-nav-inner{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;padding:9px 0}.home-nav a{padding:9px 15px;border-radius:9px;font-size:15px;font-weight:650;color:var(--ink)!important}.home-nav a:hover{background:var(--mint);color:var(--green)!important}.home-hero{position:relative;background:linear-gradient(115deg,rgba(16,57,42,.92),rgba(29,88,62,.78)),url('images/tiostc1.png') center/cover no-repeat;color:#fff;padding:clamp(54px,8vw,100px) 0}.home-hero h1{max-width:780px;color:#fff!important;font-size:clamp(34px,5vw,58px)!important;letter-spacing:.02em;margin:0 0 20px!important}.home-hero p{max-width:720px;color:#eef6ef!important;font-size:clamp(16px,2vw,20px)!important;margin:0 0 28px}.hero-kicker{font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:#e0c990;font-weight:750;margin-bottom:14px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:10px;font-weight:750;background:#d9bd80;color:#173e31!important}.btn.secondary{border:1px solid rgba(255,255,255,.55);background:transparent;color:#fff!important}.home-section{padding:64px 0}.section-heading{text-align:center;max-width:740px;margin:0 auto 30px}.section-heading .eyebrow{color:var(--green);font-size:13px;font-weight:800;letter-spacing:.14em}.section-heading h2{font-size:clamp(25px,3vw,36px)!important;margin:8px 0 10px!important}.section-heading p{margin:0;color:var(--muted)!important}.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.feature-card{display:block;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px 20px;box-shadow:0 8px 24px rgba(24,55,41,.04);min-height:180px}.feature-card .number{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--mint);color:var(--green);font-weight:800;margin-bottom:14px}.feature-card h3{font-size:19px!important;margin:0 0 8px!important}.feature-card p{color:var(--muted)!important;font-size:14px!important;margin:0}.home-split{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.info-panel{padding:clamp(24px,4vw,42px);background:#edf5ef;border-radius:20px}.info-panel h2{font-size:clamp(25px,3vw,34px)!important;margin:0 0 14px!important}.info-panel p{color:#52675b!important}.quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quick-link{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 17px;font-weight:700}.quick-link span{color:var(--gold);font-size:20px}.news-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.news-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px}.news-card small{color:var(--green);font-weight:800;letter-spacing:.08em}.news-card h3{font-size:18px!important;margin:10px 0!important}.news-card p{font-size:14px!important;color:var(--muted)!important}.home-footer{background:#173e31;color:#eaf2ec;padding:34px 0}.home-footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}.home-footer h3{color:#fff!important;margin:0 0 6px!important}.home-footer p{color:#d6e4da!important;margin:0;font-size:13px!important}.home-footer a{color:#e0c990!important}.home-footer nav{display:flex;flex-wrap:wrap;gap:12px}.home-footer nav a{font-size:13px}
@media(max-width:800px){.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-list{grid-template-columns:1fr}.home-split{grid-template-columns:1fr}.home-brand{align-items:flex-start}.home-brand img{width:130px}.brand-copy span{max-width:260px}.home-section{padding:44px 0}.home-nav-inner{justify-content:flex-start}.home-nav a{padding:8px 10px;font-size:14px}.home-footer-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.home-wrap{width:calc(100% - 28px)}.home-brand{gap:10px}.home-brand img{width:92px}.brand-copy{padding-left:10px}.brand-copy strong{font-size:15px}.brand-copy span{font-size:10px}.feature-grid,.quick-links{grid-template-columns:1fr}.home-hero{padding:48px 0}.hero-actions .btn{width:100%}#page.container{padding:0 12px!important;margin:16px auto!important}#logo.container{padding:18px 12px!important}}
