/* v1.8.17.8 — support/contact spacing, loaded LAST */

/* ===== shared outer spacing ===== */
body.huawei-site .hw-support-showcase,
body.huawei-site .hw-contact-showcase{
  padding:44px 0 68px!important;
  background:#f7f9fc!important;
}
body.huawei-site .hw-support-showcase>.hw-panel-card,
body.huawei-site .hw-contact-showcase>.hw-panel-card{
  width:min(calc(100% - 96px),1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:44px 46px 48px!important;
  border:1px solid #e8edf3!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(15,35,56,.045)!important;
}

/* ===== page title ===== */
body.huawei-site .hw-support-showcase .hw-panel-head,
body.huawei-site .hw-contact-showcase .hw-panel-head{
  max-width:860px!important;
  margin:0 auto 34px!important;
  padding:0 18px!important;
  text-align:center!important;
}
body.huawei-site .hw-support-showcase .hw-panel-head h1,
body.huawei-site .hw-contact-showcase .hw-panel-head h1{
  margin:0!important;
  line-height:1.12!important;
}
body.huawei-site .hw-support-showcase .hw-panel-head p,
body.huawei-site .hw-contact-showcase .hw-panel-head p{
  margin:12px auto 0!important;
  max-width:720px!important;
}

/* ===== CONTACT ===== */
body.huawei-site .hw-contact-showcase .hw-contact-layout{
  width:min(100%,1040px)!important;
  margin:0 auto 52px!important;
  display:grid!important;
  grid-template-columns:.78fr 1.22fr!important;
  gap:28px!important;
  align-items:start!important;
}
body.huawei-site .hw-contact-showcase .hw-contact-card,
body.huawei-site .hw-contact-showcase .hw-contact-form-card{
  padding:26px!important;
  border:1px solid #e7ecf2!important;
  border-radius:16px!important;
  box-shadow:0 8px 22px rgba(15,35,56,.035)!important;
}
body.huawei-site .hw-contact-showcase .hw-knowledge-head{
  margin:0 22px 24px!important;
  padding-top:8px!important;
}
body.huawei-site .hw-contact-showcase .hw-knowledge-grid{
  margin:0 22px 0!important;
  gap:22px!important;
}
body.huawei-site .hw-contact-showcase .hw-knowledge-card{
  min-height:210px!important;
  padding:22px!important;
  border-radius:15px!important;
}
body.huawei-site .hw-contact-showcase .hw-map-box{
  margin:38px 22px 0!important;
  border-radius:16px!important;
  overflow:hidden!important;
}
body.huawei-site .hw-contact-showcase .hw-map-box iframe{
  height:280px!important;
}

/* ===== SUPPORT ===== */
body.huawei-site .hw-support-showcase .hw-help-search{
  width:min(100%,760px)!important;
  margin:0 auto 34px!important;
}
body.huawei-site .hw-support-showcase .hw-support-box-grid{
  width:min(100%,1120px)!important;
  margin:0 auto 48px!important;
  gap:22px!important;
}
body.huawei-site .hw-support-showcase .hw-support-box{
  min-height:190px!important;
  padding:22px!important;
  border-radius:15px!important;
}
body.huawei-site .hw-support-showcase .hw-knowledge-head{
  margin:0 22px 26px!important;
  padding-top:4px!important;
}
body.huawei-site .hw-support-showcase .hw-checklist-panel{
  margin:0 22px 34px!important;
  padding:28px!important;
  border-radius:16px!important;
}
body.huawei-site .hw-support-showcase .hw-checklist{
  gap:14px!important;
}
body.huawei-site .hw-support-showcase .hw-process{
  margin:0 22px 46px!important;
  gap:16px!important;
}
body.huawei-site .hw-support-showcase .hw-process__step{
  min-height:170px!important;
  padding:22px 20px!important;
  border-radius:14px!important;
}
body.huawei-site .hw-support-showcase .hw-section-title.compact{
  margin:0 22px 24px!important;
}
body.huawei-site .hw-support-showcase .hw-faq-clean{
  width:min(100%,900px)!important;
  margin:0 auto 30px!important;
  gap:12px!important;
}
body.huawei-site .hw-support-showcase .hw-support-cta-strip{
  width:min(100%,900px)!important;
  margin:0 auto!important;
  padding:20px 24px!important;
  border-radius:14px!important;
}

/* remove inline spacer side-effects by controlling actual neighboring blocks */
body.huawei-site .hw-support-showcase .hw-checklist-panel + div[style*="height"],
body.huawei-site .hw-support-showcase .hw-process + div[style*="height"],
body.huawei-site .hw-contact-showcase .hw-knowledge-grid + div[style*="height"]{
  height:0!important;
  display:none!important;
}

@media(max-width:1100px){
  body.huawei-site .hw-support-showcase>.hw-panel-card,
  body.huawei-site .hw-contact-showcase>.hw-panel-card{
    width:min(calc(100% - 48px),1240px)!important;
    padding:34px 30px 38px!important;
  }
  body.huawei-site .hw-contact-showcase .hw-contact-layout{
    grid-template-columns:1fr!important;
    max-width:820px!important;
  }
  body.huawei-site .hw-contact-showcase .hw-knowledge-head,
  body.huawei-site .hw-contact-showcase .hw-knowledge-grid,
  body.huawei-site .hw-contact-showcase .hw-map-box,
  body.huawei-site .hw-support-showcase .hw-knowledge-head,
  body.huawei-site .hw-support-showcase .hw-checklist-panel,
  body.huawei-site .hw-support-showcase .hw-process,
  body.huawei-site .hw-support-showcase .hw-section-title.compact{
    margin-left:10px!important;
    margin-right:10px!important;
  }
}

@media(max-width:782px){
  body.huawei-site .hw-support-showcase,
  body.huawei-site .hw-contact-showcase{
    padding:24px 0 42px!important;
  }
  body.huawei-site .hw-support-showcase>.hw-panel-card,
  body.huawei-site .hw-contact-showcase>.hw-panel-card{
    width:calc(100% - 20px)!important;
    padding:22px 16px 26px!important;
    border-radius:14px!important;
  }
  body.huawei-site .hw-support-showcase .hw-panel-head,
  body.huawei-site .hw-contact-showcase .hw-panel-head{
    margin-bottom:24px!important;
    padding:0 4px!important;
  }
  body.huawei-site .hw-contact-showcase .hw-contact-layout,
  body.huawei-site .hw-contact-showcase .hw-knowledge-head,
  body.huawei-site .hw-contact-showcase .hw-knowledge-grid,
  body.huawei-site .hw-contact-showcase .hw-map-box,
  body.huawei-site .hw-support-showcase .hw-knowledge-head,
  body.huawei-site .hw-support-showcase .hw-checklist-panel,
  body.huawei-site .hw-support-showcase .hw-process,
  body.huawei-site .hw-support-showcase .hw-section-title.compact{
    margin-left:0!important;
    margin-right:0!important;
  }
  body.huawei-site .hw-contact-showcase .hw-contact-layout{gap:16px!important;margin-bottom:30px!important}
  body.huawei-site .hw-contact-showcase .hw-knowledge-grid{gap:12px!important}
  body.huawei-site .hw-contact-showcase .hw-knowledge-card{min-height:0!important;padding:17px!important}
  body.huawei-site .hw-contact-showcase .hw-map-box{margin-top:24px!important}
  body.huawei-site .hw-support-showcase .hw-support-box-grid{gap:12px!important;margin-bottom:32px!important}
  body.huawei-site .hw-support-showcase .hw-support-box{min-height:0!important;padding:17px!important}
  body.huawei-site .hw-support-showcase .hw-checklist-panel{padding:18px!important;margin-bottom:24px!important}
  body.huawei-site .hw-support-showcase .hw-process{gap:12px!important;margin-bottom:30px!important}
  body.huawei-site .hw-support-showcase .hw-process__step{min-height:0!important;padding:18px!important}
  body.huawei-site .hw-support-showcase .hw-faq-clean,
  body.huawei-site .hw-support-showcase .hw-support-cta-strip{width:100%!important}
}
