/* 了解我们 / 产品等子页手机端共用 — 仅 @media + body.page-h5，不影响 PC */
@media (max-width: 992px) {
  html.page-h5,
  body.page-h5 {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    box-sizing: border-box;
  }

  body.page-h5:not(.page-index) {
    padding-bottom: calc(var(--h5-tabbar) + var(--h5-safe-bottom));
  }

  body.page-h5 .page-main {
    margin-top: calc(var(--h5-header) + var(--h5-safe-top));
    height: var(--h5-main-h);
    overflow: hidden;
  }

  /* 了解我们 H5：about1 侧滑 + 子页均不显示底部五块（仅 PC 保留） */
  body.page-h5.page-about1 .about-features,
  body.page-h5.page-about-sub .about-features {
    display: none;
  }

  /* 了解我们子页 H5：背景独立于内容高度，长页面滚动时不重新定位。 */
  body.page-h5.page-about-sub .page-main {
    position: relative;
    background-color: #05070B;
    background-image: none;
  }

  body.page-h5.page-about-sub .page-main::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #05070B;
    background-image: var(--about-h5-bg-image, none);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center bottom;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  body.page-h5.page-about-sub .page-main > .page-wrap {
    position: relative;
    z-index: 1;
  }

  body.page-h5 .footer {
    height: 60px;
    line-height: 60px;
  }

  body.page-h5 .cp-banner-inner {
    padding-top: 24px;
  }

  body.page-h5 .cp-banner-title {
    font-size: 28px;
  }

  body.page-h5 .cp-banner-line {
    margin-top: 12px;
  }

  body.page-h5 .cp-banner-desc {
    margin-top: 12px;
    font-size: 12px;
    line-height: 20px;
  }

  body.page-h5.page-about-sub .page-main {
    height: var(--h5-main-h);
    min-height: var(--h5-main-h);
    max-height: var(--h5-main-h);
    overflow: hidden;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  body.page-h5.page-hxnl .page-main {
    height: var(--h5-main-h);
    max-height: var(--h5-main-h);
    overflow: hidden;
  }

  body.page-h5.page-about-sub .footer,
  body.page-h5.page-hxnl .footer,
  body.page-h5.page-products .footer,
  body.page-h5.page-jjf .footer,
  body.page-h5.page-cjgl-detail .footer,
  body.page-h5.page-cj-detail .footer {
    display: none;
  }

  body.page-h5.page-contact .contact-footer {
    display: none;
  }

  body.page-h5.page-products .products-main.page-main,
  body.page-h5.page-cjgl-detail .page-main {
    margin-top: calc(var(--h5-header) + var(--h5-safe-top));
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  body.page-h5.page-products .products-main.page-main {
    height: auto;
    max-height: none;
    overflow-y: visible;
  }

  body.page-h5.page-cjgl-detail .page-main {
    height: auto;
    max-height: none;
    overflow-y: visible;
  }

  body.page-h5.page-cj-detail .page-main {
    margin-top: calc(var(--h5-header) + var(--h5-safe-top));
    height: var(--h5-main-h);
    max-height: var(--h5-main-h);
    overflow: hidden;
  }

  body.page-h5.page-jjf .page-main {
    margin-top: calc(var(--h5-header) + var(--h5-safe-top));
    height: var(--h5-main-h);
    max-height: var(--h5-main-h);
    overflow: hidden;
  }

  body.page-h5.page-contact .contact-main {
    margin-top: calc(var(--h5-header) + var(--h5-safe-top));
    height: var(--h5-main-h);
    max-height: var(--h5-main-h);
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.page-h5 .sub-section-title,
  body.page-h5 .about-h5-sub-title {
    display: flex;
    align-items: center;
    font-size: clamp(15px, calc(44 / 1080 * 100vw), 44px);
    font-weight: 700;
    line-height: 1.5;
    min-height: clamp(22px, calc(66 / 1080 * 100vw), 66px);
    color: #fff;
    margin-bottom: clamp(8px, calc(12 / 1080 * 100vw), 12px);
    flex-shrink: 0;
  }

  body.page-h5.page-hxnl .hxnl-section-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #fff;
    margin-bottom: 12px;
  }

  body.page-h5 .sub-section-title .side-icon,
  body.page-h5 .about-h5-sub-title .side-icon {
    width: calc(35 / 1080 * 100vw);
    height: calc(24 / 1080 * 100vw);
    margin-left: calc(60 / 1080 * 100vw);
    margin-right: calc(10 / 1080 * 100vw);
    flex-shrink: 0;
  }

  body.page-h5.page-hxnl .hxnl-section-title .side-icon {
    width: 28px;
    height: 19px;
    margin-right: 8px;
    flex-shrink: 0;
  }

  /* about1：section > wrap，wrap 占满 slide 后内部纵向滚动 */
  body.page-h5.page-about1 .about-h5-wrap {
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.page-h5.page-about1 .about-h5-slide--sub .about-h5-wrap {
    padding-top: clamp(16px, calc((283 - 60) / 1080 * 100vw), 223px);
  }

  /* 1–4 屏（硬核实力）：与首屏 intro 同顶距，整体上移 */
  body.page-h5.page-about1 .about-h5-slide--yhsl .about-h5-wrap {
    padding-top: clamp(16px, calc((234 - 108) / 1080 * 100vw), 126px);
  }

  body.page-h5.page-about1 .about-h5-slide--yhsl .about-h5-sub-title {
    min-height: clamp(22px, calc(66 / 1080 * 100vw), 66px);
    margin-bottom: 0;
    font-family: "Alibaba PuHuiTi", "Microsoft YaHei", sans-serif;
    font-weight: 700;
    font-size: clamp(16px, calc(48 / 1080 * 100vw), 48px);
    line-height: 1;
    letter-spacing: 0;
    color: #C8CED6;
    opacity: 1;
  }

  /* 1–4 屏正文：设计稿 861×323，left 110，top 419（距标题区 282+66 下留 71） */
  body.page-h5.page-about1 .about-h5-slide--yhsl .about-h5-sub-desc {
    box-sizing: border-box;
    width: calc(861 / 1080 * 100vw);
    min-height: calc(323 / 1080 * 100vw);
    margin-left: calc(50 / 1080 * 100vw);
    margin-top: calc(55 / 1080 * 100vw);
    margin-right: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    opacity: 1;
    font-family: "Alibaba PuHuiTi", "Microsoft YaHei", sans-serif;
    font-weight: 400;
    font-size: clamp(12px, calc(28 / 1080 * 100vw), 28px);
    line-height: clamp(18px, calc(42 / 1080 * 100vw), 42px);
    letter-spacing: 0;
    color: #C8CED6;
    text-indent: 2em;
  }

  /* about1 子屏箭头：设计稿 73×50，flex 自然排在标题前，不用定位 */
  body.page-h5.page-about1 .about-h5-sub-title .side-icon {
    width: clamp(28px, calc(73 / 1080 * 100vw), 73px);
    height: clamp(19px, calc(50 / 1080 * 100vw), 50px);
    margin-left: calc(60 / 1080 * 100vw);
    margin-right: clamp(8px, calc(12 / 1080 * 100vw), 12px);
  }

  body.page-h5.page-about1 .about-h5-sub-desc {
    flex-shrink: 0;
  }

  body.page-h5 .about-h5-sub-desc,
  body.page-h5.page-about-sub .sub-desc {
    margin-bottom: 0;
  }

  /* 荣誉图：900 宽居中 */
  body.page-h5.page-about1 img.about-h5-honor {
    display: block;
    width: calc(900 / 1080 * 100vw);
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: clamp(
      16px,
      calc(564 / 1920 * (100svh - var(--h5-header) - var(--h5-tabbar) - var(--h5-safe-top) - var(--h5-safe-bottom))),
      calc(564 / 1080 * 100vw)
    );
    padding-top: clamp(12px, calc(24 / 1080 * 100vw), 24px);
    object-fit: contain;
  }

  /* yhsl 等子页纵排：图紧跟正文 */
  body.page-h5.page-about-sub .about-h5-honor {
    margin-top: calc(12 / 1080 * 100vw);
    margin-bottom: 0;
    flex-shrink: 0;
    width: 100%;
  }

  /* ========== 了解我们 H5 统一令牌（about1 侧滑 + 子页） ========== */
  body.page-h5.page-about-sub,
  body.page-h5.page-about1 {
    --about-h5-side: clamp(16px, calc(60 / 1080 * 100vw), 60px);
    --about-h5-inset: clamp(8px, calc(42 / 1080 * 100vw), 42px);
    --about-h5-content-max: calc(877 / 1080 * 100vw);
    --about-h5-panel-top: clamp(16px, calc(409 / 1080 * 100vw), 409px);
    --about-h5-compact-top: clamp(16px, calc(24 / 1080 * 100vw), 24px);
    --about-h5-title-size: clamp(16px, calc(48 / 1080 * 100vw), 48px);
    --about-h5-title-lh: clamp(22px, calc(64 / 1080 * 100vw), 64px);
    --about-h5-body-size: clamp(12px, calc(28 / 1080 * 100vw), 28px);
    --about-h5-body-lh: clamp(22px, calc(52 / 1080 * 100vw), 52px);
    --about-h5-body-lh-tight: clamp(18px, calc(42 / 1080 * 100vw), 42px);
    --about-h5-gap-title-desc: clamp(12px, calc(68 / 1080 * 100vw), 68px);
    --about-h5-gap-block: clamp(16px, calc(32 / 1080 * 100vw), 32px);
    --about-h5-font: "Alibaba PuHuiTi", "Microsoft YaHei", sans-serif;
    --about-h5-text: #C8CED6;
    --about-h5-fwtx-title-size: clamp(14px, calc(36 / 1080 * 100vw), 36px);
    --about-h5-fwtx-title-lh: clamp(16px, calc(40 / 1080 * 100vw), 40px);
    --about-h5-fwtx-body-size: clamp(12px, calc(25 / 1080 * 100vw), 25px);
    --about-h5-fwtx-body-lh: clamp(18px, calc(36 / 1080 * 100vw), 36px);
    --about-h5-fwtx-line-w: clamp(50px, calc(100 / 1080 * 100vw), 100px);
    --about-h5-fwtx-line-h: clamp(2px, calc(4 / 1080 * 100vw), 4px);
  }

  /* 子页 / 侧滑屏：统一左右边距 */
  body.page-h5.page-about-sub .page-main .page-wrap,
  body.page-h5.page-about1 .about-h5-slide--sub .about-h5-wrap {
    padding-left: var(--about-h5-side);
    padding-right: var(--about-h5-side);
  }

  body.page-h5.page-about-sub .page-main .page-wrap {
    padding-bottom: var(--about-h5-compact-top);
    height: auto;
  }

  /* panel 页：顶距交给 about-sub-panel */
  body.page-h5.page-about1 .about-h5-slide--qywh .about-h5-wrap,
  body.page-h5.page-about1 .about-h5-slide--wlzw .about-h5-wrap,
  body.page-h5.page-about-sub .qywh-main .page-wrap,
  body.page-h5.page-about-sub .wlzw-main .page-wrap {
    padding-top: 0;
  }

  /* 卡片 / banner 页：紧凑顶距 */
  body.page-h5.page-about1 .about-h5-slide--fwtx .about-h5-wrap,
  body.page-h5.page-about1 .about-h5-slide--sthz .about-h5-wrap,
  body.page-h5.page-about-sub .fwtx-main .page-wrap,
  body.page-h5.page-about-sub .sthz-main .page-wrap {
    padding-top: var(--about-h5-compact-top);
  }

  /* ========== about-sub-panel：企业文化 / 未来展望 等统一结构 ========== */
  body.page-h5 .about-sub-panel {
    box-sizing: border-box;
    padding-top: var(--about-h5-panel-top);
    padding-bottom: var(--about-h5-compact-top);
  }

  body.page-h5 .about-sub-panel__title-wrap {
    flex-shrink: 0;
    text-align: center;
  }

  body.page-h5 .about-sub-panel__title {
    margin: 0;
    font-family: var(--about-h5-font);
    font-weight: 700;
    font-size: var(--about-h5-title-size);
    line-height: var(--about-h5-title-lh);
    letter-spacing: 0;
    color: var(--about-h5-text);
  }

  body.page-h5 .about-sub-panel__desc-wrap {
    box-sizing: border-box;
    max-width: var(--about-h5-content-max);
    margin-top: var(--about-h5-gap-title-desc);
    margin-left: var(--about-h5-inset);
    margin-right: 0;
    flex-shrink: 0;
  }

  body.page-h5 .about-sub-panel__desc {
    margin: 0;
    padding: 0;
    font-family: var(--about-h5-font);
    font-weight: 400;
    font-size: var(--about-h5-body-size);
    line-height: var(--about-h5-body-lh);
    letter-spacing: 0;
    color: var(--about-h5-text);
    text-indent: 2em;
  }

  body.page-h5 .about-sub-panel__foot {
    box-sizing: border-box;
    max-width: var(--about-h5-content-max);
    margin-top: var(--about-h5-gap-block);
    margin-left: var(--about-h5-inset);
    margin-right: 0;
    flex-shrink: 0;
  }

  body.page-h5 .about-sub-panel__foot--center {
    max-width: none;
    margin-left: 0;
    text-align: center;
  }

  body.page-h5 .about-sub-panel__foot--center img {
    display: block;
    width: calc(900 / 1080 * 100vw);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }

  body.page-h5 .about-sub-panel__foot .wlzw-goals {
    width: 100%;
    margin: 0;
  }

  body.page-h5 .about-sub-panel__foot .wlzw-goal {
    display: flex;
    align-items: flex-start;
    gap: clamp(8px, calc(16 / 1080 * 100vw), 16px);
    margin-bottom: clamp(12px, calc(24 / 1080 * 100vw), 24px);
  }

  body.page-h5 .about-sub-panel__foot .wlzw-goal:last-child {
    margin-bottom: 0;
  }

  body.page-h5 .about-sub-panel__foot .wlzw-goal-icon {
    width: clamp(22px, calc(48 / 1080 * 100vw), 48px);
    height: clamp(22px, calc(48 / 1080 * 100vw), 48px);
    margin-top: clamp(2px, calc(4 / 1080 * 100vw), 4px);
    flex-shrink: 0;
  }

  body.page-h5 .about-sub-panel__foot .wlzw-goal-text {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: var(--about-h5-font);
    font-weight: 400;
    font-size: var(--about-h5-body-size);
    line-height: var(--about-h5-body-lh);
    color: var(--about-h5-text);
    text-indent: 0;
  }

  body.page-h5 .about-sub-panel__foot .wlzw-goal-text strong {
    font-weight: 600;
    color: var(--about-h5-text);
  }

  /* ========== fwtx 服务体系：侧滑 + 子页共用 ========== */
  body.page-h5 .fwtx-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 16px;
    width: 100%;
  }

  body.page-h5 .fwtx-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
  }

  body.page-h5 .fwtx-pic {
    width: 120px;
    min-height: 100px;
    flex-shrink: 0;
    overflow: hidden;
  }

  body.page-h5 .fwtx-pic img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
  }

  body.page-h5 .fwtx-info {
    flex: 1;
    min-width: 0;
    padding: 12px 12px 12px 15px;
    box-sizing: border-box;
  }

  body.page-h5 .fwtx-info h3 {
    margin: 0;
    font-family: var(--about-h5-font);
    font-weight: 700;
    font-size: var(--about-h5-fwtx-title-size);
    line-height: var(--about-h5-fwtx-title-lh);
    letter-spacing: 0;
    color: var(--about-h5-text);
    text-indent: 0;
  }

  body.page-h5 .fwtx-line {
    display: block;
    width: var(--about-h5-fwtx-line-w);
    height: var(--about-h5-fwtx-line-h);
    background: #E10600;
    margin-top: clamp(4px, calc(6 / 1080 * 100vw), 6px);
    margin-bottom: clamp(6px, calc(8 / 1080 * 100vw), 8px);
    flex-shrink: 0;
  }

  body.page-h5 .fwtx-info p {
    margin: 0;
    font-family: var(--about-h5-font);
    font-weight: 400;
    font-style: normal;
    font-size: var(--about-h5-fwtx-body-size);
    line-height: normal;
    letter-spacing: 0;
    color: var(--about-h5-text);
    text-indent: 0;
  }

  /* ========== sthz 生态合作：侧滑 + 子页共用 ========== */
  body.page-h5 .sthz-banner {
    width: 100%;
    flex-shrink: 0;
    border-radius: clamp(6px, calc(10 / 1080 * 100vw), 10px);
    overflow: hidden;
  }

  body.page-h5 .sthz-banner-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  body.page-h5 .sthz-desc-box {
    background: rgba(10, 5, 11, 0.85);
    box-sizing: border-box;
  }

  body.page-h5 .sthz-desc {
    margin: 0;
    padding: clamp(10px, calc(24 / 1080 * 100vw), 24px);
    font-family: var(--about-h5-font);
    font-size: clamp(11px, calc(24 / 1080 * 100vw), 24px);
    font-weight: 400;
    line-height: clamp(18px, calc(44 / 1080 * 100vw), 44px);
    color: var(--about-h5-text);
    text-indent: 2em;
  }

  body.page-h5 .sthz-partners {
    width: 100%;
    flex-shrink: 0;
    margin-top: var(--about-h5-compact-top);
    margin-bottom: var(--about-h5-compact-top);
  }

  body.page-h5 .sthz-partners img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
