/* E-TECH migration layout repairs. Original page routes and content are preserved. */
body .header{max-width:calc(100% - 32px)}
body .logo{width:150px;height:150px;flex:none}
body .logo img{display:block;width:150px;height:150px;object-fit:contain;opacity:1}
body .header_right{margin-left:30px}
body .conpany{margin-left:0}
/* Limit the legacy slider to its 1920px source canvas, centred on wide displays. */
body .pics_wrap{width:100%;overflow:hidden;clear:both}
body #html5zoo-1{width:100%!important;max-width:1920px!important;height:auto!important;margin:0 auto!important}
body #html5zoo-1 [class^="html5zoo-text-wrapper-"]{display:none!important}
body #html5zoo-1 [class^="html5zoo-nav-"]{margin-bottom:0}
/* The legacy theme uses these widths and floats without defining them. */
body .wrap{width:1040px;max-width:calc(100% - 32px);margin:0 auto;display:flow-root}
body .wrap>#primary,body .wrap>#primary>#main{width:100%;max-width:100%;margin-left:auto;margin-right:auto;display:flow-root}
body .w250{width:250px;box-sizing:border-box}
body .w690{width:690px;box-sizing:border-box}
body.single .w960{width:960px;max-width:calc(100% - 32px);display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;margin:0 auto}
body.single .w960>.ur_here{grid-column:1/-1}
body.single .w960>.w250,body.single .w960>.w690{float:none;width:auto;min-width:0}
body.single .w960>.w250>.w250{margin-top:0}
body.single .w960:has(>.w690)>article{display:none}
body .goods_img{width:100%!important;box-sizing:border-box;padding-left:0;float:none!important}
body .goods_img img{max-width:100%;height:auto!important}
body .entry-content{line-height:1.8;overflow-wrap:anywhere;display:flow-root;min-width:0}
body .entry-content img{max-width:100%;height:auto}
body .entry-content table{max-width:100%}
body .mainL,body .floatL{float:left}
body .mainR,body .floatR{float:right}
body .mainL{width:205px}
body .mainR{width:calc(100% - 235px);min-width:0}
body .main_con{width:100%;min-height:0;box-sizing:border-box}
body .entry-content:not(:has(>.mainL))>.mainR{width:100%;float:none}
/* Centre product/category cards; heading and pagination occupy a complete row. */
body.archive .wrap>#primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:24px 0}
body.archive #primary>h1,body.archive #primary>nav,body.archive #primary>.pagination,body.archive #primary>.page-numbers,body.archive #primary>.navigation{grid-column:1/-1}
body.archive #primary>article{min-width:0}
body.archive .goodsItem{float:none;width:100%;margin:0;box-sizing:border-box;height:auto;min-height:260px}
body.archive .goodsItem img{max-width:calc(100% - 24px);width:auto;height:190px;object-fit:contain}
body .footer_right{clear:both}
body .new_foot{max-width:calc(100% - 32px);display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px}
body .new_foot ul{float:none;margin-right:0}
@media(max-width:1050px){
 body .header{height:auto;min-height:160px;display:flex;align-items:center;gap:24px}
 body .header_right{float:none;margin:0;min-width:0}
 body .conpany{font-size:clamp(16px,2.3vw,26px)}
 body .conpany h4{font-size:clamp(18px,2.5vw,30px)!important}
 body .shangdh{position:absolute;right:0;top:0}
 body.single .w960{grid-template-columns:230px minmax(0,1fr)}
 body .w250{max-width:100%}
 body .imain_bottom{width:100%;box-sizing:border-box;padding-left:0}
 body .imain_bottom>ul{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
 body .imain_bottom li{float:none;padding:0}
}
@media(max-width:760px){
 body .header{gap:12px;min-height:130px}
 body .logo,body .logo img{width:110px;height:110px}
 body .head-share{margin-right:0;margin-top:4px}
 body #amt_nav,body #amt_nav>ul{width:100%;max-width:100%}
 body #nav{height:auto}
 body #amt_nav>ul{display:flex;flex-wrap:wrap;justify-content:center}
 body #amt_nav>ul>li{float:none}
 body.single .w960{display:flex;flex-direction:column;gap:16px}
 body.single .w960>.w250{order:3}
 body.single .w960>.w690{width:100%}
 body.archive .wrap>#primary{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body .mainL,body .mainR{float:none;width:100%}
 body .mainL{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}
 body .mainL>p{display:none}
 body .mainL .left_adver{margin:0}
 body .entry-content{overflow-x:auto}
}
@media(max-width:480px){body.archive .wrap>#primary{grid-template-columns:minmax(0,1fr)}body .header{padding-top:24px}}

/* Anchor navigation hover indicator inside each link, above page banners. */
body #nav{position:relative;z-index:100;isolation:isolate}
body #nav li a{position:relative;background-image:none!important}
body #nav li a::after{content:"";position:absolute;left:2px;right:2px;bottom:3px;height:2px;background:#fff;pointer-events:none;opacity:0;transform:scaleX(.65);transition:opacity .15s ease,transform .15s ease}
body #nav li a:hover::after,body #nav li a:focus-visible::after,body #nav li a.check::after{opacity:1;transform:scaleX(1)}
@media(prefers-reduced-motion:reduce){body #nav li a::after{transition:none}}

/* Bilingual footer: remove legacy float widths and align all columns. */
body .footer_right{clear:both;float:none;width:100%;margin:32px 0 0;padding:32px 0;background:#2d2d2d;box-sizing:border-box}
body .new_foot.w960{display:grid;grid-template-columns:1.1fr 1.15fr 1.2fr 1fr 1.5fr;gap:28px;width:1040px;max-width:calc(100% - 40px);margin:0 auto;padding:0;box-sizing:border-box;align-items:start}
body .new_foot ul{float:none;width:auto;min-width:0;padding:0;margin:0;list-style:none}
body .new_foot li{padding:0;margin:0;line-height:1.65;overflow-wrap:anywhere;font-size:14px}
body .new_foot li+li{margin-top:8px}
body .new_foot li:first-child{margin-bottom:14px;font-size:16px;color:#fff}
body .new_foot a{color:#cacaca;text-decoration:none}
body .new_foot a:hover,body .new_foot a:focus-visible{color:#fff;text-decoration:underline}
body .foot_bottom{clear:both;height:auto;min-height:45px;line-height:1.7;padding:14px 20px;box-sizing:border-box;font-size:13px;overflow-wrap:anywhere}
body nav.cms-language-switch{display:flex;justify-content:flex-end;align-items:center;gap:16px;width:1040px;max-width:calc(100% - 32px);margin:0 auto;padding:8px 0;box-sizing:border-box;font:13px/1.5 Arial,sans-serif}
body nav.cms-language-switch a{color:#555;text-decoration:none}
body nav.cms-language-switch a[aria-current=page]{color:#c64c00;font-weight:bold}
body #amt_nav>ul{display:flex;justify-content:center;flex-wrap:wrap;margin:0;padding:0;list-style:none}
body #amt_nav>ul>li{float:none;display:block}
body #nav{float:none;clear:both;overflow:visible;display:flow-root;position:relative;z-index:100}
body #amt_nav{overflow:visible}
body .dropMenu{z-index:200}
body .etech-content-media img{display:block;max-width:100%;height:auto;margin:16px auto}
html[lang=zh-CN] .entry-content{font-family:Arial,"Microsoft YaHei",sans-serif;font-size:15px;line-height:1.9}
body .imain_bottom{display:flow-root;width:1040px;max-width:calc(100% - 32px);margin:24px auto;padding-left:0;box-sizing:border-box}
body .imain_bottom>ul{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:0}
body .imain_bottom li{float:none;padding:0;min-width:0}
@media(max-width:1050px){body .new_foot.w960{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}}
@media(max-width:760px){body .new_foot.w960{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}body #nav li{padding:0 10px}body #nav li a{font-size:14px}body .header_right{flex:1}body .new_foot li{font-size:13px}}
@media(max-width:480px){body .new_foot.w960{grid-template-columns:minmax(0,1fr)}body .header{flex-wrap:nowrap}body .conpany{font-size:13px}body .conpany h4{font-size:17px!important}body .head-share,body .shangdh{display:none}body .header{padding-top:0;gap:8px;min-height:110px}body .logo,body .logo img{width:80px;height:80px}body .foot_bottom{font-size:12px}}

body .etech-table-scroll{max-width:100%;overflow-x:auto;margin:20px 0}
body .etech-equipment-table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.6}
body .etech-equipment-table th,body .etech-equipment-table td{border:1px solid #ddd;padding:8px;text-align:left;vertical-align:top}
body .etech-equipment-table th{background:#f3f5f7;color:#222}
body .etech-equipment-table caption{padding:12px;font-weight:bold;text-align:left}
body .entry-content details{margin:20px 0}

/* Replace the CSP-blocked legacy dropdown animation with a complete menu. */
body .dropMenu{display:none;position:absolute;z-index:1000;box-sizing:border-box;padding:8px 0;overflow-y:auto;overflow-x:hidden;background:#2d2d2d;border-radius:0 0 6px 6px;box-shadow:0 5px 14px #0003}
body .dropMenu li,body .dropMenu ul{box-sizing:border-box;width:100%!important;list-style:none;margin:0;padding:0}
body .dropMenu a{box-sizing:border-box;width:100%;padding:8px 16px;line-height:1.5}
body #amt_nav{width:1040px;max-width:100%}
body .w1200{width:1040px;max-width:100%;margin:0 auto;box-sizing:border-box}
body.archive #primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%;padding:24px 0;box-sizing:border-box}
body.archive #primary>h1,body.archive #primary>nav,body.archive #primary>.navigation{grid-column:1/-1}
body.archive #primary>article{min-width:0}
body .ipro{width:1003px;max-width:calc(100% - 32px);box-sizing:border-box;display:flow-root}
body .ipro .ipro_tu,body .ipro .ipro_tit{width:100%;box-sizing:border-box}
body .ipro .ipro_tit{padding:0 16px;font-size:16px}
body .ipro .ipro_tit span{padding:0;font-size:13px}
body .ipro .wc960,body .ipro .bd,body .ipro .warp-pic-list,body .ipro .wrapBox{width:100%;max-width:100%;box-sizing:border-box}
body .inews{width:1004px;max-width:calc(100% - 32px);display:flow-root}
body .inews .inews_tu,body .inews_tit{width:100%;box-sizing:border-box}
body .index_new{width:100%;max-width:100%;box-sizing:border-box}
body .imain_bottom video,body .imain_bottom img{max-width:100%;height:auto}
body .conpany{overflow-wrap:anywhere}
@media(max-width:1050px){
 body .ipro .wrapBox{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:16px}
 body .ipro .box-item{float:none;width:auto!important;margin:0;padding:0;min-width:0}
 body .ipro .box-item>a,body .ipro .box-item img{width:100%;max-width:100%;height:auto}
 body .i_about_left{width:65%;margin-left:0;box-sizing:border-box;padding:0 16px}
 body .i_about_right{width:30%;margin:0;box-sizing:border-box}
 body .index_about1{width:48%;margin-top:16px}
 body .index_new ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 body .index_new li{width:auto!important;margin:0;padding:0;min-width:0}
 body .index_new img{max-width:100%;height:auto}
 body .index_new .new_pic{width:100%;height:auto}
}
@media(max-width:760px){
 body.archive #primary{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body .ipro .wrapBox{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .i_about_left,body .i_about_right{width:100%;float:none;margin:0;padding:0 16px}
 body .i_about_right img{max-width:100%;height:auto}
 body .header_right{overflow:hidden}
 body .conpany{white-space:normal;line-height:1.4}
 body .index_new{padding:0 16px}
}
@media(max-width:480px){body.archive #primary,body .ipro .wrapBox{grid-template-columns:minmax(0,1fr)}body .ipro .ipro_tit{font-size:14px}body .imain_bottom>ul{display:grid;grid-template-columns:minmax(0,1fr)}body .imain_bottom li{width:100%}body .imain_bottom li img,body .imain_bottom li video{width:100%}}

body .pics_wrap{position:relative;z-index:0}
body .etech-more-link{display:inline-block;padding:5px 14px;border-radius:16px;background:#444;color:#fff;font-size:13px;line-height:1.5;text-decoration:none;float:right}

body .i_new_list{height:auto;width:1003px;max-width:calc(100% - 32px);margin:0 auto;box-sizing:border-box;display:flow-root}
body .i_new_list .inews_tit{width:100%}
body .i_new_list>ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;width:100%;box-sizing:border-box;margin:0;padding:20px 0}
body .i_new_list>ul>li{height:auto;float:none;width:auto;min-width:0;margin:0;padding:0}
body .i_new_list>ul>li a{width:100%;display:block}
body .i_new_list img{width:100%;height:150px;object-fit:contain}
@media(max-width:760px){body .i_new_list>ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}body .i_new_list img{height:120px}}
@media(max-width:480px){body .i_new_list>ul{grid-template-columns:minmax(0,1fr)}body .i_new_list img{height:auto}}

/* Production audit: semantic headings and local search */
.cms-seo-heading{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.cms-home-icon{font-size:18px;line-height:1;vertical-align:middle}.cms-search-form{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.cms-search-form input{flex:1;min-width:120px;padding:10px;box-sizing:border-box}.cms-search-form button{padding:10px 18px}.cms-search-results{list-style:none;margin:0;padding:0}.cms-search-results li{padding:16px 0;border-bottom:1px solid #ddd}.cms-search-results h2{font-size:20px;line-height:1.5}.cms-search-results p{line-height:1.7}
