:root {
  --wue-font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Heiti SC", Arial, sans-serif;
  --wue-title-font-family: var(--wue-font-family);
  --wue-title-font-weight: 300;
  --wue-eyebrow-font-size: 10px;
  --wue-eyebrow-letter-spacing: 0.32em;
}

html,
body,
body *,
body *::before,
body *::after,
button,
input,
select,
textarea {
  font-family: var(--wue-font-family) !important;
}

html,
body {
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

h1,
h2,
h3,
h4,
h5,
h6,
[role="heading"],
.wue-awards-intro h1,
.wue-awards-year h2,
.wue-archive-header h2,
.wue-archive-preview h2 {
  font-family: var(--wue-title-font-family) !important;
  font-style: normal !important;
  font-weight: var(--wue-title-font-weight) !important;
}

.wue-awards-intro > p,
.wue-awards-tabs,
.wue-archive-header > p {
  font-family: var(--wue-font-family) !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

/* Align every page eyebrow with the right end of the navigation rule. */
body:not(.wue-process-page):not(.wue-awards-redesign-active) main section > div > div.grid:has(> aside > div > div.grid > p:first-child[class*="uppercase"][class*="tracking"]) {
  position: relative;
}

body:not(.wue-process-page):not(.wue-awards-redesign-active) main section > div > div.grid > aside > div > div.grid:has(> p:first-child[class*="uppercase"][class*="tracking"]) {
  padding-top: 2.2rem;
}

body:not(.wue-process-page):not(.wue-awards-redesign-active) main section > div > div.grid > aside > div > div.grid > p:first-child[class*="uppercase"][class*="tracking"] {
  position: absolute;
  top: 0.25rem;
  right: 0;
  margin: 0;
  font-family: var(--wue-font-family) !important;
  font-size: var(--wue-eyebrow-font-size) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: var(--wue-eyebrow-letter-spacing) !important;
  text-align: right;
  white-space: nowrap;
}

/*
 * The about sidebar is animated by the application on route entry. Its
 * temporary transform becomes the containing block for the absolutely
 * positioned eyebrow, then disappears at the end of the animation and makes
 * the eyebrow jump. Keep this one sidebar at its final position from frame 1.
 */
@media (min-width: 1024px) {
  html.wue-about-page main section > div > div.grid > aside > div {
    opacity: 1 !important;
    transform: none !important;
  }

  html.wue-about-page main section > div > div.grid > div:first-child > div {
    align-items: flex-start !important;
    justify-content: flex-end !important;
    padding-top: 3.5rem !important;
    padding-right: 6.75rem !important;
  }
}

/* About: keep the English studio name on its own aligned line and let the
   introduction use the same measure as the body copy below. */
html.wue-about-page main aside h1 .wue-about-title-en {
  display: block;
}

html.wue-about-page main aside h1 + p {
  width: 100% !important;
  max-width: none !important;
}

/* About: remove the founded/location facts and the trailing keyword index. */
html.wue-about-page main aside h1 + p + div,
html.wue-about-page main aside h1 + p + div + div + div {
  display: none !important;
}

/* Do not paint the pre-adjustment About layout during route transitions. */
html.wue-about-page:not(.wue-about-ready) main section {
  visibility: hidden !important;
}

body.wue-awards-redesign-active .wue-awards-container {
  position: relative;
}

body.wue-awards-redesign-active .wue-awards-intro {
  padding-top: 1.8rem;
}

body.wue-awards-redesign-active .wue-awards-intro > p {
  position: absolute;
  top: 0.25rem;
  right: 0;
  margin: 0;
  font-family: var(--wue-font-family) !important;
  font-size: var(--wue-eyebrow-font-size) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: var(--wue-eyebrow-letter-spacing) !important;
  text-align: right;
  white-space: nowrap;
}

@media (min-width: 768px) {
  main div[class*="shrink-0"][class*="items-center"][class*="justify-between"][class*="uppercase"][class*="tracking-[0.32em]"] {
    justify-content: flex-end !important;
    padding-right: 0 !important;
    text-align: right;
  }
}

@media (max-width: 767px) {
  body:not(.wue-process-page):not(.wue-awards-redesign-active) main section > div > div.grid > aside > div > div.grid > p:first-child[class*="uppercase"][class*="tracking"],
  body.wue-awards-redesign-active .wue-awards-intro > p {
    font-size: 8px !important;
  }
}
/* Keep pages scrollable while hiding the browser scrollbar. */
html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
