/* searchV2 default - 공통 스타일, GNB, 레이아웃 */
html { overflow-x: hidden; }
body {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #1b1c1f;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body, h1, h2, h3, h4, h5, div, dl, dt, dd, ul, ol, li, fieldset, form, label, p, th, td, input, select, textarea, button {
    margin: 0;
    padding: 0;
}
button, input, select, textarea {
    font-family: inherit;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    vertical-align: middle;
}

/* 모바일 GNB - Figma 457:15098 MoTopNavigation (MO 360~1279) */
.v2-gnb-mo {
    display: none;
    width: 100%;
    height: 48px;
    min-height: 48px;
    background: #fff;
    align-items: center;
    padding: 2px 16px 2px 4px;
    padding-top: calc(2px + env(safe-area-inset-top, 0));
    flex-shrink: 0;
}
.v2-gnb-mo__inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}
.v2-gnb-mo__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 4px;
    border-radius: 8px;
    color: #1b1c1f;
    text-decoration: none;
}
.v2-gnb-mo__back:hover {
    background: rgba(0, 0, 0, 0.04);
}
.v2-gnb-mo__backIcon {
    width: 24px;
    height: 24px;
}

/* GNB - Figma 222:9188 */
.v2-gnb {
    width: 100%;
    height: 59px;
    background: #fff;
    border-bottom: 1px solid #e9eaef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.v2-gnb__inner {
    max-width: 1280px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-sizing: border-box;
}
.v2-gnb__logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}
a.v2-gnb__logoText,
a.v2-gnb__logoText:link,
a.v2-gnb__logoText:visited,
a.v2-gnb__logoText:hover,
a.v2-gnb__logoText:focus,
a.v2-gnb__logoText:active {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #3c3d40;
    text-decoration: none;
    border-bottom: none;
}
.v2-gnb__tabs {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    height: 100%;
}
.v2-gnb__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    height: 60px;
}
.v2-gnb__tab a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 57px;
    padding: 20px 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #1b1c1f;
    text-decoration: none;
    white-space: nowrap;
}
.v2-gnb__tab.v2-gnb__tab--active a {
    font-weight: 700;
    color: #4154ff;
    height: 58px;
}
.v2-gnb__tabIndicator {
    display: none;
    width: 100%;
    min-width: 34px;
    height: 2px;
    background: #4154ff;
    flex-shrink: 0;
}
.v2-gnb__tab.v2-gnb__tab--active .v2-gnb__tabIndicator {
    display: block;
}

/* 메인 컨테이너 */
.v2-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* MOBILE: 360 ~ 1279px (Figma MO) */
@media only screen and (min-width: 360px) and (max-width: 799px) {
    .v2-gnb-mo {
        display: flex;
    }
    .v2-gnb {
        display: none;
    }
    .v2-container {
        width: 100%;
        padding: 0;
        min-height: calc(100vh - 48px);
    }
}

@media only screen and (max-width: 1279px) {
    .v2-gnb__inner {
        width: 100%;
        padding: 0 16px;
    }
    .v2-container {
        width: 100%;
        padding: 0 16px;
    }
    .v2-gnb__tabs {
        gap: 24px;
    }
}
@media only screen and (min-width: 360px) and (max-width: 1279px) {
    .v2-container {
        padding: 0;
    }
}

@media only screen and (max-width: 639px) {
    .v2-gnb__tabs {
        gap: 16px;
    }
    .v2-gnb__tab a {
        font-size: 14px;
        line-height: 17px;
    }
    .v2-gnb__logoText {
        font-size: 18px;
        line-height: 21px;
    }
}

@media only screen and (min-width: 1280px) {
    .v2-gnb-mo {
        display: none;
    }
}
