@charset "UTF-8";
@import url("edition-banner-current.css?v=20260825-current-banner-v33");

/* Shared top navigation hierarchy. Loaded after page-specific theme styles. */
.topbar {
  display: flex;
  align-items: stretch;
}

.topbar > a,
.topbar__group {
  min-width: 0;
  flex: 1 1 0;
}

.topbar > a,
.topbar__trigger {
  position: relative;
  min-height: 81px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4c5565;
  font-family: inherit;
  font-size: 16px;
  font-weight: 780;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}

.topbar__group {
  position: relative;
  display: flex;
}

.topbar__trigger {
  width: 100%;
  padding-right: 42px;
}

.topbar__trigger::before {
  display: none !important;
}

.topbar__trigger::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  background: var(--accent, #22b968);
  content: "";
  opacity: 0;
}

.topbar__group.is-active > .topbar__trigger {
  background: var(--soft, #e8faef);
  color: var(--accent, #22b968);
}

.topbar__group.is-active > .topbar__trigger::after {
  opacity: 1;
}

.topbar__trigger:hover,
.topbar__trigger:focus-visible,
.topbar__group.is-open > .topbar__trigger {
  background: #eceef2;
  color: var(--ink, #172133);
}

.topbar__submenu-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  z-index: 2;
  width: 34px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transform: translateY(-50%);
}

.topbar__submenu-toggle:hover,
.topbar__submenu-toggle:focus-visible {
  background: rgba(23, 33, 51, .08);
  outline: none;
}

.topbar__submenu-toggle:focus-visible {
  box-shadow: inset 0 0 0 2px currentColor;
}

.topbar__chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .16s ease;
}

.topbar__group.is-open .topbar__chevron {
  transform: translateY(2px) rotate(225deg);
}

.topbar__submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 80;
  width: max-content;
  min-width: 180px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid #dfe4ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 33, 51, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity .14s ease, transform .14s ease;
}

.topbar__submenu[hidden] {
  display: none;
}

.topbar__group.is-open > .topbar__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.topbar .topbar__submenu a {
  min-width: 0;
  min-height: 44px !important;
  display: flex !important;
  flex: none !important;
  align-items: center;
  justify-content: flex-start;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #344054 !important;
  font-size: 14px !important;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none !important;
}

.topbar .topbar__submenu a::before,
.topbar .topbar__submenu a::after {
  display: none !important;
}

.topbar .topbar__submenu a:hover,
.topbar .topbar__submenu a:focus-visible {
  background: #f1f3f6 !important;
  color: #172133 !important;
}

.topbar .topbar__submenu a.active {
  background: var(--soft, #e8faef) !important;
  color: var(--accent, #22b968) !important;
}

.topbar__group.is-child-active > .topbar__trigger {
  background: #eef9f3;
  color: #179955;
}

.topbar > .topbar__additional {
  flex-grow: 1.28;
}

/* Ten primary items share the desktop row without pushing My Page off-screen. */
@media (min-width: 901px) {
  body:is(.theme-teens, .teens-unified) .topbar {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

/* Keep the desktop wordmark in its own header column. The shared shell uses
   a zero-height brand row, so the navigation background otherwise paints over
   the logo and the first menu item occupies the same space. */
@media (min-width: 1181px) {
  body:is(.theme-teens, .teens-unified) .side--brand-only {
    top: 0;
    z-index: 31;
    pointer-events: none;
  }

  body:is(.theme-teens, .teens-unified) .side--brand-only > .brand {
    position: absolute;
    top: 8px;
    left: 0;
    z-index: 1;
    width: 220px;
    height: 82px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    pointer-events: auto;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side--brand-only > .brand {
    top: 8px;
    width: 220px;
    height: 82px;
    padding: 0 15px;
  }

  body:is(.theme-teens, .teens-unified) .side--brand-only > .brand :is(.brand-logo, .brand__common-logo) {
    transform: none;
  }

  body:is(.theme-teens, .teens-unified) .topbar {
    padding-left: 220px !important;
  }
}

@media (max-width: 900px) {
  body .topbar {
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap;
    overflow: visible !important;
    padding: 0 10px;
  }

  body .topbar > a,
  body .topbar__group {
    min-width: 116px !important;
    flex: 1 1 116px;
  }

  body .topbar > .topbar__additional {
    min-width: 164px !important;
    flex-basis: 164px;
  }

  body .topbar > a,
  body .topbar__trigger {
    min-height: 58px;
    padding: 0 38px 0 10px;
    font-size: 14px;
    white-space: normal;
  }

  .topbar__submenu {
    top: calc(100% + 2px);
    min-width: 164px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar__chevron,
  .topbar__submenu {
    transition: none;
  }
}

/* Shared two-row header: brand and account controls above, full-width primary
   navigation below. The former desktop logo column left unnecessary whitespace. */
html[lang="ko"] body .site-mobile-brand.top-utility-brand {
  width: 190px;
  min-width: 190px;
  min-height: 46px;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  color: #21418f;
  text-decoration: none;
}

.top-utility-brand img {
  width: 164px;
  height: 42px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 1181px) {
  html[lang="ko"] body.has-top-utility .top-utility-menu > .site-mobile-brand.top-utility-brand {
    display: flex !important;
  }

  body.has-top-utility .top-utility-wrap {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--page, #f4f7fb);
  }

  body.has-top-utility .side--brand-only {
    display: none !important;
  }

  body.has-top-utility .top-utility-wrap {
    min-height: 58px;
    padding-top: 6px;
  }

  body.has-top-utility .top-utility-menu {
    min-height: 52px;
    padding-bottom: 4px;
  }

  body.has-top-utility .shell,
  body:is(.theme-teens, .teens-unified).has-top-utility .shell {
    padding-top: 6px;
  }

  body.has-top-utility .topbar,
  body:is(.theme-teens, .teens-unified) .topbar {
    top: 58px !important;
    z-index: 80;
    width: 100%;
    min-height: 64px;
    height: auto;
    padding-left: 0 !important;
    margin-bottom: 14px;
  }

  body.has-top-utility .topbar > a,
  body.has-top-utility .topbar .topbar__trigger {
    min-height: 64px !important;
  }
}

@media (max-width: 1180px) {
  .top-utility-brand {
    width: min(200px, 48vw);
    min-width: 0;
    min-height: 52px;
  }

  .top-utility-brand img {
    width: min(180px, 46vw);
    height: auto;
    max-height: 44px;
  }
}

@media (max-width: 640px) {
  .top-utility-brand {
    margin-bottom: 6px;
  }
}
