/* Approved Apple design; base styles. CMS templates own the content. */
@font-face {
  font-family: "Suntek Latin";
  src: url("/static/suntek/assets/fonts/plex-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Suntek Chinese";
  src: url("/static/suntek/assets/fonts/suntek-sc-connected09.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:where(.ap-site, .ap-site *, .ap-site *::before, .ap-site *::after) {
  box-sizing: border-box;
}

html:has(.ap-site) {
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--ap-header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html:has(.ap-site) { scroll-behavior: auto; }
}

.ap-site {
  margin: 0;
  background: var(--ap-page);
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

:where(.ap-site img, .ap-site picture, .ap-site svg) {
  display: block;
  max-width: 100%;
}

:where(.ap-site a) {
  color: inherit;
  text-decoration: none;
}

:where(.ap-site button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:where(.ap-site a, .ap-site button, .ap-site summary) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

:where(.ap-site :focus-visible) {
  outline: 2px solid var(--ap-accent);
  outline-offset: 2px;
}

.ap-skip {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 16px;
  z-index: 400;
  padding: 10px 18px;
  border-radius: var(--ap-radius-pill);
  background: var(--ap-accent);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(-220%);
}

.ap-skip:focus-visible {
  transform: translateY(0);
}

.ap-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ap-wrap {
  width: 100%;
  max-width: var(--ap-max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (prefers-reduced-motion: reduce) {
html:has(.ap-site) {
    scroll-behavior: auto;
  }
}

@media (max-width: 767px) {
.ap-wrap {
    padding-inline: 20px;
  }
}

@media (max-width: 540px) {
.ap-wrap {
    padding-inline: 16px;
  }
}
