:root {
  --site-header-height: 48px;
  --city-shell-gutter: clamp(16px, 3vw, 48px);
  --city-shell-content-max: 1440px;
  --body-font-size: 16px;
  --masthead-background: #050505;
  --masthead-border: rgb(255 255 255 / 0.16);
  --masthead-hover: #262626;
  --masthead-text: #f4f4f0;
  --footer-background: #050505;
}

body {
  padding-top: var(--site-header-height);
}

body.masthead-panel-open {
  overflow: hidden;
  padding-right: var(--masthead-scrollbar-compensation, 0px);
}

body.masthead-panel-open .carbon-masthead,
body.masthead-panel-open .masthead-search-panel,
body.masthead-panel-open .masthead-scrim {
  right: var(--masthead-scrollbar-compensation, 0px);
}

.skip-to-content {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  padding: 12px 16px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-110%);
}

.skip-to-content:focus {
  transform: translateY(0);
}

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

.carbon-masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: var(--site-header-height);
  border-bottom: 1px solid var(--masthead-border);
  background: var(--masthead-background);
  color: var(--masthead-text);
}

.carbon-masthead-bar {
  display: flex;
  width: min(calc(100% - (var(--city-shell-gutter) * 2)), var(--city-shell-content-max));
  height: 100%;
  margin: 0 auto;
}

.masthead-menu-toggle,
.masthead-search-toggle,
.masthead-search-clear,
.masthead-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--masthead-text);
  cursor: pointer;
  transition:
    background-color var(--duration-fast-02) var(--motion-productive-entrance),
    color var(--duration-fast-02) var(--motion-productive-entrance);
}

.masthead-menu-toggle:hover,
.masthead-menu-toggle:focus-visible,
.masthead-search-toggle:hover,
.masthead-search-toggle:focus-visible,
.masthead-search-toggle[aria-expanded="true"] {
  background: var(--masthead-hover);
  color: var(--masthead-text);
}

.masthead-menu-toggle svg,
.masthead-search-toggle svg,
.masthead-search-clear svg,
.masthead-search-close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.masthead-menu-toggle {
  display: none;
}

.masthead-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  min-width: 72px;
  height: 48px;
  color: var(--masthead-text);
  text-decoration: none;
}

.masthead-brand:hover,
.masthead-brand:focus-visible {
  background: var(--masthead-hover);
}

.masthead-brand img {
  width: 40px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.masthead-divider {
  display: block;
  align-self: stretch;
  width: 1px;
  min-width: 1px;
  height: 100%;
  background: var(--masthead-border);
}

.masthead-primary-nav {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.masthead-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  color: var(--masthead-text);
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.2857;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--duration-fast-02) var(--motion-productive-entrance),
    color var(--duration-fast-02) var(--motion-productive-entrance);
}

.masthead-nav-link::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 3px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-moderate-01) var(--motion-productive-standard);
}

.masthead-nav-link:hover,
.masthead-nav-link:focus-visible {
  background: var(--masthead-hover);
  color: var(--masthead-text);
}

.masthead-nav-link.is-current::after {
  transform: scaleX(1);
}

.masthead-actions {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: auto;
  border-left: 1px solid var(--masthead-border);
}

.masthead-search-toggle {
  width: 24px;
  min-width: 24px;
  height: 24px;
}

.masthead-search-toggle svg {
  width: 14px;
  height: 14px;
}

.masthead-mobile-panel,
.masthead-search-panel {
  position: fixed;
  top: var(--site-header-height);
  right: 0;
  left: 0;
  z-index: 72;
}

.masthead-mobile-panel[hidden],
.masthead-search-panel[hidden],
.masthead-scrim[hidden],
.masthead-search-clear[hidden] {
  display: none !important;
}

.masthead-mobile-panel {
  width: min(320px, calc(100vw - 48px));
  height: calc(100dvh - var(--site-header-height));
  background: var(--masthead-background);
}

.masthead-mobile-nav {
  display: grid;
}

.masthead-mobile-nav .masthead-nav-link {
  width: 100%;
  border-top: 1px solid var(--masthead-border);
}

.masthead-mobile-nav .masthead-nav-link::after {
  right: auto;
  left: 0;
  width: 3px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
}

.masthead-mobile-nav .masthead-nav-link.is-current::after {
  transform: scaleY(1);
}

.masthead-scrim {
  position: fixed;
  inset: var(--site-header-height) 0 0;
  z-index: 71;
  border: 0;
  background: rgb(0 0 0 / 0.5);
}

.masthead-search-panel {
  max-height: calc(100dvh - var(--site-header-height));
  overflow-y: auto;
  background: var(--masthead-background);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.22);
}

.masthead-search-form {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px 48px;
  width: min(calc(100% - (var(--city-shell-gutter) * 2)), var(--city-shell-content-max));
  min-height: 64px;
  margin: 0 auto;
  border-bottom: 1px solid var(--masthead-border);
}

.masthead-search-form > svg {
  align-self: center;
  justify-self: center;
  width: 20px;
  height: 20px;
  fill: var(--masthead-text);
}

.masthead-search-input {
  min-width: 0;
  height: 64px;
  padding: 0 16px 0 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--masthead-text);
  font: inherit;
  font-size: 16px !important;
}

.masthead-search-input::placeholder {
  color: #6f6f6f;
}

.masthead-search-input::-webkit-search-cancel-button {
  display: none;
  appearance: none;
}

.masthead-search-input:focus {
  border-bottom-color: var(--blue);
}

.masthead-search-clear:hover,
.masthead-search-clear:focus-visible,
.masthead-search-close:hover,
.masthead-search-close:focus-visible {
  background: var(--masthead-hover);
}

.masthead-search-results-shell {
  width: min(calc(100% - (var(--city-shell-gutter) * 2)), var(--city-shell-content-max));
  margin: 0 auto;
  padding: 16px 0 32px;
  background: var(--masthead-background);
  color: var(--masthead-text);
}

.masthead-search-status {
  margin: 0 0 16px;
  color: #c6c6c6;
  font-size: 14px !important;
}

.masthead-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--masthead-background);
  list-style: none;
}

.masthead-search-result {
  min-width: 0;
  background: #161616;
}

.masthead-search-result a {
  display: block;
  min-height: 104px;
  padding: 16px;
  color: var(--masthead-text);
  text-decoration: none;
  transition: background-color var(--duration-fast-02) var(--motion-productive-entrance);
}

.masthead-search-result a:hover,
.masthead-search-result a:focus-visible {
  background: #262626;
}

.masthead-search-result strong,
.masthead-search-result span {
  display: block;
}

.masthead-search-result strong {
  margin-bottom: 8px;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.3;
}

.masthead-search-result span {
  color: #c6c6c6;
  font-size: var(--body-font-size) !important;
  line-height: 1.45;
}

:is(.seoul-page, .busan-page) {
  width: min(calc(100% - (var(--city-shell-gutter) * 2)), var(--city-shell-content-max));
  max-width: var(--city-shell-content-max);
}

html body :is(.seoul-page, .busan-page) p:not([data-preserve-font-size]) {
  font-size: var(--body-font-size) !important;
}

html body :is(.seoul-page, .busan-page) p:lang(zh):not([data-preserve-font-size]) {
  font-size: 15px !important;
}

:is(.seoul-page, .busan-page) h2 {
  line-height: 0.96 !important;
}

.site-footer {
  width: min(calc(100% - (var(--city-shell-gutter) * 2)), var(--city-shell-content-max));
  max-width: var(--city-shell-content-max);
  margin: 0 auto var(--city-shell-gutter);
  border: 0 !important;
  border-top: 1px solid var(--masthead-border) !important;
  border-bottom: 1px solid var(--masthead-border) !important;
  background: var(--footer-background) !important;
  color: var(--masthead-text) !important;
}

.site-footer .footer-brand,
.site-footer .footer-nav,
.site-footer .footer-meta {
  border-color: var(--masthead-border) !important;
  background: var(--footer-background) !important;
  color: var(--masthead-text) !important;
}

.site-footer .footer-brand {
  border-right: 1px solid var(--masthead-border) !important;
}

.site-footer .footer-kicker,
.site-footer .footer-meta {
  color: #a8a8a8 !important;
}

.site-footer .footer-title,
.site-footer .footer-nav a {
  color: var(--masthead-text) !important;
}

.site-footer .footer-title {
  max-width: 12ch;
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 4.5rem) !important;
  font-weight: 500 !important;
  line-height: 0.95 !important;
}

.site-footer .footer-nav a {
  border-bottom: 1px solid var(--masthead-border) !important;
}

.site-footer .footer-nav a:last-child {
  border-bottom: 0 !important;
}

.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus-visible {
  background: var(--masthead-hover);
  color: var(--masthead-text) !important;
}

@media (max-width: 51.25rem) {
  :root {
    --body-font-size: 13px;
  }

  html body :is(.seoul-page, .busan-page) p:lang(zh):not([data-preserve-font-size]) {
    font-size: 12px !important;
  }
}

@media (max-width: 41.98rem) {
  .masthead-menu-toggle {
    display: inline-flex;
  }

  .masthead-brand {
    width: 64px;
    min-width: 64px;
  }

  .masthead-primary-nav {
    display: none;
  }

  .masthead-search-results {
    grid-template-columns: 1fr;
  }

  :is(.seoul-page, .busan-page) {
    width: 100%;
  }

  .site-footer .footer-brand {
    border-right: 0 !important;
    border-bottom: 1px solid var(--masthead-border) !important;
  }
}

@media (max-width: 32.5rem) {
  .carbon-masthead-bar,
  .masthead-search-form,
  .masthead-search-results-shell,
  .site-footer {
    width: 100%;
  }

  .site-footer {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .masthead-nav-link::after {
    transition: none;
  }
}
