/* Woneum mobile navigation base moved from woneum-design.css. */

/* Mobile menu experience */
body.we-gnbAll-opening,
body.we-gnbAll-open,
body.we-gnbAll-closing {
  overflow: hidden;
}

#hd.we-header #gnb_all,
#hd.we-header #gnb_all_bg {
  display: none;
}

@media (max-width: 980px) {
  #hd.we-header #gnb .gnb_menu_btn {
    border-radius: 999px;
    background: color-mix(in srgb, var(--we-color-primary) 8%, #fff);
    color: var(--we-color-primary);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
    transition: transform .22s var(--we-ease), background-color .22s ease, box-shadow .22s ease;
  }

  #hd.we-header #gnb .gnb_menu_btn:active {
    transform: scale(.96);
  }

  body.we-gnbAll-opening #hd.we-header #gnb_all_bg,
  body.we-gnbAll-open #hd.we-header #gnb_all_bg,
  body.we-gnbAll-closing #hd.we-header #gnb_all_bg {
    display: block !important;
  }

  body.we-gnbAll-open #hd.we-header #gnb_all_bg {
    animation: weMobileMenuDimIn .28s ease both;
  }

  body.we-gnbAll-closing #hd.we-header #gnb_all_bg {
    animation: weMobileMenuDimOut .18s ease both;
  }

  body.we-gnbAll-opening #hd.we-header #gnb_all,
  body.we-gnbAll-open #hd.we-header #gnb_all,
  body.we-gnbAll-closing #hd.we-header #gnb_all {
    display: block !important;
  }

  #hd.we-header #gnb_all {
    left: 50% !important;
    right: auto !important;
    top: 10px !important;
    bottom: 10px !important;
    width: min(calc(100vw - 20px), 520px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 20px);
    border: 1px solid color-mix(in srgb, var(--we-color-primary) 12%, rgba(15,23,42,.12)) !important;
    border-radius: 28px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92)),
      color-mix(in srgb, var(--we-color-soft) 60%, #fff) !important;
    box-shadow: 0 28px 90px rgba(15, 23, 42, .22) !important;
    backdrop-filter: blur(18px);
    opacity: 0;
    overflow: hidden auto;
    overscroll-behavior: contain;
    transform: translate3d(-50%, 18px, 0) scale(.985) !important;
    scrollbar-width: none;
    will-change: transform, opacity;
  }

  #hd.we-header #gnb_all::-webkit-scrollbar {
    display: none;
  }

  body.we-gnbAll-open #hd.we-header #gnb_all {
    animation: weMobileMenuIn .34s var(--we-ease) both;
  }

  body.we-gnbAll-closing #hd.we-header #gnb_all {
    animation: weMobileMenuOut .18s var(--we-ease) both;
  }

  #hd.we-header #gnb_all::before {
    display: none !important;
  }

  #hd.we-header #gnb_all h2 {
    position: sticky;
    top: 0;
    z-index: 2;
    width: 100% !important;
    padding: 26px 68px 18px 22px !important;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(14px);
    color: var(--we-color-text);
    font-size: 28px !important;
    line-height: 1.1;
  }

  #hd.we-header #gnb_all h2::after {
    content: "필요한 페이지로 빠르게 이동하세요";
    margin-top: 8px;
    color: var(--we-color-muted);
    font-size: 13px;
    font-weight: 700;
  }

  #hd.we-header #gnb_all .gnb_al_ul {
    display: grid;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: none !important;
    gap: 10px !important;
    padding: 14px 12px max(18px, env(safe-area-inset-bottom)) !important;
  }

  #hd.we-header #gnb_all .gnb_al_li {
    position: relative;
    min-height: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.82) !important;
    box-shadow: none !important;
    overflow: hidden;
    transform: none !important;
  }

  #hd.we-header #gnb_all .gnb_al_li .gnb_al_a {
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 58px 0 18px;
    align-items: center;
    color: var(--we-color-text);
    font-size: 18px !important;
    font-weight: 900;
  }

  #hd.we-header #gnb_all .gnb_al_li .gnb_al_a::before {
    display: none !important;
  }

  #hd.we-header #gnb_all .we-mobileMenu__toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--we-color-primary) 9%, #fff);
    color: var(--we-color-primary);
  }

  #hd.we-header #gnb_all .we-mobileMenu__toggle::before,
  #hd.we-header #gnb_all .we-mobileMenu__toggle::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .24s var(--we-ease);
  }

  #hd.we-header #gnb_all .we-mobileMenu__toggle::after {
    transform: rotate(90deg);
  }

  #hd.we-header #gnb_all .gnb_al_li.is-open .we-mobileMenu__toggle::after {
    transform: rotate(0);
  }

  #hd.we-header #gnb_all .gnb_al_li ul {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0;
    max-height: 0;
    margin: 0 !important;
    padding: 0 12px !important;
    opacity: 0;
    overflow: hidden;
    transition: max-height .32s var(--we-ease), opacity .24s ease, padding-bottom .28s var(--we-ease);
  }

  #hd.we-header #gnb_all .gnb_al_li.is-open ul {
    max-height: 320px;
    padding-bottom: 12px !important;
    opacity: 1;
  }

  #hd.we-header #gnb_all .gnb_al_li ul > li:first-child {
    margin-top: 0;
  }

  #hd.we-header #gnb_all .gnb_al_li li {
    min-height: 0;
    overflow: hidden;
  }

  #hd.we-header #gnb_all .gnb_al_li li a {
    min-height: 42px !important;
    padding: 0 12px !important;
    border-radius: 12px;
    color: var(--we-color-muted);
    font-size: 15px !important;
    font-weight: 800;
  }

  #hd.we-header #gnb .gnb_close_btn {
    top: 20px !important;
    right: calc(50vw - min(calc(100vw - 20px), 520px) / 2 + 14px) !important;
    width: 42px !important;
    height: 42px !important;
    border: 0;
    background: rgba(255,255,255,.86);
    box-shadow: 0 12px 28px rgba(15,23,42,.12);
  }
}

@keyframes weMobileMenuIn {
  from {
    opacity: 0;
    transform: translate3d(-50%, 18px, 0) scale(.985);
  }
  to {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
  }
}

@keyframes weMobileMenuOut {
  from {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate3d(-50%, 16px, 0) scale(.985);
  }
}

@keyframes weMobileMenuDimIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes weMobileMenuDimOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (max-width: 420px) {
  #hd.we-header #gnb_all {
    top: 6px !important;
    bottom: 6px !important;
    width: calc(100vw - 12px) !important;
    max-height: calc(100dvh - 12px);
    border-radius: 24px !important;
  }

  #hd.we-header #gnb .gnb_close_btn {
    right: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.we-gnbAll-open #hd.we-header #gnb_all,
  body.we-gnbAll-closing #hd.we-header #gnb_all,
  body.we-gnbAll-open #hd.we-header #gnb_all_bg,
  body.we-gnbAll-closing #hd.we-header #gnb_all_bg,
  #hd.we-header #gnb_all .gnb_al_li ul,
  #hd.we-header #gnb_all .we-mobileMenu__toggle::before,
  #hd.we-header #gnb_all .we-mobileMenu__toggle::after {
    animation: none !important;
    transition: none !important;
  }
}

#hd.we-header .we-mobileAccount {
  display: none;
}

#hd.we-header .we-mobileHeaderCta,
#hd.we-header .we-mobileDrawer__footer {
  display: none;
}

.we-mobile-bottom-nav {
  display: none;
}

@media (max-width: 1100px) {
  #hd.we-header #hd_wrapper,
  #hd.we-header.we-search--visible #hd_wrapper,
  #hd.we-header.we-search--hidden #hd_wrapper {
    grid-template-columns: auto 1fr auto !important;
  }

  #hd.we-header .we-accountMenu {
    display: none !important;
  }

  #hd.we-header #gnb {
    grid-column: 3 !important;
    justify-self: end !important;
  }

  #hd.we-header .we-mobileAccount {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: min(100%, var(--we-layout-max));
    margin: -18px auto 22px;
    padding: 0 var(--we-gutter);
    box-sizing: border-box;
  }

  #hd.we-header .we-mobileAccount a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 999px;
    background: var(--we-color-surface, #fbf7f0);
    color: var(--we-color-text);
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(17,24,39,.08);
  }

  #hd.we-header .we-mobileAccount a:first-child {
    background: var(--we-color-primary);
    color: #fff;
  }
}

@media (max-width: 600px) {
  #hd.we-header #gnb .gnb_menu_btn {
    width: 42px !important;
    height: 42px !important;
  }

  #hd.we-header .we-mobileAccount {
    margin-top: -14px;
  }
}



/* Mobile header/menu visibility final override */
@media (max-width: 1100px) {
  #hd.we-header #hd_wrapper,
  #hd.we-header.we-search--visible #hd_wrapper,
  #hd.we-header.we-search--hidden #hd_wrapper {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
  }

  #hd.we-header .we-accountMenu {
    display: none !important;
  }

  #hd.we-header #gnb {
    display: block !important;
    grid-column: 3 !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 42px !important;
    position: relative !important;
    z-index: 10090 !important;
    background: transparent !important;
  }

  #hd.we-header #gnb .gnb_wrap,
  #hd.we-header #gnb #gnb_1dul {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #hd.we-header #gnb .gnb_1dli:not(.gnb_mnal) {
    display: none !important;
  }

  #hd.we-header #gnb .gnb_mnal {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #hd.we-header #gnb .gnb_menu_btn {
    display: inline-grid !important;
    position: relative !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    place-items: center !important;
    border-radius: 14px !important;
    background: color-mix(in srgb, var(--we-color-primary) 8%, #fff) !important;
    color: var(--we-color-primary) !important;
    box-shadow: none !important;
  }

  body.we-gnbAll-opening #hd.we-header #gnb .gnb_mnal,
  body.we-gnbAll-open #hd.we-header #gnb .gnb_mnal,
  body.we-gnbAll-closing #hd.we-header #gnb .gnb_mnal {
    pointer-events: none !important;
  }

  body.we-gnbAll-opening #hd.we-header #gnb .gnb_menu_btn,
  body.we-gnbAll-open #hd.we-header #gnb .gnb_menu_btn,
  body.we-gnbAll-closing #hd.we-header #gnb .gnb_menu_btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
  }

  #hd.we-header #gnb .gnb_menu_btn::after {
    content: "" !important;
    display: none !important;
  }

  body.we-gnbAll-opening #hd.we-header,
  body.we-gnbAll-open #hd.we-header,
  body.we-gnbAll-closing #hd.we-header {
    transform: none !important;
    pointer-events: auto !important;
  }

  body.we-gnbAll-opening #hd.we-header #gnb_all_bg,
  body.we-gnbAll-open #hd.we-header #gnb_all_bg,
  body.we-gnbAll-closing #hd.we-header #gnb_all_bg {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-width: 100vw !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 10070 !important;
    background: rgba(9, 18, 28, .34) !important;
    backdrop-filter: blur(6px);
  }

  body.we-gnbAll-opening #hd.we-header #gnb_all,
  body.we-gnbAll-open #hd.we-header #gnb_all,
  body.we-gnbAll-closing #hd.we-header #gnb_all {
    position: fixed !important;
    display: block !important;
    inset: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    min-height: 100vh !important;
    border: 0 !important;
    border-radius: 0 !important;
    z-index: 10080 !important;
    overflow: hidden auto !important;
    transform: none !important;
  }
}

/* Mobile-first navigation layer */
@media (max-width: 1100px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  #hd.we-header #hd_wrapper,
  #hd.we-header.we-search--visible #hd_wrapper,
  #hd.we-header.we-search--hidden #hd_wrapper {
    grid-template-columns: auto 1fr auto auto !important;
    column-gap: 8px !important;
    min-height: 64px !important;
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)) !important;
  }

  #hd.we-header .we-mobileHeaderCta {
    grid-column: 3;
    display: inline-flex;
    min-width: 54px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid color-mix(in srgb, var(--we-color-primary) 16%, var(--we-color-line));
    border-radius: 999px;
    background: var(--we-color-surface, #fbf7f0);
    color: var(--we-color-primary);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
  }

  #hd.we-header .we-mobileHeaderCta i {
    font-size: 15px;
  }

  #hd.we-header #gnb {
    grid-column: 4 !important;
  }

  .we-mobile-bottom-nav {
    position: fixed;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 900;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 66px;
    padding: 7px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .14);
    backdrop-filter: blur(16px);
    transition: opacity .22s ease, transform .22s var(--we-ease);
  }

  .we-mobile-bottom-nav--admin {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .we-mobile-bottom-nav a,
  .we-mobile-bottom-nav button {
    display: inline-flex;
    min-width: 0;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 0;
    border-radius: 17px;
    background: transparent;
    color: var(--we-color-muted);
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  .we-mobile-bottom-nav i {
    color: var(--we-color-primary);
    font-size: 17px;
    line-height: 1;
  }

  .we-logoAdmin > .we-logoAdmin__toggle {
    display: inline-flex !important;
  }

  .we-mobile-bottom-nav a:active,
  .we-mobile-bottom-nav button:active,
  .we-mobile-bottom-nav a:focus,
  .we-mobile-bottom-nav button:focus {
    background: color-mix(in srgb, var(--we-color-primary) 9%, #fff);
    color: var(--we-color-text);
    outline: none;
  }

  body.we-gnbAll-open .we-mobile-bottom-nav,
  body.we-gnbAll-opening .we-mobile-bottom-nav {
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s var(--we-ease);
  }
}

@media (max-width: 1100px) {
  #hd.we-header #gnb_all {
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.95)),
      color-mix(in srgb, var(--we-color-soft) 62%, #fff) !important;
    padding-bottom: max(22px, env(safe-area-inset-bottom)) !important;
  }

  #hd.we-header #gnb_all .we-mobileMenuHead {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: max(12px, env(safe-area-inset-top)) 18px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
  }

  #hd.we-header #gnb_all .we-mobileMenuHead__logo {
    display: inline-flex;
    min-width: 0;
    align-items: center;
  }

  #hd.we-header #gnb_all .we-mobileMenuHead__logo img {
    display: block;
    width: auto;
    max-width: min(190px, 58vw);
    max-height: 42px;
    object-fit: contain;
  }

  #hd.we-header #gnb_all .gnb_close_btn {
    position: static !important;
    display: inline-flex !important;
    flex: 0 0 48px;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, .1) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--we-color-text) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .1) !important;
    transform: none !important;
  }

  #hd.we-header #gnb_all .gnb_close_btn i {
    font-size: 18px;
    line-height: 1;
  }

  #hd.we-header #gnb_all h2 {
    padding-bottom: 12px !important;
    border-bottom: 0;
    background: rgba(255,255,255,.92);
  }

  #hd.we-header #gnb_all h2::after {
    content: none !important;
    display: none !important;
  }

  #hd.we-header #gnb_all .we-gnbAll__title {
    width: 100% !important;
    padding: 24px 18px 12px !important;
    border-bottom: 0;
    background: transparent;
    color: var(--we-color-text);
    font-size: 22px !important;
    font-weight: 900;
    line-height: 1.1;
  }

  #hd.we-header .we-mobileAccount {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: auto !important;
    margin: 0 12px 12px !important;
    padding: 0 !important;
  }

  #hd.we-header .we-mobileAccount a {
    min-width: 0;
    min-height: 48px;
    padding: 0 10px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    box-shadow: none;
  }

  #hd.we-header .we-mobileAccount a:nth-child(3):last-child {
    grid-column: 1 / -1;
  }

  #hd.we-header #gnb_all .we-mobileMenuCta {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 12px 14px;
    padding: 16px 18px;
    border-radius: 22px;
    background: var(--we-color-primary);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 42px color-mix(in srgb, var(--we-color-primary) 24%, transparent);
  }

  #hd.we-header #gnb_all .we-mobileMenuCta::after {
    content: "\f105";
    display: inline-flex;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-family: FontAwesome;
    font-size: 18px;
  }

  #hd.we-header #gnb_all .we-mobileMenuCta strong,
  #hd.we-header #gnb_all .we-mobileMenuCta span {
    display: block;
  }

  #hd.we-header #gnb_all .we-mobileMenuCta strong {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
  }

  #hd.we-header #gnb_all .we-mobileMenuCta span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
  }

  #hd.we-header #gnb_all .gnb_al_ul {
    padding-top: 0 !important;
    padding-bottom: 12px !important;
  }

  #hd.we-header #gnb_all .gnb_al_li.is-open {
    border-color: color-mix(in srgb, var(--we-color-primary) 26%, var(--we-color-line)) !important;
    background: #fff !important;
  }

  #hd.we-header #gnb_all .gnb_al_li.is-open ul {
    background: color-mix(in srgb, var(--we-color-soft) 48%, #fff);
  }

  #hd.we-header .we-mobileDrawer__footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 12px max(18px, env(safe-area-inset-bottom));
  }

  #hd.we-header .we-mobileDrawer__footer a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    background: var(--we-color-surface, #fbf7f0);
    color: var(--we-color-text);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
  }
}

@media (max-width: 420px) {
  #hd.we-header .we-mobileHeaderCta span {
    display: none;
  }

  #hd.we-header .we-mobileHeaderCta {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .we-mobile-bottom-nav {
    left: 6px;
    right: 6px;
    bottom: max(6px, env(safe-area-inset-bottom));
    min-height: 64px;
    border-radius: 22px;
  }
}

/* All menu open-state safety override */
body.we-gnbAll-opening #hd.we-header #gnb_all_bg,
body.we-gnbAll-open #hd.we-header #gnb_all_bg,
body.we-gnbAll-closing #hd.we-header #gnb_all_bg,
#hd.we-header #gnb_all_bg.is-open {
  position: fixed !important;
  inset: 0 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 100vw !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  border-radius: 0 !important;
  z-index: 10070 !important;
  background: rgba(9, 18, 28, .34) !important;
  backdrop-filter: blur(6px);
}

body.we-gnbAll-opening #hd.we-header #gnb_all,
body.we-gnbAll-open #hd.we-header #gnb_all,
body.we-gnbAll-closing #hd.we-header #gnb_all,
#hd.we-header #gnb_all.is-open {
  position: fixed !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  inset: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  min-height: 100vh !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  z-index: 10080 !important;
  overflow: hidden auto !important;
  pointer-events: auto !important;
  transform: none !important;
}

/* Mobile header menu button final guard */
@media (max-width: 1100px) {
  #hd.we-header #gnb .gnb_mnal {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
  }

  #hd.we-header #gnb .gnb_menu_btn,
  #hd.we-header.we-menuButton--auto #gnb .gnb_menu_btn,
  #hd.we-header.we-menuButton--desktop_hidden #gnb .gnb_menu_btn,
  #hd.we-header.we-menuButton--text #gnb .gnb_menu_btn {
    display: inline-grid !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    place-items: center !important;
    gap: 0 !important;
    border-radius: 50% !important;
    line-height: 1 !important;
  }

  #hd.we-header #gnb .gnb_menu_btn::after,
  #hd.we-header.we-menuButton--auto #gnb .gnb_menu_btn::after,
  #hd.we-header.we-menuButton--desktop_hidden #gnb .gnb_menu_btn::after,
  #hd.we-header.we-menuButton--text #gnb .gnb_menu_btn::after {
    content: "" !important;
    display: none !important;
  }
}

/* Mobile all-menu drops below the visible header */
@media (max-width: 1100px) {
  body.we-gnbAll-opening #hd.we-header,
  body.we-gnbAll-open #hd.we-header,
  body.we-gnbAll-closing #hd.we-header {
    z-index: 10090 !important;
    transform: none !important;
  }

  body.we-gnbAll-opening #hd.we-header #hd_wrapper,
  body.we-gnbAll-open #hd.we-header #hd_wrapper,
  body.we-gnbAll-closing #hd.we-header #hd_wrapper {
    position: relative !important;
    z-index: 10092 !important;
    background: rgba(255, 255, 255, .96) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .06);
  }

  body.we-gnbAll-opening #hd.we-header #gnb .gnb_mnal,
  body.we-gnbAll-open #hd.we-header #gnb .gnb_mnal,
  body.we-gnbAll-closing #hd.we-header #gnb .gnb_mnal {
    pointer-events: auto !important;
  }

  body.we-gnbAll-opening #hd.we-header #gnb .gnb_menu_btn,
  body.we-gnbAll-open #hd.we-header #gnb .gnb_menu_btn,
  body.we-gnbAll-closing #hd.we-header #gnb .gnb_menu_btn {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10093 !important;
    border-color: color-mix(in srgb, var(--we-color-primary) 24%, var(--we-color-line)) !important;
    background: var(--we-color-primary) !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .16) !important;
  }

  body.we-gnbAll-opening #hd.we-header #gnb_all_bg,
  body.we-gnbAll-open #hd.we-header #gnb_all_bg,
  body.we-gnbAll-closing #hd.we-header #gnb_all_bg,
  #hd.we-header #gnb_all_bg.is-open {
    inset: var(--we-mobile-menu-top, 64px) 0 0 0 !important;
    z-index: 10070 !important;
    min-height: 0 !important;
    height: calc(100dvh - var(--we-mobile-menu-top, 64px)) !important;
  }

  body.we-gnbAll-opening #hd.we-header #gnb_all,
  body.we-gnbAll-open #hd.we-header #gnb_all,
  body.we-gnbAll-closing #hd.we-header #gnb_all,
  #hd.we-header #gnb_all.is-open {
    inset: var(--we-mobile-menu-top, 64px) 0 auto 0 !important;
    height: calc(100dvh - var(--we-mobile-menu-top, 64px)) !important;
    min-height: 0 !important;
    z-index: 10080 !important;
    border-top: 1px solid rgba(15, 23, 42, .06) !important;
    border-radius: 0 !important;
  }

  body.we-gnbAll-opening #hd.we-header #gnb_all,
  body.we-gnbAll-open #hd.we-header #gnb_all,
  #hd.we-header #gnb_all.is-open {
    animation: weMobileMenuDropFromHeader .36s var(--we-ease) both !important;
  }

  body.we-gnbAll-closing #hd.we-header #gnb_all {
    animation: weMobileMenuLiftToHeader .22s var(--we-ease) both !important;
  }

  #hd.we-header #gnb_all .we-mobileMenuHead {
    display: none !important;
  }

  #hd.we-header #gnb_all .we-gnbAll__title {
    padding-top: 22px !important;
  }
}

@keyframes weMobileMenuDropFromHeader {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes weMobileMenuLiftToHeader {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 0 100% 0);
  }
}

/* Mobile menu design variants */
@media (max-width: 1100px) {
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb_all,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb_all,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb_all {
    position: fixed !important;
    display: block !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    z-index: 10095 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: hidden !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact {
    z-index: 10095 !important;
    background: transparent !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb .gnb_wrap,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb .gnb_wrap,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb .gnb_wrap,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb #gnb_1dul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb #gnb_1dul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb #gnb_1dul,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb .gnb_mnal,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb .gnb_mnal,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb .gnb_mnal,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb .gnb_wrap,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb .gnb_wrap,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb .gnb_wrap,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb #gnb_1dul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb #gnb_1dul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb #gnb_1dul,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb .gnb_mnal,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb .gnb_mnal,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb .gnb_mnal {
    overflow: visible !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all .we-mobileMenuHead,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all .we-mobileMenuHead,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all .we-mobileMenuHead,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb_all .we-mobileMenuHead,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb_all .we-mobileMenuHead,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb_all .we-mobileMenuHead,
  #hd.we-header.we-mobileMenu--split #gnb_all .we-mobileMenuHead,
  #hd.we-header.we-mobileMenu--compact #gnb_all .we-mobileMenuHead {
    display: flex !important;
    min-height: 64px;
    padding: max(8px, env(safe-area-inset-top)) 18px 8px;
    border-bottom: 1px solid #e8e8e8;
    background: var(--we-color-surface, #fbf7f0);
    backdrop-filter: none;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_close_btn,
  #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_close_btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    border: 0 !important;
    background: transparent !important;
    color: #222 !important;
    box-shadow: none !important;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .we-gnbAll__title,
  #hd.we-header.we-mobileMenu--split #gnb_all .we-mobileAccount,
  #hd.we-header.we-mobileMenu--split #gnb_all .we-mobileDrawer__footer,
  #hd.we-header.we-mobileMenu--compact #gnb_all .we-gnbAll__title,
  #hd.we-header.we-mobileMenu--compact #gnb_all .we-mobileAccount,
  #hd.we-header.we-mobileMenu--compact #gnb_all .we-mobileDrawer__footer {
    display: none !important;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul {
    display: grid !important;
    grid-template-columns: 45% 55% !important;
    align-content: start;
    gap: 0 !important;
    width: 100% !important;
    height: calc(100dvh - 64px) !important;
    padding: 0 !important;
    background: var(--we-color-surface, #fbf7f0);
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden !important;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li {
    display: contents;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_a {
    grid-column: 1;
    display: flex !important;
    min-height: 56px !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #9aa0a6 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.35;
    text-decoration: none;
    word-break: keep-all;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li.is-open .gnb_al_a {
    color: var(--we-color-primary) !important;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .we-mobileMenu__toggle {
    display: none !important;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li ul {
    grid-column: 2;
    grid-row: 1 / span 60;
    display: none !important;
    height: calc(100dvh - 64px);
    margin: 0 !important;
    padding: 0 !important;
    border-left: 1px solid #ececec;
    background: #fff !important;
    opacity: 1 !important;
    overflow: hidden auto;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li.is-open ul {
    display: block !important;
    max-height: none !important;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li li a {
    display: flex !important;
    min-height: 50px !important;
    align-items: center;
    padding: 0 18px !important;
    border-bottom: 1px solid #ececec;
    border-radius: 0 !important;
    color: #050505 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.35;
    word-break: keep-all;
  }

  #hd.we-header.we-mobileMenu--compact #gnb_all {
    overflow: hidden auto !important;
  }

  #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 0 16px max(20px, env(safe-area-inset-bottom)) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_li {
    border: 0 !important;
    border-bottom: 1px solid #ececec !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_a {
    min-height: 58px !important;
    padding-left: 0 !important;
    color: var(--we-color-text) !important;
    font-size: 18px !important;
  }

  #hd.we-header.we-mobileMenu--compact #gnb_all .we-mobileMenu__toggle {
    right: 0 !important;
    background: transparent !important;
  }
}

/* Keep one consistent mobile header while split/compact menus are open */
@media (max-width: 1100px) {
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact {
    z-index: 10090 !important;
    background: rgba(255, 255, 255, .96) !important;
    transform: none !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #hd_wrapper,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #hd_wrapper,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #hd_wrapper,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #hd_wrapper,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #hd_wrapper,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #hd_wrapper {
    position: relative !important;
    z-index: 10092 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: rgba(255, 255, 255, .96) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .06);
  }

  /* The open mobile menu uses a light header surface, so keep its logo readable. */
  body.we-gnbAll-opening #hd.we-header #logo .we-headerLogo__image--default,
  body.we-gnbAll-open #hd.we-header #logo .we-headerLogo__image--default,
  body.we-gnbAll-closing #hd.we-header #logo .we-headerLogo__image--default {
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.we-gnbAll-opening #hd.we-header #logo .we-headerLogo__image--white,
  body.we-gnbAll-open #hd.we-header #logo .we-headerLogo__image--white,
  body.we-gnbAll-closing #hd.we-header #logo .we-headerLogo__image--white {
    visibility: hidden !important;
    opacity: 0 !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb_all,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb_all,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb_all {
    inset: var(--we-mobile-menu-top, 64px) 0 auto 0 !important;
    top: var(--we-mobile-menu-top, 64px) !important;
    width: 100vw !important;
    height: calc(100dvh - var(--we-mobile-menu-top, 64px)) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - var(--we-mobile-menu-top, 64px)) !important;
    z-index: 10080 !important;
    border-top: 1px solid rgba(15, 23, 42, .06) !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all .we-mobileMenuHead,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all .we-mobileMenuHead,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all .we-mobileMenuHead,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb_all .we-mobileMenuHead,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb_all .we-mobileMenuHead,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb_all .we-mobileMenuHead {
    display: none !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul {
    height: calc(100dvh - var(--we-mobile-menu-top, 64px)) !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li ul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li ul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li ul {
    height: calc(100dvh - var(--we-mobile-menu-top, 64px)) !important;
  }
}

@media (max-width: 420px) {
  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul {
    grid-template-columns: 46% 54% !important;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_a {
    min-height: 54px !important;
    padding-inline: 14px !important;
    font-size: 16px !important;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li li a {
    min-height: 49px !important;
    padding-inline: 15px !important;
    font-size: 14px !important;
  }
}

/* Woneum mobile navigation layer
   Scope: #gnb_all, mobile menu variants, and mobile drawer footer. */

/* Common bottom action buttons in every mobile menu design */
@media (max-width: 1100px) {
  #hd.we-header #gnb_all .we-mobileAccount {
    display: none !important;
  }

  body.we-gnbAll-opening #hd.we-header #gnb_all .we-mobileDrawer__footer,
  body.we-gnbAll-open #hd.we-header #gnb_all .we-mobileDrawer__footer,
  body.we-gnbAll-closing #hd.we-header #gnb_all .we-mobileDrawer__footer,
  #hd.we-header #gnb_all.is-open .we-mobileDrawer__footer {
    position: sticky;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 !important;
    padding: 10px 12px max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
    pointer-events: auto;
  }

  #hd.we-header #gnb_all .we-mobileDrawer__footer a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    background: var(--we-color-surface, #fbf7f0);
    color: var(--we-color-text);
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    pointer-events: auto;
    touch-action: manipulation;
  }

  #hd.we-header #gnb_all .we-mobileDrawer__footer a:first-child {
    background: var(--we-color-primary);
    color: #fff;
  }

  #hd.we-header #gnb_all .we-mobileDrawer__footer a i {
    color: currentColor;
    font-size: 14px;
    line-height: 1;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb_all,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb_all,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb_all {
    display: flex !important;
    flex-direction: column;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_ul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_ul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_ul {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li ul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li ul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li ul {
    height: auto !important;
    max-height: 100% !important;
  }
}

/* Mobile menu spacing and bottom footer placement */
@media (max-width: 1100px) {
  body.we-gnbAll-opening #hd.we-header #gnb_all,
  body.we-gnbAll-open #hd.we-header #gnb_all,
  body.we-gnbAll-closing #hd.we-header #gnb_all,
  #hd.we-header #gnb_all.is-open {
    display: flex !important;
    flex-direction: column;
    overflow: hidden !important;
  }

  body.we-gnbAll-opening #hd.we-header #gnb_all .gnb_al_ul,
  body.we-gnbAll-open #hd.we-header #gnb_all .gnb_al_ul,
  body.we-gnbAll-closing #hd.we-header #gnb_all .gnb_al_ul,
  #hd.we-header #gnb_all.is-open .gnb_al_ul {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.we-gnbAll-opening #hd.we-header #gnb_all .we-mobileDrawer__footer,
  body.we-gnbAll-open #hd.we-header #gnb_all .we-mobileDrawer__footer,
  body.we-gnbAll-closing #hd.we-header #gnb_all .we-mobileDrawer__footer,
  #hd.we-header #gnb_all.is-open .we-mobileDrawer__footer {
    flex: 0 0 auto;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--accordion #gnb_all .gnb_al_ul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--accordion #gnb_all .gnb_al_ul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--accordion #gnb_all .gnb_al_ul,
  body.we-gnbAll-opening #hd.we-header:not(.we-mobileMenu--split):not(.we-mobileMenu--compact) #gnb_all .gnb_al_ul,
  body.we-gnbAll-open #hd.we-header:not(.we-mobileMenu--split):not(.we-mobileMenu--compact) #gnb_all .gnb_al_ul,
  body.we-gnbAll-closing #hd.we-header:not(.we-mobileMenu--split):not(.we-mobileMenu--compact) #gnb_all .gnb_al_ul {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_ul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_ul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_ul {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
}

@media (max-width: 1100px) {
  #hd.we-header #gnb_all .gnb_al_a {
    font-size: var(--we-font-size-mobile-menu-depth1) !important;
    font-weight: var(--we-font-weight-mobile-menu-depth1) !important;
  }

  #hd.we-header #gnb_all .gnb_al_li li a {
    font-size: var(--we-font-size-mobile-menu-depth2) !important;
    font-weight: var(--we-font-weight-mobile-menu-depth2) !important;
  }

  #hd.we-header.we-mobileMenu--accordion #gnb_all .gnb_al_li {
    min-height: 0 !important;
  }

  #hd.we-header.we-mobileMenu--accordion #gnb_all .gnb_al_a {
    min-height: 64px !important;
    padding: 0 56px 0 18px !important;
  }

  #hd.we-header.we-mobileMenu--accordion #gnb_all .we-mobileMenu__toggle {
    top: 12px !important;
    right: 12px !important;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_ul {
    height: 100% !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li ul,
  #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li.is-open ul,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all .gnb_al_li ul {
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
  }

  #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_li {
    border-bottom: 0 !important;
  }

  #hd.we-header.we-mobileMenu--compact #gnb_all .gnb_al_a {
    min-height: 64px !important;
  }
}

/* Keep split and compact menus on the same open/close motion as accordion. */
@media (max-width: 1100px) {
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-opening #hd.we-header.we-mobileMenu--compact #gnb_all,
  body.we-gnbAll-open #hd.we-header.we-mobileMenu--compact #gnb_all {
    animation: weMobileMenuDropFromHeader .36s var(--we-ease) both !important;
  }

  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--split #gnb_all,
  body.we-gnbAll-closing #hd.we-header.we-mobileMenu--compact #gnb_all {
    animation: weMobileMenuLiftToHeader .22s var(--we-ease) both !important;
  }
}



/* Moved from woneum-design.css lines 492-738: legacy Gnuboard mobile header menu */
#hd.we-header--mobile {
  border-bottom: 1px solid rgba(17,24,39,.08);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}

#hd.we-header--mobile #hd_wrapper {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 18px;
}

#hd.we-header--mobile #logo img {
  max-width: 190px;
  max-height: 42px;
}

#hd.we-header--mobile #gnb_open,
#hd.we-header--mobile #user_btn {
  position: static;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--we-color-primary) 15%, var(--we-color-line));
  border-radius: 50%;
  background: var(--we-color-surface, #fbf7f0);
  color: var(--we-color-primary);
  font-size: 18px;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
}

#hd.we-header--mobile #gnb.hd_div {
  position: fixed;
  inset: 0;
  left: 0;
  z-index: 10020;
  width: 100vw;
  height: 100dvh;
  overflow-y: auto;
  padding: 84px 18px 36px;
  background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--we-color-soft) 86%, #fff) 100%);
}

#hd.we-header--mobile #gnb .hd_closer,
#hd.we-header--mobile #user_menu .hd_closer {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10030;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--we-color-primary) 16%, var(--we-color-line));
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--we-color-text);
  box-shadow: 0 14px 34px rgba(17,24,39,.12);
}

#hd.we-header--mobile #gnb_1dul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  background: transparent;
}

#hd.we-header--mobile #gnb_1dul .gnb_1dli {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--we-color-primary) 13%, var(--we-color-line));
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 42px rgba(17,24,39,.06);
}

#hd.we-header--mobile #gnb_1dul .gnb_1da {
  min-height: 58px;
  border-bottom: 0;
  padding: 0 18px;
  color: var(--we-color-text);
  font-size: 21px;
  font-weight: 900;
  line-height: 58px;
}

#hd.we-header--mobile #gnb_1dul .btn_gnb_op {
  top: 9px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--we-color-primary) 9%, #fff);
}

#hd.we-header--mobile #gnb_1dul .btn_gnb_op::before,
#hd.we-header--mobile #gnb_1dul .btn_gnb_op::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  top: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--we-color-primary);
}

#hd.we-header--mobile #gnb_1dul .btn_gnb_op::after {
  transform: rotate(90deg);
}

#hd.we-header--mobile #gnb_1dul .btn_gnb_op.btn_gnb_cl::after {
  transform: rotate(0deg);
}

#hd.we-header--mobile #gnb_1dul .gnb_2dul {
  padding: 0 14px 14px;
  background: transparent;
}

#hd.we-header--mobile #gnb_1dul .gnb_2dli {
  line-height: 1.4;
}

#hd.we-header--mobile #gnb_1dul .gnb_2da {
  min-height: 40px;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--we-color-muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 40px;
}

#hd.we-header--mobile #gnb_1dul .gnb_2da:hover,
#hd.we-header--mobile #gnb_1dul .gnb_2da:focus {
  background: color-mix(in srgb, var(--we-color-primary) 9%, #fff);
  color: var(--we-color-primary);
}

#hd.we-header--mobile #hd_nb {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}

#hd.we-header--mobile #hd_nb li a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  background: var(--we-color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

#hd.we-header--mobile #gnb.hd_div,
#hd.we-header--mobile #user_menu.hd_div {
  transform-origin: top right;
}

#hd.we-header--mobile.we-motion--fade #gnb.hd_div[style*="display: block"],
#hd.we-header--mobile.we-motion--fade #user_menu.hd_div[style*="display: block"] {
  animation: weMenuFade .18s ease both;
}

#hd.we-header--mobile.we-motion--slide #gnb.hd_div[style*="display: block"],
#hd.we-header--mobile.we-motion--slide #user_menu.hd_div[style*="display: block"] {
  animation: weMobilePanelIn .28s var(--we-ease) both;
}

#hd.we-header--mobile.we-motion--drop #gnb.hd_div[style*="display: block"],
#hd.we-header--mobile.we-motion--drop #user_menu.hd_div[style*="display: block"],
#hd.we-header--mobile.we-motion--soft #gnb.hd_div[style*="display: block"],
#hd.we-header--mobile.we-motion--soft #user_menu.hd_div[style*="display: block"] {
  animation: weMobileSoftIn .32s var(--we-ease) both;
}

#hd.we-header--mobile.we-motion--scale #gnb.hd_div[style*="display: block"],
#hd.we-header--mobile.we-motion--scale #user_menu.hd_div[style*="display: block"] {
  animation: weMenuScale .22s var(--we-ease) both;
}

#hd.we-header--mobile.we-motion--none #gnb.hd_div,
#hd.we-header--mobile.we-motion--none #user_menu.hd_div {
  animation: none !important;
}

@keyframes weMobilePanelIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes weMobileSoftIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(10px) scale(.985); }
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

#hd.we-header--mobile.we-menu--dark,
#hd.we-header--mobile.we-menu--dark #gnb.hd_div,
#hd.we-header--mobile.we-menu--dark #user_menu.hd_div {
  background: var(--we-color-primary-strong, #262522);
  color: #fff;
}

#hd.we-header--mobile.we-menu--dark #gnb_1dul .gnb_1dli {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
}

#hd.we-header--mobile.we-menu--dark #gnb_1dul .gnb_1da {
  color: #fff;
}

#hd.we-header--mobile.we-menu--dark #gnb_1dul .gnb_2da {
  color: rgba(255,255,255,.72);
}

#hd.we-header--mobile.we-menu--minimal #gnb_1dul .gnb_1dli {
  border-radius: 0;
  border-width: 0 0 1px;
  background: transparent;
  box-shadow: none;
}

#hd.we-header--mobile.we-menu--boxed #gnb_1dul .gnb_1dli,
#hd.we-header--mobile.we-menu--rail #gnb_1dul .gnb_1dli,
#hd.we-header--mobile.we-menu--pill #gnb_1dul .gnb_1dli {
  border-radius: 18px;
}

#hd.we-header--mobile #gnb_1dul .gnb_2dul {
  display: none;
}

#hd.we-header--mobile #gnb_1dul .btn_gnb_cl + .gnb_2dul {
  display: block;
  animation: weMenuSlide .2s var(--we-ease) both;
}

/* =========================================================
   PATCH v31: mobile fixed UI collision guards
   ========================================================= */
@media (max-width: 1100px) {
  html:has(.we-logoAdmin.is-open) {
    overflow: hidden;
  }

  body:has(.we-logoAdmin.is-open) #hd.we-header {
    pointer-events: none;
  }

  body:has(.we-logoAdmin.is-open) .we-logoAdmin,
  body:has(.we-logoAdmin.is-open) .we-logoAdmin * {
    pointer-events: auto;
  }

  .we-mobile-bottom-nav {
    max-width: 720px;
    margin-inline: auto;
  }

  .we-mobile-bottom-nav a,
  .we-mobile-bottom-nav button {
    -webkit-tap-highlight-color: transparent;
  }
}

@media (max-width: 380px) {
  .we-mobile-bottom-nav {
    left: 5px;
    right: 5px;
    padding-inline: 5px;
    gap: 1px;
  }

  .we-mobile-bottom-nav a,
  .we-mobile-bottom-nav button {
    font-size: 10px;
  }

  .we-mobile-bottom-nav i {
    font-size: 16px;
  }
}

/* Home mobile header: match the transparent desktop hamburger state. */
@media (max-width: 1100px) {
  body:not(.we-gnbAll-opening):not(.we-gnbAll-open):not(.we-gnbAll-closing) #hd.we-header.we-header--home.we-headerSurface--transparent:not(.is-scrolled) #gnb .gnb_menu_btn {
    border-color: transparent !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  body:not(.we-gnbAll-opening):not(.we-gnbAll-open):not(.we-gnbAll-closing) #hd.we-header #gnb .gnb_menu_btn[aria-expanded="false"] {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
}
