/* Huawei WiFi UI System v1.8.1 — compact editorial + balanced solution tabs */
:root{--hw181-red:#e60012;--hw181-ink:#121820;--hw181-text:#3e4954;--hw181-muted:#7f8993;--hw181-line:#e6ebef;--hw181-soft:#f6f8fb;--hw181-shadow:0 10px 28px rgba(17,24,39,.045)}

/* NEWS — editorial rhythm */
.hw-news-page .hw-content-hero{padding:34px 0 28px!important;background:linear-gradient(135deg,#fff 0%,#fafbfc 70%,#fff5f6 100%)!important}
.hw-news-page .hw-content-hero__inner{align-items:center!important}
.hw-news-page .hw-content-hero h1{font-size:38px!important;line-height:1.08!important;letter-spacing:-1.1px!important;margin-bottom:8px!important}
.hw-news-page .hw-content-hero p{font-size:13px!important;line-height:1.62!important;max-width:640px!important}
.hw-news-page .hw-content-searchbox{width:min(390px,100%)!important;padding:6px!important;border-radius:14px!important;box-shadow:0 8px 22px rgba(17,24,39,.045)!important}
.hw-news-page .hw-content-searchbox input,.hw-news-page .hw-content-searchbox button{height:38px!important}
.hw-news-page .hw-content-toolbar{position:relative!important;top:auto!important;box-shadow:none!important}
.hw-news-page .hw-content-toolbar__inner{padding:11px 0!important;gap:12px!important}
.hw-news-page .hw-category-nav{gap:6px!important}
.hw-news-page .hw-category-nav a{min-height:30px!important;padding:0 11px!important;font-size:10.5px!important}
.hw-news-page .hw-content-count{font-size:10.5px!important}
.hw-news-page .hw-content-main{padding:26px 0 46px!important}
.hw-news-page .hw-news-section-head{margin:0 0 14px!important;align-items:center!important}
.hw-news-page .hw-news-section-head--latest{margin-top:22px!important}
.hw-news-page .hw-news-section-head>div{gap:8px!important}
.hw-news-page .hw-news-section-head>div>span{width:27px!important;height:27px!important;border-radius:9px!important;font-size:9px!important}
.hw-news-page .hw-news-section-head h2{font-size:18px!important;letter-spacing:-.2px!important}
.hw-news-page .hw-news-section-head p{font-size:10px!important;max-width:430px!important}
.hw-news-page .hw-news-featured{gap:14px!important;margin-bottom:20px!important}
.hw-news-page .hw-news-featured__main,.hw-news-page .hw-news-featured__side{border-radius:16px!important;box-shadow:var(--hw181-shadow)!important}
.hw-news-page .hw-news-featured__main a{min-height:260px!important}
.hw-news-page .hw-news-featured__image img{min-height:260px!important}
.hw-news-page .hw-news-featured__copy{padding:22px!important}
.hw-news-page .hw-news-featured__copy h2{font-size:21px!important;line-height:1.35!important;margin:9px 0!important}
.hw-news-page .hw-news-featured__copy p{font-size:11.5px!important;line-height:1.65!important}
.hw-news-page .hw-news-featured__side{padding:12px!important}
.hw-news-page .hw-news-mini{grid-template-columns:88px 1fr!important;gap:10px!important;padding:9px 0!important}
.hw-news-page .hw-news-mini img{width:88px!important;height:62px!important;border-radius:9px!important}
.hw-news-page .hw-news-mini b{font-size:11px!important;line-height:1.42!important}

/* Same-height cards across every row */
.hw-news-page .hw-news-grid{align-items:stretch!important;gap:14px!important}
.hw-news-page .hw-news-grid .hw-content-card{height:100%!important;min-height:338px!important;border-radius:15px!important;box-shadow:0 7px 20px rgba(17,24,39,.035)!important}
.hw-news-page .hw-news-grid .hw-content-card__media{aspect-ratio:16/9!important;flex:0 0 auto!important}
.hw-news-page .hw-news-grid .hw-content-card__body{display:flex!important;flex-direction:column!important;flex:1!important;padding:13px 14px 14px!important}
.hw-news-page .hw-news-grid .hw-content-card__meta{min-height:18px!important;margin-bottom:6px!important;font-size:9px!important}
.hw-news-page .hw-news-grid .hw-content-card h2{font-size:13.5px!important;line-height:1.38!important;min-height:38px!important;margin-bottom:7px!important;-webkit-line-clamp:2!important}
.hw-news-page .hw-news-grid .hw-content-card p{font-size:10.5px!important;line-height:1.55!important;min-height:49px!important;-webkit-line-clamp:3!important}
.hw-news-page .hw-news-grid .hw-content-card__foot{margin-top:auto!important;padding-top:10px!important}
.hw-news-page .hw-news-grid .hw-content-card__read{font-size:9.5px!important}
.hw-news-page .hw-pagination{margin-top:24px!important;gap:6px!important}
.hw-news-page .hw-pagination .page-numbers{width:34px!important;height:34px!important;border-radius:9px!important;font-size:11px!important}

/* SOLUTIONS — exactly two balanced rows on desktop/tablet */
.hw-solution-premium-hero{padding:42px 0 50px!important}
.hw-solution-premium-heading{max-width:900px!important;margin-bottom:22px!important}
.hw-solution-premium-heading .hw-kicker{font-size:12px!important;margin-bottom:8px!important}
.hw-solution-premium-heading h1{font-size:42px!important;line-height:1.08!important;letter-spacing:-1.3px!important}
.hw-solution-premium-heading p{font-size:15px!important;line-height:1.6!important;margin-top:10px!important}
.hw-solution-tab-grid.hw-grid-system{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 12px!important;max-width:980px!important;margin:0 auto 20px!important}
.hw-solution-tab{min-height:48px!important;padding:8px 12px!important;border-radius:14px!important;gap:8px!important;box-shadow:none!important}
.hw-solution-tab:hover{transform:none!important;box-shadow:0 6px 16px rgba(17,24,39,.04)!important}
.hw-solution-tab.is-active{box-shadow:0 8px 20px rgba(230,0,18,.14)!important}
.hw-solution-tab__index{width:22px!important;height:22px!important;font-size:9px!important;flex:0 0 22px!important}
.hw-solution-tab__title{font-size:12px!important;line-height:1.25!important;text-align:left!important}
.hw-solution-stage{min-height:380px!important;gap:28px!important;padding:26px!important;border-radius:22px!important;box-shadow:0 16px 46px rgba(17,24,39,.06)!important}
.hw-solution-stage__copy{padding:6px!important}
.hw-solution-stage__eyebrow{min-height:27px!important;padding:0 10px!important;font-size:9px!important}
.hw-solution-stage__copy h2{font-size:30px!important;line-height:1.12!important;margin:12px 0 8px!important}
.hw-solution-stage__copy>p,.hw-solution-stage__points li{font-size:12px!important;line-height:1.6!important}
.hw-solution-stage__media{min-height:300px!important;border-radius:18px!important}
.hw-solution-stage__media img{height:300px!important}

@media(min-width:1281px){
  .hw-news-page .hw-news-grid.hw-grid-system{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(min-width:992px) and (max-width:1280px){
  .hw-news-page .hw-news-grid.hw-grid-system{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .hw-news-page .hw-news-grid .hw-content-card{min-height:350px!important}
  .hw-solution-premium-heading h1{font-size:38px!important}
}
@media(min-width:783px) and (max-width:991px){
  .hw-news-page .hw-news-grid.hw-grid-system{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .hw-solution-tab-grid.hw-grid-system{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:760px!important}
  .hw-solution-stage{grid-template-columns:1fr!important;min-height:0!important}
  .hw-solution-stage__media{order:-1!important;min-height:260px!important}.hw-solution-stage__media img{height:260px!important}
}
@media(max-width:782px){
  .hw-news-page .hw-content-hero{padding:24px 0 20px!important}.hw-news-page .hw-content-hero h1{font-size:27px!important}.hw-news-page .hw-content-hero p{font-size:11.5px!important}
  .hw-news-page .hw-content-main{padding:18px 0 32px!important}
  .hw-news-page .hw-news-section-head p{display:none!important}
  .hw-news-page .hw-news-grid.hw-grid-system{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .hw-news-page .hw-news-grid .hw-content-card{min-height:278px!important;border-radius:12px!important}
  .hw-news-page .hw-news-grid .hw-content-card__body{padding:10px!important}.hw-news-page .hw-news-grid .hw-content-card h2{font-size:11.5px!important;min-height:32px!important}.hw-news-page .hw-news-grid .hw-content-card p{font-size:9.5px!important;min-height:43px!important}.hw-news-page .hw-news-grid .hw-content-card__read{font-size:9px!important}
  .hw-solution-premium-hero{padding:28px 0 34px!important}.hw-solution-premium-heading{margin-bottom:16px!important}.hw-solution-premium-heading h1{font-size:28px!important}.hw-solution-premium-heading p{font-size:12px!important}
  .hw-solution-tab-grid.hw-grid-system{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:none!important;gap:8px!important}.hw-solution-tab{min-height:44px!important;padding:7px 9px!important;border-radius:12px!important}.hw-solution-tab__title{font-size:10.5px!important}.hw-solution-tab__index{width:20px!important;height:20px!important;flex-basis:20px!important}
  .hw-solution-stage{padding:14px!important;border-radius:18px!important;gap:16px!important}.hw-solution-stage__copy h2{font-size:22px!important}.hw-solution-stage__media{min-height:210px!important}.hw-solution-stage__media img{height:210px!important}
}
