/* 헤더와 모바일 메뉴의 로고 비율·회원 링크 */
.site-header__brand { flex: 0 1 212px; min-width: 0; max-width: calc(100% - 52px); margin: 0; }
.site-header__brand > a { display: flex; align-items: center; height: 48px; overflow: hidden; }
.site-header__logo { display: block; width: 100%; height: auto; max-width: 212px; flex-shrink: 0; object-fit: contain; }
.site-header__search { min-width: 0; }
.site-header__actions { flex-shrink: 0; }
.mobile-nav { width: 360px; height: 100dvh; overscroll-behavior: contain; }
.mobile-nav__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid #e5e7eb; }
.mobile-nav__brand { display: flex; align-items: center; flex: 0 1 224px; min-width: 0; height: 48px; overflow: hidden; }
.mobile-nav__logo { display: block; width: 100%; height: auto; max-width: 224px; flex-shrink: 0; object-fit: contain; }
.mobile-nav #m_nav_close { flex-shrink: 0; }
.mobile-nav__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 16px 20px; }
.mobile-nav__action { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 40px; padding: 8px 12px; border-radius: 9999px; background: #0029a6; color: #fff; font-size: 13px; font-weight: 500; line-height: 20px; text-decoration: none; white-space: nowrap; }
.mobile-nav__action i { font-size: 16px; line-height: 20px; }
.mobile-nav__action:hover { background: #001f7d; }
.mobile-nav__action:focus-visible { outline: 2px solid #0029a6; outline-offset: 3px; }
@media (max-width: 359px) { .mobile-nav__action { padding-right: 9px; padding-left: 9px; } }
@media (min-width: 1024px) {
    .site-header__brand { flex-basis: 240px; max-width: 240px; }
    .site-header__brand > a { height: 80px; }
    .site-header__logo { max-width: 240px; }
}
