/* Content without an explicit weight uses 500 in place of the browser's default bold. */
@layer site-font-defaults {
  :where(h1, h2, h3, h4, h5, h6, th, b, strong) {
    font-weight: 500;
  }
}

body:not(.admin-page) :where(img, picture, video, audio, canvas, .hero-media) {
  -webkit-touch-callout: none;
}

:root {
  --site-text-font: "MiSans VF", "PingFang SC", "Microsoft YaHei", sans-serif;
  --site-inline-gutter: clamp(20px, calc(5vw - 6px), 100px);
  --site-content-width: min(1920px, calc(100% - 2 * var(--site-inline-gutter)));
  --shell-min: 1440px;
  --shell-max: 1920px;
  --shell-header-height: 100px;
  --shell-bg: #012439;
  --shell-accent: #8ccadc;
  --shell-muted: #7e8e9f;
  --shell-header-x: 0px;
}
.shell-container {
  width: var(--site-content-width);
  margin-inline: auto;
}

@media (max-width: 1023px) {
  body.shell-legacy-page > main.wrap {
    width: var(--site-content-width);
  }
}

@media (min-width: 1024px) {
  :root {
    /* Taper the 66px laptop gutter back to 40px at 1366px and 1520px. */
    --site-inline-gutter: clamp(40px, min(calc(50vw - 643px), calc(800px - 50vw)), 66px);
    --site-content-width: min(var(--shell-min), calc(100% - 2 * var(--site-inline-gutter)));
  }
}

/* 2880px display at 200% system scaling, with a 1440px browser viewport. */
@media (width: 1440px) and (resolution: 2dppx) {
  :root {
    --site-content-width: calc(100% - 176px);
  }
}

@media (min-width: 2120px) {
  :root {
    --site-content-width: clamp(var(--shell-min), calc(100% - 680px), var(--shell-max));
  }
}

.shell-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--shell-header-height);
  background: linear-gradient(#001a29, #012439);
  color: #fff;
  transform: translateX(var(--shell-header-x));
  transition:
    background-color 220ms,
    color 220ms,
    box-shadow 220ms;
}
.shell-header * {
  box-sizing: border-box;
}
.shell-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shell-brand {
  position: relative;
  display: block;
  width: 154px;
  height: 66px;
  flex: 0 0 154px;
  line-height: 0;
}
.shell-brand img {
  position: absolute;
  inset: 0;
  width: 154px;
  height: 66px;
  object-fit: contain;
  transition: opacity 180ms;
}
.shell-brand-dark {
  opacity: 0;
}
.shell-main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 557px;
  height: 56px;
  padding-inline: 38px;
  border-radius: 100px;
  background: rgb(140 202 220 / 10%);
  gap: 30px;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
}
.shell-nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 !important;
  color: inherit !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  flex-shrink: 0;
  font: inherit;
  line-height: normal;
  text-decoration: none;
}
.shell-nav-active {
  color: var(--shell-accent) !important;
}
.shell-nav-language {
  min-width: 25px;
}
.shell-nav-menu {
  position: relative;
}
.shell-nav-toggle {
  gap: 9px;
  cursor: pointer;
}
.shell-chevron {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 500ms linear;
}
.shell-nav-toggle[aria-expanded="true"] .shell-chevron {
  transform: translateY(2px) rotate(225deg);
}
.shell-nav-dropdown {
  position: absolute;
  z-index: 2;
  top: 42px;
  left: -39px;
  width: 160px;
  margin: 0;
  padding: 0;
  background: rgb(0 0 0 / 72%);
  font-size: 14px;
  line-height: 19px;
  text-align: center;
  list-style: none;
}
.shell-nav-dropdown li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.shell-nav-dropdown li > * {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 6px;
  color: #fff;
  text-decoration: none;
}
.shell-nav-dropdown a:hover,
.shell-nav-dropdown a:focus-visible {
  background: rgb(140 202 220 / 14%);
  color: var(--shell-accent);
}
.shell-mobile-toggle {
  display: none;
}
.shell-header.is-light {
  background: #fff;
  color: #012439;
  box-shadow: 0 1px 0 #d7d7d7;
}
.shell-header.is-light .shell-brand-light {
  opacity: 0;
}
.shell-header.is-light .shell-brand-dark {
  opacity: 1;
}
.shell-header.is-light .shell-main-nav {
  background: transparent;
}
.shell-header.is-light .shell-nav-dropdown {
  background: #fff;
  color: #012439;
  border: 1px solid #cbcbcb;
}
.shell-header.is-light .shell-nav-dropdown a {
  color: #012439;
}

.shell-header,
.shell-utility-rail {
  font-family: var(--site-text-font);
  font-synthesis: none;
}

.shell-legacy-page > main {
  font-family: var(--site-text-font);
}

.shell-footer {
  box-sizing: border-box;
  min-height: 420px;
  padding: 26px 0 34px !important;
  background: #000 !important;
  color: #fff;
  font-family: var(--site-text-font);
  font-size: 16px;
  line-height: 20px;
}
.shell-footer * {
  box-sizing: border-box;
}
.shell-footer a {
  color: inherit;
  text-decoration: none;
}
.shell-footer a:hover,
.shell-footer a:focus-visible {
  color: var(--shell-accent);
}
.shell-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) 2fr;
  gap: 40px;
  min-height: 275px;
  align-items: start;
}
.shell-footer .shell-footer-heading {
  margin: 0;
  padding: 0;
  color: #565656;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 19px !important;
}
.shell-footer-grid ul {
  display: grid;
  gap: 12px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}
.shell-footer-grid li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.shell-footer-brand {
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-bottom: 54px;
  gap: 36px;
  text-align: right;
}
.shell-footer-brand img {
  display: block;
  width: 162px;
  height: auto;
  object-fit: contain;
}
.shell-footer-brand p {
  margin: 0;
  color: var(--shell-muted);
  font-size: 20px;
  line-height: 27px;
  letter-spacing: 0.38em;
  white-space: nowrap;
}
.shell-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 80px;
  padding-top: 22px;
  margin-top: 35px;
  border-top: 1px solid #4b495c;
  color: var(--shell-muted);
  font-size: 14px;
  line-height: 20px;
}
.shell-footer-bottom p {
  margin: 0;
}
.shell-footer-bottom address {
  max-width: 300px;
  margin: 0;
  font-style: normal;
  line-height: 19px;
  text-align: right;
}

.shell-utility-rail {
  position: fixed;
  right: clamp(24px, 5.3vw, 113px);
  bottom: clamp(36px, 15.8vh, 212px);
  z-index: 90;
  display: grid;
  gap: 24px;
  box-sizing: border-box;
}
.shell-utility-rail * {
  box-sizing: border-box;
}
.shell-utility-item {
  position: relative;
}
.shell-utility-button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px !important;
  height: 60px !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--shell-accent) !important;
  color: #012439 !important;
  box-shadow: 0 14px 34px rgb(36 36 36 / 35%);
  cursor: pointer;
  transition:
    background-color 180ms,
    transform 300ms linear;
}
.shell-utility-button:hover,
.shell-utility-button:focus-visible {
  background: #a7dbe8 !important;
}
.shell-utility-button img {
  display: block;
  max-width: 29px;
  height: auto;
  object-fit: contain;
}
.shell-phone-detail {
  position: absolute;
  inset: 0 0 auto auto;
  height: 60px;
  width: 229px;
  padding: 18px 71px 18px 19px;
  border-radius: 30px;
  background: var(--shell-accent);
  color: #012439;
  font-size: 18px;
  line-height: 24px;
  white-space: nowrap;
}
.shell-phone-detail a {
  color: #012439;
  text-decoration: none;
}
.shell-qr-detail {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  gap: 26px;
  width: 307px;
  height: 130px;
  padding: 14px 84px 14px 29px;
  border-radius: 30px;
  background: var(--shell-accent);
  color: #012439;
}
.shell-qr-detail figure {
  flex: 0 0 85px;
  margin: 0;
  padding: 0;
  text-align: center;
}
.shell-qr-detail img {
  display: block;
  width: 79px;
  height: 79px;
  margin-inline: auto;
  object-fit: contain;
}
.shell-qr-detail figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 17px;
  white-space: nowrap;
}
.shell-utility-rail.has-qr .shell-utility-phone {
  transform: translateY(-30px);
}
.shell-utility-rail.has-qr > #shell-back-to-top {
  transform: translateY(30px);
}
.shell-utility-phone,
.shell-utility-rail > #shell-back-to-top {
  transition: transform 300ms linear;
}

@media (min-width: 1390px) and (max-width: 1496px) {
  .shell-utility-rail {
    --shell-utility-size: clamp(44px, calc(var(--site-inline-gutter) - 12px), 60px);
    right: clamp(8px, calc((100% - var(--site-content-width)) / 2 - var(--shell-utility-size) - 4px), 113px);
  }
  .shell-utility-button {
    width: var(--shell-utility-size) !important;
    height: var(--shell-utility-size) !important;
  }
  .shell-phone-detail {
    height: var(--shell-utility-size);
    padding-block: calc((var(--shell-utility-size) - 24px) / 2);
  }
}
.shell-mobile-contact-bar,
.shell-mobile-wechat-dialog {
  display: none;
}

@media (min-width: 1024px) {
  body.shell-legacy-page > .shell-header + main {
    padding-top: var(--shell-header-height);
  }
}
@media (max-width: 1023px), screen and (pointer: coarse) and (hover: none) {
  :root {
    --shell-mobile-safe-top: env(safe-area-inset-top, 0px);
    --shell-mobile-safe-left: env(safe-area-inset-left, 0px);
    --shell-mobile-safe-right: env(safe-area-inset-right, 0px);
    --shell-mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
    --shell-mobile-nav-gutter: 32px;
  }
  .shell-utility-rail > #shell-back-to-top {
    display: none;
  }
}
@media (max-width: 1023px) {
  :root {
    --shell-header-bar-height: 76px;
    --shell-header-height: calc(var(--shell-header-bar-height) + var(--shell-mobile-safe-top));
    --site-content-width: min(1920px, calc(100% - 2 * max(var(--site-inline-gutter), var(--shell-mobile-safe-left), var(--shell-mobile-safe-right))));
    --shell-mobile-contact-height: 44px;
    --shell-mobile-bottom-fill: env(safe-area-max-inset-bottom, var(--shell-mobile-safe-bottom));
    --shell-mobile-contact-space: calc(var(--shell-mobile-contact-height) + var(--shell-mobile-bottom-fill));
  }
  /* Match the canvas behind the contact bar at the preview's clipped bottom edge. */
  html:has(.shell-mobile-contact-bar) {
    --shell-mobile-contact-bg: #d6edf3;
    background-color: var(--shell-mobile-contact-bg);
  }
  body:has([data-shell-utility] .shell-mobile-contact-bar) {
    background-clip: content-box;
  }
  body:not(.about-shell-page) > .shell-header + main {
    padding-top: var(--shell-header-height);
  }
  .shell-header {
    transform: none;
  }
  .shell-footer {
    min-height: 0;
    padding: 35px 0 25px !important;
  }
  .shell-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    min-height: 0;
  }
  .shell-footer-grid ul {
    gap: 4px;
  }
  .shell-footer-grid li a {
    display: flex;
    align-items: center;
    min-height: 34px;
  }
  .shell-footer-brand {
    grid-column: 1/-1;
    align-items: flex-end;
    padding: 15px 0 0;
    gap: 24px;
  }
  .shell-footer-brand p {
    font-size: clamp(12px, 3.1vw, 19px);
    line-height: 1.6;
    letter-spacing: 0.18em;
    white-space: normal;
    text-align: right;
  }
  .shell-footer-bottom {
    display: block;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 12px;
    line-height: 19px;
  }
  .shell-footer-bottom address {
    max-width: 290px;
    margin-top: 16px;
    margin-left: auto;
    text-align: right;
  }
  body {
    padding-bottom: var(--shell-mobile-contact-space);
  }
  .shell-utility-rail {
    right: 20px;
    bottom: calc(var(--shell-mobile-contact-space) + 12px);
    gap: 12px;
  }
  .shell-utility-phone,
  .shell-utility-wechat {
    display: none;
  }
  .shell-utility-button {
    width: 48px !important;
    height: 48px !important;
  }
  .shell-utility-button img {
    max-width: 24px;
  }
  .shell-phone-detail {
    height: 48px;
    width: 220px;
    padding: 12px 60px 12px 17px;
    border-radius: 24px;
    font-size: 16px;
  }
  .shell-qr-detail {
    right: 0;
    width: 307px;
    height: 130px;
    padding-right: 72px;
  }
  .shell-utility-rail.has-qr .shell-utility-phone {
    transform: translateY(-24px);
  }
  .shell-mobile-contact-bar {
    /* Cover the last device pixel when the viewport edge is rounded at fractional scale. */
    --shell-mobile-contact-bleed: 2px;
    position: fixed;
    z-index: 95;
    inset: auto 0 calc(var(--shell-mobile-safe-bottom) - var(--shell-mobile-bottom-fill) - var(--shell-mobile-contact-bleed));
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: calc(var(--shell-mobile-contact-space) + var(--shell-mobile-contact-bleed));
    padding-bottom: calc(var(--shell-mobile-bottom-fill) + var(--shell-mobile-contact-bleed));
    padding-left: var(--shell-mobile-safe-left);
    padding-right: var(--shell-mobile-safe-right);
    background: var(--shell-mobile-contact-bg, #d6edf3);
    color: #012439;
    box-shadow: inset 0 1px 0 #ffffff88, 0 -4px 20px #00172233;
  }
  .shell-mobile-contact-action {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: var(--shell-mobile-contact-height);
    height: var(--shell-mobile-contact-height);
    margin: 0 !important;
    padding: 0 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #012439 !important;
    font: 400 15px/24px var(--site-text-font) !important;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
  }
  .shell-mobile-contact-action + * {
    border-left: 1px solid #01243933 !important;
  }
  .shell-mobile-contact-action img {
    flex: none;
    width: 18px;
    height: 20px;
    object-fit: contain;
  }
  .shell-mobile-wechat-dialog[open] {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 20px;
    border: 0;
    background: transparent;
    color: #012439;
  }
  .shell-mobile-wechat-dialog::backdrop {
    background: rgb(0 19 31 / 72%);
    backdrop-filter: blur(3px);
  }
  .shell-mobile-dialog-card {
    width: min(100%, 420px);
    max-height: calc(100dvh - 40px);
    overflow: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 80px rgb(0 0 0 / 42%);
  }
  .shell-mobile-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e5eaed;
  }
  .shell-mobile-dialog-card h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
  }
  .shell-mobile-dialog-header button {
    display: grid;
    place-items: center;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #eff5f7 !important;
    color: #012439 !important;
    font:
      300 28px/1 Arial,
      sans-serif !important;
    cursor: pointer;
  }
  .shell-mobile-dialog-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 24px 20px 28px;
  }
  .shell-mobile-dialog-content figure {
    min-width: 0;
    margin: 0;
    text-align: center;
  }
  .shell-mobile-dialog-content img {
    display: block;
    width: min(100%, 180px);
    height: auto;
    aspect-ratio: 1;
    margin-inline: auto;
    object-fit: contain;
  }
  .shell-mobile-dialog-content figcaption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
  }
}
@media (max-width: 767px) {
  :root {
    --shell-header-bar-height: 72px;
    --shell-mobile-nav-gutter: 20px;
  }
  .shell-mobile-dialog-content {
    grid-template-columns: 1fr;
  }
  .shell-mobile-dialog-content img {
    width: 160px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shell-footer {
    min-height: 0;
  }
  .shell-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    min-height: 0;
  }
  .shell-footer-brand {
    grid-column: 1/-1;
    align-items: flex-end;
    padding: 18px 0 0;
    gap: 20px;
  }
  .shell-footer-bottom {
    margin-top: 28px;
  }
}
@media (max-height: 760px) and (min-width: 1024px) {
  .shell-utility-rail {
    bottom: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shell-header,
  .shell-header::before,
  .shell-header *,
  .shell-utility-rail * {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }
}

html.shell-menu-scroll-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}
html.shell-menu-scroll-lock body {
  position: fixed !important;
  top: var(--shell-menu-page-top);
  left: var(--shell-menu-page-left);
  width: 100%;
  overflow: hidden !important;
}

@media (max-width: 1023px), screen and (pointer: coarse) and (hover: none) {
  .shell-header {
    --shell-menu-background: #01243b;
    --shell-menu-icon: #77ccdf;
    --shell-menu-close: #fff;
    --shell-menu-divider: #023b51;
    --shell-menu-motion: 600ms cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    padding-top: var(--shell-mobile-safe-top);
    min-width: 0;
  }
  .shell-header.is-light {
    --shell-menu-background: #fff;
    --shell-menu-icon: #022439;
    --shell-menu-close: #313131;
    --shell-menu-divider: #eff8fa;
  }
  .shell-header.is-menu-open:not(.is-light),
  .shell-header.is-light.is-menu-open {
    inset: 0;
    z-index: 1000;
    height: auto;
    overflow: hidden;
    transform: none;
    background: linear-gradient(var(--shell-menu-background) 0 var(--shell-header-height), transparent var(--shell-header-height));
    box-shadow: none;
    transition: none;
  }
  .shell-header.is-menu-open::before {
    position: absolute;
    inset: var(--shell-header-height) 0 0;
    z-index: -1;
    background: var(--shell-menu-background);
    pointer-events: none;
    content: "";
  }
  .shell-header.is-menu-open::before,
  .shell-main-nav.is-open {
    transform: translateX(100%);
    transition: transform var(--shell-menu-motion);
  }
  .shell-header.is-menu-open.is-menu-visible::before,
  .shell-header.is-menu-visible .shell-main-nav.is-open {
    transform: translateX(0);
  }
  .shell-header.is-menu-open .shell-header-inner {
    height: calc(var(--shell-header-height) - var(--shell-mobile-safe-top));
  }
  .shell-mobile-toggle {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px !important;
    height: 44px !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--shell-menu-icon) !important;
    cursor: pointer;
    transition: none;
  }
  .shell-mobile-toggle::before {
    position: absolute;
    inset: 3px;
    border: 1.25px solid currentColor;
    border-radius: 50%;
    content: "";
  }
  .shell-mobile-toggle .shell-mobile-menu-icon {
    position: relative;
    display: grid;
    align-content: center;
    gap: 1.5px;
    width: 24px;
    height: 24px;
    background: none;
  }
  .shell-mobile-menu-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
  }
  .shell-mobile-menu-icon i::before,
  .shell-mobile-menu-icon i::after {
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background: currentColor;
    content: "";
  }
  .shell-mobile-menu-icon i::after {
    width: 14px;
    height: 3px;
  }
  .shell-mobile-toggle[aria-expanded="true"] {
    color: var(--shell-menu-close) !important;
  }
  .shell-mobile-toggle[aria-expanded="true"]::before,
  .shell-mobile-toggle[aria-expanded="true"] i {
    display: none;
  }
  .shell-mobile-toggle[aria-expanded="true"] .shell-mobile-menu-icon::before,
  .shell-mobile-toggle[aria-expanded="true"] .shell-mobile-menu-icon::after {
    position: absolute;
    top: 11px;
    left: 0;
    width: 24px;
    height: 2px;
    transform: rotate(45deg);
    border-radius: 2px;
    background: currentColor;
    content: "";
  }
  .shell-mobile-toggle[aria-expanded="true"] .shell-mobile-menu-icon::after {
    transform: rotate(-45deg);
  }
  .shell-main-nav {
    position: absolute;
    inset: var(--shell-header-height) 0 0;
    width: auto;
    height: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block: 16px calc(24px + var(--shell-mobile-safe-bottom));
    padding-left: max(var(--shell-mobile-nav-gutter), var(--shell-mobile-safe-left));
    padding-right: max(var(--shell-mobile-nav-gutter), var(--shell-mobile-safe-right));
    border-radius: 0;
    background: transparent;
    font-size: 16px;
    white-space: normal;
  }
  .shell-main-nav.is-open {
    display: flex;
  }
  .shell-main-nav.is-open[inert] {
    pointer-events: none;
  }
  .shell-header.is-light .shell-main-nav.is-open {
    box-shadow: inset 0 8px 16px -16px #0007;
  }
  .shell-nav-item {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding-inline: 10px !important;
    border-bottom: 1px solid var(--shell-menu-divider) !important;
  }
  .shell-main-nav > .shell-nav-menu {
    flex: none;
  }
  .shell-header .shell-main-nav .shell-nav-dropdown {
    position: static;
    width: 100%;
    margin: 0 0 6px;
    padding: 0;
    transform: none;
    background: transparent;
    border: 0;
    text-align: left;
  }
  .shell-header .shell-nav-dropdown li > * {
    justify-content: flex-start;
    min-height: 44px;
    padding: 12px 20px;
    white-space: normal;
  }
}

@media (max-width: 1023px) {
  .shell-brand {
    width: 132px;
    height: 56px;
    flex-basis: 132px;
  }
  .shell-brand img {
    width: 132px;
    height: 56px;
    object-position: left center;
    transform: scale(0.7);
    transform-origin: left center;
  }
  .shell-utility-rail {
    right: 16px;
    gap: 0;
  }
  .shell-mobile-wechat-dialog[open] {
    display: block;
    width: min(400px, calc(100% - 32px));
    height: fit-content;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid #8ccadc55;
    border-radius: 16px;
    background: #012439;
    color: #fff;
  }
  .shell-mobile-wechat-dialog::backdrop {
    background: #000b;
    backdrop-filter: none;
  }
  .shell-mobile-dialog-card {
    width: 100%;
    max-height: inherit;
    border-radius: 0;
    background: #012439;
    box-shadow: none;
  }
  .shell-mobile-dialog-header {
    padding: 12px 16px;
    border-bottom: 1px solid #8ccadc33;
  }
  .shell-mobile-dialog-card h2 {
    color: #8ccadc;
    font-size: 18px;
    line-height: 28px;
  }
  .shell-mobile-dialog-header button {
    width: 44px !important;
    height: 44px !important;
    background: transparent !important;
    color: #8ccadc !important;
    font:
      400 16px/1 Arial,
      sans-serif !important;
  }
  .shell-mobile-dialog-content {
    padding: 28px 20px;
  }
  .shell-mobile-dialog-content img {
    width: 112px;
    border: 8px solid #fff;
    background: #fff;
  }
  .shell-mobile-dialog-content figcaption {
    margin-top: 12px;
    line-height: 24px;
  }
  .shell-footer {
    padding: 32px 0 24px !important;
  }
  .shell-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    min-height: 0;
  }
  .shell-footer-products {
    grid-column: 1;
    grid-row: 1;
  }
  .shell-footer-news {
    grid-column: 2;
    grid-row: 1;
  }
  .shell-footer-careers {
    grid-column: 1;
    grid-row: 2;
  }
  .shell-footer-about {
    grid-column: 2;
    grid-row: 2;
  }
  .shell-footer-products ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin-top: 16px;
  }
  .shell-footer-products li a {
    min-height: 20px;
    line-height: 20px;
  }
  .shell-footer-brand {
    grid-column: 1/-1;
    align-items: flex-start;
    margin-top: 8px;
    padding: 0;
    gap: 20px;
    text-align: left;
  }
  .shell-footer-brand img {
    width: 150px;
  }
  .shell-footer-brand p {
    font-size: 17px;
    line-height: 1.8;
    letter-spacing: 0.06em;
    text-align: left;
  }
  .shell-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    font-size: 12px;
    line-height: 1.8;
  }
  .shell-footer-bottom address {
    width: min(272px, 100%);
    max-width: 272px;
    margin: 0;
    text-align: left;
    line-height: 1.8;
    white-space: normal;
    overflow-wrap: normal;
  }
}
@media (max-width: 767px) {
  .shell-brand {
    width: 122px;
    height: 52px;
    flex-basis: 122px;
  }
  .shell-brand img {
    width: 122px;
    height: 52px;
  }
  .shell-mobile-dialog-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Wider desktop menus for complete link names. */
@media (min-width: 1024px) {
  .shell-nav-dropdown {
    width: 240px;
    left: 50%;
    transform: translateX(-50%);
  }
  .shell-nav-dropdown li > a {
    padding-inline: 16px;
    white-space: nowrap;
  }
}

/* The current link uses the same treatment as hover in both header themes. */
.shell-header .shell-nav-dropdown a:is(:hover, :focus-visible, [aria-current="page"]) {
  background: rgb(140 202 220 / 14%);
  color: var(--shell-accent);
}

.shell-header:not(.is-light) {
  background: linear-gradient(180deg, rgba(0, 26, 41, 1) 0%, rgba(1, 36, 57, 0) 100%);
  box-shadow: none;
}
@media (max-width: 1023px) {
  .shell-header:not(.is-light) {
    background: linear-gradient(to bottom, rgb(0 26 41 / 100%) 0%, rgb(0 26 41 / 0%) 100%);
  }
}

/* Keep both header themes opaque while a list scrolls beneath its pinned tabs. */
.shell-header.is-over-sticky-list:not(.is-menu-open) {
  transition-property: color, box-shadow;
}
.shell-header.is-over-sticky-list:not(.is-light, .is-menu-open) {
  background: #001a29;
}

/* Pinned category bars meet the header without a divider. */
:is(.home-page, .news-list-page) > .shell-header.is-over-sticky-list:not(.is-menu-open) {
  box-shadow: none;
  transition-property: color;
}
.news-list-page > .shell-header.is-over-sticky-list:not(.is-menu-open) + main .news-category-bar::before,
.home-page > .shell-header.is-over-sticky-list:not(.is-menu-open) + main #products .tabs::before {
  position: absolute;
  inset: -1px 0 auto;
  height: 2px;
  background: inherit;
  pointer-events: none;
  content: "";
}

/* Phone footer spacing and column proportions. */
@media (max-width: 767px) {
  .shell-footer {
    padding: 28px 0 24px !important;
  }
  .shell-footer-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    column-gap: 28px;
    row-gap: 40px;
  }
  .shell-footer-grid ul {
    gap: 10px;
    margin-top: 8px;
  }
  .shell-footer-products ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .shell-footer .shell-footer-heading {
    line-height: 20px !important;
  }
  .shell-footer-grid li a {
    display: block;
    min-height: 0;
    font-size: clamp(12px, 3.85vw, 15px);
    font-weight: 600;
    line-height: 20px;
  }
  .shell-footer-brand {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 64px;
  }
}

/* Phone layouts also apply when a browser does not report a touch pointer. */
@media (max-width: 767px),
  screen and (max-width: 1023px) and (max-device-height: 599px),
  screen and (pointer: coarse) {
  .shell-footer {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  .shell-footer,
  .shell-footer .shell-footer-heading,
  .shell-footer-grid li a,
  .shell-footer-brand p,
  .shell-footer-bottom,
  .shell-footer-copyright {
    font-size: 14px;
    font-weight: 300;
  }
}

/* Tablets and open foldables share the same footer columns across both rows. */
@media screen and (pointer: coarse) and (min-device-width: 600px) and (min-device-height: 600px) {
  .shell-footer {
    text-align: left;
  }
  .shell-footer > .shell-container {
    width: min(
      var(--site-content-width),
      calc(100% - 2 * max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)))
    );
  }
  .shell-footer-grid {
    --footer-nav-inset: clamp(8px, calc(5vw - 24px), 48px);
    --footer-column-gap: calc(clamp(16px, 4vw, 48px) + 80px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "products news"
      "careers about"
      "brand brand";
    gap: 18px var(--footer-column-gap);
    min-height: 0;
  }
  .shell-footer-products {
    grid-area: products;
  }
  .shell-footer-news {
    grid-area: news;
  }
  .shell-footer-careers {
    grid-area: careers;
  }
  .shell-footer-about {
    grid-area: about;
  }
  .shell-footer-products,
  .shell-footer-careers {
    margin-inline-start: var(--footer-nav-inset);
  }
  .shell-footer-news,
  .shell-footer-about {
    min-width: 0;
    margin-inline-end: var(--footer-nav-inset);
  }
  .shell-footer-brand {
    grid-area: brand;
    align-items: flex-start;
  }
  .shell-footer-brand,
  .shell-footer-brand p,
  .shell-footer-bottom address {
    text-align: left;
  }
  .shell-footer .shell-footer-heading,
  .shell-footer-grid li a {
    text-align: left;
    white-space: nowrap;
  }
  .shell-footer-grid li a {
    display: block;
    min-height: 20px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .shell-footer-grid ul {
    gap: 10px 16px;
    margin-top: 12px;
  }
  .shell-footer-products ul {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(11.5em - 20px)), 1fr));
  }
  .shell-footer-products li a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Retain the extra spacing between product links on open foldables. */
@media screen and (pointer: coarse) and (hover: none) and (min-device-width: 600px) and (min-device-height: 600px) and (min-device-aspect-ratio: 4/5) and (max-device-aspect-ratio: 5/4) {
  .shell-footer-products {
    container-type: inline-size;
  }
  /* Match the auto-fit thresholds for exactly two product columns. */
  @container (min-width: calc(23em - 24px)) and (width < calc(34.5em - 28px)) {
    .shell-footer-products ul:has(> li:nth-child(2)) {
      --footer-product-offset: min(24px, var(--footer-column-gap) - 8px);
      column-gap: calc(16px + var(--footer-product-offset));
      margin-inline-end: calc(-1 * var(--footer-product-offset));
    }
  }
}
