/* ACE Metal Building Services v1.6.0. All selectors are scoped to .ace-mbs. */
.ace-mbs{--mbs-navy:#112b46;--mbs-blue:#164c76;--mbs-red:#c42131;--mbs-ink:#1b2836;--mbs-muted:#536373;--mbs-line:#dce4ed;--mbs-bg:#f5f7fa;color:var(--mbs-ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.56;text-align:left;box-sizing:border-box;clear:both}
.ace-mbs,.ace-mbs *{box-sizing:border-box}
.ace-mbs .ace-mbs-container{width:min(1220px,calc(100% - 46px));margin:0 auto}
.ace-mbs h1,.ace-mbs h2,.ace-mbs h3,.ace-mbs p{color:inherit;margin-top:0}
.ace-mbs h2{font-family:Arial,Helvetica,sans-serif;line-height:1.14;font-size:clamp(28px,3.1vw,42px);font-weight:800;letter-spacing:-.7px}
.ace-mbs h3{font-family:Arial,Helvetica,sans-serif;font-weight:750;line-height:1.25;font-size:19px}
.ace-mbs p{line-height:1.65}
.ace-mbs a{text-decoration:none}
.ace-mbs a:hover{text-decoration:none}
.ace-mbs img{display:block;max-width:100%;height:auto}
.ace-mbs .ace-mbs-eyebrow{font-size:12px;letter-spacing:2px;font-weight:800;text-transform:uppercase;color:var(--mbs-red);line-height:1.5;margin:0 0 14px}
.ace-mbs .ace-mbs-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:49px;padding:11px 19px;border:2px solid var(--mbs-red);border-radius:4px;font-size:14px;font-weight:750;letter-spacing:.1px;line-height:1.3;white-space:normal;text-align:center;transition:background .2s,border-color .2s,transform .2s}
.ace-mbs .ace-mbs-btn:hover{transform:translateY(-1px)}
.ace-mbs .ace-mbs-btn:focus-visible,.ace-mbs a:focus-visible{outline:3px solid #e1a221;outline-offset:3px}
.ace-mbs .ace-mbs-btn-primary{color:#fff;background:var(--mbs-red)}
.ace-mbs .ace-mbs-btn-primary:hover{color:#fff;background:#9d1523;border-color:#9d1523}
.ace-mbs .ace-mbs-btn-outline{color:var(--mbs-navy);background:transparent}
.ace-mbs .ace-mbs-btn-outline:hover{color:#fff;background:var(--mbs-red)}
/* The homepage block is inserted between Featured Companies & Products and Valve/Actuation. */
.ace-mbs.ace-mbs-home{width:100vw;max-width:100vw;margin:0 0 0 calc(50% - 50vw);padding:72px 0 60px;background:linear-gradient(160deg,#f6f8fb 0%,#fff 48%,#edf3f8 100%);border-top:5px solid var(--mbs-red);border-bottom:1px solid var(--mbs-line);position:relative;isolation:isolate;overflow:hidden}
.ace-mbs .ace-mbs-home-head{display:grid;grid-template-columns:1fr 1.04fr;gap:36px;align-items:center;margin-bottom:40px}
.ace-mbs-home h2{color:var(--mbs-navy);font-size:clamp(33px,3.9vw,51px);margin:0 0 18px}
.ace-mbs-home h2 span{display:block;color:var(--mbs-red)}
.ace-mbs-home .ace-mbs-lede{font-size:19px;line-height:1.52;font-weight:500;color:#32465a;max-width:580px;margin-bottom:23px}
.ace-mbs .ace-mbs-relationship{border-left:4px solid var(--mbs-red);padding:10px 0 10px 15px;font-size:14px;line-height:1.6;color:#42556a;background:linear-gradient(90deg,#eaf0f5,transparent);margin:0 0 25px}
.ace-mbs .ace-mbs-relationship strong{color:var(--mbs-navy)}
.ace-mbs .ace-mbs-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}
.ace-mbs .ace-mbs-home-hero{position:relative;min-height:335px;overflow:hidden;border-radius:5px;box-shadow:0 15px 30px #0b284331}
.ace-mbs .ace-mbs-home-hero>img{height:100%;width:100%;min-height:335px;object-fit:cover;object-position:center}
.ace-mbs .ace-mbs-photo-caption{position:absolute;bottom:8px;right:10px;background:#0c1b2ac9;color:#fff;font-size:10px;letter-spacing:.3px;padding:5px 9px;border-radius:2px}
.ace-mbs .ace-mbs-services{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0 0 28px}
.ace-mbs .ace-mbs-services article{background:#fff;padding:24px 17px 22px;border:1px solid var(--mbs-line);border-top:3px solid var(--mbs-red);box-shadow:0 8px 22px #1739550b;min-height:230px}
.ace-mbs .ace-mbs-service-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:18px;border-radius:9px;background:var(--mbs-navy);color:#fff;font-size:26px;line-height:1;font-weight:700}
.ace-mbs .ace-mbs-services h3{color:var(--mbs-navy);font-size:18px;margin-bottom:10px}
.ace-mbs .ace-mbs-services p{font-size:14px;color:#536373;line-height:1.55;margin:0}
.ace-mbs .ace-mbs-access-note{margin:0 0 23px;padding:16px 20px;background:#e9f0f7;border-left:4px solid var(--mbs-blue);color:#283f55;font-size:15px;line-height:1.6}
.ace-mbs .ace-mbs-access-note strong{color:var(--mbs-navy)}
.ace-mbs .ace-mbs-photo-grid,.ace-mbs .ace-mbs-detail-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ace-mbs figure{margin:0;position:relative;overflow:hidden;border-radius:3px;background:#e9eef5}
.ace-mbs .ace-mbs-photo-grid img,.ace-mbs .ace-mbs-detail-gallery img{width:100%;aspect-ratio:1.7;object-fit:cover}
.ace-mbs .ace-mbs-photo-grid figcaption,.ace-mbs .ace-mbs-detail-gallery figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0b1e2eea);color:#fff;font-size:14px;font-weight:700;padding:25px 16px 11px}
.ace-mbs .ace-mbs-home-foot{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-top:24px;padding:20px 24px;background:var(--mbs-navy);color:#fff;font-size:15px;line-height:1.65;border-left:5px solid var(--mbs-red)}
.ace-mbs .ace-mbs-home-foot strong{color:#fff}
.ace-mbs .ace-mbs-home-foot a{color:#fff;font-weight:800;white-space:nowrap;border-bottom:2px solid #fff6}
.ace-mbs .ace-mbs-home-foot a:hover{color:#ffcfda;border-color:#ffcfda}
/* Dedicated page */
.ace-mbs.ace-mbs-detail{background:#fff;color:var(--mbs-ink);width:100vw;max-width:100vw;margin:0 0 0 calc(50% - 50vw);clear:both;overflow:hidden;}
body.ace-mbs-body-page .entry-header .entry-title,body.ace-mbs-body-page h1.entry-title{display:none}
.ace-mbs .ace-mbs-detail-hero{position:relative;isolation:isolate;min-height:460px;display:flex;align-items:center;background:var(--mbs-navy);color:#fff;overflow:hidden}
.ace-mbs .ace-mbs-detail-hero-bg{position:absolute;inset:0;z-index:-1}
.ace-mbs .ace-mbs-detail-hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0e2a43f2 0%,#0e2a43db 43%,#0e2a4359 75%,#0e2a4330 100%)}
.ace-mbs .ace-mbs-detail-hero-bg img{height:100%;width:100%;object-fit:cover;object-position:center}
.ace-mbs .ace-mbs-detail-overlay{width:100%;padding:95px 0}
.ace-mbs-detail .ace-mbs-detail-hero h1{font-size:clamp(38px,5vw,65px);font-weight:800;line-height:1.08;color:#fff;max-width:750px;margin:0 0 19px;letter-spacing:-1.2px}
.ace-mbs-detail .ace-mbs-detail-hero p:not(.ace-mbs-eyebrow){font-size:clamp(17px,2.2vw,23px);max-width:690px;line-height:1.5;color:#f3f6fa;margin:0 0 26px}
.ace-mbs-detail .ace-mbs-detail-hero .ace-mbs-eyebrow{color:#ffbdc6}
.ace-mbs .ace-mbs-detail-intro{padding:74px 0;display:grid;grid-template-columns:1.6fr 1fr;gap:58px;align-items:start}
.ace-mbs-detail .ace-mbs-detail-intro h2{color:var(--mbs-navy);margin:0 0 21px}
.ace-mbs-detail .ace-mbs-detail-intro p{font-size:16px;color:#475768;line-height:1.8;margin-bottom:16px}
.ace-mbs .ace-mbs-partner-note{background:#f2f5f9;border-top:5px solid var(--mbs-red);padding:29px 26px;border-radius:3px;box-shadow:0 8px 22px #172f450e}
.ace-mbs .ace-mbs-partner-note h3{color:var(--mbs-navy);font-size:28px;line-height:1.2;margin:0 0 18px}
.ace-mbs .ace-mbs-partner-note h3 span{color:var(--mbs-red)}
.ace-mbs-detail .ace-mbs-partner-note p{font-size:14px;line-height:1.7}
.ace-mbs .ace-mbs-partner-note .ace-mbs-small,.ace-mbs .ace-mbs-small{font-size:12px!important;color:#728091!important;line-height:1.6!important}
.ace-mbs .ace-mbs-partner-note a{font-size:14px;color:var(--mbs-blue);font-weight:800}
.ace-mbs .ace-mbs-partner-note a:hover{text-decoration:underline}
.ace-mbs .ace-mbs-detail-services{padding:75px 0 82px;background:#f5f8fb}
.ace-mbs-detail .ace-mbs-detail-services h2{color:var(--mbs-navy);max-width:800px;margin:0 0 31px}
.ace-mbs .ace-mbs-detail-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.ace-mbs .ace-mbs-detail-cards article{background:#fff;border:1px solid var(--mbs-line);padding:28px 24px 29px;border-radius:3px;box-shadow:0 7px 22px #15293b0a}
.ace-mbs .ace-mbs-card-num{color:var(--mbs-red);font-weight:800;font-size:25px;line-height:1;margin:0 0 23px;letter-spacing:2px}
.ace-mbs .ace-mbs-detail-cards h3{color:var(--mbs-navy);font-size:20px;margin:0 0 13px}
.ace-mbs .ace-mbs-detail-cards p{font-size:14px;line-height:1.7;color:#536373;margin-bottom:13px}
.ace-mbs .ace-mbs-detail-cards ul{margin:10px 0 0;padding:0 0 0 17px;list-style:disc;font-size:14px;line-height:1.75;color:#405669}
.ace-mbs .ace-mbs-detail-cards li{padding:0;margin:5px 0}
.ace-mbs .ace-mbs-applications{padding-top:75px;padding-bottom:75px}
.ace-mbs .ace-mbs-applications h2{color:var(--mbs-navy);max-width:740px;margin:0 0 29px}
.ace-mbs .ace-mbs-app-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:0 0 32px}
.ace-mbs .ace-mbs-app-grid>div{background:#f1f5f9;border-left:4px solid var(--mbs-red);padding:16px 14px;color:var(--mbs-navy);font-size:14px;line-height:1.45;font-weight:750}
.ace-mbs .ace-mbs-detail-gallery{margin-bottom:9px}
.ace-mbs .ace-mbs-process{background:var(--mbs-navy);color:#fff;padding:76px 0 85px}
.ace-mbs .ace-mbs-process h2{color:#fff;max-width:840px;margin:0 0 37px}
.ace-mbs .ace-mbs-process .ace-mbs-eyebrow{color:#ffa6b1}
.ace-mbs .ace-mbs-process ol{display:grid;grid-template-columns:repeat(5,1fr);padding:0;list-style:none;gap:16px;counter-reset:mbs-step;margin:0}
.ace-mbs .ace-mbs-process li{border-top:3px solid var(--mbs-red);padding-top:25px;color:#dce6ef;font-size:14px;line-height:1.7;counter-increment:mbs-step}
.ace-mbs .ace-mbs-process li:before{display:block;content:"0" counter(mbs-step);font-size:23px;color:#ffb4c0;font-weight:800;letter-spacing:1px;margin-bottom:12px}
.ace-mbs .ace-mbs-process li strong{color:#fff;font-size:17px;display:block;margin-bottom:10px}
.ace-mbs .ace-mbs-process li span{display:block}
.ace-mbs .ace-mbs-cta{background:#edf2f7;border-top:5px solid var(--mbs-red);padding:62px 0}
.ace-mbs .ace-mbs-cta>.ace-mbs-container{display:grid;grid-template-columns:1.6fr 1fr;gap:40px;align-items:center}
.ace-mbs .ace-mbs-cta h2{color:var(--mbs-navy);font-size:clamp(25px,2.8vw,38px);margin:0 0 13px}
.ace-mbs .ace-mbs-cta p:not(.ace-mbs-eyebrow){color:#536373;margin:0}
.ace-mbs .ace-mbs-cta-actions{display:flex;align-items:flex-start;gap:11px;flex-direction:column;overflow-wrap:anywhere}
.ace-mbs .ace-mbs-cta-actions span{font-size:14px;color:#536373}
.ace-mbs .ace-mbs-phone{font-size:24px;font-weight:800;color:var(--mbs-navy)}
.ace-mbs .ace-mbs-phone:hover{text-decoration:underline}
.ace-mbs .ace-mbs-disclaimer{font-size:12px;line-height:1.7;color:#748292;padding-top:20px;padding-bottom:40px;margin-bottom:0}
@media(max-width:1180px) and (min-width:1001px){
 .ace-mbs .ace-mbs-services{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1000px){
 .ace-mbs .ace-mbs-home-head{grid-template-columns:1fr 1fr;gap:22px}
 .ace-mbs .ace-mbs-services{grid-template-columns:repeat(2,1fr)}
 .ace-mbs .ace-mbs-detail-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ace-mbs .ace-mbs-photo-grid,.ace-mbs .ace-mbs-detail-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ace-mbs .ace-mbs-app-grid{grid-template-columns:repeat(2,1fr)}
 .ace-mbs .ace-mbs-process ol{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:730px){
 .ace-mbs .ace-mbs-container{width:min(1220px,calc(100% - 28px))}
 .ace-mbs.ace-mbs-home{padding:45px 0 42px}
 .ace-mbs .ace-mbs-home-head{grid-template-columns:1fr;gap:25px;margin-bottom:25px}
 .ace-mbs-home h2{font-size:37px}
 .ace-mbs-home .ace-mbs-lede{font-size:17px}
 .ace-mbs .ace-mbs-home-hero{min-height:240px}
 .ace-mbs .ace-mbs-home-hero>img{min-height:240px;aspect-ratio:1.65;object-fit:cover}
 .ace-mbs .ace-mbs-services{gap:12px}
 .ace-mbs .ace-mbs-services article{min-height:0;padding:20px 17px}
 .ace-mbs .ace-mbs-services h3{font-size:16px}
 .ace-mbs .ace-mbs-services p{font-size:13px}
 .ace-mbs .ace-mbs-photo-grid,.ace-mbs .ace-mbs-detail-gallery{gap:9px}
 .ace-mbs .ace-mbs-photo-grid figcaption,.ace-mbs .ace-mbs-detail-gallery figcaption{font-size:11px;line-height:1.3;padding:17px 8px 8px}
 .ace-mbs .ace-mbs-home-foot{flex-direction:column;align-items:flex-start;font-size:14px;padding:18px}
 .ace-mbs .ace-mbs-home-foot a{white-space:normal}
 .ace-mbs .ace-mbs-detail-hero{min-height:390px}
 .ace-mbs .ace-mbs-detail-overlay{padding:70px 0}
 .ace-mbs .ace-mbs-detail-intro{grid-template-columns:1fr;gap:24px;padding:48px 0}
 .ace-mbs .ace-mbs-detail-services,.ace-mbs .ace-mbs-applications,.ace-mbs .ace-mbs-process{padding-top:52px;padding-bottom:52px}
 .ace-mbs .ace-mbs-process ol{grid-template-columns:repeat(2,1fr)}
 .ace-mbs .ace-mbs-cta>.ace-mbs-container{grid-template-columns:1fr;gap:23px}
}
@media(max-width:480px){
 .ace-mbs-home h2{font-size:32px}
 .ace-mbs .ace-mbs-services{grid-template-columns:1fr}
 .ace-mbs .ace-mbs-services article{padding:18px}
 .ace-mbs .ace-mbs-service-icon{margin-bottom:9px}
 .ace-mbs .ace-mbs-photo-grid,.ace-mbs .ace-mbs-detail-gallery{grid-template-columns:1fr}
 .ace-mbs .ace-mbs-photo-grid img,.ace-mbs .ace-mbs-detail-gallery img{aspect-ratio:1.85}
 .ace-mbs .ace-mbs-detail-cards{grid-template-columns:1fr}
 .ace-mbs .ace-mbs-app-grid{grid-template-columns:1fr}
 .ace-mbs .ace-mbs-process ol{grid-template-columns:1fr}
 .ace-mbs .ace-mbs-actions{flex-direction:column;align-items:stretch}
 .ace-mbs .ace-mbs-btn{width:100%}
}
@media(prefers-reduced-motion:reduce){.ace-mbs .ace-mbs-btn{transition:none}.ace-mbs .ace-mbs-btn:hover{transform:none}}

/* v1.3.0 — give six homepage building/canopy images room to breathe. */
.ace-mbs .ace-mbs-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.ace-mbs .ace-mbs-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ace-mbs .ace-mbs-photo-grid{grid-template-columns:1fr}}

/* v1.5: Additional electronics skid canopy illustrations. All styles remain inside ACE module. */
.ace-mbs .ace-mbs-bus-section{margin:28px 0 26px;padding:28px;border:1px solid #cfdae5;border-top:4px solid var(--mbs-red);background:#f6f9fc;border-radius:3px}
.ace-mbs .ace-mbs-bus-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:19px}
.ace-mbs .ace-mbs-bus-head>div{max-width:790px}
.ace-mbs .ace-mbs-bus-head h3{font-size:clamp(20px,2.3vw,28px);color:var(--mbs-navy);line-height:1.25;margin:0 0 10px}
.ace-mbs .ace-mbs-bus-head p:not(.ace-mbs-eyebrow){color:#42566b;font-size:15px;line-height:1.7;margin:0}
.ace-mbs .ace-mbs-bus-more{color:var(--mbs-blue);font-size:14px;font-weight:800;text-align:right;white-space:nowrap}
.ace-mbs .ace-mbs-bus-more:hover{text-decoration:underline}
.ace-mbs .ace-mbs-bus-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ace-mbs .ace-mbs-bus-gallery figure{background:#fff;border:1px solid #cfdae5;border-radius:4px;margin:0;overflow:hidden;position:static}
.ace-mbs .ace-mbs-bus-gallery a{display:flex;align-items:center;justify-content:center;min-height:270px;height:330px;padding:14px;background:#fff;cursor:zoom-in}
.ace-mbs .ace-mbs-bus-gallery img{display:block;width:100%;height:100%;max-height:310px;object-fit:contain;object-position:center;background:#fff}
.ace-mbs .ace-mbs-bus-gallery figcaption{position:static;background:#edf3f9;color:var(--mbs-navy);padding:12px 16px;font-weight:750;font-size:14px;line-height:1.5}
.ace-mbs .ace-mbs-bus-note{font-size:12px;color:#64758a;line-height:1.6;margin:12px 0 0}
.ace-mbs .ace-mbs-bus-section-detail{margin:42px 0 0;scroll-margin-top:125px}
.ace-mbs .ace-mbs-bus-section-detail .ace-mbs-bus-head{margin-bottom:20px}
@media(max-width:730px){
  .ace-mbs .ace-mbs-bus-section{padding:18px;margin:24px 0}
  .ace-mbs .ace-mbs-bus-head{display:block}
  .ace-mbs .ace-mbs-bus-more{display:inline-block;margin-top:12px;white-space:normal;text-align:left}
  .ace-mbs .ace-mbs-bus-gallery{grid-template-columns:1fr;gap:12px}
  .ace-mbs .ace-mbs-bus-gallery a{height:280px;min-height:0;padding:10px}
  .ace-mbs .ace-mbs-bus-gallery img{max-height:265px}
}


/* v1.6: odorant injection skid canopy spotlight */
.ace-mbs .ace-mbs-skid-spotlight{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.95fr);gap:18px;align-items:stretch}
.ace-mbs .ace-mbs-skid-spotlight figure{background:#fff;border:1px solid #cfdae5;border-radius:4px;overflow:hidden;position:relative}
.ace-mbs .ace-mbs-skid-spotlight img{width:100%;height:100%;min-height:280px;aspect-ratio:1.45;object-fit:cover}
.ace-mbs .ace-mbs-skid-spotlight figcaption{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,#0b1e2ee8);color:#fff;font-size:14px;font-weight:700;padding:22px 16px 11px}
.ace-mbs .ace-mbs-skid-copy{background:#fff;border:1px solid #cfdae5;border-radius:4px;padding:22px 22px 18px;color:var(--mbs-ink)}
.ace-mbs .ace-mbs-skid-copy h4{font-size:21px;line-height:1.25;color:var(--mbs-navy);margin:0 0 12px}
.ace-mbs .ace-mbs-skid-copy p{font-size:14px;line-height:1.7;color:#44576b;margin:0 0 12px}
.ace-mbs .ace-mbs-skid-copy ul{margin:0;padding:0 0 0 18px;list-style:disc;color:#405669;font-size:14px;line-height:1.75}
.ace-mbs .ace-mbs-skid-copy li{margin:4px 0}
.ace-mbs .ace-mbs-skid-section-detail{margin:34px 0 0;scroll-margin-top:125px}
@media(max-width:900px){.ace-mbs .ace-mbs-skid-spotlight{grid-template-columns:1fr}.ace-mbs .ace-mbs-skid-spotlight img{min-height:0;aspect-ratio:1.55}}
