/* DAS header — 官方 Logo + 中文标题，简约大气 */
header._1hlincg1,
header[class*="hlincg"]{
  display:none!important;
}

#das-site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:60;
  display:flex;
  justify-content:center;
  padding:22px clamp(20px, 3vw, 40px);
  pointer-events:none;
}
#das-site-header .das-pill{
  pointer-events:auto;
  position:relative;
  width:100%;
  max-width:1340px;
  height:68px;
  min-height:68px;
  border-radius:999px;
  background:rgba(1, 92, 44, .86);
  backdrop-filter:blur(12px) saturate(1.08);
  -webkit-backdrop-filter:blur(12px) saturate(1.08);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 10px 28px rgba(0,0,0,.2);
  display:flex;
  align-items:center;
  gap:36px;
  padding:0 clamp(26px, 2.4vw, 40px);
  box-sizing:border-box;
}
#das-site-header .das-brand{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  gap:14px!important;
  text-decoration:none!important;
  flex:0 0 auto!important;
  width:max-content!important;
  max-width:none!important;
  min-width:max-content!important;
  color:#fff!important;
  z-index:2;
  white-space:nowrap!important;
}
#das-site-header .das-logo{
  display:block!important;
  height:40px!important;
  width:auto!important;
  max-width:none!important;
  flex:0 0 auto!important;
  object-fit:contain;
  object-position:left center;
  image-rendering:-webkit-optimize-contrast;
}
#das-site-header .das-brand-cn{
  display:inline-block!important;
  white-space:nowrap!important;
  color:#fff!important;
  opacity:1!important;
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif!important;
  font-size:16px!important;
  font-weight:600!important;
  letter-spacing:.12em!important;
  line-height:1!important;
  padding-top:1px;
  border-left:1px solid rgba(255,255,255,.28);
  padding-left:14px;
  margin-left:2px;
}
#das-site-header .das-nav{
  display:flex;
  align-items:center;
  gap:clamp(28px, 2.8vw, 44px);
  min-width:0;
}
#das-site-header .das-nav-menu{
  margin-left:auto;
  flex:0 0 auto;
  justify-content:flex-end;
}
#das-site-header .das-nav a{
  position:relative;
  color:#fff!important;
  text-decoration:none!important;
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  white-space:nowrap!important;
  padding:10px 0!important;
  opacity:1!important;
  transition:opacity .2s ease;
}
#das-site-header .das-nav a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:0!important;
  height:2px;
  background:#fff;
  transform:translateX(-50%);
  transition:width .2s ease;
}
#das-site-header .das-nav a:hover{
  opacity:.78!important;
}
#das-site-header .das-nav a:hover::after{
  width:100%!important;
}
#das-site-header .das-nav a.is-active{
  opacity:1!important;
  font-weight:700!important;
}
#das-site-header .das-nav a.is-active::after,
#das-site-header .das-nav a[aria-current="page"]::after{
  width:100%!important;
}
/* Non-active links never keep a stuck underline */
#das-site-header .das-nav a:not(.is-active):not(:hover)::after{
  width:0!important;
}

/* Desktop: hide hamburger */
#das-site-header .das-nav-toggle{
  display:none;
}

@media (max-width: 1180px){
  #das-site-header .das-brand-cn{ display:none!important; }
  #das-site-header .das-nav{ gap:clamp(18px, 2vw, 28px); }
  #das-site-header .das-nav a{ font-size:15px!important; }
}

@media (max-width: 900px){
  #das-site-header{
    padding:8px 8px;
    padding-top:max(8px, env(safe-area-inset-top, 0px));
  }
  #das-site-header .das-pill{
    height:52px;
    min-height:52px;
    border-radius:16px;
    padding:0 12px 0 14px;
    max-width:100%;
    width:100%;
    flex-wrap:nowrap;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    background:rgba(1, 92, 44, .94);
    box-shadow:0 8px 24px rgba(0,0,0,.22);
  }
  #das-site-header .das-brand{
    width:auto!important;
    min-width:0!important;
    max-width:calc(100% - 56px)!important;
    overflow:hidden;
  }
  #das-site-header .das-logo{
    height:30px!important;
  }
  #das-site-header .das-brand-cn{
    display:inline-block!important;
    font-size:13px!important;
    letter-spacing:.06em!important;
    padding-left:10px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  #das-site-header .das-nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    margin:0;
    margin-left:auto;
    padding:0;
    border:0;
    border-radius:12px;
    background:rgba(255,255,255,.12);
    color:#fff;
    cursor:pointer;
    flex:0 0 auto;
    z-index:3;
    -webkit-tap-highlight-color:transparent;
  }
  #das-site-header .das-nav-toggle-bars,
  #das-site-header .das-nav-toggle-bars::before,
  #das-site-header .das-nav-toggle-bars::after{
    display:block;
    width:18px;
    height:2px;
    background:#fff;
    border-radius:1px;
    transition:transform .22s ease, opacity .22s ease;
  }
  #das-site-header .das-nav-toggle-bars{
    position:relative;
  }
  #das-site-header .das-nav-toggle-bars::before,
  #das-site-header .das-nav-toggle-bars::after{
    content:"";
    position:absolute;
    left:0;
  }
  #das-site-header .das-nav-toggle-bars::before{ top:-6px; }
  #das-site-header .das-nav-toggle-bars::after{ top:6px; }
  #das-site-header .das-pill.is-open .das-nav-toggle-bars{
    background:transparent;
  }
  #das-site-header .das-pill.is-open .das-nav-toggle-bars::before{
    top:0;
    transform:rotate(45deg);
  }
  #das-site-header .das-pill.is-open .das-nav-toggle-bars::after{
    top:0;
    transform:rotate(-45deg);
  }
  #das-site-header .das-nav-menu{
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    margin:0;
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:8px;
    border-radius:16px;
    background:rgba(1, 72, 34, .97);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 16px 40px rgba(0,0,0,.28);
    backdrop-filter:blur(16px) saturate(1.1);
    -webkit-backdrop-filter:blur(16px) saturate(1.1);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-6px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
  }
  #das-site-header .das-pill.is-open .das-nav-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
  }
  #das-site-header .das-nav a{
    font-size:16px!important;
    letter-spacing:.04em!important;
    padding:14px 16px!important;
    border-radius:12px;
    min-height:44px;
    display:flex;
    align-items:center;
    box-sizing:border-box;
  }
  #das-site-header .das-nav a::after{ display:none; }
  #das-site-header .das-nav a.is-active,
  #das-site-header .das-nav a:hover{
    background:rgba(255,255,255,.12)!important;
    opacity:1!important;
  }
  html.das-nav-open{
    overflow:hidden;
  }
}

@media (max-width: 420px){
  #das-site-header .das-brand-cn{
    display:none!important;
  }
}

/* —— Brand green: unify large titles + CTA buttons site-wide —— */
:root{
  --das-green:#016A31;
  --das-green-deep:#014f25;
}
[data-module-type] h1,
[data-module-type] h2.chiilf2,
[data-module-type] h2._1m43df7c,
[data-module-type] h2.fopppr7,
[data-module-type] h2.gxobiu2,
[data-module-type] h2.das-model-title,
[data-module-type] h2.das-about-title,
[data-module-type] h2.das-tech-delivery-title,
[data-module-type] h3._9su7upf,
[data-module-type="module.dualFeature"] h2,
[data-module-type="module.dualFeature"] h3,
[data-module-type="module.featuredNews"] h2,
[data-module-type="module.textSection"] h2,
html[data-das-home="1"] h2.das-model-title,
html[data-das-home="1"] h2.r017644,
html[data-das-home="1"] h2.fopppr7,
html[data-das-home="1"] h2.gxobiu2,
html[data-das-about="1"] h2.das-about-title,
html[data-das-about="1"] h2._1m43df7c,
html[data-das-tech="1"] h2.das-tech-delivery-title,
html[data-das-tech="1"] h3._9su7upf,
.wrap > h1{
  color:var(--das-green)!important;
}

/* Pill CTAs only — do NOT paint news-card title/read-more (href often contains /newsroom/) */
a._194m7za0,
a._194m7za0 span,
a._194m7za0 svg,
a._194m7za2,
button._194m7za0,
[data-module-type="module.featuredNews"] a._194m7za0,
[data-module-type="module.featuredNews"] a._194m7za2{
  color:#fff!important;
}
a._194m7za0,
a._194m7za2,
button._194m7za0,
[data-module-type="module.featuredNews"] a._194m7za0,
[data-module-type="module.featuredNews"] a._194m7za2{
  background:var(--das-green)!important;
  border-color:var(--das-green)!important;
}
a._194m7za0:hover,
a._194m7za2:hover,
button._194m7za0:hover,
[data-module-type="module.featuredNews"] a._194m7za0:hover,
[data-module-type="module.featuredNews"] a._194m7za2:hover{
  background:var(--das-green-deep)!important;
  border-color:var(--das-green-deep)!important;
  color:#fff!important;
}
/* News cards: match placeholder text style (no green bars) */
html[data-das-home="1"] [data-module-type="module.featuredNews"] a.gxobiub,
html[data-das-home="1"] [data-module-type="module.featuredNews"] a.gxobiug,
html[data-das-home="1"] [data-module-type="module.featuredNews"] li a:not(._194m7za0):not(._194m7za2){
  background:transparent!important;
  background-color:transparent!important;
  border:none!important;
  box-shadow:none!important;
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
}
html[data-das-home="1"] [data-module-type="module.featuredNews"] a.gxobiub:hover,
html[data-das-home="1"] [data-module-type="module.featuredNews"] a.gxobiug:hover,
html[data-das-home="1"] [data-module-type="module.featuredNews"] li a:not(._194m7za0):not(._194m7za2):hover{
  background:transparent!important;
  color:inherit!important;
}
/* Placeholder news cards: not clickable */
html[data-das-home="1"] [data-module-type="module.featuredNews"] a.das-news-nolink,
html[data-das-home="1"] [data-module-type="module.featuredNews"] a.gxobiub,
html[data-das-home="1"] [data-module-type="module.featuredNews"] a.gxobiug,
html[data-das-home="1"] [data-module-type="module.featuredNews"] li a:not(._194m7za0):not(._194m7za2){
  cursor:default!important;
  pointer-events:none!important;
  text-decoration:none!important;
}

/* —— Site-wide mobile page polish (about / tech / projects / contact) —— */
@media (max-width: 900px){
  html, body{
    overflow-x:clip;
    max-width:100%;
  }
  img, video, canvas{
    max-width:100%;
  }
  img:not([style*="position: absolute"]):not([data-nimg="fill"]){
    height:auto;
  }
  main, [data-module-type]{
    overflow-x:clip;
  }
  /* Keep content clear of fixed capsule */
  body{
    padding-top:0;
  }
  #das-site-header{
    padding-top:max(8px, env(safe-area-inset-top, 0px));
    padding-left:max(8px, env(safe-area-inset-left, 0px));
    padding-right:max(8px, env(safe-area-inset-right, 0px));
  }
  /* Soften oversized section paddings — keep content readable, heroes bleed */
  [data-module-type] > section,
  [data-module-type] section{
    padding-inline:12px!important;
  }
  [data-module-type="module.standardHero"] > section,
  [data-module-type="module.standardHero"] section,
  [data-module-type="module.featureColumns"] > section,
  [data-module-type="module.featureColumns"] section._9su7up0,
  [data-module-type="module.imageGallery"] > section,
  [data-module-type="module.imageGallery"],
  [data-module-type="module.businessLines"] .k4cfnke,
  [data-module-type="module.businessLines"] .k4cfnke section,
  [data-module-type="module.businessLines"] .k4cfnke ._1f5xokt0{
    padding-inline:0!important;
  }
  [data-module-type] h1,
  [data-module-type] h2.chiilf2,
  section h1,
  section > h2{
    font-size:clamp(26px,7vw,36px)!important;
    line-height:1.2!important;
    word-break:break-word;
  }
  [data-module-type] p,
  section p{
    font-size:clamp(15px,3.8vw,17px)!important;
    line-height:1.65!important;
  }
  /* Text sections: force single column stack */
  [data-module-type="module.textSection"] ._1m43df75,
  [data-module-type="module.textSection"] ._1m43df76{
    grid-template-columns:1fr!important;
    column-gap:16px!important;
    row-gap:14px!important;
  }
  [data-module-type="module.standardHero"] h1,
  [data-module-type="module.standardHero"] .g3mgoh3{
    max-width:16em;
  }
  a._194m7za0,
  a._194m7za2,
  button._194m7za0{
    min-height:44px;
    box-sizing:border-box;
  }
}

@media (max-width:560px){
  [data-module-type] > section,
  [data-module-type] section{
    padding-inline:clamp(14px,4vw,18px)!important;
  }
  [data-module-type="module.featureColumns"] > section,
  [data-module-type="module.featureColumns"] section._9su7up0,
  [data-module-type="module.imageGallery"] > section,
  [data-module-type="module.businessLines"] .k4cfnke,
  [data-module-type="module.businessLines"] .k4cfnke section,
  [data-module-type="module.businessLines"] .k4cfnke ._1f5xokt0{
    padding-inline:0!important;
  }
  [data-module-type] h1,
  section h1{
    font-size:clamp(24px,7.5vw,30px)!important;
  }
}

/* Hide native scrollbar — use custom half-height rail (#das-scroll-rail) */
html, body{
  scrollbar-width:none;
  -ms-overflow-style:none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}
#das-scroll-rail{
  position:fixed;
  top:25vh;
  right:6px;
  width:6px;
  height:50vh;
  z-index:80;
  pointer-events:none;
  opacity:0;
  transition:opacity .25s ease;
}
#das-scroll-rail.is-visible{
  opacity:1;
  pointer-events:auto;
}
#das-scroll-rail .das-scroll-rail__track{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:rgba(0,0,0,.06);
}
#das-scroll-rail .das-scroll-rail__thumb{
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:40%;
  border-radius:999px;
  background:rgba(100,100,100,.55);
  cursor:pointer;
  pointer-events:auto;
  transition:background .15s ease;
}
#das-scroll-rail .das-scroll-rail__thumb:hover,
#das-scroll-rail .das-scroll-rail__thumb.is-dragging{
  background:rgba(70,70,70,.75);
}
@media (max-width:900px){
  #das-scroll-rail{ right:3px; width:4px; }
}
