/* 陕西华盛远专属兼容层：主体视觉由原站样式表提供 */
html{scroll-behavior:smooth}
body{margin:0}
main{overflow:hidden}
.ml_banner .swiper-slide img{display:block;width:100%}
.pclogo img,.ml_mb_logo img{max-width:100%}
.pcnav a,.ml_mb_nav a,.foot a,.ml_mbbot a{text-decoration:none}
.ml_mbbot a{display:block;text-align:center}
@media(max-width:995px){body{padding-bottom:52px}.pchead{display:none}.ml_mb_head{display:flex}.ml_banner{margin-top:0}}
.legacy-detail{padding:10px 0 50px;color:#555;line-height:2}.legacy-detail h1{text-align:center;font-size:26px;color:#333;margin:12px 0}.legacy-detail__meta{text-align:center;color:#999;border-bottom:1px solid #eee;padding-bottom:18px;margin-bottom:25px}.legacy-detail__cover{text-align:center}.legacy-detail__cover img{max-width:100%;height:auto}.legacy-detail__summary{padding:18px 22px;background:#f5f5f5;margin:20px 0}.legacy-detail__content img,.legacy-gallery img{max-width:100%;height:auto}.legacy-detail__content h2{font-size:22px;color:#333;margin-top:28px}.legacy-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:25px}@media(min-width:996px){.con2{height:608px}.con3{height:1220px}}@media(max-width:995px){.legacy-detail h1{font-size:20px}.legacy-gallery{grid-template-columns:1fr}}

/* 新闻、案例详情的上一篇/下一篇：覆盖旧站 update.css 的大块按钮样式。 */
.legacy-detail .update_detail_bot{display:flex;align-items:stretch;justify-content:space-between;gap:18px;margin:32px 0 0;padding-top:22px;border-top:1px solid #e5e5e5;overflow:visible}
.legacy-detail .update_detail_bot a{box-sizing:border-box;display:flex!important;align-items:center;width:calc(50% - 9px)!important;height:auto!important;min-height:52px!important;margin:0!important;padding:12px 16px!important;border:1px solid #ddd!important;border-radius:3px;background:#fff;color:#444!important;font-size:14px!important;line-height:1.5!important;text-decoration:none;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;transition:border-color .2s,color .2s,background-color .2s}
.legacy-detail .update_detail_bot a:hover{border-color:#e60000!important;color:#e60000!important;background:#fffafa}
.legacy-detail .update_detail_bot .next{justify-content:flex-start;text-align:left}
.legacy-detail .update_detail_bot a[aria-disabled="true"]{color:#999!important;background:#fafafa;cursor:default}
@media(max-width:767px){.legacy-detail .update_detail_bot{display:grid;grid-template-columns:1fr;gap:10px;margin-top:24px;padding-top:18px}.legacy-detail .update_detail_bot a{width:100%!important;height:auto!important;min-height:48px!important;padding:11px 14px!important;white-space:normal}.legacy-detail .update_detail_bot .next{justify-content:flex-start;text-align:left}}
.seo-page-title{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}
.inbanner h1{font-size:30px;color:#fff;font-weight:400;line-height:inherit;margin:0;padding:0;text-align:center}
.form-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}.ml_contactcon_right button.ml_sub{border:0;cursor:pointer}.form-result{clear:both;padding-top:10px;color:#278c3d}.form-result--error{color:#c33}
.contrast-content{box-sizing:border-box;max-width:900px;margin:0 auto;padding:40px 20px}
.contrast-content *{box-sizing:border-box}
.contrast-row{position:relative;display:flex;align-items:center;gap:20px;margin-bottom:30px}
.contrast-row>div{position:relative;flex:1;max-width:none;text-align:center;border-radius:16px;overflow:hidden;background:#d6eaf8}
.contrast-row>div:last-child{background:#2471a3}
.contrast-row img{display:block;width:100%;height:400px;object-fit:cover}
.contrast-row span{display:block;padding:12px 0;color:#2471a3;font-size:18px;font-weight:700;line-height:1.5}
.contrast-row>div:last-child span{color:#fff}
.contrast-row b{position:absolute;left:50%;top:50%;z-index:2;display:flex;width:56px;height:56px;align-items:center;justify-content:center;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:#e74c3c;box-shadow:0 2px 10px rgba(0,0,0,.25);color:#fff;font-size:22px;font-style:normal;font-weight:700;line-height:1}
.ml_bread_inner{width:calc(100% - 30px);max-width:1135px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box;color:#333}
.ml_bread_inner a,.ml_bread_inner a:visited,.ml_bread_inner span{color:#333!important;text-decoration:none!important}
@media(max-width:995px){.ml_bread_inner{width:100%;padding-left:15px!important;padding-right:15px!important;font-size:14px}}
/* Case/gallery template rules are emitted inline by the legacy ASP.NET page;
   keep them locally so YRCMS-generated lists retain the same 3-column grid. */
.ml_piclist1_ul{display:flex;flex-wrap:wrap;width:100%}
.ml_piclist1_ul>li{width:calc((100% - 70px)/3);margin:0 35px 35px 0;text-align:center}
.ml_piclist1_ul>li:nth-child(3n){margin-right:0}
.ml_piclist1_ul>li>a{display:block;overflow:hidden}
.ml_piclist1_ul>li img{display:block;width:100%;height:230px;object-fit:cover;transition:transform .4s ease}
.ml_piclist1_ul>li:hover img{transform:scale(1.05)}
.ml_piclist1_ul>li p{padding:15px 8px;color:#444;font-size:16px;line-height:25px}
@media(max-width:995px){.ml_piclist1_ul>li{width:100%;margin:0 0 20px}.ml_piclist1_ul>li img{height:230px}.ml_piclist1_ul>li p{padding:12px 6px}}
/* These migrated sections have no child categories. The legacy script may
   inject the current category into an empty sidebar list, causing a duplicate. */
.left_inside_left>ul{display:none!important}
@media(max-width:995px){.inbanner h1{font-size:20px}}
@media(max-width:600px){.contrast-content{padding:24px 0}.contrast-row{gap:12px;margin-bottom:20px}.contrast-row img{height:140px}.contrast-row span{padding:8px 0;font-size:14px}.contrast-row b{width:42px;height:42px;font-size:16px}}
/* 业务详情页：对齐目标站产品展示结构 */
.sxhsy-product-detail .ml_prodetailright h1{display:block;margin:0 0 20px;color:#333;font-size:30px;font-weight:400;line-height:1.45}
.sxhsy-product-detail .query{width:150px;height:40px;border:0;border-radius:5px;background:var(--main-color);color:#fff;font-size:14px;cursor:pointer}
.query_lay{position:fixed;inset:0;z-index:9999;display:none;background:rgba(0,0,0,.55)}
.query_layout{display:flex;width:100%;height:100%;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.query_laycon{box-sizing:border-box;width:min(1000px,calc(100vw - 48px));padding:42px 40px 40px;background:#fff}
.query_laycon strong{display:block;margin:0 0 8px;color:#303133;font-size:34px;line-height:1.3;text-align:center}
.query_laycon input,.query_laycon textarea{box-sizing:border-box;width:100%;margin:0 0 40px;border:1px solid #c9c9c9;border-radius:4px;background:#fff;color:#333;font:inherit;font-size:20px;outline:none;transition:border-color .2s,box-shadow .2s}
.query_laycon input{height:80px;padding:0 30px}.query_laycon textarea{height:160px;padding:26px 30px;resize:vertical}
.query_laycon input:focus,.query_laycon textarea:focus{border-color:#999;box-shadow:0 0 0 2px rgba(0,0,0,.04)}
.query_laycon input::placeholder,.query_laycon textarea::placeholder{color:#888}
.query-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}
.b_cz{display:flex;justify-content:center;gap:184px}.b_cz button{width:276px;height:80px;border:0;background:var(--main-color);color:#fff;font-size:24px;font-weight:600;cursor:pointer}.b_cz .close_cancle{background:#b5b5b5}
@media(max-width:995px){.sxhsy-product-detail .ml_prodetailright h1{font-size:20px}.query_layout{padding:16px}.query_laycon{width:100%;max-height:calc(100vh - 32px);padding:28px 24px;overflow-y:auto}.query_laycon strong{font-size:28px}.query_laycon input,.query_laycon textarea{margin-bottom:20px;font-size:17px}.query_laycon input{height:58px;padding:0 20px}.query_laycon textarea{height:110px;padding:18px 20px}.b_cz{gap:16px}.b_cz button{width:50%;height:56px;font-size:19px}}

/* 首页业务范围：去掉左侧栏目导航，四项业务一行四列。 */
.con3{height:auto!important}
.con3-services-grid{display:block}
.con3-services-grid .con3right{width:100%;margin-top:0}
.con3-services-grid .con3right>ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.con3-services-grid .con3right>ul>li,.con3-services-grid .con3right>ul>li:nth-child(3n){box-sizing:border-box;width:100%;margin:0;padding:10px}
.con3-services-grid .con3_r_box img{height:240px}
.con3-services-grid .con3_r_txt p,.con3-services-grid .con3_r_txt span{white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1199px){.con3-services-grid .con3right>ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.con3-services-grid .con3right>ul{grid-template-columns:1fr;gap:16px}.con3-services-grid .con3_r_box img{height:230px}.con3-services-grid .con3_r_txt a{display:block}}

/* 工程案例详情：项目档案式展示，不影响案例图集和新闻详情。 */
.case-study{box-sizing:border-box;width:calc(100% - 30px);max-width:1135px;margin:0 auto;padding:52px 0 70px;color:#444}
.case-study *{box-sizing:border-box}.case-study__header{max-width:900px;margin:0 auto 38px;text-align:center}.case-study__eyebrow,.case-study__section-title span{display:block;margin-bottom:8px;color:#e60000;font-size:13px;font-weight:700;letter-spacing:2px}.case-study__header h1{margin:0;color:#222;font-size:38px;line-height:1.35}.case-study__header p{max-width:780px;margin:18px auto 0;color:#777;font-size:17px;line-height:1.9}
.case-study__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:34px;border:1px solid #e8e8e8;background:#fff}.case-study__facts>div{min-width:0;padding:22px 24px;border-right:1px solid #e8e8e8}.case-study__facts>div:last-child{border-right:0}.case-study__facts span{display:block;margin-bottom:6px;color:#999;font-size:13px}.case-study__facts strong{display:block;color:#333;font-size:15px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
.case-study__hero{height:520px;margin:0 0 48px;overflow:hidden;background:#f4f4f4}.case-study__hero img{display:block;width:100%;height:100%;object-fit:cover}
.case-study__body{display:block}.case-study__main{width:100%;max-width:960px;margin:0 auto}.case-study__toc{display:none}
.case-study__content{padding:44px 56px 38px;border:1px solid #e8e8e8;background:#fff;color:#555;font-size:17px;line-height:2.1;box-shadow:0 12px 34px rgba(0,0,0,.035)}.case-study__content>.case-study__section-title{margin-bottom:28px;text-align:center}.case-study__content>.case-study__section-title:after{display:block;width:44px;height:2px;margin:17px auto 0;background:#e60000;content:""}.case-study__content>.case-study__section-title h2{margin:0;padding:0;color:#222;font-size:30px;letter-spacing:1px}.case-study__content>.case-study__section-title h2:before{display:none}.case-study__content>h2{display:none}.case-study__content h3{margin:28px 0 10px;color:#333;font-size:20px}.case-study__content p{margin:0 0 22px;text-align:justify;text-indent:2em;letter-spacing:.035em}.case-study__content p:last-child{margin-bottom:0}.case-study__content ul{margin:0 0 25px;padding-left:22px}.case-study__content img{max-width:100%;height:auto}
.case-study__gallery-section{margin-top:70px;padding-top:0}.case-study__gallery-section>.case-study__section-title{margin-bottom:30px;text-align:center}.case-study__section-title h2{margin:0;color:#222;font-size:30px;letter-spacing:1px}.case-study__gallery-section>.case-study__section-title:after{display:block;width:44px;height:2px;margin:17px auto 0;background:#e60000;content:""}.case-study__gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.case-study__gallery figure{height:320px;margin:0;overflow:hidden;border-radius:2px;background:#f4f4f4}.case-study__gallery img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.case-study__gallery figure:hover img{transform:scale(1.035)}
.case-study__cta{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:48px;padding:28px 32px;background:#292929;color:#fff}.case-study__cta span,.case-study__cta strong{display:block}.case-study__cta span{margin-bottom:5px;color:#bbb;font-size:14px}.case-study__cta strong{font-size:21px}.case-study__cta a{flex:0 0 auto;padding:12px 30px;background:#e60000;color:#fff;text-decoration:none}.case-study .update_detail_bot{display:flex;align-items:stretch;gap:18px;margin-top:38px;padding-top:24px;border-top:1px solid #e5e5e5}.case-study .update_detail_bot a{display:flex;width:calc(50% - 9px);min-height:52px;align-items:center;padding:12px 16px;border:1px solid #ddd;color:#444;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}.case-study .update_detail_bot a:hover{border-color:#e60000;color:#e60000}.case-study .update_detail_bot a[aria-disabled=true]{background:#fafafa;color:#999}
@media(max-width:995px){.case-study{padding:34px 0 50px}.case-study__header h1{font-size:27px}.case-study__facts{grid-template-columns:repeat(2,1fr)}.case-study__facts>div:nth-child(2){border-right:0}.case-study__facts>div:nth-child(-n+2){border-bottom:1px solid #e8e8e8}.case-study__hero{height:420px}.case-study__content{padding:36px 38px}}
@media(max-width:600px){.case-study__header h1{font-size:23px}.case-study__header p{font-size:15px}.case-study__facts{grid-template-columns:1fr}.case-study__facts>div{border-right:0;border-bottom:1px solid #e8e8e8!important;padding:16px 18px}.case-study__facts>div:last-child{border-bottom:0!important}.case-study__hero{height:260px;margin-bottom:30px}.case-study__content{padding:28px 20px;font-size:15px;line-height:2}.case-study__content>.case-study__section-title h2,.case-study__section-title h2{font-size:23px}.case-study__content p{text-align:left;letter-spacing:0}.case-study__gallery-section{margin-top:48px}.case-study__gallery{grid-template-columns:1fr;gap:14px}.case-study__gallery figure{height:240px}.case-study__cta{align-items:flex-start;flex-direction:column;padding:24px}.case-study__cta a{width:100%;text-align:center}.case-study .update_detail_bot{display:grid}.case-study .update_detail_bot a{width:100%}}

/* 案例图集详情：独立逐张浏览器。 */
.gallery-breadcrumb{margin-top:14px!important;margin-bottom:8px!important}.gallery-viewer{box-sizing:border-box;width:calc(100% - 30px);max-width:1135px;margin:0 auto;padding:8px 0 70px}.gallery-viewer *{box-sizing:border-box}.gallery-viewer__header{max-width:900px;margin:0 auto 14px;text-align:center}.gallery-viewer__header h1{margin:0;color:#222;font-size:32px;line-height:1.4}.gallery-viewer__stage{position:relative;height:min(650px,62vh);min-height:430px;overflow:hidden;background:#171717}.gallery-viewer__slide{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;background:transparent;opacity:0;visibility:hidden;cursor:zoom-in;transition:opacity .35s ease}.gallery-viewer__slide.is-active{opacity:1;visibility:visible}.gallery-viewer__slide img{display:block;width:100%;height:100%;object-fit:contain}.gallery-viewer__arrow{position:absolute;top:50%;z-index:3;width:52px;height:72px;transform:translateY(-50%);border:0;background:rgba(0,0,0,.45);color:#fff;font-size:34px;cursor:pointer;transition:background .2s}.gallery-viewer__arrow:hover{background:#e60000}.gallery-viewer__arrow--prev{left:18px}.gallery-viewer__arrow--next{right:18px}.gallery-viewer__counter{position:absolute;right:20px;bottom:18px;z-index:3;padding:8px 14px;background:rgba(0,0,0,.6);color:#aaa;font-size:14px}.gallery-viewer__counter b{color:#fff;font-size:18px}.gallery-viewer__counter span{margin:0 7px}.gallery-viewer__hint{position:absolute;left:20px;bottom:18px;z-index:3;color:rgba(255,255,255,.75);font-size:13px}.gallery-viewer__thumbs{display:flex;gap:12px;padding:16px 0 8px;overflow-x:auto;scrollbar-width:thin}.gallery-viewer__thumb{position:relative;flex:0 0 128px;height:84px;padding:3px;border:2px solid transparent;background:#eee;cursor:pointer}.gallery-viewer__thumb.is-active{border-color:#e60000}.gallery-viewer__thumb img{display:block;width:100%;height:100%;object-fit:cover}.gallery-viewer__thumb span{position:absolute;right:5px;bottom:5px;padding:1px 5px;background:rgba(0,0,0,.55);color:#fff;font-size:11px}.gallery-viewer__footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;margin-top:42px;padding-top:28px;border-top:1px solid #e5e5e5}.gallery-viewer__footer>a{display:flex;align-items:center;gap:12px;color:#444;text-decoration:none}.gallery-viewer__footer>a:hover{color:#e60000}.gallery-viewer__footer .is-next{justify-content:flex-end;text-align:right}.gallery-viewer__footer span,.gallery-viewer__footer small{display:block}.gallery-viewer__footer small{max-width:300px;margin-top:4px;color:#999}.gallery-viewer__footer .gallery-viewer__back{padding:11px 22px;border:1px solid #ccc;font-size:14px}.gallery-lightbox{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.94);opacity:0;visibility:hidden;transition:opacity .25s}.gallery-lightbox.is-open{opacity:1;visibility:visible}.gallery-lightbox>img{max-width:88vw;max-height:88vh;object-fit:contain}.gallery-lightbox__close{position:absolute;right:24px;top:16px;border:0;background:transparent;color:#fff;font-size:48px;cursor:pointer}.gallery-lightbox__arrow{position:absolute;top:50%;width:56px;height:80px;transform:translateY(-50%);border:0;background:rgba(255,255,255,.1);color:#fff;font-size:36px;cursor:pointer}.gallery-lightbox__arrow.is-prev{left:20px}.gallery-lightbox__arrow.is-next{right:20px}.gallery-lightbox__counter{position:absolute;bottom:22px;color:#fff;font-size:15px}
@media(max-width:767px){.gallery-viewer{padding:32px 0 48px}.gallery-viewer__header h1{font-size:24px}.gallery-viewer__stage{height:65vw;min-height:280px;max-height:460px}.gallery-viewer__arrow{width:40px;height:56px;font-size:27px}.gallery-viewer__arrow--prev{left:8px}.gallery-viewer__arrow--next{right:8px}.gallery-viewer__hint{display:none}.gallery-viewer__thumb{flex-basis:92px;height:64px}.gallery-viewer__footer{grid-template-columns:1fr 1fr}.gallery-viewer__footer .gallery-viewer__back{grid-column:1/-1;grid-row:1;justify-content:center}.gallery-viewer__footer>a:not(.gallery-viewer__back){grid-row:2}.gallery-viewer__footer small{display:none}.gallery-lightbox__arrow{width:42px;height:62px}.gallery-lightbox__arrow.is-prev{left:5px}.gallery-lightbox__arrow.is-next{right:5px}.gallery-lightbox>img{max-width:96vw;max-height:82vh}}
