/* ===== ?? Page Hero??????? ===== */
.page-hero {
  text-align: left; padding: 0;
  height: 400px; min-height: 400px;
  display: flex; align-items: flex-start; justify-content: center;
  position: relative; color: #f8fafc;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: none; opacity: 0; pointer-events: none;
}

/* ===== 有底图 Banner：轻微黑底透明蒙层（无图 / 亮底深字不加） ===== */
:root {
  --hero-cover-scrim: rgba(0, 0, 0, 0.30);
}
/* 首页轮播 .slide 的 ::before 用来画封面图，蒙层改走 .slide-overlay，勿用本规则覆盖 */
.hero-has-cover:not(.hero-on-light):not(.slide)::before,
.page-hero.hero-has-cover:not(.hero-on-light)::before,
.about-hero.hero-has-cover:not(.hero-on-light)::before,
.ab-page .about-hero.hero-has-cover:not(.hero-on-light)::before,
.ai-page .about-hero.hero-has-cover:not(.hero-on-light)::before,
.fq-page .about-hero.hero-has-cover:not(.hero-on-light)::before,
.iv-page .about-hero.hero-has-cover:not(.hero-on-light)::before,
.jn-page .about-hero.hero-has-cover:not(.hero-on-light)::before,
.ct-page .about-hero.hero-has-cover:not(.hero-on-light)::before,
.sp-page .about-hero.hero-has-cover:not(.hero-on-light)::before,
.cases-hero.hero-has-cover:not(.hero-on-light)::before,
.cs-hero.hero-has-cover:not(.hero-on-light)::before,
.ph-hero.hero-has-cover:not(.hero-on-light)::before,
.ps-hero.hero-has-cover:not(.hero-on-light)::before,
.sol-hub-hero.hero-has-cover:not(.hero-on-light)::before,
.algo-hero.hero-has-cover:not(.hero-on-light)::before,
.algo-page .algo-hero.hero-has-cover:not(.hero-on-light)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block !important;
  opacity: 1 !important;
  background: var(--hero-cover-scrim) !important;
}
/* 亮底深字：不加黑蒙层 */
.hero-has-cover.hero-on-light::before,
.about-hero.hero-has-cover.hero-on-light::before,
.algo-hero.hero-has-cover.hero-on-light::before {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
}
/* 方案/案例详情：复用 overlay 节点 */
.detail-hero.has-bg:not(.hero-on-light) .detail-hero__overlay,
.sol-detail-page .detail-hero.has-bg:not(.hero-on-light) .detail-hero__overlay,
.detail-hero.hero-has-cover:not(.hero-on-light) .detail-hero__overlay {
  display: block !important;
  opacity: 1 !important;
  background: var(--hero-cover-scrim) !important;
}
.detail-hero.hero-on-light .detail-hero__overlay,
.detail-hero.has-bg.hero-on-light .detail-hero__overlay {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
}
.hero-on-light {
  color: #1c1f24;
}
.hero-on-light h1:not(.hero-title--solid):not(.hero-title--gradient),
.hero-on-light .slide-title:not(.hero-title--solid):not(.hero-title--gradient) {
  color: #14161a !important;
  -webkit-text-fill-color: #14161a;
  text-shadow: none !important;
}
.hero-on-light .sub,
.hero-on-light .ph-hero-sub,
.hero-on-light .ps-hero-sub,
.hero-on-light .pd-hero-desc,
.hero-on-light .slide-desc,
.hero-on-light .breadcrumb,
.hero-on-light .breadcrumb a,
.hero-on-light .breadcrumb .crumb-current {
  color: rgba(28, 31, 36, 0.78) !important;
  text-shadow: none !important;
}
.hero-on-light .detail-hero .anchors span,
.hero-on-light.detail-hero .anchors span {
  background: rgba(20, 22, 26, 0.06);
  border-color: rgba(20, 22, 26, 0.16);
  color: #14161a;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .inner { max-width: var(--site-maxw); width: 100%; padding: 120px 0 0; margin: 0 auto; position: relative; z-index: 1; }
/* ??????????????????? */
.page-hero .breadcrumb,
.about-hero .breadcrumb,
.detail-hero .breadcrumb,
.algo-page .algo-hero .breadcrumb,
.ai-page .about-hero .breadcrumb,
.cs-page .page-hero .breadcrumb {
  display: none !important;
}
/* ???????????? 64px??????? .m-back???????? */
@media (max-width: 768px) {
  .page-hero .inner,
  .about-hero .inner,
  .detail-hero__inner,
  .ai-page .about-hero .inner,
  .cs-page .page-hero .inner,
  .ab-page .about-hero .inner,
  .ct-page .about-hero .inner,
  .sp-page .about-hero .inner,
  .fq-page .about-hero .inner,
  .iv-page .about-hero .inner,
  .jn-page .about-hero .inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
.page-hero h1 {
  font-size: 32px;
  font-weight: 400;
  color: #f8fafc;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  max-width: min(900px, 100%);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-height: 2.4em;
}
.page-hero .sub {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  max-width: 800px;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-height: 5.1em;
}
/* ----- ???? ----- */
.hero-products {
  background: url("/dist/images/banner-products.svg") center / cover no-repeat,
    linear-gradient(135deg, #282323 0%, #1e1b4b 50%, #282323 100%);
}
/* ----- ?????? ----- */
.hero-solutions {
  background: url("/dist/images/banner-solutions.svg") center / cover no-repeat,
    linear-gradient(135deg, #282323 0%, #1e1b4b 50%, #282323 100%);
}
/* ----- ???? ----- */
.hero-cases {
  background: url("/dist/images/banner-cases.svg") center / cover no-repeat,
    linear-gradient(135deg, #282323 0%, #1a2a4a 55%, #243b6b 100%);
}
/* ----- ???? ----- */
.hero-news {
  background: url("/dist/images/banner-news.svg") center / cover no-repeat,
    linear-gradient(135deg, #282323 0%, #1a2a4a 55%, #243b6b 100%);
}
/* ----- ??AVCiT ----- */
.hero-about {
  background: linear-gradient(90deg, rgba(15,23,42,0.94) 0%, rgba(15,23,42,0.78) 40%, rgba(15,23,42,0.35) 68%, transparent 100%),
    linear-gradient(135deg, #282323 0%, #1e1b4b 50%, #282323 100%);
  overflow: hidden;
}
.hero-about::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(14,165,233,0.14) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(195,13,35,0.10) 0%, transparent 40%);
  pointer-events: none;
}
/* ----- 内页 Banner 移动端：压矮 + 内容垂直居中（不含首页） ----- */
@media (max-width: 768px) {
  body:not(.is-home) .page-hero,
  .page-hero {
    height: auto;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body:not(.is-home) .page-hero .inner,
  .page-hero .inner {
    padding: 28px 16px !important;
    margin-top: 0;
    margin-bottom: 0;
  }
  .page-hero h1 { font-size: 24px; margin-bottom: 10px; }
  .page-hero .sub {
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}
@media (max-width: 991px) {
  /* 覆盖各栏目写死的 400px 高度；首页轮播、详情 Banner 除外；文案垂直居中 */
  body:not(.is-home) .page-hero,
  body:not(.is-home) .about-hero,
  .ab-page .about-hero,
  .ai-page .about-hero,
  .fq-page .about-hero,
  .iv-page .about-hero,
  .jn-page .about-hero,
  .ct-page .about-hero,
  .sp-page .about-hero,
  .cs-page .page-hero,
  .cs-page .cases-hero,
  .nw-page .page-hero,
  .nw-detail .page-hero,
  .ph-page .ph-hero,
  .ps-page .ps-hero,
  .algo-page .algo-hero,
  .sol-hub-hero {
    height: auto !important;
    min-height: 220px !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  body:not(.is-home) .page-hero .inner,
  body:not(.is-home) .about-hero .inner,
  .ab-page .about-hero .inner,
  .ai-page .about-hero .inner,
  .fq-page .about-hero .inner,
  .iv-page .about-hero .inner,
  .jn-page .about-hero .inner,
  .ct-page .about-hero .inner,
  .sp-page .about-hero .inner,
  .cs-page .page-hero .inner,
  .cs-page .cases-hero .inner,
  .nw-page .page-hero .inner,
  .nw-detail .page-hero .inner,
  .ph-page .ph-hero-inner,
  .ps-page .ps-hero-inner,
  .algo-page .algo-hero .inner,
  .sol-hub-hero .inner {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
    box-sizing: border-box !important;
  }
  body:not(.is-home) .page-hero .sub,
  body:not(.is-home) .about-hero .sub,
  .ab-page .about-hero .sub,
  .ai-page .about-hero .sub,
  .fq-page .about-hero .sub,
  .iv-page .about-hero .sub,
  .jn-page .about-hero .sub,
  .ct-page .about-hero .sub,
  .sp-page .about-hero .sub,
  .cs-page .page-hero .sub,
  .nw-page .page-hero .sub {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 3.2em;
    font-size: 13px;
    line-height: 1.5;
  }
  body:not(.is-home) .page-hero h1,
  body:not(.is-home) .about-hero h1,
  .fq-page .about-hero h1,
  .sp-page .about-hero h1,
  .iv-page .about-hero h1,
  .jn-page .about-hero h1,
  .ct-page .about-hero h1,
  .ab-page .about-hero h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }
}
/* ===== ????? v2????? + ????/??????????? ===== */
.product-group {
  background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 8px;
  padding: 24px 28px; margin-bottom: 20px; transition: box-shadow 0.25s, border-color 0.25s;
  scroll-margin-top: 100px;
}
.product-group:hover { box-shadow: 0 10px 28px rgba(15,23,42,0.07); border-color: rgba(195,13,35,0.18); }
.product-group .group-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9;
}
.product-group .group-title {
  font-size: 20px; font-weight: 400; color: #282323; margin-bottom: 6px; line-height: 1.35;
}
.product-group .group-title-link { color: inherit; text-decoration: none; }
.product-group .group-title-link:hover { color: #c30d23; }
.product-group .group-title .tag {
  display: inline-block;
  font-size: var(--av-fs-caption, 13px); font-weight: 700; padding: 3px 8px; border-radius: 4px;
  background: #c30d23; color: #fff; margin-left: 10px; vertical-align: middle;
  line-height: 1.4;
}
.product-group .group-desc {
  font-size: 14px; color: #555555; line-height: 1.65; max-width: 100%; margin: 0;
}
.product-group .group-desc-pending { color: #555555; font-style: normal; }
/* ????????????????????????? */
.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip, a.chip {
  display: inline-flex; align-items: center; gap: 8px;
  max-width: 100%;
  background: #f1f5f9; border: 1px solid transparent; border-radius: 8px;
  padding: 10px 14px; font-size: var(--av-fs-caption, 13px); font-weight: 700; color: #404040;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s, background 0.2s;
  scroll-margin-top: 100px;
}
a.chip { text-decoration: none; }
.chip:hover, a.chip:hover {
  background: #fff;
  border-color: #c30d23;
  color: #282323;
  box-shadow: 0 4px 12px rgba(195, 13, 35, 0.10);
}
.chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0; background: #c30d23;
}
.chip.chip-pending { color: #555555; font-weight: 400; cursor: default; background: #f8fafc; }
.chip.chip-pending:hover { border-color: transparent; box-shadow: none; background: #f8fafc; }
.tech-link.tech-link-pending { opacity: 0.65; cursor: not-allowed; }
.ai-section, .av-section { scroll-margin-top: 90px; }
/* AI / AV theme */
.ai-section .section-title .bar { background: #c30d23; }
.av-section .section-title .bar { background: #c30d23; }
/* ??????????? */
.pd-section { max-width: var(--site-maxw); margin: 0 auto; padding: 100px 0 16px; }
.pd-section-head { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 40px; }
/* ??? type-v2 ??????????????? */
.pd-section-title { text-align: center;  }
.pd-section-title .bar { display: block; width: 36px; height: 3px; background: #c30d23; border-radius: 2px; margin: 0 auto 14px; }
.pd-section-title .cnt { display: block; font-size: 14px; font-weight: 400; color: #555555; margin-top: 10px; line-height: 1.6; }
/* ?? CTA ?????? */
.unified-bg { background: #dddee6; }
.unified-bg .section { padding-top: 100px; padding-bottom: 48px; }
.unified-bg #tech-ecosystem {
  padding: 80px 24px; min-height: 520px;
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
}
.tech-cta {
  background: rgba(0,0,0,0.9); border-radius: 8px;
  padding: 56px 48px; color: #fff; position: relative; overflow: hidden;
}
.tech-cta .inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tech-cta h2 { /* via type-v2 */  margin-bottom: 16px; }
.tech-cta p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 28px; }
.tech-links { display: flex; flex-direction: column; gap: 12px; }
.tech-link {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 18px 22px; color: #fff; text-decoration: none; transition: all 0.2s;
}
.tech-link:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.22); transform: translateX(4px); }
.tech-link span:first-child { font-size: 14px; font-weight: 700; }
.tech-link span:last-child { font-size: 16px; color: rgba(255,255,255,0.6); }
@media (max-width: 1100px) { .tech-cta .inner { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .product-group .group-head { flex-direction: column; }
}
@media (max-width: 768px) {
  .pd-section { padding: 100px 16px 8px; }
  .pd-section-head { flex-direction: column; gap: 10px; }
  .product-group { padding: 18px 16px; }
}
@media (max-width: 520px) {
  .chip, a.chip { width: 100%; }
}
/* ===== ????? v2 ===== */
/* Sub-nav */
.sub-nav {
  background: #fff; border-bottom: 1px solid rgba(15,23,42,0.08);
  padding: 14px 0; position: sticky; top: 64px; z-index: 90;
}
.sub-nav-inner { max-width: var(--site-maxw); margin: 0 auto; padding: 0 0; display: flex; justify-content: center; }
.sub-nav .nav-pill {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  padding: 4px;
}
.sub-nav .nav-links { display: flex; align-items: center; gap: 2px; }
.sub-nav .nav-links a {
  color: #282323;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 18px;
  line-height: 1.4;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}
.sub-nav .nav-links a:hover,
.sub-nav .nav-links a.active {
  color: #c30d23;
  background: rgba(195, 13, 35, 0.08);
}
/* Detail wrapper */
.pd-detail-container { max-width: var(--site-maxw); margin: 0 auto; padding: 40px 0 60px; background: #fff; }
.pd-detail-section { margin-bottom: 40px; }
.pd-detail-section:last-child { margin-bottom: 0; }
.pd-content img { max-width: 100%; height: auto; display: block; margin: 16px auto; }
.pd-content video { max-width: 100%; display: block; margin: 16px auto; border-radius: 8px; }
@media (max-width: 768px) {
  .sub-nav { padding: 12px 0; }
  .sub-nav-inner { padding: 0 16px; justify-content: flex-start; overflow-x: auto; }
  .sub-nav .nav-links a { padding: 8px 14px; font-size: var(--av-fs-caption, 13px); }
  .pd-detail-container { padding: 24px 16px 40px; }
}
/* ===== ??? v2 ===== */
/* ?????????? */
.hot-schemes-section { padding: 100px 64px 8px; }
.scheme-carousel { position: relative; }
.scheme-carousel .carousel-viewport {
  overflow: hidden; padding: 8px 0 64px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.scheme-carousel .carousel-track { display: flex; gap: 20px; width: max-content; will-change: transform; }
.scheme-card {
  flex: 0 0 260px; background: #fff; border-radius: 4px; padding: 0 0 20px;
  box-shadow: 0 4px 20px rgba(15,23,42,0.06); border: 1px solid rgba(15,23,42,0.06);
  text-decoration: none; color: inherit; display: flex; flex-direction: column; min-height: 320px;
  overflow: hidden; transition: transform 0.35s, box-shadow 0.35s;
}
.scheme-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,23,42,0.12); border-color: rgba(195,13,35,0.12); }
.scheme-card .scheme-card-img { width: 100%; height: 150px; overflow: hidden; background: #f4f6fb; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.scheme-card .scheme-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scheme-card h4 { /* card via type-v2 */  margin: 0 20px 8px; }
.scheme-card p { font-size: var(--av-fs-caption, 13px); color: #555555; line-height: 1.7; margin: 0 20px 0; flex: 1; }
/* ??????? */
.solution-cat-section {
  background: #f4f6fb; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; padding: 80px 48px; box-sizing: border-box;
}
.solution-cat-section .pd-section-head { width: 100%; max-width: var(--site-maxw); margin-bottom: 48px; }
.solution-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; width: 100%; max-width: var(--site-maxw); }
.solution-cat-card {
  background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 4px;
  padding: 44px; transition: all 0.35s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 420px; box-shadow: 0 4px 24px rgba(15,23,42,0.05);
}
.solution-cat-card:hover { box-shadow: 0 24px 56px rgba(15,23,42,0.12); }
.cat-icon {
  width: 112px; height: 112px; border-radius: 32px; display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
}
.av-card .cat-icon { background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(99,102,241,0.12)); color: #2563eb; }
.ai-card .cat-icon { background: linear-gradient(135deg, rgba(195,13,35,0.10), rgba(245,158,11,0.10)); color: #c30d23; }
.solution-cat-card h3 { /* section via type-v2 */  margin-bottom: 12px; }
.solution-cat-card p { font-size: 14px; color: #555555; line-height: 1.75; margin-bottom: 26px; }
.cat-features { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 32px; padding: 0; }
.cat-features li { display: inline-flex; align-items: center; gap: 8px; background: #f8fafc; border: 1px solid rgba(15,23,42,0.06); border-radius: 999px; padding: 8px 16px; font-size: var(--av-fs-caption, 13px); color: #404040; font-weight: 400; }
.cat-features .dot { width: 6px; height: 6px; border-radius: 50%; }
.av-card .cat-features .dot { background: #0ea5e9; }
.ai-card .cat-features .dot { background: #c30d23; }
.cat-link { display: inline-flex; align-items: center; gap: 8px; background: #c30d23; color: #fff; padding: 13px 26px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 700; transition: all 0.25s; margin-top: auto; }
.cat-link:hover { background: #c0000f; transform: translateX(4px); box-shadow: 0 10px 28px rgba(195,13,35,0.28); }
@media (max-width: 1100px) {
  .solution-cat-grid { grid-template-columns: 1fr; }
  .solution-cat-card { min-height: auto; }
}
@media (max-width: 768px) {
  .hot-schemes-section { padding: 40px 16px 8px; }
  .scheme-card { flex: 0 0 78vw; padding: 0 0 16px; min-height: auto; }
  .scheme-card .scheme-card-img { height: 150px; }
  .scheme-card h4, .scheme-card p { margin-left: 16px; margin-right: 16px; }
  .solution-cat-section { padding: 64px 16px; }
  .solution-cat-card { padding: 28px; border-radius: 4px; }
  .solution-cat-card h3 { font-size: 20px; }
  .cat-features li { padding: 6px 12px; font-size: var(--av-fs-caption, 13px); }
}
.tech-cta .btn-primary { /* red CTA + hover sweep in type-v2.css */ }
.cat-link.nav-pending { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

/* CMS Channel HeroTitle* ? list/hub H1 (+ home carousel via same classes) */
.hero-title--solid {
  color: var(--hero-title-color) !important;
}
.hero-title--gradient,
.hero-carousel .slide-title.hero-title--gradient,
.hero-carousel .slide-stack .slide-title.hero-title--gradient,
.hero-carousel .slide-content h1.slide-title.hero-title--gradient,
.ph-hero h1.hero-title--gradient {
  /* Shrink to text width so L→R gradient spans the glyphs, not the full hero row */
  display: inline-block !important;
  width: max-content !important;
  max-width: 100%;
  background-image: var(--hero-title-gradient) !important;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  /* home .slide-title uses -webkit-box clamp; undo so gradient width = text */
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  overflow: visible;
  text-shadow: none !important;
}
/* 首页轮播渐变标题：单行省略，保留渐变且不超过 slide-stack */
.hero-carousel .slide-stack .slide-title.hero-title--gradient,
.hero-carousel .slide-content h1.slide-title.hero-title--gradient {
  width: auto !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: top;
  box-sizing: border-box;
}
/* 栏目 Banner 渐变标题：恢复 2 行省略（覆盖上方 inline-block / overflow:visible） */
.page-hero h1.hero-title--gradient {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  width: auto !important;
  max-width: min(900px, 100%) !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-height: 2.4em;
  white-space: normal;
  box-sizing: border-box;
}
/* Restore series badge look under title-gradient mode.
   Re-assert product-series-v2.css badge gradient with higher specificity
   so H1 clip does not wipe .ps-hero-series. */
.hero-title--gradient .ps-hero-series {
  display: inline-block;
  flex-shrink: 0;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  background: linear-gradient(120deg, #ffb4bb 0%, #ff5a6a 42%, #c30d23 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* av-fold-mobile */
/* Dual/triple fold (Mate XT unfolded CSS size, or a hinge). Excludes 1920 desktop and 1440x900 laptop. */
@media (min-width: 1200px) and (max-width: 1650px) and (min-aspect-ratio: 4/3) and (max-aspect-ratio: 29/20),
       (min-width: 769px) and (max-width: 1199px) and (max-aspect-ratio: 3/2),
       (min-width: 769px) and (max-width: 1200px) and (max-aspect-ratio: 3/4),
       (spanning: single-fold-vertical),
       (spanning: single-fold-horizontal),
       (horizontal-viewport-segments: 2),
       (horizontal-viewport-segments: 3),
       (vertical-viewport-segments: 2),
       (vertical-viewport-segments: 3) {

  .page-hero .inner,
  .about-hero .inner,
  .detail-hero__inner,
  .ai-page .about-hero .inner,
  .cs-page .page-hero .inner,
  .ab-page .about-hero .inner,
  .ct-page .about-hero .inner,
  .sp-page .about-hero .inner,
  .fq-page .about-hero .inner,
  .iv-page .about-hero .inner,
  .jn-page .about-hero .inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }


  body:not(.is-home) .page-hero,
  .page-hero {
    height: auto;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body:not(.is-home) .page-hero .inner,
  .page-hero .inner {
    padding: 28px 16px !important;
  }
  .page-hero h1 { font-size: 24px; margin-bottom: 10px; }
  .page-hero .sub {
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }


  .product-group .group-head { flex-direction: column; }


  .pd-section { padding: 100px 16px 8px; }
  .pd-section-head { flex-direction: column; gap: 10px; }
  .product-group { padding: 18px 16px; }


  .sub-nav { padding: 12px 0; }
  .sub-nav-inner { padding: 0 16px; justify-content: flex-start; overflow-x: auto; }
  .sub-nav .nav-links a { padding: 8px 14px; font-size: var(--av-fs-caption, 13px); }
  .pd-detail-container { padding: 24px 16px 40px; }


  .hot-schemes-section { padding: 40px 16px 8px; }
  .scheme-card { flex: 0 0 78vw; padding: 0 0 16px; min-height: auto; }
  .scheme-card .scheme-card-img { height: 150px; }
  .scheme-card h4, .scheme-card p { margin-left: 16px; margin-right: 16px; }
  .solution-cat-section { padding: 64px 16px; }
  .solution-cat-card { padding: 28px; border-radius: 4px; }
  .solution-cat-card h3 { font-size: 20px; }
  .cat-features li { padding: 6px 12px; font-size: var(--av-fs-caption, 13px); }
}
