/* Shared homepage footer; no navigation or page-content rules. */
/* Retain the homepage rules' specificity after removing the home-only gate. */
@media (min-width: 761px) {
  body footer.sx-product-footer[data-sx-shared-footer] .sx-product-footer__social-item.is-wechat { order: -1; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  body footer.sx-product-footer[data-sx-shared-footer] .sx-product-footer__offices { grid-template-columns: 1fr 1fr; column-gap: 30px; }
}
@media (min-width: 761px) and (max-width: 1024px) {
  body footer.sx-product-footer[data-sx-shared-footer] .sx-product-footer__lower { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; width: 80%; height: auto; margin-inline: auto; }
  body footer.sx-product-footer[data-sx-shared-footer] .sx-product-footer__column { position: static; width: auto; }
}
html body #site-footer[data-sx-shared-footer] .sx-product-footer__filing::before {
  content: none;
  display: none;
}
html body footer[data-sx-shared-footer] .sx-site-footer__copyright {
  display: block;
  flex: 0 1 auto;
  color: inherit;
  font: inherit;
  text-align: left;
}
.sx-qr-dialog [data-sx-qr-content] { display: grid; gap: 14px; }
.sx-qr-dialog [data-sx-qr-content] img { display: block; max-width: 100%; height: auto; }
.sx-qr-dialog [data-sx-qr-content] img[hidden] { display: none; }
.sx-qr-dialog .sx-footer-copy-wechat {
  padding: 12px 20px;
  border: 1px solid #272727;
  border-radius: 8px;
  background: #272727;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
/* Keep the floating menu's existing position/motion; clear its occupied area. */
@media (max-width: 1140px) {
  html body:has(.sx-home-mobile-nav) footer[data-sx-shared-footer] {
    padding-bottom: max(96px, calc(82px + env(safe-area-inset-bottom)));
  }
}
@media (max-width: 760px) {
  html body footer[data-sx-shared-footer] .sx-site-footer__copyright {
    flex: none;
    white-space: nowrap;
    text-align: center;
  }
}
