/* Shared site-header interaction state */
.nav-content .layout-nav .nav-item:hover,
.nav-content.sticky .layout-nav .nav-item:hover,
.nav-content .layout-nav .login-text:hover,
.nav-content.sticky .layout-nav .login-text:hover {
  color: #d71c20 !important;
}

/* Keep the login label and caret on one shared header row. */
body[data-static-page] .nav-content .layout-nav > .ss-col-bottom {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

body[data-static-page] .nav-content .layout-nav > .ss-col-bottom > div:first-child {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 88px !important;
  width: 88px !important;
  height: 64px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body[data-static-page] .nav-content .layout-nav .login-text,
body[data-static-page] .nav-content .layout-nav .login-caret {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

body[data-static-page] .nav-content .layout-nav .login-caret {
  flex: 0 0 8px !important;
}

/* Keep the dynamically replaced header CTA text centered in both header states. */
body[data-static-page] .nav-content .layout-nav .ruzhu-btn,
body[data-static-page] .nav-content.sticky .layout-nav .ruzhu-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  text-align: center !important;
}

/* Shared hero carousel controls */
body[data-static-page] .layout-banner .el-carousel__indicators--horizontal {
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  line-height: normal !important;
}

body[data-static-page] .layout-banner .el-carousel__indicator--horizontal {
  line-height: normal !important;
}

body[data-static-page] .layout-banner .el-carousel__button {
  background: #e6e6e6 !important;
  opacity: 1 !important;
}

body[data-static-page] .layout-banner .el-carousel__indicator.is-active .el-carousel__button {
  background: #d71c20 !important;
  opacity: .8 !important;
}

/* Final responsive contract: 三S typography hierarchy, no page overflow, and
   an explicit tablet/mobile navigation mode. This file is loaded after the
   page-level legacy rules so the contract wins without rewriting page bodies. */
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body[data-static-page] .layout-nav,
body[data-static-page] .layout-banner,
body[data-static-page] .layout-banner .el-carousel__container,
body[data-static-page] .layout-banner .el-carousel__item,
body[data-static-page] .layout-banner .banner-img {
  box-sizing: border-box !important;
}

body[data-static-page] .nav-mobile-toggle {
  display: none;
}

@media (min-width: 1025px) {
  body[data-static-page] .layout-nav {
    width: 100% !important;
    max-width: 1240px !important;
    min-height: 64px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body[data-static-page] .nav-content,
  body[data-static-page] .nav-content.sticky {
    position: sticky !important;
    top: 0 !important;
    background: #000 !important;
    box-shadow: none !important;
    z-index: 10020 !important;
  }

  body[data-static-page] .layout-nav {
    width: 100% !important;
    max-width: none !important;
    min-height: 68px !important;
    height: auto !important;
    padding: 10px 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    overflow: hidden !important;
  }

  body[data-static-page] .layout-nav .w-650 {
    width: auto !important;
    min-width: 0 !important;
    height: 48px !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    overflow: hidden !important;
  }

  body[data-static-page] .layout-nav .w-650 > div:first-child {
    flex: 0 0 84px !important;
  }

  body[data-static-page] .layout-nav .img-logo {
    width: 84px !important;
    height: 48px !important;
    transform: none !important;
  }

  body[data-static-page] .layout-nav .nav-item {
    flex: 0 0 auto !important;
    width: auto !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    font-size: 15px !important;
    line-height: 22px !important;
    white-space: nowrap !important;
  }

  body[data-static-page] .layout-nav > .ss-col-bottom {
    flex: 0 0 auto !important;
    width: auto !important;
    height: 48px !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  body[data-static-page] .layout-nav > .ss-col-bottom > div:first-child {
    flex: 0 0 auto !important;
    width: auto !important;
    height: 48px !important;
  }

  body[data-static-page] .layout-nav .ruzhu-btn {
    width: 120px !important;
    min-width: 120px !important;
    height: 40px !important;
    margin: 0 !important;
    border-radius: 20px !important;
    line-height: 40px !important;
    font-size: 14px !important;
  }

  body[data-static-page] .layout-banner,
  body[data-static-page] .layout-banner .el-carousel__container,
  body[data-static-page] .layout-banner .el-carousel__item,
  body[data-static-page] .layout-banner .banner-img {
    height: 440px !important;
  }

  body[data-static-page] .layout-banner .banner-copy {
    left: 24px !important;
    top: 50% !important;
    width: min(56vw, 560px) !important;
    max-width: 560px !important;
    transform: translateY(-50%) !important;
  }

  body[data-static-page] .layout-banner .banner-img .banner-p {
    width: auto !important;
    font-size: 44px !important;
    line-height: 1.16 !important;
  }

  body[data-static-page] .layout-banner .banner-action {
    min-width: 144px !important;
    height: 46px !important;
    margin-top: 24px !important;
    padding: 0 24px !important;
    font-size: 15px !important;
  }

  /* Match the legacy takeover selector so Pad cannot be promoted back to
     desktop hero sizing by the later page-level rule. */
  body[data-static-page]:not([data-static-page="landing"]):not([data-static-page="admin"]):not([data-static-page="admin-login"]) .layout-banner.el-carousel[data-v-ff6783a4],
  body[data-static-page]:not([data-static-page="landing"]):not([data-static-page="admin"]):not([data-static-page="admin-login"]) .layout-banner[data-v-ff6783a4] .el-carousel__container,
  body[data-static-page]:not([data-static-page="landing"]):not([data-static-page="admin"]):not([data-static-page="admin-login"]) .layout-banner[data-v-ff6783a4] .el-carousel__item,
  body[data-static-page]:not([data-static-page="landing"]):not([data-static-page="admin"]):not([data-static-page="admin-login"]) .layout-banner[data-v-ff6783a4] .banner-img[data-v-ff6783a4] {
    height: 440px !important;
  }

  body[data-static-page]:not([data-static-page="landing"]):not([data-static-page="admin"]):not([data-static-page="admin-login"]) .layout-banner[data-v-ff6783a4] .banner-copy[data-v-ff6783a4] {
    left: 24px !important;
    top: 50% !important;
    width: min(56vw, 560px) !important;
    max-width: 560px !important;
    transform: translateY(-50%) !important;
  }

  body[data-static-page]:not([data-static-page="landing"]):not([data-static-page="admin"]):not([data-static-page="admin-login"]) .layout-banner[data-v-ff6783a4] .banner-img[data-v-ff6783a4] .banner-p[data-v-ff6783a4] {
    width: auto !important;
    font-size: 44px !important;
    line-height: 1.16 !important;
  }
}

@media (max-width: 767px) {
  body[data-static-page] .nav-content,
  body[data-static-page] .nav-content.sticky {
    position: sticky !important;
    top: 0 !important;
    background: #000 !important;
    box-shadow: none !important;
    z-index: 10020 !important;
  }

  body[data-static-page] .layout-nav {
    width: 100% !important;
    max-width: none !important;
    min-height: 64px !important;
    height: auto !important;
    padding: 8px 16px !important;
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr) 42px !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: visible !important;
  }

  body[data-static-page] .layout-nav .w-650 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 84px !important;
    height: 48px !important;
    min-width: 0 !important;
    display: block !important;
    overflow: visible !important;
  }

  body[data-static-page] .layout-nav .w-650 > div:first-child {
    width: 84px !important;
    height: 48px !important;
  }

  body[data-static-page] .layout-nav .img-logo {
    width: 84px !important;
    height: 48px !important;
    transform: none !important;
  }

  body[data-static-page] .layout-nav .w-650 .nav-item {
    display: none !important;
  }

  body[data-static-page] .layout-nav > .ss-col-bottom {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    height: 48px !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-content: flex-end !important;
  }

  body[data-static-page] .layout-nav > .ss-col-bottom > div:first-child {
    display: none !important;
  }

  body[data-static-page] .layout-nav .ruzhu-btn {
    width: auto !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 20px !important;
    line-height: 40px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  body[data-static-page] .nav-mobile-toggle {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .44) !important;
    border-radius: 12px !important;
    background: transparent !important;
    cursor: pointer !important;
  }

  body[data-static-page] .nav-mobile-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #fff !important;
  }

  body[data-static-page] .layout-nav.nav-mobile-open {
    row-gap: 8px !important;
  }

  body[data-static-page] .layout-nav.nav-mobile-open .w-650 {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, .18) !important;
  }

  body[data-static-page] .layout-nav.nav-mobile-open .w-650 > div:first-child {
    display: none !important;
  }

  body[data-static-page] .layout-nav.nav-mobile-open .w-650 .nav-item {
    display: flex !important;
    width: auto !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .06) !important;
    font-size: 14px !important;
  }

  body[data-static-page] .layout-banner,
  body[data-static-page] .layout-banner .el-carousel__container,
  body[data-static-page] .layout-banner .el-carousel__item,
  body[data-static-page] .layout-banner .banner-img {
    height: 340px !important;
  }

  body[data-static-page] .layout-banner .banner-copy {
    left: 16px !important;
    top: 50% !important;
    width: calc(100% - 32px) !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
  }

  body[data-static-page] .layout-banner .banner-img .banner-p {
    width: auto !important;
    font-size: 34px !important;
    line-height: 1.18 !important;
  }

  body[data-static-page] .layout-banner .banner-action {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    margin-top: 20px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
  }
}

/* Site-wide width contract. Fixed icon/control dimensions remain page-owned;
   page-level containers, media, tables, inline large widths, and the mobile
   shell all follow one fluid 三S width system. */
:root {
  --site-width-max: 1200px;
  --site-width-gutter-desktop: 40px;
  --site-width-gutter-pad: 24px;
  --site-width-gutter-mobile: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body[data-static-page] .layout,
body[data-static-page] .main-contain,
body[data-static-page] .site-header-mount,
body[data-static-page] .layout-footer,
body[data-static-page] .layout-banner {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body[data-static-page] .w-1200,
body[data-static-page] .crw,
body[data-static-page] .site-shell,
body[data-static-page] .site-content,
body[data-static-page] .site-footer-main__content,
body[data-static-page] [data-site-width="content"] {
  width: min(var(--site-width-max), calc(100% - (var(--site-width-gutter-desktop) * 2))) !important;
  max-width: var(--site-width-max) !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body[data-static-page] [style*="width: 1200px"],
body[data-static-page] [style*="width:1200px"],
body[data-static-page] [style*="width: 1100px"],
body[data-static-page] [style*="width:1100px"],
body[data-static-page] [style*="width: 1000px"],
body[data-static-page] [style*="width:1000px"] {
  width: min(var(--site-width-max), calc(100% - (var(--site-width-gutter-desktop) * 2))) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body[data-static-page] .layout .main-contain > *,
body[data-static-page] .layout .main-contain img,
body[data-static-page] .layout .main-contain video,
body[data-static-page] .layout .main-contain iframe,
body[data-static-page] .layout .main-contain table,
body[data-static-page] .layout-footer img,
body[data-static-page] .layout-footer table {
  max-width: 100% !important;
}

body[data-static-page] img,
body[data-static-page] video,
body[data-static-page] canvas,
body[data-static-page] svg,
body[data-static-page] iframe,
body[data-static-page] table {
  max-width: 100% !important;
}

body[data-static-page] .el-table,
body[data-static-page] .el-table__body-wrapper,
body[data-static-page] .customTable {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  body[data-static-page] .w-1200,
  body[data-static-page] .crw,
  body[data-static-page] .site-shell,
  body[data-static-page] .site-content,
  body[data-static-page] .site-footer-main__content,
  body[data-static-page] [data-site-width="content"],
  body[data-static-page] [style*="width: 1200px"],
  body[data-static-page] [style*="width:1200px"],
  body[data-static-page] [style*="width: 1100px"],
  body[data-static-page] [style*="width:1100px"],
  body[data-static-page] [style*="width: 1000px"],
  body[data-static-page] [style*="width:1000px"] {
    width: calc(100% - (var(--site-width-gutter-pad) * 2)) !important;
    max-width: var(--site-width-max) !important;
  }

  body[data-static-page] .layout .main-contain > *,
  body[data-static-page] .layout .main-contain > * > *,
  body[data-static-page] .layout-footer > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  body[data-static-page] .w-1200,
  body[data-static-page] .crw,
  body[data-static-page] .site-shell,
  body[data-static-page] .site-content,
  body[data-static-page] .site-footer-main__content,
  body[data-static-page] [data-site-width="content"],
  body[data-static-page] [style*="width: 1200px"],
  body[data-static-page] [style*="width:1200px"],
  body[data-static-page] [style*="width: 1100px"],
  body[data-static-page] [style*="width:1100px"],
  body[data-static-page] [style*="width: 1000px"],
  body[data-static-page] [style*="width:1000px"] {
    width: calc(100% - (var(--site-width-gutter-mobile) * 2)) !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body[data-static-page] .layout .main-contain > *,
  body[data-static-page] .layout .main-contain > * > *,
  body[data-static-page] .layout-footer > *,
  body[data-static-page] .layout-footer [style*="width: 1200px"],
  body[data-static-page] .layout-footer [style*="width:1200px"] {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body[data-static-page] [style*="min-width: 320px"],
  body[data-static-page] [style*="min-width:320px"],
  body[data-static-page] [style*="min-width: 300px"],
  body[data-static-page] [style*="min-width:300px"] {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-static-page] .mobile-shell,
  body[data-static-page] .mobile-shell__header,
  body[data-static-page] .mobile-shell__stage,
  body[data-static-page] .mobile-shell__content,
  body[data-static-page] .mobile-shell__desktop-content,
  body[data-static-page] .mobile-shell__desktop-viewport,
  body[data-static-page] .mobile-shell__menu,
  body[data-static-page] .mobile-shell__footer {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
  }

  body[data-static-page] .mobile-shell__desktop-frame {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body[data-static-page] .mobile-shell__logo,
  body[data-static-page] .mobile-shell__logo img {
    width: auto !important;
    max-width: 32vw !important;
    height: auto !important;
  }

  /* Convert legacy fixed content blocks to one-column fluid blocks. */
  body[data-static-page] .layout .main-contain .w-560,
  body[data-static-page] .layout .main-contain .w-380,
  body[data-static-page] .layout .main-contain .w-320,
  body[data-static-page] .layout .main-contain .w-300,
  body[data-static-page] .layout .main-contain .w-294,
  body[data-static-page] .layout .main-contain .w-282,
  body[data-static-page] .layout .main-contain .w-261,
  body[data-static-page] .layout .main-contain .w-240,
  body[data-static-page] .layout .main-contain .w-225,
  body[data-static-page] .layout .main-contain .w-220,
  body[data-static-page] .layout .main-contain .w-201,
  body[data-static-page] .layout .main-contain .w-190,
  body[data-static-page] [style*="width: 560px"],
  body[data-static-page] [style*="width:560px"],
  body[data-static-page] [style*="width: 380px"],
  body[data-static-page] [style*="width:380px"],
  body[data-static-page] [style*="width: 320px"],
  body[data-static-page] [style*="width:320px"],
  body[data-static-page] [style*="width: 300px"],
  body[data-static-page] [style*="width:300px"],
  body[data-static-page] [style*="width: 294px"],
  body[data-static-page] [style*="width:294px"],
  body[data-static-page] [style*="width: 282px"],
  body[data-static-page] [style*="width:282px"],
  body[data-static-page] [style*="width: 261px"],
  body[data-static-page] [style*="width:261px"],
  body[data-static-page] [style*="width: 240px"],
  body[data-static-page] [style*="width:240px"],
  body[data-static-page] [style*="width: 225px"],
  body[data-static-page] [style*="width:225px"],
  body[data-static-page] [style*="width: 220px"],
  body[data-static-page] [style*="width:220px"],
  body[data-static-page] [style*="width: 201px"],
  body[data-static-page] [style*="width:201px"],
  body[data-static-page] [style*="width: 190px"],
  body[data-static-page] [style*="width:190px"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* The committee AI diagram used desktop offsets and fixed side columns;
     mobile becomes a readable vertical list instead of a clipped canvas. */
  body[data-static-page="committee"] .contain-rb .ss-row-between {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body[data-static-page="committee"] .contain-rb .ss-flex-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    align-items: stretch !important;
  }

  body[data-static-page="committee"] .contain-rb .rb-item-l0,
  body[data-static-page="committee"] .contain-rb .rb-item-l1,
  body[data-static-page="committee"] .contain-rb .rb-item-l2,
  body[data-static-page="committee"] .contain-rb .rb-item-l3,
  body[data-static-page="committee"] .contain-rb .rb-item-l4,
  body[data-static-page="committee"] .contain-rb .rb-item-r0,
  body[data-static-page="committee"] .contain-rb .rb-item-r1,
  body[data-static-page="committee"] .contain-rb .rb-item-r2,
  body[data-static-page="committee"] .contain-rb .rb-item-r3,
  body[data-static-page="committee"] .contain-rb .rb-item-r4 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 !important;
    justify-content: space-between !important;
  }

  body[data-static-page="committee"] .contain-rb .rb-item-l0 p,
  body[data-static-page="committee"] .contain-rb .rb-item-l1 p,
  body[data-static-page="committee"] .contain-rb .rb-item-l2 p,
  body[data-static-page="committee"] .contain-rb .rb-item-l3 p,
  body[data-static-page="committee"] .contain-rb .rb-item-l4 p,
  body[data-static-page="committee"] .contain-rb .rb-item-r0 p,
  body[data-static-page="committee"] .contain-rb .rb-item-r1 p,
  body[data-static-page="committee"] .contain-rb .rb-item-r2 p,
  body[data-static-page="committee"] .contain-rb .rb-item-r3 p,
  body[data-static-page="committee"] .contain-rb .rb-item-r4 p {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
    line-height: 1.45 !important;
  }

  body[data-static-page="committee"] [data-committee-platform-panel] > .ss-flex {
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Pricing cards and section labels also carried desktop widths into the
     narrow layout. Keep every child inside the mobile content gutter. */
  body[data-static-page="committee"] .committee-pricing-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  body[data-static-page="committee"] .committee-pricing-card,
  body[data-static-page="committee"] .committee-pricing-head,
  body[data-static-page="committee"] .committee-pricing-card > p,
  body[data-static-page="committee"] .committee-pricing-card > img,
  body[data-static-page="committee"] .committee-pricing-card > .ss-flex.ss-row-between {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body[data-static-page="committee"] .committee-pricing-card > img {
    height: auto !important;
  }

  body[data-static-page="committee"] .committee-pricing-card .committee-pricing-head {
    margin-top: 0 !important;
    padding-left: 0 !important;
  }

  body[data-static-page="committee"] .contain-icon .header {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
  }

  body[data-static-page="committee"] .contain-icon .header > p {
    position: static !important;
    transform: none !important;
    display: inline-block !important;
    margin: 0 !important;
    width: 33.333% !important;
  }

  body[data-static-page="index"] .module-index-stats-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
}
.site-footer-service {
  background-image: url("../images/sbanner4.jpg");
  background-size: cover;
  background-position: center;
}

.site-footer-service__qrs { transform: translate(-40px, 0); }
.site-footer-qr { text-align: center; }
.site-footer-qr--offset-left { transform: translateX(-30px); }
