/* ov_common.css 배포일:2026.04.26 20:28:45 */ 
@charset "utf-8";


/* ========================================
   Header Override
   - 첫 번째 header.css 후순위 import용
======================================== */

#header .header-mobile .logo-mobile {
	width:180px;
	aspect-ratio: 245 / 52;
}

/* 첫 번째 CSS의 padding-bottom 제거 */
#header .gnb {
    --gnb-height: 80px;
    position: relative;
    display: flex;
    gap: clamp(20px, 2.5vw, 56px);
    padding-bottom: 0;
}

/* 1depth 줄바꿈 방지 유지 + Figma 크기 적용 */
#header .gnb .depth1 > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(15px, calc(12px + 1.15vw), 21px);
    font-weight: 500;
    color: #222;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -0.84px;
}

#header .gnb .depth1.is-active > a,
#header .gnb .depth1 > a:hover {
    color: #01375a;
    font-weight: 700;
}

#header.is-open .gnb::before {
    background: #fff;
    box-shadow:none;
}

/* 메가메뉴 wrap: 첫 번째 CSS의 파란 배경/큰 padding 덮어쓰기 */
#header .gnb .depth2-wrap {
    position: fixed;
    left: 50%;
    top: 80px;
    display: none;
    width: 100%;
    margin: 0 auto;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 clamp(16px, 4vw, 40px);
    border-top: 1px solid #f6f6f6;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
    z-index: 999;
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

#header .gnb .depth1.is-open .depth2-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* 첫 번째 CSS의 flex / 727px 구조 덮어쓰기 */
#header .gnb .depth2 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    align-items: start;
    gap: 0;
    box-sizing: border-box;
}

#header .gnb .depth2 > li {
    margin: 0;
    min-width: 0;
    border-right: 1px solid #f6f6f6;
    padding: 24px 8px 24px 0;
    box-sizing: border-box;
}

#header .gnb .depth2 > li:nth-child(5n),
#header .gnb .depth2 > li:last-child {
    border-right: none;
}

/* depth3 없는 메뉴 */
#header .gnb .depth2 > li:not(.has-depth3) > a {
    display: flex;
    align-items: flex-end;
    padding: 10px 20px;
    margin: 0;
    font-family: 'Pretendard', 'Pretendard Variable', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #01375a;
    text-align: left;
    white-space: normal;
    letter-spacing: -0.36px;
    box-sizing: border-box;
}

/* 첫 번째 CSS의 :has hover 규칙 무력화 */
#header .gnb .depth2 > li:not(.has-depth3) > a:hover,
#header .gnb .depth2 > li:not(.has-depth3) > a:focus {
    color: #01375a;
}

/* depth3 있는 메뉴 제목 */
#header .gnb .depth2 > li.has-depth3 > a {
    display: flex;
    align-items: flex-end;
    padding: 10px 20px;
    margin: 0 0 10px;
    font-family: 'Pretendard', 'Pretendard Variable', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #01375a;
    text-align: left;
    white-space: normal;
    letter-spacing: -0.36px;
    cursor: default;
    box-sizing: border-box;
}

#header .gnb .depth2 > li.has-depth3 > a[href="#"] {
    pointer-events: none;
}

/* depth3 */
#header .gnb .depth3 {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#header .gnb .depth3 li a {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 20px;
    font-family: 'Pretendard', 'Pretendard Variable', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    text-align: left;
    white-space: normal;
    letter-spacing: -0.32px;
    border-left: 2px solid transparent;
    box-sizing: border-box;
    transition: border-color 0.15s ease, color 0.15s ease, font-weight 0.15s ease;
}

#header .gnb .depth3 li a:hover,
#header .gnb .depth3 li a:focus,
#header .gnb .depth3 li a:focus-visible {
    font-weight: 700;
    color: #01375a;
    border-left-color: #01375a;
}

/* 1440px 중앙 정렬 헤더 */
#header .header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    min-height: 80px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

#header .header-main-inner .logo {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    flex: 0 0 auto;
    width: 245px;
    height: 52px;
	background-size:170px 40px;
	background-position:center;
}

#header .header-main-inner .layout {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    justify-content: center;
}

#header .header-main-inner .header-util {
    position: static;
    right: auto;
    top: auto;
    flex: 0 0 auto;
}

#header .header-main-inner .btn-login {
    display: inline-flex;
    width: auto;
    min-width: 0;
    height: 36px;
    padding: 2px 16px;
    border-radius: 20px;
    border: 1px solid #828e92;
    background: #fff;
    color: #222;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.72px;
    line-height: 1.6;
    text-decoration: none;
    box-sizing: border-box;
}

/* 언어 버튼 텍스트형 */
#header .header-main-inner .language-btn.language-btn--text {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 0;
    height: 36px;
    padding: 2px 8px;
    border: none;
    border-radius: 20px;
    background: transparent none;
    cursor: pointer;
}

#header .language-btn__label {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.72px;
    color: #222;
    line-height: 1.6;
    pointer-events: none;
}

#header .language-btn__chevron {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #222;
    flex-shrink: 0;
    opacity: 0.85;
    pointer-events: none;
    transition: transform 0.2s ease;
}

#header .language-btn.language-btn--text.active .language-btn__chevron {
    transform: rotate(180deg);
}

#header .header-main-inner .language-btn.language-btn--text .language-list {
    left: auto;
    right: -15px;
	width: 100px;
}

/* tablet */
@media screen and (max-width: 1250px) and (min-width: 751px) {
    #header .header-main-inner .logo {
        width: 160px;
        height: 42px;
    }

    #header .gnb .depth1 > a {
        font-size: 14px;
        letter-spacing: -0.56px;
    }

    #header .header-main-inner .btn-login {
        height: 34px;
        padding: 2px 12px;
        font-size: 16px;
        letter-spacing: -0.56px;
    }

    #header .header-main-inner .language-btn.language-btn--text {
        height: 34px;
        padding: 2px 6px;
        gap: 8px;
    }

    #header .language-btn__label {
        font-size: 16px;
        letter-spacing: -0.56px;
    }

    #header .gnb .depth2 > li:not(.has-depth3) > a,
    #header .gnb .depth2 > li.has-depth3 > a {
        font-size: 17px;
    }

    #header .gnb .depth3 li a {
        font-size: 15px;
    }

}

@media screen and (max-width: 750px) {

	#header .header-main-inner {
		justify-content: center;
	}

	body.sitemap-open #header .header-util .btn-login {
		background:none;
		color:#fff;
	}

	body.sitemap-open #header .btn-icon.language-btn {
		background:none;
	}
	#header .language-btn__label {
		color:#fff;
	}
	#header .language-btn__chevron {
		border-top-color : #fff;
	}
}



/* ========================================
   Footer Override
   - common.css 후순위 import용
   - 신규: .footer-top-bar 구조
   - 기존: .footer-bg + .footer-content 구조 유지
======================================== */

/* 기본 footer 초기화 */
#footer {
    position: relative;
    background: #1d2a40;
    height: auto;
    padding: 0;
    overflow: visible;
}

/* 기존 footer 구조일 때는 common.css 형태 유지 */
#footer:has(> .footer-bg) {
    height: 440px;
    background: #1C3456;
    overflow: hidden;
}

#footer .footer-bg {
    top: 0;
}

/* 기존 footer select와 신규 footer select 충돌 방지 */
#footer .footer-content .footer-site-select {
    width: 100%;
    min-width: 220px;
    min-height: 44px;
    padding: 10px 40px 10px 16px;
    font-size: 14px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

/* ========================================
   신규 상단 네비형 Footer
======================================== */

#footer:has(.footer-top-bar) {
    background: #1d2a40;
    height: auto;
    padding: 0;
    overflow: visible;
}

#footer:has(.footer-top-bar) .footer-top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#footer:has(.footer-top-bar) .footer-top-nav {
    display: flex;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

#footer:has(.footer-top-bar) .footer-top-nav a {
    flex: 1 1 0;
    min-width: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 4px 20px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 500;
    color: #f7f7f7;
    letter-spacing: -0.32px;
    line-height: 1.6;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

#footer:has(.footer-top-bar) .footer-top-nav a:last-child {
    border-right: none;
}

#footer:has(.footer-top-bar) .footer-top-nav a:hover,
#footer:has(.footer-top-bar) .footer-top-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    color: #f7f7f7;
}

#footer:has(.footer-top-bar) .footer-top-nav-text {
    flex: 1 1 auto;
    min-width: 0;
}

#footer:has(.footer-top-bar) .footer-top-nav-chevron {
    display: none;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M8 6l4 4-4 4' stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

#footer:has(.footer-top-bar) .footer-body {
    position: relative;
    z-index: 1;
}

#footer:has(.footer-top-bar) .footer-body-inner {
    display: flex;
    align-items: flex-start;
    gap: 69px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 0 64px;
    box-sizing: border-box;
}

#footer:has(.footer-top-bar) .footer-brand {
    flex-shrink: 0;
    width: 300px;
    display: block;
    line-height: 0;
}

#footer:has(.footer-top-bar) .footer-brand img {
    height: 32px;
    width: auto;
    max-width: 249px;
    object-fit: contain;
    object-position: left center;
}

#footer:has(.footer-top-bar) .footer-columns {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px 40px;
}

#footer:has(.footer-top-bar) .footer-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 468px;
}

#footer:has(.footer-top-bar) .footer-policies {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer:has(.footer-top-bar) .footer-policies a {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.56px;
    line-height: 1.6;
    text-decoration: none;
    white-space: nowrap;
}

#footer:has(.footer-top-bar) .footer-policies a:hover,
#footer:has(.footer-top-bar) .footer-policies a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

#footer:has(.footer-top-bar) .footer-policy-em {
    font-weight: 700;
}

#footer:has(.footer-top-bar) .footer-detail {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.56px;
    line-height: 1.6;
    opacity: 0.4;
}

#footer:has(.footer-top-bar) .footer-detail p {
    margin: 0;
}

#footer:has(.footer-top-bar) .footer-site-col {
    flex-shrink: 0;
}

#footer:has(.footer-top-bar) .footer-site-select-wrap {
    width: auto;
}

#footer:has(.footer-top-bar) .footer-site-select {
    box-sizing: border-box;
    width: auto;
    min-width: 160px;
    min-height: auto;
    padding: 8px 40px 8px 16px;
    font-size: 16px;
    font-weight: 400;
    color: #282828;
    letter-spacing: -0.32px;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    color-scheme: light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4' fill='none'%3E%3Cpath d='M0.5 0.5L4 3.5L7.5 0.5' stroke='%23282828' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 8px 4px;
}

#footer:has(.footer-top-bar) .footer-site-select option {
    color: #222;
    background-color: #fff;
}

#footer:has(.footer-top-bar) .footer-site-select option:disabled {
    font-weight: 700;
    color: #1d2a40;
}

/* ========================================
   Mobile / Tablet
======================================== */

@media screen and (max-width: 1200px) {
    #footer:has(.footer-top-bar) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 48px;
        padding-bottom: 32px;
    }

    #footer:has(.footer-top-bar) .footer-top-bar {
        align-self: stretch;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
    }

    #footer:has(.footer-top-bar) .footer-top-nav {
        flex-direction: column;
        flex-wrap: nowrap;
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0;
        border: none;
    }

    #footer:has(.footer-top-bar) .footer-top-nav a {
        flex: none;
        width: 100%;
        height: 56px;
        padding: 0 16px;
        justify-content: space-between;
        font-size: 16px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #footer:has(.footer-top-bar) .footer-top-nav-chevron {
        display: block;
    }

    #footer:has(.footer-top-bar) .footer-body {
        width: 100%;
        align-self: stretch;
    }

    #footer:has(.footer-top-bar) .footer-body-inner {
        flex-direction: column;
        align-items: center;
        gap: 48px;
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0 16px;
        box-sizing: border-box;
    }

    #footer:has(.footer-top-bar) .footer-brand {
        width: auto;
        align-self: center;
    }

    #footer:has(.footer-top-bar) .footer-brand img {
        height: 28px;
        max-width: 213px;
        margin: 0 auto;
        display: block;
        object-position: center;
    }

    #footer:has(.footer-top-bar) .footer-columns {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 360px;
        gap: 0;
    }

    #footer:has(.footer-top-bar) .footer-site-col {
        display: none;
    }

    #footer:has(.footer-top-bar) .footer-info-col {
        width: 100%;
        max-width: 360px;
        align-items: stretch;
        text-align: center;
        gap: 48px;
    }

    #footer:has(.footer-top-bar) .footer-policies {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    #footer:has(.footer-top-bar) .footer-policies li {
        display: block;
        width: 100%;
    }

    #footer:has(.footer-top-bar) .footer-policies a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 10px 0;
        font-size: 14px;
        font-weight: 700;
        white-space: normal;
        text-align: center;
    }

    #footer:has(.footer-top-bar) .footer-detail {
        text-align: center;
        width: 100%;
        font-size: 14px;
        line-height: 1.6;
    }
}