/* Shared presentation for the Test & Validation and Precision Environment master pages. */
body.wing-gateway:not(.wg-category-mode) .wg-hub-only{background:#fff}
body.wing-gateway:not(.wg-category-mode) .wg-hub-only .wg-shell{width:min(1180px,calc(100% - 48px))}
body.wing-gateway:not(.wg-category-mode) .wg-breadcrumb{padding:18px 0 10px;color:#788b9c;font-size:11px}
body.wing-gateway:not(.wg-category-mode) .wg-hero{padding:0 0 58px;border-bottom:1px solid #e2e9ee;background:linear-gradient(180deg,#fff 0%,#f7f9fb 100%)}
body.wing-gateway:not(.wg-category-mode) .wg-hero__grid{grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);gap:clamp(46px,6vw,76px);align-items:center}
body.wing-gateway:not(.wg-category-mode) .wg-eyebrow{color:#d84b14;font-size:9.5px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
body.wing-gateway:not(.wg-category-mode) .wg-hero h1{max-width:720px;margin:13px 0 18px;color:#10283e;font-size:clamp(46px,5.3vw,66px);line-height:1.01;letter-spacing:-.048em}
body.wing-gateway:not(.wg-category-mode) .wg-hero__lead{max-width:660px;color:#536b7f;font-size:16.5px;line-height:1.62}
body.wing-gateway:not(.wg-category-mode) .wg-actions{gap:10px;margin-top:25px}
body.wing-gateway:not(.wg-category-mode) .wg-btn{min-height:46px;padding:12px 18px;border-radius:7px;font-size:13px}
body.wing-gateway:not(.wg-category-mode) .wg-montage{min-height:350px;grid-template-rows:repeat(5,62px)}
body.wing-gateway:not(.wg-category-mode) .wg-montage::before{inset:32px 24px;background:radial-gradient(circle,rgba(32,72,110,.08),transparent 67%)}
body.wing-gateway:not(.wg-category-mode) .wg-montage__item{border-color:#dfe7ed;border-radius:10px;box-shadow:0 12px 28px rgba(15,40,62,.085)}
body.wing-gateway:not(.wg-category-mode) .wg-section{padding:58px 0}
body.wing-gateway:not(.wg-category-mode) .wg-section--soft{border-block:1px solid #e8edf1;background:#f4f7f9}
body.wing-gateway:not(.wg-category-mode) .wg-section__head{align-items:start;margin-bottom:25px}
body.wing-gateway:not(.wg-category-mode) .wg-section__head>div{max-width:650px}
body.wing-gateway:not(.wg-category-mode) .wg-section__head h2{margin-top:8px;color:#10283e;font-size:clamp(31px,3.5vw,44px);line-height:1.08;letter-spacing:-.035em}
body.wing-gateway:not(.wg-category-mode) .wg-section__head p{max-width:500px;padding-top:20px;color:#60778a;font-size:13.5px;line-height:1.6}
body.wing-gateway:not(.wg-category-mode) .wg-grid{gap:14px}
body.wing-gateway:not(.wg-category-mode) .wg-tile{border-color:#d8e2e9;border-radius:9px;box-shadow:0 3px 12px rgba(16,40,62,.025);transition:border-color .18s,box-shadow .18s,transform .18s}
body.wing-gateway:not(.wg-category-mode) .wg-tile:hover{transform:translateY(-2px);border-color:#ef9c78;box-shadow:0 12px 26px rgba(16,40,62,.08)}
body.wing-gateway:not(.wg-category-mode) .wg-app{min-height:142px;padding:20px 20px 18px}
body.wing-gateway:not(.wg-category-mode) .wg-app::before{content:"";width:28px;height:2px;margin-bottom:16px;background:#e5551a}
body.wing-gateway:not(.wg-category-mode) .wg-app h3{margin-bottom:7px;font-size:15px;line-height:1.3}
body.wing-gateway:not(.wg-category-mode) .wg-app p{margin-bottom:15px;color:#667c8e;font-size:11.5px;line-height:1.5}
body.wing-gateway:not(.wg-category-mode) .wg-arrow{align-self:flex-end;color:#c84310;font-size:11px;text-align:right}
body.wing-gateway:not(.wg-category-mode) .wg-tech__media{height:160px;flex-basis:160px;background:#edf2f5}
body.wing-gateway:not(.wg-category-mode) .wg-tech__body{min-height:132px;padding:16px 18px 15px}
body.wing-gateway:not(.wg-category-mode) .wg-tech h3{min-height:0;margin-bottom:6px;font-size:16px;line-height:1.28}
body.wing-gateway:not(.wg-category-mode) .wg-tech p{min-height:0;margin-bottom:10px;color:#63798b;font-size:11.5px;line-height:1.45}
body.wing-gateway:not(.wg-category-mode) .wg-highlights{gap:14px}
body.wing-gateway:not(.wg-category-mode) .wg-highlight{grid-template-rows:154px 1fr}
body.wing-gateway:not(.wg-category-mode) .wg-highlight__media{background:#eff3f6}
body.wing-gateway:not(.wg-category-mode) .wg-highlight__body{padding:18px}
body.wing-gateway:not(.wg-category-mode) .wg-highlight h3{font-size:16px}
body.wing-gateway:not(.wg-category-mode) .wg-workflows{gap:12px}
body.wing-gateway:not(.wg-category-mode) .wg-workflow{grid-template-columns:245px 1fr;gap:24px;padding:24px;border:1px solid #dce5eb;border-radius:9px;background:#fff}
body.wing-gateway:not(.wg-category-mode) .wg-workflow h3{font-size:17px}
body.wing-gateway:not(.wg-category-mode) .wg-workflow p{font-size:11.5px}
body.wing-gateway:not(.wg-category-mode) .wg-flow span{min-height:64px;padding:11px 18px;font-size:11px}
body.wing-gateway:not(.wg-category-mode) .wg-resources{gap:12px}
body.wing-gateway:not(.wg-category-mode) .wg-resource{min-height:78px;padding:18px 20px;border-radius:9px;box-shadow:none}
body.wing-gateway:not(.wg-category-mode) .wg-resource strong{font-size:13.5px}
body.wing-gateway:not(.wg-category-mode) .wg-final{padding:54px 0;background:linear-gradient(120deg,#10283e,#1b4162)}
body.wing-gateway:not(.wg-category-mode) .wg-final h2{max-width:680px;font-size:clamp(30px,3.7vw,44px);line-height:1.08}
body.wing-gateway:not(.wg-category-mode) .wg-final p{max-width:650px;font-size:13.5px;line-height:1.6}
@media(max-width:1024px){body.wing-gateway:not(.wg-category-mode) .wg-hero__grid{grid-template-columns:1fr 1fr;gap:38px}body.wing-gateway:not(.wg-category-mode) .wg-hero h1{font-size:clamp(42px,5.6vw,58px)}body.wing-gateway:not(.wg-category-mode) .wg-montage{min-height:320px;grid-template-rows:repeat(5,56px)}}
@media(max-width:768px){body.wing-gateway:not(.wg-category-mode) .wg-hub-only .wg-shell{width:min(100% - 32px,1180px)}body.wing-gateway:not(.wg-category-mode) .wg-hero{padding-bottom:44px}body.wing-gateway:not(.wg-category-mode) .wg-hero__grid{grid-template-columns:1fr}body.wing-gateway:not(.wg-category-mode) .wg-hero h1{font-size:clamp(40px,10vw,54px)}body.wing-gateway:not(.wg-category-mode) .wg-montage{max-width:560px;margin-top:4px}body.wing-gateway:not(.wg-category-mode) .wg-section{padding:46px 0}body.wing-gateway:not(.wg-category-mode) .wg-section__head p{padding-top:0}body.wing-gateway:not(.wg-category-mode) .wg-workflow{grid-template-columns:1fr;padding:20px}}
@media(max-width:420px){body.wing-gateway:not(.wg-category-mode) .wg-hub-only .wg-shell{width:min(100% - 26px,1180px)}body.wing-gateway:not(.wg-category-mode) .wg-breadcrumb{padding-top:13px}body.wing-gateway:not(.wg-category-mode) .wg-hero h1{font-size:39px}body.wing-gateway:not(.wg-category-mode) .wg-hero__lead{font-size:15px}body.wing-gateway:not(.wg-category-mode) .wg-montage{min-height:270px;grid-template-rows:repeat(5,46px)}body.wing-gateway:not(.wg-category-mode) .wg-grid--apps,body.wing-gateway:not(.wg-category-mode) .wg-grid--tech,body.wing-gateway:not(.wg-category-mode) .wg-highlights{grid-template-columns:1fr}body.wing-gateway:not(.wg-category-mode) .wg-app{min-height:0}body.wing-gateway:not(.wg-category-mode) .wg-tech__media{height:150px;flex-basis:150px}body.wing-gateway:not(.wg-category-mode) .wg-tech__body,body.wing-gateway:not(.wg-category-mode) .wg-tech h3,body.wing-gateway:not(.wg-category-mode) .wg-tech p{min-height:0}body.wing-gateway:not(.wg-category-mode) .wg-final{padding:44px 0}}
body.wing-gateway:not(.wg-category-mode) .wg-section__head--single{display:block}
/* Precision master: catalogue entry, imagery and workflows */
body[data-wing="precision"]:not(.wg-category-mode) .pe-hero-catalogue{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:20px;margin-top:14px;padding:11px 18px;border:1px solid #e5551a;border-radius:7px;background:#e5551a;color:#fff;font-size:12.5px;font-weight:800;text-decoration:none;box-shadow:0 9px 22px rgba(229,85,26,.18);transition:background .18s,box-shadow .18s,transform .18s}
body[data-wing="precision"]:not(.wg-category-mode) .pe-hero-catalogue:hover{background:#c94714;box-shadow:0 12px 26px rgba(229,85,26,.24);transform:translateY(-1px)}
body[data-wing="precision"]:not(.wg-category-mode) .pe-hero-catalogue b{font-size:16px;line-height:1}
body[data-wing="precision"]:not(.wg-category-mode) .wg-tech__media{background:#fff}
body[data-wing="precision"]:not(.wg-category-mode) .wg-tech__media img{inset:4px!important;width:calc(100% - 8px)!important;height:calc(100% - 8px)!important;max-width:calc(100% - 8px)!important;max-height:calc(100% - 8px)!important;object-fit:contain!important;transform:scale(1.08)!important;mix-blend-mode:multiply}
body[data-wing="precision"]:not(.wg-category-mode) .wg-workflows{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body[data-wing="precision"]:not(.wg-category-mode) .wg-workflow{display:flex;min-width:0;flex-direction:column;gap:18px;padding:24px;border:1px solid #d8e2e9;border-top:3px solid #e5551a;border-radius:10px;background:linear-gradient(155deg,#fff 0%,#f7f9fb 100%);box-shadow:0 8px 24px rgba(16,40,62,.055)}
body[data-wing="precision"]:not(.wg-category-mode) .wg-workflow>div:first-child{min-height:126px;padding-bottom:17px;border-bottom:1px solid #dfe7ed}
body[data-wing="precision"]:not(.wg-category-mode) .wg-workflow h3{margin:0 0 8px;font-size:18px;line-height:1.28}
body[data-wing="precision"]:not(.wg-category-mode) .wg-workflow p{margin:0;color:#63798b;font-size:12px;line-height:1.58}
body[data-wing="precision"]:not(.wg-category-mode) .wg-flow{width:100%;flex-direction:column;gap:9px;margin-top:auto}
body[data-wing="precision"]:not(.wg-category-mode) .wg-flow span{min-height:54px;place-items:center start;padding:11px 14px;border:1px solid #dce5eb!important;border-radius:7px;background:#fff;text-align:left;font-size:11px;line-height:1.42;box-shadow:0 2px 7px rgba(16,40,62,.025)}
body[data-wing="precision"]:not(.wg-category-mode) .wg-flow span+span::before{content:"↓";top:-14px;left:50%;padding:0 4px;background:#f8fafb;color:#e5551a;transform:translateX(-50%)}
@media(max-width:1024px){body[data-wing="precision"]:not(.wg-category-mode) .wg-workflows{grid-template-columns:1fr}body[data-wing="precision"]:not(.wg-category-mode) .wg-workflow{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:center}body[data-wing="precision"]:not(.wg-category-mode) .wg-workflow>div:first-child{min-height:0;padding:0 20px 0 0;border-right:1px solid #dfe7ed;border-bottom:0}body[data-wing="precision"]:not(.wg-category-mode) .wg-flow{flex-direction:row;margin:0}body[data-wing="precision"]:not(.wg-category-mode) .wg-flow span+span::before{content:"→";top:50%;left:-9px;background:#fff;transform:translateY(-50%)}}
@media(max-width:768px){body[data-wing="precision"]:not(.wg-category-mode) .wg-workflow{display:flex;padding:21px}body[data-wing="precision"]:not(.wg-category-mode) .wg-workflow>div:first-child{padding:0 0 15px;border-right:0;border-bottom:1px solid #dfe7ed}body[data-wing="precision"]:not(.wg-category-mode) .wg-flow{flex-direction:column}body[data-wing="precision"]:not(.wg-category-mode) .wg-flow span+span::before{content:"↓";top:-14px;left:50%;background:#f8fafb;transform:translateX(-50%)}}
@media(max-width:420px){body[data-wing="precision"]:not(.wg-category-mode) .pe-hero-catalogue{width:100%;margin-top:10px}}

/* Test & Validation master: featured customer selection */
body[data-wing="test"]:not(.wg-category-mode) .wg-featured-section{border-block:1px solid #e4ebf0;background:linear-gradient(180deg,#f7f9fb 0%,#fff 100%)}
body[data-wing="test"]:not(.wg-category-mode) .wg-featured-section .wg-section__head--single{display:flex;align-items:end;justify-content:space-between;gap:28px}
body[data-wing="test"]:not(.wg-category-mode) .wg-section-link{flex:0 0 auto;padding-bottom:7px;color:#c84310;font-size:12px;font-weight:800;text-decoration:none}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlights--featured{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured{position:relative;min-height:390px;grid-template-rows:158px minmax(0,1fr);border-radius:11px;background:#fff}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured .wg-highlight__media{padding:20px;background:linear-gradient(145deg,#f7f9fb,#edf2f6)}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured .wg-highlight__media img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
body[data-wing="test"]:not(.wg-category-mode) .wg-featured-badge{position:absolute;top:12px;right:12px;z-index:2;padding:5px 8px;border:1px solid #ef9c78;border-radius:999px;background:#fff8f4;color:#c84310;font:800 9px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;text-transform:uppercase}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured .wg-highlight__body{min-height:0;padding:17px 18px 16px}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured h3{margin:6px 0 8px;font-size:16px;line-height:1.3}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured p{display:-webkit-box;min-height:57px;margin:0 0 13px;overflow:hidden;color:#61778a;font-size:11.5px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:3}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured .wg-attrs{margin-bottom:13px}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured .wg-arrow{margin-top:auto}
@media(max-width:1024px){body[data-wing="test"]:not(.wg-category-mode) .wg-highlights--featured{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body[data-wing="test"]:not(.wg-category-mode) .wg-featured-section .wg-section__head--single{display:block}body[data-wing="test"]:not(.wg-category-mode) .wg-section-link{display:inline-block;margin-top:14px}body[data-wing="test"]:not(.wg-category-mode) .wg-highlights--featured{grid-template-columns:1fr}body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured{min-height:365px}}
/* Keep featured product imagery inside the media panel */
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured{grid-template-rows:176px minmax(0,1fr)!important;overflow:hidden!important}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured .wg-highlight__media{position:relative!important;display:grid!important;height:176px!important;min-height:176px!important;box-sizing:border-box!important;place-items:center!important;overflow:hidden!important;padding:24px!important;border-bottom:1px solid #e1e8ed;isolation:isolate}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured .wg-highlight__media img{position:static!important;inset:auto!important;display:block!important;width:82%!important;height:82%!important;max-width:82%!important;max-height:82%!important;margin:auto!important;object-fit:contain!important;object-position:center!important;transform:none!important}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured[href*="pico-"] .wg-highlight__media img{width:72%!important;height:72%!important;max-width:72%!important;max-height:72%!important}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured .wg-highlight__body{position:relative!important;z-index:2!important;background:#fff!important}
@media(max-width:640px){body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured{grid-template-rows:190px minmax(0,1fr)!important}body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured .wg-highlight__media{height:190px!important;min-height:190px!important}}
/* Featured image scale by manufacturer */
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured[href*="pico-"] .wg-highlight__media img{width:82%!important;height:82%!important;max-width:82%!important;max-height:82%!important}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured[href*="siglent-"] .wg-highlight__media img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important}
body[data-wing="test"]:not(.wg-category-mode) .wg-highlight--featured[href*="pico-"] .wg-highlight__media img{width:78%!important;height:78%!important;max-width:78%!important;max-height:78%!important}