/* Shared footer. Text baselines measured from the formal brand artwork. */
body .site-footer.site-footer {
  --footer-logo-width: clamp(152px, 18.4vw, 240px);
  --footer-logo-baseline: .29078341;
  --footer-logo-tail: .04331797;
}
html[lang="zh-CN"] body .site-footer.site-footer {
  --footer-logo-baseline: .21593002;
  --footer-logo-tail: .11740331;
}
body .site-footer.site-footer .footer-brand {
  display: flex; align-items: baseline; gap: .85rem; min-width: 0;
  padding-bottom: calc(var(--footer-logo-width) * var(--footer-logo-tail));
}
body .site-footer.site-footer .footer-logo {
  position: relative; display: inline-block; flex: 0 0 var(--footer-logo-width);
  width: var(--footer-logo-width);
  height: calc(var(--footer-logo-width) * var(--footer-logo-baseline));
  line-height: 0;
}
body .site-footer.site-footer .footer-logo img {
  position: absolute; inset: 0 auto auto 0;
  width: 100% !important; height: auto; max-height: 100px; object-fit: contain;
}
body .site-footer.site-footer .footer-company-logo--zh {
  filter: drop-shadow(0 0 1px rgba(240,199,111,.9)) drop-shadow(0 0 2px rgba(240,199,111,.55));
}
body .site-footer.site-footer .footer-brand p {
  min-width: 0; margin: 0; line-height: 1.4;
}
body .site-footer.site-footer .footer-links {
  min-width: 0; align-items: baseline; align-self: auto; margin: 0; line-height: 1.4;
}
body .site-footer.site-footer .footer-links a { white-space: nowrap; }
@media (min-width: 901px) {
  body .site-footer.site-footer { align-items: baseline; }
}
@media (max-width: 720px) {
  body .site-footer.site-footer { --footer-logo-width: min(57.6vw, 224px); }
  body .site-footer.site-footer .footer-brand {
    flex-direction: column; align-items: center; padding-bottom: 0;
  }
  body .site-footer.site-footer .footer-logo { flex: none; height: auto; }
  body .site-footer.site-footer .footer-logo img { position: static; max-height: none; }
  body .site-footer.site-footer .footer-brand p { align-self: center; margin: .25rem 0; }
}
