/* layout/nav-mobile.css — 부모 컴포넌트 오버라이드
   로드 순서: 부모 archf-* → common → animation → layout/* → page/{슬러그} */

/* ── 풀스크린 모바일 메뉴 ── */

.nav-close-btn {
    right: 20px;
    left: auto;
}

.fullscreen-nav__footer {
    display: none;
}

/* ── 로그인 / 로그아웃 — 풀스크린 메뉴 안 (template-parts/header/hamburger-menu.php) ──
   PC 는 헤더 유틸에 이름·드롭다운이 있으므로 모바일 구간에서만 띄운다 */

.hd-nav-util {
    display: none;
}

@media screen and (max-width: 1023px) {
    .fullscreen-nav .nav-close-btn {
        transform: unset;
    }
    .fullscreen-nav__nav{
        padding: 10px 20px 0;
    }
    .fullscreen-nav__item{
        padding-bottom: 8px;
    }
    .fullscreen-nav__row {
        padding-bottom: 8px;
    }
    .fullscreen-nav__sub{
        display: block;
        transition: max-height 0.35s ease;
        max-height: 0;
        overflow: hidden;
    }
    .fullscreen-nav__row .fullscreen-nav__sub-link, .fullscreen-nav__sub-item > .fullscreen-nav__sub-link {
        padding: 0.6rem 0 0.6rem 0.7rem;
        font-size: 14px;
    }
    .fullscreen-nav__item--has-children > .fullscreen-nav__row > .fullscreen-nav__link{
        padding-left: 5px;
    }

    /* 메뉴 목록과 같은 좌우 여백 */
    .hd-nav-util {
        display: block;
        margin-top: 28px;
        padding: 0 20px;
    }

    /* 패널 글자색은 상속으로 안 내려온다 — 흰색을 직접 주고 보더가 그 색을 따라가게 한다 */
    .hd-nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        border: 1px solid currentColor;
        border-radius: 100px;
        color: var(--white-color);
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.02em;
    }
}
