/* Homepage candidate 2: owner-supplied Industrial Homepage visual direction.
   Existing content/assets/carousels remain intact. Approved SPEC V-04 colors.
   Desktop only; this file is loaded on Home alone. */
@media (min-width: 768px) {

  html body#dmRoot.gas-home-direction #dm #dm_content [id="1110185042"] {
    height: clamp(300px,28vw,410px) !important;
    min-height: 0 !important;
    padding: 52px 40px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-attachment: scroll !important;
    background-position: center 55% !important;
    border-radius: 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1110185042"]>.dmRespColsWrapper {
    width: 100% !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content .portable-hero-transition {
    background-attachment: scroll !important;
    background-position: center 55% !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1137722086"] {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 20px !important;
    padding: 0 !important;
    left: 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content h1,
  html body#dmRoot.gas-home-direction #dm #dm_content h1 span {
    font-size: clamp(36px,4.35vw,62px) !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 6px rgba(1,53,55,.5) !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content h2,
  html body#dmRoot.gas-home-direction #dm #dm_content h2 span {
    font-size: clamp(29px,3.05vw,38px) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content a.dmWidget {
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 8px rgba(1,53,55,.18) !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1876597899"] {
    width: 200px !important;
    margin: 0 auto !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content .dmDividerWrapper {
    width: 88px !important;
    height: 3px !important;
    padding: 0 !important;
    margin: 12px auto 20px !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content .dmDividerWrapper .dmDivider {
    width: 88px !important;
    height: 3px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: #008036 !important;
    box-shadow: none !important;
  }

  html body#dmRoot.gas-home-direction #dm #dm_content [id="1818528107"] {
    padding: 26px 40px !important;
    background-color: #fff !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1818528107"]>.dmRespColsWrapper {
    display: flex !important;
    align-items: center !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1201074291"] {
    width: 55% !important;
    margin: 0 !important;
    padding: 0 18px 0 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1948515688"] {
    width: 45% !important;
    height: clamp(280px,28vw,360px) !important;
    min-height: 0 !important;
    background-size: contain !important;
    background-position: center !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1672453745"],
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1961092844"] {
    margin: 0 !important;
    padding: 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1961092844"] p,
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1961092844"] p span {
    font-size: clamp(14px,1.12vw,16px) !important;
    line-height: 1.5 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1756785498"] {
    margin: 12px 0 16px !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1623620104"] {
    width: 180px !important;
    margin: 16px 0 0 !important;
  }

  html body#dmRoot.gas-home-direction #dm #dm_content [id="1890291788"],
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1159953337"] {
    padding: 24px 40px 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1298577567"],
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1975272321"],
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1639806631"] {
    margin: 0 !important;
    padding: 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1411116010"] {
    padding: 0 40px 16px !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="products"],
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="products"] .flexslider,
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="products"] ul.slides,
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="products"] li[data-slide] {
    height: clamp(190px,20vw,280px) !important;
    min-height: 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="products"] {
    border-radius: 10px !important;
    background-color: #fff !important;
    box-shadow: 0 5px 13px rgba(1,53,55,.15), 0 1px 3px rgba(1,53,55,.08) !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1989590954"] {
    padding: 0 40px 24px !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1005181602"] {
    width: 220px !important;
    margin: 0 auto !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1147449783"] {
    padding: 0 40px 26px !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="customers"],
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="customers"] .flexslider,
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="customers"] ul.slides,
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="customers"] li[data-slide] {
    height: clamp(100px,9vw,130px) !important;
    min-height: 0 !important;
  }

  html body#dmRoot.gas-home-direction #dm #dm_content #news {
    padding: 22px 40px 16px !important;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content #news::before,
  html body#dmRoot.gas-home-direction #dm #dm_content #news>.bgExtraLayerOverlay {
    background-color: #013537 !important;
    opacity: .52 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content #news .dmDividerWrapper {
    margin-bottom: 6px !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] .flexslider,
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] ul.slides,
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] li[data-slide],
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] .slide-inner {
    height: 78px !important;
    min-height: 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] .slide-text {
    font-size: 18px !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1764769346"] {
    height: 12px !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content [id="1764769346"] * {
    min-height: 0 !important;
    height: 12px !important;
  }

  html body#dmRoot.gas-home-direction #dm .dmFooter [id="1555728629"] {
    padding: 20px 40px !important;
  }
  html body#dmRoot.gas-home-direction #dm .dmFooter .dmNewParagraph {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm .dmFooter .dmNewParagraph p,
  html body#dmRoot.gas-home-direction #dm .dmFooter .dmNewParagraph p span {
    font-size: clamp(11.5px,1vw,14px) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
  }
  html body#dmRoot.gas-home-direction #dm .dmFooter .graphicWidget {
    width: 32px !important;
    height: 32px !important;
    margin: 0 auto 8px !important;
  }
  html body#dmRoot.gas-home-direction #dm .dmFooter .graphicWidget svg,
  html body#dmRoot.gas-home-direction #dm .dmFooter .graphicWidget svg path {
    fill: #F7FFF9 !important;
  }
}



/* Dissolve images in place, retaining native controls and reduced-motion support. */
@media (min-width:768px) {
  html body#dmRoot.gas-home-direction #dm #dm_content .v2-crossfade li[data-slide] {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    transform: none !important;
    pointer-events: none;
    transition: opacity .75s ease-in-out !important;
  }
  html body#dmRoot.gas-home-direction #dm #dm_content .v2-crossfade li.portable-active {
    opacity: 1 !important;
    pointer-events: auto;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body#dmRoot.gas-home-direction #dm #dm_content .v2-crossfade li[data-slide] {
    transition: none !important;
  }
}

@media(min-width:768px){
  html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="customers"] img[alt="Align logo"] {max-width:130px !important;margin:0 auto !important;}
}

@media(min-width:768px){html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="products"] .portable-controls{display:none!important;}}

/* Center desktop header navigation and social actions within the 70px row. */
@media(min-width:768px){
}

@media(min-width:768px){html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="customers"] .portable-controls{display:none!important;}}

/* Owner correction: retain V1 blue heading dividers. */
@media(min-width:768px){html body#dmRoot:is(.gas-home-direction,.gas-v2-interior) #dm #dm_content .dmDividerWrapper .dmDivider{background:#0149A8!important;border-color:#0149A8!important;box-shadow:none!important;}}

/* Center the introduction divider like the other section dividers. */
@media(min-width:768px){html body#dmRoot.gas-home-direction #dm #dm_content [id="1756785498"]{margin-left:auto!important;margin-right:auto!important;}}

@media(min-width:768px){html body#dmRoot.gas-home-direction #dm #dm_content .v2-intro-heading{width:max-content;max-width:100%;}html body#dmRoot.gas-home-direction #dm #dm_content .v2-intro-heading [id="1672453745"]{width:auto!important;}html body#dmRoot.gas-home-direction #dm #dm_content .v2-intro-heading [id="1756785498"]{margin-left:auto!important;margin-right:auto!important;}}

/* Optical sizing: phone artwork occupies less of its SVG canvas. */
@media(min-width:768px){
html body#dmRoot #dm .dmFooter [id="1770141577"]{position:relative!important;width:32px!important;height:32px!important;overflow:visible!important;}
html body#dmRoot #dm .dmFooter [id="1770141577"] svg{position:absolute!important;width:46px!important;height:46px!important;max-width:none!important;max-height:none!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;}
}

/* V2-only owner trial: larger news copy, no visible pause button. */
@media(min-width:768px){
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] .portable-controls [data-action="pause"]{display:none!important;}
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] .slide-text,
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] .slide-text p,
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] .slide-text p span{font-size:clamp(21px,1.7vw,25px)!important;line-height:1.35!important;}
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] .flexslider,
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] ul.slides,
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] li[data-slide],
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="news"] .slide-inner{height:110px!important;min-height:110px!important;}
}

/* Owner spacing refinement: between compact V2 and original V1. */
@media(min-width:768px){
html body#dmRoot.gas-home-direction #dm #dm_content [id="1159953337"]{padding-top:36px!important;}
html body#dmRoot.gas-home-direction #dm #dm_content [id="1147449783"]{padding-top:12px!important;padding-bottom:40px!important;}
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="customers"],
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="customers"] .flexslider,
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="customers"] ul.slides,
html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="customers"] li[data-slide]{height:150px!important;min-height:150px!important;}
}

/* Slight optical enlargement of the footer house, without changing layout. */
@media(min-width:768px){html body#dmRoot #dm .dmFooter [id="1333431826"] svg{transform:scale(1.15)!important;transform-origin:center!important;}}

@media(min-width:768px){html body#dmRoot.gas-home-direction #dm #dm_content [id="1989590954"]{padding-top:12px!important;}}

@media(min-width:768px){html body#dmRoot.gas-home-direction #dm #dm_content [id="1901843450"]{margin-bottom:30px!important;}}

@media(min-width:768px){html body#dmRoot.gas-home-direction #dm #dm_content [data-carousel="products"] img[alt="Cyntec power modules"]{object-fit:contain!important;padding:8px!important;box-sizing:border-box!important;background:#fff!important;}}

/* Subtle brand-green tint under the existing mint products surface. */
@media(min-width:768px){
html body#dmRoot.gas-home-direction #dm #dm_content [id="1890291788"],
html body#dmRoot.gas-home-direction #dm #dm_content [id="1411116010"],
html body#dmRoot.gas-home-direction #dm #dm_content [id="1989590954"]{background-color:#F7FFF9!important;box-shadow:inset 0 0 0 100vmax rgba(0,128,54,.035)!important;}
}
