:root{--max:1180px;--text:#2c2c2c;--red:#b10f23;--line:#e5e5e5;--bg:#f7f7f7;--card:#fff;--muted:#666}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,"Microsoft JhengHei",sans-serif;color:var(--text);background:var(--bg);line-height:1.6}
a{color:inherit}
.container{max-width:var(--max);margin:0 auto;padding:0 16px}

.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.header-inner{display:flex;align-items:center;min-height:70px;gap:16px}
.logo{display:inline-flex;align-items:center;text-decoration:none}
.logo img{display:block;width:208px;max-width:100%;height:auto}
.site-nav{margin-left:auto;display:flex;gap:18px}
.site-nav a{text-decoration:none;color:#333;font-size:15px;font-weight:600}
.site-nav a:hover{color:var(--red)}
.nav-toggle{display:none;margin-left:auto;background:none;border:1px solid #ccc;border-radius:6px;padding:6px 10px}

.hero{background:#ddd}
.hero img{display:block;width:100%;max-width:1180px;margin:0 auto;height:auto}

.main-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px;padding:24px 16px 40px}
.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:18px}
.about{display:grid;grid-template-columns:182px 1fr;gap:16px;align-items:start}
.about .thumb{width:182px;max-width:100%;height:auto;border-radius:6px}
h2{margin:0 0 10px 0;font-size:22px;color:#222}
.more{display:inline-block;margin-top:10px;color:#fff;background:var(--red);padding:8px 14px;border-radius:6px;text-decoration:none}
.more:hover{opacity:.92}
.video-list{display:grid;gap:10px}
.video-list a,.news a{color:#222;text-decoration:none}
.video-list a:hover,.news a:hover{text-decoration:underline;color:var(--red)}
.news .more,.news .more:hover{color:#fff;text-decoration:none}
.news ul{margin:0;padding-left:20px}
.side-links{display:grid;gap:12px;align-content:start}
.side-links img{max-width:100%;height:auto;display:block;border-radius:8px}

.site-footer{border-top:1px solid var(--line);background:#fff;padding:16px 0;color:#666;font-size:14px;margin-top:16px}

.page-wrap{padding:24px 16px 44px;display:grid;gap:18px}
.page-hero{position:relative;border-radius:14px;overflow:hidden;min-height:240px;display:flex;align-items:flex-end;background:#111}
.page-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.62}
.page-hero .overlay{position:relative;color:#fff;padding:28px;width:min(760px,100%)}
.page-hero h1{margin:0 0 8px 0;font-size:42px;line-height:1.1}
.page-hero p{margin:0;font-size:18px;color:#f4f4f4}

.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.feature-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.feature{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.feature img{display:block;width:100%;height:180px;object-fit:cover}
.feature .content{padding:14px}
.feature h3{margin:0 0 8px 0;font-size:20px}
.feature p{margin:0;color:#444}

.band{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;align-items:stretch}
.band .media img{width:100%;height:100%;min-height:260px;object-fit:cover;border-radius:12px}
.band .copy{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}
.band .copy h2{margin-top:0}
.muted{color:var(--muted)}

.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.news-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.news-card img{width:100%;height:180px;object-fit:cover}
.news-card .content{padding:14px;display:grid;gap:8px}
.news-card time{font-size:13px;color:var(--muted)}
.news-card a{color:#111;text-decoration:none;font-weight:700}
.news-card a:hover{color:var(--red)}

.contact-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}
.contact-list{display:grid;gap:10px;padding:0;margin:0;list-style:none}
.contact-list li{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px}
.cta{display:inline-block;background:var(--red);color:#fff;text-decoration:none;border-radius:8px;padding:10px 14px;font-weight:700}

/* product page: close visual parity with old/product_01.html */
.product-legacy-page{background:#3764af url('../../old/images/ibgs_02.gif') repeat-x;color:#333;font-size:13px;line-height:24px}
.product-legacy-outer{width:980px;margin:0 auto}
.product-site-header{position:static;border:0;background:transparent}
.product-header-inner{width:980px;max-width:none;height:69px;min-height:69px;margin:0;padding:0;background:url('../../old/images/headbg_01.gif') no-repeat left top;gap:0}
.product-header-inner .logo{float:left;display:block;margin:15px 0 0 30px;width:208px;height:40px}
.product-header-inner .logo img{width:208px;height:40px}
.product-site-nav{margin-left:auto;display:flex;gap:0;height:69px;float:right}
.product-site-nav a{display:block;width:130px;height:69px;padding:0;overflow:hidden;text-indent:-9999px;background:url('../../old/images/main-mu_04.jpg') no-repeat 0 0;color:transparent;font-size:0;line-height:0}
.product-site-nav a strong{display:none}
.product-site-nav .mu-01{background-position:0 0}.product-site-nav .mu-02{background-position:-130px 0}.product-site-nav .mu-03{background-position:-260px 0}.product-site-nav .mu-04{background-position:-390px 0}.product-site-nav .mu-05{background-position:-520px 0}
.product-site-nav .mu-01:hover{background-position:0 -69px}.product-site-nav .mu-02:hover{background-position:-130px -69px}.product-site-nav .mu-03:hover{background-position:-260px -69px}.product-site-nav .mu-04:hover{background-position:-390px -69px}.product-site-nav .mu-05:hover{background-position:-520px -69px}
.legacy-banner{position:relative;width:980px;margin:0;background:#fff;border-radius:0;overflow:hidden}
.legacy-banner-main{display:block;width:980px;height:auto;max-width:100%}
.legacy-subv-img{position:absolute;left:181px;top:275px;width:159px;height:114px;z-index:1}
.product-content-wrapper{width:980px;margin:0 0 20px;background:#fff url('../../old/images/ball-img_10.jpg') no-repeat left top;padding:20px 45px 30px 22px;border-radius:0 0 10px 10px;box-shadow:0 1px 3px #242424}
.product-art{width:auto;float:none;display:block;background:transparent}
.product-art section{overflow:auto}
.legacy-head{height:45px;display:flex;align-items:center;border-bottom:1px solid #ccc;margin:0 0 0;padding-left:25px;background:transparent}
.legacy-head h1,.legacy-head h2{margin:0;padding-left:25px;background:url('../../old/images/balls.gif') no-repeat left 50%;font-size:22px;line-height:1.2;color:#111;font-weight:700}
.legacy-intro{height:280px;margin:0;padding:0}
.legacy-intro .psts{width:350px;padding-left:25px;margin:0 0 10px;color:#333;line-height:24px}
.legacy-spec{display:block;margin:0 0 0;padding-left:25px;overflow:auto}
.legacy-spec .msu{padding-top:8px;padding-right:30px;overflow:auto}
.legacy-machine,.s3s{float:left;width:299px;height:302px;max-width:100%;overflow:auto}
.legacy-copy,.abdus{float:right;width:520px;color:#333}
.legacy-copy p{font-size:13px;margin:0 0 10px}.legacy-copy h3{color:#039;font-size:13px;margin:0 0 10px}.legacy-copy ol{padding-left:20px;margin:0 0 10px}
.legacy-story{display:block;margin:0;padding-left:25px;overflow:auto}.legacy-story.no-video{display:block}
.legacy-story h2,.legacy-story h3,.legacy-story .t-h1{font-size:18px;margin:0 0 10px;color:#000;line-height:1.3}
.legacy-story p{margin:0 0 10px;color:#333;line-height:24px}.legacy-story.second{display:block}
.legacy-sideimg,.ppsev{float:right;width:167px;height:219px;margin:0 0 10px 20px}
.product-footer{width:980px;margin:0 auto;padding:16px 0;background:transparent;border:0;color:#fff;text-align:left;font-size:12px}

/* about page: preserve old about_01 layout while keeping the shared RWD header */
.about-legacy{--about-blue:#3764af;max-width:1012px;gap:0;padding-top:16px;background:linear-gradient(#3764af,#3764af) left 86px/100% calc(100% - 86px) no-repeat}
.about-legacy-banner{overflow:hidden;background:#0b2f73;border-radius:2px 2px 0 0}
.about-legacy-banner img{display:block;width:100%;height:auto}
.about-legacy-shell{display:grid;grid-template-columns:250px minmax(0,1fr);background:#fff url('../../old/images/inside_about_10.jpg') no-repeat left top;padding:20px 45px 30px 22px;margin-bottom:20px;border-radius:0 0 10px 10px;box-shadow:0 1px 3px rgba(0,0,0,.5)}
.about-legacy-side{min-height:500px;padding-top:196px;padding-right:20px;background:linear-gradient(90deg,rgba(55,100,175,.08),rgba(255,255,255,0) 78%)}
.about-side-photo{display:none}
.about-side-card{background:rgba(255,255,255,.88);border:1px solid #d8d8d8;border-radius:8px;padding:10px;text-align:center;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.about-side-card img{display:block;max-width:100%;height:auto;margin:0 auto 8px}
.about-side-card p{margin:0;color:#345;line-height:1.55;font-size:13px;text-align:left}
.about-legacy-article{background:#fff;min-width:0;padding-left:30px}
.about-headline{position:relative;margin-bottom:15px}
.about-headline h1{font-size:15px;line-height:35px}
.breadcrumb{position:absolute;right:10px;top:5px;display:flex;flex-wrap:wrap;gap:0;list-style:none;margin:0;padding:0;font-size:13px;color:#026dd4}
.breadcrumb li{display:flex;align-items:center;margin-left:6px}
.breadcrumb a{color:#666;text-decoration:none;background:url('../../old/images/vvsw.gif') no-repeat right center;padding-right:10px}
.breadcrumb a:hover{color:#026dd4}
.about-copy{color:#333;font-size:13px;line-height:24px}
.about-copy h2{font-size:18px;line-height:1.35;margin:0 0 10px;color:#000}
.about-copy h3{font-size:15px;line-height:1.4;margin:0 0 5px;color:#004d9c}
.about-copy p{margin:0 0 10px}
.about-copy strong{color:#202020}
.about-float-img{float:right;width:207px;max-width:38%;height:auto;margin:0 0 10px 20px}
.about-badges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;clear:both}
.about-badge{display:flex;align-items:center;gap:10px;border:1px solid #d8e1ef;background:#f6f9ff;border-radius:8px;padding:9px 10px;color:#14366c;font-weight:700;font-size:13px}
.about-badge img{flex:0 0 auto;width:37px;height:36px}

/* news page: legacy list/table look from old news_list.html */
.news-legacy{padding-top:12px;max-width:1012px;gap:0;background:#3764af}
.news-banner{border-radius:2px 2px 0 0}
.news-shell{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:20px;background:#fff;padding:20px 30px 30px 22px;border-radius:0 0 10px 10px;box-shadow:0 1px 3px rgba(0,0,0,.5)}
.news-main-panel{min-width:0;background:#fff}
.news-head{margin-bottom:15px}
.news-head h1{font-size:15px}
.legacy-news-board{width:min(600px,100%);margin:0 auto 36px;background:#fff;font-size:13px;color:#666}
.legacy-news-header{display:grid;grid-template-columns:1fr 96px;align-items:center;height:35px;padding:0 10px;background:#f4f7fb;border:1px solid #cfd7e2;border-bottom:0;color:#000;font-weight:700}
.legacy-news-list{list-style:none;margin:0;padding:0;border-left:1px solid #e1e1e1;border-right:1px solid #e1e1e1;background:repeating-linear-gradient(#fff 0,#fff 29px,#ececec 30px)}
.legacy-news-list li{display:grid;grid-template-columns:1fr 96px;gap:8px;align-items:center;min-height:30px;padding:0 10px;border-bottom:1px solid #ececec}
.legacy-news-list a{display:block;padding-left:20px;background:url('../../old/images/news_ao.gif') no-repeat left center;color:#666;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.legacy-news-list a:hover{color:#039;text-decoration:underline}
.legacy-news-list time{text-align:center;color:#666;font-size:12px}
.legacy-pager{border-top:1px solid #ccc;text-align:center;padding-top:14px;font-size:12px}
.legacy-pager span,.legacy-pager strong{display:inline-block;border:1px solid #ccc;padding:4px 8px;margin:0 3px;background:#fff}
.legacy-pager strong{border-color:#003f7e;background:#eee;color:#000}
.legacy-pager .disabled{color:#aaa;border-color:#eee}
.news-side-panel{background:url('../../old/images/cnews_09.jpg') no-repeat right top;min-height:420px;padding-top:150px}
.news-side-title{height:40px;line-height:40px;text-align:center;color:#000;border-bottom:1px solid #ccc;font-weight:700}
.news-side-panel a:not(.side-contact){display:block;height:34px;line-height:34px;text-align:center;text-decoration:none;color:#666;border-bottom:1px solid #ccc;background:linear-gradient(#fff,#f2f2f2)}
.news-side-panel a:not(.side-contact):hover,.news-side-panel a.active{color:#06c}
.news-side-panel img{display:block;max-width:100%;height:auto;margin:14px auto 0;border-radius:4px}
.news-side-panel .side-contact img{margin-top:12px;border-radius:0}

/* contact page: legacy contact_01 layout */
.contact-legacy{padding-top:12px;max-width:1012px;gap:0;background:#3764af}
.contact-banner{position:relative;border-radius:2px 2px 0 0}
.contact-banner-text{position:absolute;left:17%;bottom:33%;margin:0;color:#fff;font-size:15px;font-family:"Arial Black",Arial,"Microsoft JhengHei",sans-serif;text-shadow:0 1px 3px rgba(0,0,0,.55)}
.contact-shell{background:#fff url('../../old/images/cont-b_10.jpg') no-repeat left top;padding:20px 45px 46px 60px;border-radius:0 0 10px 10px;box-shadow:0 1px 3px rgba(0,0,0,.5);min-height:300px}
.contact-head{display:block;height:auto;border-bottom:0;margin-bottom:18px}
.contact-head h1{font-size:15px;margin-bottom:4px}
.contact-head p{margin:0 0 0 25px;color:#666;font-size:13px;line-height:24px}
.contact-card-legacy{min-height:130px;margin:0 auto 24px;padding:10px;display:flex;align-items:flex-start;gap:20px;background:rgba(255,255,255,.9)}
.contact-icon{flex:0 0 auto;width:108px;height:99px}
.legacy-contact-list{list-style:none;margin:0;padding:0;color:#666;line-height:26px;font-size:14px}
.legacy-contact-list b{color:#000}
.legacy-contact-list a{color:#039;text-decoration:none}
.legacy-contact-list a:hover{text-decoration:underline}
.contact-note-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-left:10px}
.contact-note-grid>div{border:1px solid #d8d8d8;border-radius:8px;background:#fff;padding:14px}
.contact-note-grid h2{font-size:18px;margin:0 0 6px;color:#000}
.contact-note-grid p{margin:0;color:#555}
.contact-note-grid ul{margin:0;padding-left:20px;color:#555}

/* SEO compatibility pages for legacy URLs that have not been fully redesigned yet */
.compat-page{max-width:1012px;padding-top:12px;background:#3764af}
.compat-panel{background:#fff;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.5);padding:22px 26px;color:#333}
.compat-panel h2{font-size:20px;margin:14px 0 8px;color:#000}
.compat-panel h3{font-size:17px;margin:10px 0 6px;color:#003399}
.compat-panel p{margin:0 0 10px}
.compat-media img{display:block;max-width:100%;height:auto;border-radius:8px;margin:0 0 16px}
.compat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.compat-grid section{border:1px solid #d8d8d8;border-radius:10px;padding:12px;background:#f9fbff}
.compat-grid img{display:block;width:100%;height:145px;object-fit:cover;border-radius:8px;margin-bottom:8px}

@media (max-width: 980px){
  .product-legacy-outer,.product-header-inner,.legacy-banner,.product-content-wrapper,.product-footer{width:100%;max-width:980px}
  .product-header-inner{padding-right:8px}
  .legacy-banner-main{width:100%;height:auto}
  .product-content-wrapper{padding:20px 24px 30px 18px}
  .legacy-copy,.abdus{width:calc(100% - 330px)}
  .main-grid,.band,.contact-grid{grid-template-columns:1fr}
  .feature-grid,.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-hero h1{font-size:34px}
  .legacy-story{grid-template-columns:1fr}
  .legacy-story iframe{min-height:260px}
  .about-legacy{max-width:100%;padding-top:12px;background:#3764af}
  .about-legacy-shell{grid-template-columns:220px minmax(0,1fr);padding:18px 22px 26px 18px}
  .about-legacy-side{padding-right:14px}
  .about-legacy-article{padding-left:22px}
  .breadcrumb{position:static;margin-top:-4px;margin-bottom:10px}
  .about-headline{height:auto;display:block;min-height:45px}
  .about-badges{grid-template-columns:1fr}
  .news-shell{grid-template-columns:1fr;padding:18px 22px 26px}
  .news-side-panel{min-height:0;padding-top:0;background:#f8fbff;border:1px solid #d8e1ef;border-radius:8px;padding-bottom:12px}
  .news-side-title{border-bottom:1px solid #d8e1ef}
  .contact-shell{padding:18px 24px 30px;background:#fff}
  .contact-banner-text{left:8%;right:8%;bottom:24%;font-size:14px}
  .compat-grid{grid-template-columns:1fr}
}
@media (max-width: 768px){
  .logo img{width:160px}
  .product-legacy-page{font-size:15px;line-height:1.7}
  .product-legacy-outer{width:100%}
  .product-header-inner{width:100%;height:70px;min-height:70px;background:#fff;padding:0 16px;border-bottom:1px solid var(--line)}
  .product-header-inner .logo{margin:0;width:auto;height:auto}
  .product-header-inner .logo img{width:160px;height:auto}
  .product-site-nav{height:auto;gap:12px;float:none}
  .product-site-nav a{width:auto;height:auto;background:none!important;text-indent:0;color:#333;font-size:15px;line-height:1.4;overflow:visible}
  .product-site-nav a strong{display:inline}
  .legacy-banner,.product-content-wrapper,.product-footer{width:100%}
  .legacy-subv-img{left:12px;top:auto;bottom:12px;width:120px;height:auto}
  .product-content-wrapper{padding:16px 14px 24px;background:#fff;border-radius:0 0 10px 10px}
  .legacy-head{padding-left:0;height:auto;min-height:45px}
  .legacy-head h1,.legacy-head h2{font-size:20px}
  .legacy-intro{height:auto;padding-bottom:14px}
  .legacy-intro .psts{width:auto;padding-left:0;font-size:15px;line-height:1.75}
  .legacy-spec{padding-left:0}
  .legacy-spec .msu{padding-right:0}
  .legacy-machine,.s3s{float:none;display:block;width:299px;height:auto;margin:0 auto 14px}
  .legacy-copy,.abdus{float:none;width:auto}
  .legacy-story{padding-left:0}.legacy-sideimg,.ppsev{float:none;display:block;margin:0 auto 12px;width:167px;height:auto}
  .nav-toggle{display:block}
  .site-nav{display:none;position:absolute;top:70px;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:12px 16px;flex-direction:column;gap:12px}
  .site-nav.is-open{display:flex}
  .about{grid-template-columns:1fr}
  .feature-grid,.feature-grid.two,.news-grid{grid-template-columns:1fr}
  .page-hero{min-height:200px}
  .page-hero .overlay{padding:20px}
  .page-hero h1{font-size:28px}
  .page-hero p{font-size:16px}
  .legacy-subv{position:absolute;left:12px;bottom:12px}
  .legacy-subv img{width:120px}
  .legacy-panel{padding:16px}
  .legacy-head h1,.legacy-head h2{font-size:20px}
  .legacy-spec{grid-template-columns:1fr;gap:14px}
  .legacy-story.second{grid-template-columns:1fr}
  .about-legacy{padding-left:10px;padding-right:10px}
  .about-legacy-shell{display:block;padding:14px 14px 22px;background:#fff;border-radius:0 0 10px 10px}
  .about-legacy-side{min-height:0;padding:0;margin-bottom:16px;background:none;display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:start}
  .about-side-photo{display:block;width:120px;max-width:100%;height:auto;border-radius:8px}
  .about-side-card{padding:8px;text-align:left}
  .about-side-card img{width:120px;margin:0 0 6px}
  .about-legacy-article{padding-left:0;background:#fff}
  .about-headline h1{font-size:18px}
  .about-copy{font-size:15px;line-height:1.75}
  .about-float-img{float:none;display:block;width:207px;max-width:100%;margin:0 auto 14px}
  .breadcrumb{font-size:12px}
  .news-legacy,.contact-legacy{padding-left:10px;padding-right:10px}
  .legacy-news-header,.legacy-news-list li{grid-template-columns:1fr}
  .legacy-news-header span:last-child{display:none}
  .legacy-news-list li{padding:7px 10px;gap:2px}
  .legacy-news-list a{white-space:normal;line-height:1.45}
  .legacy-news-list time{text-align:left;padding-left:20px}
  .contact-banner-text{position:static;background:#174a91;padding:9px 12px;font-size:13px;line-height:1.5}
  .contact-shell{padding:14px}
  .contact-head p{margin-left:0}
  .contact-card-legacy{display:block}
  .contact-icon{display:block;margin:0 0 10px}
  .contact-note-grid{grid-template-columns:1fr;margin-left:0}
}

/* unified inner pages: homepage width + modern cards on legacy blue background */
.inner-page{background:#3764af;color:var(--text);font-family:Arial,"Microsoft JhengHei",sans-serif}
.inner-page .site-header{background:#fff;border-bottom:1px solid var(--line)}
.inner-page .page-wrap{max-width:var(--max);padding:24px 16px 46px;display:grid;gap:20px;background:transparent}
.inner-page .card,.inner-page .page-card,.inner-page .about-legacy-shell,.inner-page .news-shell,.inner-page .contact-shell{background:#fff;border:1px solid rgba(17,24,39,.08);border-radius:14px;box-shadow:0 12px 30px rgba(0,0,0,.16);color:var(--text)}
.inner-page .inner-footer{background:transparent;border-top:1px solid rgba(255,255,255,.24);color:#fff;margin-top:0}
.inner-page h1,.inner-page h2,.inner-page h3{font-family:Arial,"Microsoft JhengHei",sans-serif;color:#1d1d1f;line-height:1.25}
.inner-page h1{font-size:clamp(30px,4vw,44px);margin:0 0 10px;font-weight:800;letter-spacing:-.02em}
.inner-page h2{font-size:clamp(22px,2.4vw,30px);margin:0 0 10px;font-weight:800}
.inner-page h3{font-size:19px;margin:14px 0 8px;color:#174a91}
.inner-page p{font-size:16px;line-height:1.85;color:#444;margin:0 0 12px}
.inner-page strong{color:#222}
.inner-page .eyebrow{display:inline-block;margin-bottom:7px;color:var(--red);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.inner-page .section-head{margin-bottom:10px;border-bottom:1px solid var(--line);padding-bottom:10px}
.inner-page .more,.inner-page .cta{background:var(--red);color:#fff;border-radius:8px;font-weight:700;transition:transform .18s ease,background .18s ease,opacity .18s ease}
.inner-page .more:hover,.inner-page .cta:hover{opacity:1;background:#930d1d;transform:translateY(-1px)}
.inner-hero{position:relative;min-height:320px;border-radius:16px;overflow:hidden;background:#10254c;box-shadow:0 14px 34px rgba(0,0,0,.22)}
.inner-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.72}
.inner-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,16,40,.82),rgba(4,16,40,.42),rgba(4,16,40,.12))}
.inner-hero-copy{position:relative;z-index:1;max-width:720px;padding:42px;color:#fff}
.inner-hero-copy h1,.inner-hero-copy p{color:#fff}.inner-hero-copy p{font-size:18px;color:#f5f7fb}.inner-hero-copy .eyebrow{color:#fff;background:rgba(177,15,35,.86);border-radius:999px;padding:4px 10px}

/* normalize older inner layouts to the same 1180px system */
.about-legacy,.news-legacy,.contact-legacy{max-width:var(--max)!important;background:transparent!important;gap:20px!important;padding-top:24px!important}
.about-legacy-banner,.news-banner,.contact-banner,.legacy-banner{width:100%!important;border-radius:16px!important;overflow:hidden;box-shadow:0 14px 34px rgba(0,0,0,.22);background:#10254c}
.about-legacy-banner img,.legacy-banner-main{display:block;width:100%!important;height:auto;max-width:100%}
.about-legacy-shell{grid-template-columns:280px minmax(0,1fr);gap:24px;padding:24px!important;margin-bottom:0!important;background:#fff!important}
.about-legacy-side{min-height:0;padding:0!important;background:none!important}
.about-legacy-article{padding-left:0!important;background:#fff}
.about-headline,.news-head,.contact-head{height:auto!important;min-height:0!important;margin-bottom:16px!important;border-bottom:1px solid var(--line)!important;padding-bottom:12px!important;padding-left:0!important;background:none!important}
.legacy-head h1,.legacy-head h2,.about-headline h1,.news-head h1,.contact-head h1{background:none!important;padding-left:0!important;font-size:clamp(24px,2.8vw,34px)!important;line-height:1.25!important;color:#1d1d1f!important;margin:0!important}
.breadcrumb{position:static!important;margin:8px 0 0!important;font-size:13px;color:#667085}.breadcrumb a{background:none!important;padding-right:0;color:#667085}.breadcrumb li+li::before{content:"/";margin-right:6px;color:#a0a7b2}
.about-copy{font-size:16px!important;line-height:1.85!important;color:#444!important}.about-copy h2{font-size:clamp(22px,2.4vw,30px)!important;color:#1d1d1f!important}.about-copy h3{font-size:19px!important;color:#174a91!important}.about-side-card{border-color:var(--line);border-radius:12px;box-shadow:none}.about-badge{border-color:#d8e1ef;background:#f6f9ff;border-radius:10px;font-size:14px}
.news-shell{grid-template-columns:minmax(0,1fr) 300px;gap:22px;padding:24px!important}.news-main-panel{background:transparent}.legacy-news-board{width:100%;font-size:15px}.legacy-news-header{display:none}.legacy-news-list{display:grid;gap:12px;border:0;background:transparent}.legacy-news-list li{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;min-height:0;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.04)}.legacy-news-list a{background:none;padding-left:0;color:#222;font-weight:700;font-size:16px;white-space:normal;line-height:1.5}.legacy-news-list a:hover{color:var(--red);text-decoration:none}.legacy-news-list time{font-size:13px;color:#777;text-align:right}.legacy-pager{border-top:0;margin-top:16px}.legacy-pager strong{border-color:var(--red);background:var(--red);color:#fff}.news-side-panel{background:#f8fbff!important;border:1px solid #d8e1ef;border-radius:12px;min-height:0;padding:16px!important}.news-side-title{height:auto;line-height:1.4;padding-bottom:10px;color:#1d1d1f}.news-side-panel a:not(.side-contact){border-radius:8px;border:1px solid var(--line);margin-top:8px;background:#fff;color:#333}.news-side-panel a:not(.side-contact):hover,.news-side-panel a.active{color:var(--red);border-color:#efc5cb}
.contact-shell{padding:24px!important;min-height:0;background:#fff!important}.contact-head p{margin:8px 0 0!important;font-size:16px!important;line-height:1.7!important}.contact-card-legacy{border:1px solid var(--line);border-radius:12px;padding:16px!important;background:#f8fbff!important}.legacy-contact-list{font-size:16px;line-height:1.85;color:#444}.legacy-contact-list a{color:var(--red)}.contact-note-grid{margin-left:0;gap:16px}.contact-note-grid>div{border-color:var(--line);border-radius:12px;background:#fff}.contact-note-grid h2{font-size:22px;color:#1d1d1f}.contact-banner-text{border-radius:999px;background:rgba(177,15,35,.9);padding:7px 14px;font-family:Arial,"Microsoft JhengHei",sans-serif;font-size:15px;color:#fff}.contact-banner-text strong{color:#fff}

/* contact page final pass: one legacy-style main block, matching old/contact_01.html */
.contact-main-block{width:100%;max-width:980px;margin:0 auto 20px;overflow:hidden;border-radius:2px 2px 10px 10px;box-shadow:0 1px 3px rgba(0,0,0,.5);background:#fff}
.contact-main-block .contact-banner{width:100%!important;border-radius:0!important;box-shadow:none!important;background:#fff}
.contact-main-block .legacy-banner-main{width:100%!important;max-width:100%;height:auto}
.contact-main-block .contact-banner-text{left:169px;top:248px;right:auto;bottom:auto;margin:0;padding:0;border-radius:0;background:transparent;color:#fff;font-family:"Arial Black",Arial,"Microsoft JhengHei",sans-serif;font-size:15px;line-height:1.4;text-shadow:none}
.contact-main-block .contact-shell{border:0!important;border-radius:0!important;box-shadow:none!important;min-height:300px;padding:20px 45px 46px 60px!important;background:#fff url('../../old/images/cont-b_10.jpg') no-repeat left top!important;color:#333}
.contact-main-block .contact-head{display:block!important;height:auto!important;margin:0 0 18px!important;padding:0!important;border:0!important;background:transparent!important}
.contact-main-block .contact-head h1{margin:0!important;padding-left:25px!important;background:url('../../old/images/balls.gif') no-repeat left 50%!important;color:#000!important;font-size:15px!important;line-height:35px!important;font-weight:700!important;letter-spacing:0!important}
.contact-main-block .contact-head p{margin:0 0 0 25px!important;color:#666!important;font-size:13px!important;line-height:24px!important}
.contact-main-block .contact-card-legacy{display:flex;align-items:flex-start;gap:20px;min-height:130px;margin:0 auto 20px;padding:10px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.contact-main-block .contact-icon{flex:0 0 auto;float:left;width:108px;height:99px;margin:0 20px 0 0}
.contact-main-block .legacy-contact-list{list-style:none;margin:0;padding:0;color:#666;font-size:14px;line-height:26px}
.contact-main-block .legacy-contact-list b{color:#000}.contact-main-block .legacy-contact-list a{color:#039;text-decoration:none}.contact-main-block .legacy-contact-list a:hover{text-decoration:underline}

.product-page{max-width:var(--max)}
.product-feature-grid{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.4fr);gap:20px}
.product-media-card{display:grid;place-items:center;padding:22px}.product-media-card img{width:min(100%,360px);height:auto;border-radius:12px}.product-spec-card{padding:24px}.product-intro,.page-card{padding:24px}.check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:16px 0;padding:0;list-style:none}.check-list li{position:relative;padding-left:26px;color:#333;font-weight:700}.check-list li::before{content:"";position:absolute;left:0;top:.45em;width:14px;height:14px;border-radius:50%;background:var(--red);box-shadow:inset 0 0 0 4px #fff;border:1px solid var(--red)}.product-story{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;align-items:start}.product-story>img{width:167px;max-width:100%;height:auto;border-radius:12px;box-shadow:0 8px 18px rgba(0,0,0,.12)}

@media (max-width: 980px){
  .about-legacy-shell,.news-shell,.product-feature-grid,.product-story{grid-template-columns:1fr!important}
  .news-side-panel{order:2}.about-legacy-side{display:block!important}.about-side-photo{display:none!important}
  .inner-hero{min-height:280px}.inner-hero-copy{padding:30px}
}
@media (max-width: 768px){
  .inner-page .page-wrap{padding:16px 10px 34px;gap:14px}
  .inner-hero{min-height:0}.inner-hero>img{position:relative;height:auto;opacity:1}.inner-hero::after{display:none}.inner-hero-copy{background:#10254c;padding:20px}.inner-hero-copy p{font-size:16px}
  .about-legacy,.news-legacy,.contact-legacy{padding-left:10px!important;padding-right:10px!important;padding-top:16px!important}
  .about-legacy-shell,.news-shell,.contact-shell,.product-intro,.page-card,.product-spec-card{padding:16px!important}
  .check-list{grid-template-columns:1fr}.contact-note-grid{grid-template-columns:1fr}.contact-banner-text{position:static;border-radius:0;background:#b10f23}
  .legacy-news-header,.legacy-news-list li{grid-template-columns:1fr}.legacy-news-header span:last-child{display:none}.legacy-news-list time{text-align:left;padding-left:0;color:#777}
}
@media (max-width: 768px){
  .contact-main-block{border-radius:0 0 10px 10px}
  .contact-main-block .contact-banner-text{position:static;margin:0;padding:9px 12px;background:#174a91;color:#fff;font-size:13px;line-height:1.5}
  .contact-main-block .contact-shell{padding:14px!important;background:#fff!important}
  .contact-main-block .contact-head h1{font-size:20px!important;line-height:1.4!important}
  .contact-main-block .contact-head p{margin-left:0!important;font-size:15px!important;line-height:1.7!important}
  .contact-main-block .contact-card-legacy{display:block;min-height:0;margin-bottom:0}
  .contact-main-block .contact-icon{display:block;float:none;margin:0 0 10px}
  .contact-main-block .legacy-contact-list{font-size:15px;line-height:1.75}
}

/* 1180px legacy-aligned inner pages: match homepage panel width without modern card stacking */
.about-legacy,.news-legacy,.contact-legacy,.product-legacy-modern{max-width:var(--max)!important;gap:0!important;padding-top:24px!important}
.about-legacy-banner,.news-banner,.contact-main-block .contact-banner,.product-main-block .product-banner{border-radius:2px 2px 0 0!important;box-shadow:none!important;background:#fff!important}
.about-legacy-banner img,.news-banner .legacy-banner-main,.contact-main-block .legacy-banner-main,.product-main-block .legacy-banner-main{display:block;width:100%!important;height:auto;max-width:100%}
.about-legacy-shell,.news-shell,.contact-main-block .contact-shell,.product-content-panel{border:0!important;border-radius:0 0 10px 10px!important;box-shadow:0 1px 3px rgba(0,0,0,.5)!important;background-color:#fff!important;color:#333}

.contact-main-block,.product-main-block{width:100%;max-width:var(--max);margin:0 auto 20px;overflow:hidden;border-radius:2px 2px 10px 10px;background:#fff}
.contact-main-block{box-shadow:none}
.contact-main-block .contact-banner-text{left:17.25%;top:64%;right:auto;bottom:auto}
.contact-main-block .contact-shell{padding:20px 45px 46px 60px!important;background:#fff url('../../old/images/cont-b_10.jpg') no-repeat left top!important;background-size:100% auto!important}

.about-legacy-shell{display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;gap:24px!important;padding:20px 45px 30px 22px!important;background:#fff url('../../old/images/inside_about_10.jpg') no-repeat left top!important;background-size:auto 313px!important}
.about-legacy-side{min-height:500px!important;padding:0!important;background:transparent!important}
.about-legacy-article{padding-left:30px!important;background:transparent!important}
.about-headline,.news-head,.product-head{border-bottom:1px solid #ccc!important;padding-bottom:0!important;margin-bottom:15px!important;background:transparent!important}
.about-badges,.about-side-card,.about-side-photo{display:none!important}

.news-shell{display:grid!important;grid-template-columns:minmax(0,1fr) 250px!important;gap:20px!important;padding:20px 30px 30px 22px!important;background:#fff!important}
.news-main-panel{background:transparent!important}.legacy-news-board{width:min(760px,100%);margin:0 auto 36px;font-size:13px;color:#666;background:#fff}
.legacy-news-header{display:grid!important;grid-template-columns:1fr 96px;align-items:center;height:35px;padding:0 10px;background:#f4f7fb;border:1px solid #cfd7e2;border-bottom:0;color:#000;font-weight:700}
.legacy-news-list{display:block!important;list-style:none;margin:0;padding:0;border:1px solid #e1e1e1;border-bottom:0;background:repeating-linear-gradient(#fff 0,#fff 29px,#ececec 30px)!important}
.legacy-news-list li{display:grid!important;grid-template-columns:1fr 96px!important;gap:8px;align-items:center;min-height:30px;padding:0 10px!important;border:0!important;border-bottom:1px solid #ececec!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.legacy-news-list a{display:block;padding-left:20px!important;background:url('../../old/images/news_ao.gif') no-repeat left center!important;color:#666!important;text-decoration:none!important;font-weight:400!important;font-size:13px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;line-height:30px!important}.legacy-news-list time{text-align:center!important;color:#666!important;font-size:12px!important}.legacy-news-list a:hover{color:#039!important;text-decoration:underline!important}
.news-side-panel{background:#fff url('../../old/images/cnews_09.jpg') no-repeat right bottom!important;min-height:420px!important;padding:0!important;border:0!important;border-radius:0!important}.news-side-title{height:40px!important;line-height:40px!important;text-align:center;border-bottom:1px solid #ccc;padding:0!important}.news-side-panel a:not(.side-contact){display:block;height:34px;line-height:34px;margin:0!important;border:0!important;border-bottom:1px solid #ccc!important;border-radius:0!important;background:linear-gradient(#fff,#f2f2f2)!important;color:#666!important;text-align:center}

.product-main-block{box-shadow:0 1px 3px rgba(0,0,0,.5)}
.product-content-panel{padding:20px 45px 30px 22px!important;background:#fff url('../../old/images/ball-img_10.jpg') no-repeat left top!important;background-size:100% auto!important;min-height:520px}
.product-head{height:45px!important;display:flex!important;align-items:center!important;padding-left:25px!important}.product-head h1,.product-head h2{margin:0!important;padding-left:25px!important;background:url('../../old/images/balls.gif') no-repeat left 50%!important;color:#111!important;font-size:22px!important;line-height:1.2!important;font-weight:700!important}.product-head.second-head{margin-top:18px!important}
.product-intro-legacy{height:auto!important;min-height:210px;margin:0;padding:0}.product-intro-legacy .psts{width:44%;padding-left:25px;margin:0 0 10px;color:#333;font-size:13px;line-height:24px}
.product-spec-legacy{display:block;margin:0;padding-left:25px;overflow:auto}.product-spec-legacy .msu{padding-top:8px;padding-right:30px;overflow:auto}.product-spec-legacy .s3s{float:left;width:299px;height:302px;max-width:100%;overflow:auto}.product-spec-legacy .abdus{float:right;width:calc(100% - 340px);color:#333;font-size:13px;line-height:24px}.product-spec-legacy h3{font-size:13px;color:#039;margin:0 0 10px}.product-spec-legacy p{font-size:13px;line-height:24px;margin:0 0 10px}.product-spec-legacy ol{margin:0 0 10px;padding-left:20px}
.product-story-legacy{display:block;margin:0;padding-left:25px;overflow:auto}.product-story-legacy h3{font-size:18px;margin:0 0 10px;color:#000;line-height:1.3}.product-story-legacy p{margin:0 0 10px;color:#333;font-size:13px;line-height:24px}.product-story-legacy .ppsev{float:right;width:167px;height:219px;margin:0 0 10px 20px;border-radius:0;box-shadow:none}

@media (max-width:980px){
  .about-legacy-shell,.news-shell{grid-template-columns:1fr!important}.about-legacy-side{display:none!important}.about-legacy-article{padding-left:0!important}.news-side-panel{min-height:0!important;padding:0 0 12px!important;background:#f8fbff!important;border:1px solid #d8e1ef!important;border-radius:8px!important}.product-intro-legacy .psts{width:auto}.product-spec-legacy .abdus{float:none;width:auto}.product-spec-legacy .s3s{float:none;display:block;margin:0 auto 14px}
}
@media (max-width:768px){
  .about-legacy,.news-legacy,.contact-legacy,.product-legacy-modern{padding-left:10px!important;padding-right:10px!important;padding-top:16px!important}.about-legacy-shell,.news-shell,.contact-main-block .contact-shell,.product-content-panel{padding:14px!important;background:#fff!important}.contact-main-block .contact-banner-text{position:static;margin:0;padding:9px 12px;background:#174a91;color:#fff;font-size:13px;line-height:1.5}.legacy-news-header{display:none!important}.legacy-news-list li{grid-template-columns:1fr!important;padding:7px 10px!important}.legacy-news-list a{white-space:normal!important;line-height:1.45!important}.legacy-news-list time{text-align:left!important;padding-left:20px}.product-head{padding-left:0!important}.product-head h1,.product-head h2{font-size:20px!important}.product-intro-legacy{min-height:0}.product-intro-legacy .psts,.product-spec-legacy,.product-story-legacy{padding-left:0}.product-story-legacy .ppsev{float:none;display:block;margin:0 auto 12px;width:167px;height:auto}
}
