#top #hf1-global-header,
#top #prestige-global-shell-footer {
  --hf1-topbar-bg: #071a2d;
  --hf1-topbar-text: #e3edf8;
  --hf1-header-bg: #ffffff;
  --hf1-header-text: #102943;
  --hf1-footer-bg: #071a2d;
  --hf1-footer-text: #eaf2fb;
  --hf1-accent: #d9bd72;
  --hf1-line: #e1eaf4;
  --hf1-logo-width: 190px;
  --hf1-topbar-height: 38px;
  --hf1-header-height: 86px;
  --hf1-horizontal-padding: 28px;
  --hf1-menu-panel-columns: 3;
  --hf1-menu-font-size: 14px;
  --hf1-footer-width: 840px;
  --hf1-footer-padding-top: 14px;
  --hf1-footer-gap: 46px;
  --hf1-footer-text-size: 15px;
  --hf1-footer-columns: 3;
  box-sizing: border-box;
}

#top #hf1-global-header *,
#top #prestige-global-shell-footer * {
  box-sizing: border-box;
}

#top #hf1-global-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 10001 !important;
  display: block !important;
  width: 100% !important;
  color: var(--hf1-header-text);
  background: var(--hf1-header-bg);
  border-bottom: 1px solid var(--hf1-line);
  font-family: inherit;
}

#top #hf1-global-header.hf1-head--static {
  position: relative !important;
}

#top.admin-bar #hf1-global-header {
  top: 32px !important;
}

#top .hf1-topbar {
  min-height: var(--hf1-topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 var(--hf1-horizontal-padding);
  background: var(--hf1-topbar-bg);
  color: var(--hf1-topbar-text);
  font-size: 13px;
  font-weight: 800;
}

#top .hf1-topbar span {
  color: inherit;
}

#top .hf1-topbar a,
#top .hf1-login-link {
  color: var(--hf1-topbar-text) !important;
  text-decoration: none !important;
  font-weight: 900;
  white-space: nowrap;
}

#top .hf1-topbar a:hover,
#top .hf1-topbar a:focus-visible {
  color: var(--hf1-accent) !important;
}

#top .hf1-bar {
  min-height: var(--hf1-header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 0 var(--hf1-horizontal-padding);
  background: var(--hf1-header-bg);
}

#top .hf1-brand {
  display: flex;
  align-items: center;
  width: calc(var(--hf1-logo-width) + 4px);
  text-decoration: none !important;
}

#top .hf1-brand img {
  display: block;
  width: var(--hf1-logo-width);
  max-width: 100%;
  height: auto;
}

#top .hf1-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: wrap;
}

#top .hf1-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  color: #172f4a !important;
  text-decoration: none !important;
  font-size: var(--hf1-menu-font-size);
  font-weight: 900;
  letter-spacing: -.025em;
}

#top .hf1-nav a:hover,
#top .hf1-nav a:focus-visible {
  background: #f3f7fb;
  color: var(--hf1-header-text) !important;
  outline: none;
}

#top .hf1-menu-button {
  position: relative;
  display: inline-grid !important;
  place-items: center;
  justify-self: end;
  width: 46px;
  height: 46px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 1px solid #d9e3ed;
  border-radius: 14px;
  background: var(--hf1-header-bg);
  color: var(--hf1-header-text);
  box-shadow: 0 5px 14px rgba(16, 41, 67, .07);
  cursor: pointer;
  line-height: 0;
}

#top .hf1-menu-button:hover,
#top .hf1-menu-button:focus-visible {
  border-color: #b8c9da;
  background: #f8fbfe;
  outline: 2px solid rgba(16, 41, 67, .2);
  outline-offset: 2px;
}

#top .hf1-menu-icon {
  position: absolute;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--hf1-header-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity .16s ease, transform .16s ease;
}

#top .hf1-menu-icon--close {
  opacity: 0;
  transform: scale(.82) rotate(-12deg);
}

#top #hf1-global-header.is-menu-open .hf1-menu-icon--bars {
  opacity: 0;
  transform: scale(.82) rotate(12deg);
}

#top #hf1-global-header.is-menu-open .hf1-menu-icon--close {
  opacity: 1;
  transform: scale(1) rotate(0);
}

#top .hf1-mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 8;
  display: none;
  grid-template-columns: repeat(var(--hf1-menu-panel-columns), minmax(0, 1fr));
  gap: 10px;
  padding: 20px var(--hf1-horizontal-padding) 24px;
  background: var(--hf1-header-bg);
  border-top: 1px solid #e3ebf4;
  box-shadow: 0 18px 32px rgba(16, 41, 67, .14);
}

#top #hf1-global-header.is-menu-open .hf1-mobile-nav {
  display: grid;
}

#top .hf1-mobile-nav .hf1-menu-group {
  min-width: 0;
}

#top .hf1-mobile-nav .hf1-menu-category {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border: 1px solid #e2eaf3;
  border-radius: 10px;
  background: #f8fbfe;
  color: var(--hf1-header-text);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

#top .hf1-mobile-nav .hf1-menu-category:hover,
#top .hf1-mobile-nav .hf1-menu-category:focus-visible {
  border-color: #c4d3e2;
  background: #f1f6fb;
  outline: none;
}

#top .hf1-menu-chevron {
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}

#top .hf1-menu-category[aria-expanded="true"] .hf1-menu-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

#top .hf1-submenu {
  display: none;
  gap: 1px;
  padding: 8px 2px 2px;
}

#top .hf1-menu-group.is-submenu-open .hf1-submenu,
#top .hf1-menu-category[aria-expanded="true"] + .hf1-submenu {
  display: grid;
}

#top .hf1-mobile-nav .hf1-submenu a {
  min-height: 0;
  display: block;
  padding: 8px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4b6178 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

#top .hf1-mobile-nav .hf1-submenu a:hover,
#top .hf1-mobile-nav .hf1-submenu a:focus-visible {
  color: var(--hf1-header-text) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  outline: none;
}

#top #prestige-global-shell-footer {
  display: block;
  width: 100%;
  margin: 0;
  padding: var(--hf1-footer-padding-top) 30px 0;
  background: var(--hf1-footer-bg);
  color: var(--hf1-footer-text);
  font-family: inherit;
}

#top .hf1-foot-grid {
  display: grid;
  grid-template-columns: repeat(var(--hf1-footer-columns), minmax(150px, 1fr));
  justify-content: center;
  gap: var(--hf1-footer-gap);
  max-width: var(--hf1-footer-width);
  margin: 0 auto;
}

#top .hf1-foot-section--offset {
  padding-top: 57px;
}

#top .hf1-foot h2 {
  margin: 0 0 16px !important;
  color: var(--hf1-accent) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

#top .hf1-foot a,
#top .hf1-foot span {
  display: block;
  margin: 9px 0;
  color: var(--hf1-footer-text) !important;
  text-decoration: none !important;
  font-size: var(--hf1-footer-text-size) !important;
  line-height: 1.55;
  font-weight: 700;
}

#top .hf1-foot a:hover,
#top .hf1-foot a:focus-visible {
  color: var(--hf1-accent) !important;
  outline: none;
}

#top .hf1-unavailable-link {
  cursor: default;
}

#top .hf1-contact-social {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 12px;
  padding: 0 0 9px;
  border-bottom: 1px solid rgba(174, 191, 209, .38);
}

#top .hf1-social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

#top .hf1-social-icons a {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0 !important;
  color: #dce7f3 !important;
  text-decoration: none !important;
  opacity: .88;
  transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

#top .hf1-social-icons a:hover,
#top .hf1-social-icons a:focus-visible {
  color: #fff !important;
  opacity: 1;
  transform: translateY(-1px);
}

#top .hf1-social-icons svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
}

#top .hf1-social-icons rect,
#top .hf1-social-icons circle {
  fill: none;
}

#top .hf1-social-icons .hf1-social-play {
  fill: var(--hf1-footer-bg);
  stroke: var(--hf1-footer-bg);
  stroke-width: 0;
}

#top .hf1-social-icons .hf1-social-dot {
  fill: currentColor;
  stroke-width: 0;
}

#top .hf1-social-naver {
  border: 1.5px solid currentColor;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1;
}

#top .hf1-legal {
  width: 100%;
  max-width: var(--hf1-footer-width);
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 36px auto 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(234, 242, 251, .76);
  font-size: 12px;
  font-weight: 700;
}

#top .hf1-legal > span {
  display: block !important;
  margin: 0 !important;
}

#top .hf1-legal .hf1-legal-company {
  margin-right: auto !important;
}

#top .hf1-legal .hf1-copyright {
  margin-left: auto !important;
  white-space: nowrap !important;
  color: #aebfd1 !important;
}

#top .hf1-legal .hf1-copyright b {
  display: inline !important;
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
}

@media (max-width: 1050px) {
  #top .hf1-bar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  #top .hf1-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 14px;
  }

  #top .hf1-foot-grid {
    gap: 28px;
  }
}

@media (max-width: 782px) {
  #top.admin-bar #hf1-global-header {
    top: 46px !important;
  }
}

@media (max-width: 680px) {
  #top .hf1-topbar {
    min-height: 36px;
    padding: 0 18px;
    font-size: 12px;
  }

  #top .hf1-login-link {
    font-size: 11px;
  }

  #top .hf1-bar {
    min-height: 74px;
    display: flex;
    padding: 0 18px;
  }

  #top .hf1-brand {
    width: min(var(--hf1-logo-width), 154px);
  }

  #top .hf1-brand img {
    width: min(var(--hf1-logo-width), 150px);
  }

  #top .hf1-nav {
    display: none;
  }

  #top .hf1-menu-button {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  #top .hf1-mobile-nav {
    position: static;
    grid-template-columns: 1fr;
    padding: 14px 18px 18px;
    box-shadow: none;
  }

  #top .hf1-mobile-nav .hf1-menu-group {
    padding-bottom: 8px;
    border-bottom: 1px solid #e2eaf3;
  }

  #top .hf1-mobile-nav .hf1-menu-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  #top #prestige-global-shell-footer {
    padding: 36px 22px 0;
  }

  #top .hf1-foot-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: none;
  }

  #top .hf1-foot-section--offset {
    padding-top: 0;
  }

  #top .hf1-contact-social {
    min-height: 48px;
    margin: 0 0 18px;
    padding: 0 0 15px;
  }

  #top .hf1-social-icons {
    gap: 5px;
  }

  #top .hf1-social-icons a {
    width: 19px;
    height: 19px;
  }

  #top .hf1-social-icons svg {
    width: 16px;
    height: 16px;
  }

  #top .hf1-legal {
    max-width: none;
    flex-wrap: wrap;
    gap: 8px;
  }

  #top .hf1-legal .hf1-legal-company {
    flex: 1 1 100%;
    margin: 0 !important;
  }

  #top .hf1-legal .hf1-copyright {
    margin-left: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #top .hf1-menu-icon,
  #top .hf1-menu-chevron,
  #top .hf1-social-icons a {
    transition: none !important;
  }
}

/* v0.2.1: no hamburger; every top-level category exposes its own hover/focus submenu. */
#top .hf1-nav {
  flex-wrap: nowrap;
  gap: 4px;
}

#top .hf1-desktop-menu-group {
  position: relative;
  flex: 0 0 auto;
}

#top .hf1-desktop-menu-trigger {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #172f4a;
  font: inherit;
  font-size: var(--hf1-menu-font-size);
  font-weight: 900;
  letter-spacing: -.025em;
  cursor: pointer;
}

#top .hf1-desktop-menu-trigger:hover,
#top .hf1-desktop-menu-trigger:focus-visible,
#top .hf1-desktop-menu-group.is-submenu-open .hf1-desktop-menu-trigger {
  background: #f3f7fb;
  color: var(--hf1-header-text);
  outline: none;
}

#top .hf1-desktop-menu-trigger .hf1-menu-chevron {
  width: 7px;
  height: 7px;
  margin: -3px 0 0;
}

#top .hf1-desktop-menu-group:hover .hf1-menu-chevron,
#top .hf1-desktop-menu-group.is-submenu-open .hf1-menu-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

#top .hf1-desktop-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 20;
  display: none;
  width: var(--hf1-menu-dropdown-width);
  min-width: 0;
  max-width: calc(100vw - 36px);
  padding: 8px;
  border: 1px solid #e1eaf4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(16, 41, 67, .16);
}

#top .hf1-desktop-menu-group:hover .hf1-desktop-submenu,
#top .hf1-desktop-menu-group.is-submenu-open .hf1-desktop-submenu {
  display: grid;
}

#top .hf1-desktop-submenu a {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: transparent;
  color: #4b6178 !important;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none !important;
  white-space: nowrap;
}

#top .hf1-desktop-submenu a:hover,
#top .hf1-desktop-submenu a:focus-visible {
  background: #f3f7fb;
  color: var(--hf1-header-text) !important;
  outline: none;
}

#top .hf1-member-welcome {
  color: var(--hf1-topbar-text);
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  #top .hf1-nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 680px) {
  #top .hf1-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0 18px 10px;
  }

  #top .hf1-brand {
    min-height: 74px;
  }

  #top .hf1-nav {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 4px;
    padding: 0 0 2px;
    -webkit-overflow-scrolling: touch;
  }

  #top .hf1-desktop-menu-trigger {
    min-height: 38px;
    padding: 0 9px;
    font-size: 13px;
    white-space: nowrap;
  }

  #top .hf1-desktop-submenu {
    position: fixed;
    top: calc(var(--hf1-topbar-height) + var(--hf1-header-height) + 48px);
    left: 18px;
    right: 18px;
    transform: none;
    width: auto;
    min-width: 0;
    max-height: min(55vh, 420px);
    overflow: auto;
  }
}
