@charset "UTF-8";

/* ============================================================
   서브페이지 전용 헤더
   - 일반 head.php와 별도로 /theme/weevon/head_sub.php에서만 사용
   - 상단 비주얼 이미지는 헤더 아래가 아니라 헤더 뒤 배경처럼 깔립니다.
   ============================================================ */

#hd.wv-sub-header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: transparent !important;
    border-bottom: 0 !important;
    z-index: 9999;
}

#hd.wv-sub-header #hd_wrapper {
    max-width: 1500px;
}

#hd.wv-sub-header #gnb {
    background: transparent !important;
    box-shadow: none !important;
}

#hd.wv-sub-header.wv-sub-header-white .gnb_1da,
#hd.wv-sub-header.wv-sub-header-white .hd_login a {
    color: #fff;
}

#hd.wv-sub-header.wv-sub-header-white #hd_wrapper .hd_login li > a {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.18);
    color: #fff;
}

#hd.wv-sub-header.wv-sub-header-white #hd_wrapper .hd_login li:first-child > a {
    background: rgba(255,255,255,0.9);
    color: #222;
}

/* 상단 비주얼: 이미지를 통째로 사용하는 구조 */
.wv-sub-visual {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    background: #0b2740;
}

.wv-sub-visual picture,
.wv-sub-visual img {
    display: block;
    width: 100%;
}

.wv-sub-visual img {
    height: auto;
    min-height: 300px;
    object-fit: cover;
}

.wv-sub-visual-empty {
    height: 360px;
    padding-top: 110px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    line-height: 1.5;
    text-align: center;
    background: linear-gradient(135deg, #0c2440, #254c78);
}

.wv-sub-visual-empty strong {
    font-size: 36px;
}

.wv-sub-visual-empty span {
    font-size: 14px;
    opacity: 0.75;
}

/* 현재 위치 네비 */
.wv-sub-location {
    position: relative;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e7ebf0;
    z-index: 100;
}

.wv-sub-location-inner {
    max-width: 1500px;
    margin: 0 auto;
    height: 56px;
    display: flex;
    align-items: stretch;
    border-left: 1px solid #e7ebf0;
}

.wv-location-home {
    width: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    text-decoration: none;
    border-right: 1px solid #e7ebf0;
    font-size: 18px;
}

.wv-location-select {
    position: relative;
    width: 230px;
    border-right: 1px solid #e7ebf0;
}

.wv-location-select button {
    position: relative;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
    padding: 0 42px 0 22px;
    text-align: left;
    color: #222;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
}

.wv-location-select button i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.wv-location-select ul {
    display: none;
    position: absolute;
    left: -1px;
    top: 56px;
    width: calc(100% + 1px);
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e7ebf0;
    box-shadow: 0 14px 24px rgba(0,0,0,0.08);
    z-index: 300;
}

.wv-location-select:hover ul,
.wv-location-select:focus-within ul {
    display: block;
}

.wv-location-select li a {
    display: block;
    padding: 11px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
}

.wv-location-select li a:hover,
.wv-location-select li a.active {
    color: var(--main-color);
    background: #f5f8fb;
}

/* 본문 영역 */
.wv-sub-wrapper {
    width: 100%;
}

.wv-sub-container-wr {
    width: 100%;
}

.wv-sub-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#sub-page-container {
    width: 100%;
    overflow: hidden;
}

.sub-page-section {
    width: 100%;
}

.sub-img-wrap {
    width: 100%;
    line-height: 0;
    display: block;
}

.sub-img-wrap picture,
.sub-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.sub-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.sub-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    #hd.wv-sub-header #gnb {
        display: none;
    }

    #hd.wv-sub-header .mob-hd-right {
        display: flex;
    }
}

@media screen and (max-width: 768px) {
    #hd.wv-sub-header #hd_wrapper .gnb-container {
        height: 76px;
    }

    #hd.wv-sub-header #logo > a > img {
        height: 34px;
    }

    .wv-sub-visual img {
        min-height: 220px;
    }

    .wv-sub-location-inner {
        height: 52px;
        border-left: 0;
    }

    .wv-location-home {
        width: 52px;
        flex-shrink: 0;
    }

    .wv-location-select {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .wv-location-select button {
        padding: 0 32px 0 12px;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wv-location-select ul {
        top: 52px;
    }
}


/* ============================================================
   서브페이지 상단: 흰색 GNB / 전용 로고 강제 적용
   - 원본 head.css에 !important가 많아서 더 강한 선택자로 덮어씁니다.
   ============================================================ */
#hd.wv-sub-header.wv-sub-header-white #gnb .gnb_1da,
#hd.wv-sub-header.wv-sub-header-white #gnb .gnb_1dli > a,
#hd.wv-sub-header.wv-sub-header-white #gnb .gnb_1dli.hassub > a,
#hd.wv-sub-header.wv-sub-header-white #gnb .hassub.on .gnb_1da {
    color: #fff !important;
}

#hd.wv-sub-header.wv-sub-header-white #hd_wrapper .hd_login li > a,
#hd.wv-sub-header.wv-sub-header-white #hd_wrapper .hd_login li:first-child > a,
#hd.wv-sub-header.wv-sub-header-white #hd_wrapper .hd_login a {
    color: #fff !important;
    background: transparent !important;
    border-color: transparent !important;
}

#hd.wv-sub-header.wv-sub-header-white #hd_wrapper .hd_login li + li::before {
    color: #fff !important;
}

#hd.wv-sub-header #logo > a > img.sub-mode-logo {
    height: 42px;
    width: auto;
    display: block;
}

/* 모바일 햄버거 점 색상도 서브 상단에서는 흰색 */
#hd.wv-sub-header.wv-sub-header-white #menu-btn span {
    background: #fff !important;
}


/* ============================================================
   01xx 병원소개 페이지: 기존 로고 / 기존 GNB 텍스트 색상
   - head_sub.php는 그대로 쓰되 01xx에서만 기존 헤더 색상으로 되돌립니다.
   ============================================================ */
#hd.wv-sub-header.wv-sub-header-normal #gnb .gnb_1da,
#hd.wv-sub-header.wv-sub-header-normal #gnb .gnb_1dli > a,
#hd.wv-sub-header.wv-sub-header-normal #gnb .gnb_1dli.hassub > a {
    color: #111 !important;
}

#hd.wv-sub-header.wv-sub-header-normal #gnb .hassub.on .gnb_1da {
    color: var(--main-color) !important;
}

#hd.wv-sub-header.wv-sub-header-normal #hd_wrapper .hd_login li + li::before {
    color: #111 !important;
}

#hd.wv-sub-header.wv-sub-header-normal #hd_wrapper .hd_login li > a,
#hd.wv-sub-header.wv-sub-header-normal #hd_wrapper .hd_login li:first-child > a,
#hd.wv-sub-header.wv-sub-header-normal #hd_wrapper .hd_login a {
    color: #111 !important;
    background: transparent !important;
    border-color: transparent !important;
}

#hd.wv-sub-header.wv-sub-header-normal #menu-btn span {
    background: var(--main-color) !important;
}

#hd.wv-sub-header.wv-sub-header-normal #logo > a > img.light-mode-logo {
    height: 42px;
    width: auto;
    display: block;
}

/* ============================================================
   v7 모바일 서브 헤더 / 현재위치 네비 디자인 보정
   - 모바일 상단: 좌측 로고 / 우측 전화 + 햄버거
   - 현재위치: 시안처럼 라운드 박스형 네비
   ============================================================ */

/* 현재 위치 네비: 라운드 카드형 */
.wv-sub-location {
    background: #fff !important;
    border: 0 !important;
    padding: 34px 0 !important;
    z-index: 200 !important;
}

.wv-sub-location-inner {
    max-width: 1400px !important;
    width: calc(100% - 180px) !important;
    height: 112px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: stretch !important;
    gap: 16px !important;
    border-left: 0 !important;
}

.wv-location-home {
    width: 126px !important;
    height: 100% !important;
    flex: 0 0 126px !important;
    border: 1px solid #b8b8b8 !important;
    border-radius: 18px !important;
    color: #8a8a8a !important;
    background: #fff !important;
    font-size: 42px !important;
    box-sizing: border-box !important;
}

.wv-location-home i {
    line-height: 1 !important;
}

.wv-location-select {
    position: relative !important;
    flex: 1 1 0 !important;
    width: auto !important;
    height: 100% !important;
    min-width: 0 !important;
    border: 1px solid #b8b8b8 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.wv-location-select button {
    width: 100% !important;
    height: 100% !important;
    padding: 0 78px 0 46px !important;
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
}

.wv-location-select button i {
    right: 42px !important;
    font-size: 34px !important;
    color: #777 !important;
}

.wv-location-select ul {
    top: calc(100% + 8px) !important;
    left: 0 !important;
    width: 100% !important;
    border: 1px solid #d6d6d6 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    padding: 8px 0 !important;
    box-shadow: 0 16px 30px rgba(0,0,0,0.10) !important;
    box-sizing: border-box !important;
}

.wv-location-select li a {
    padding: 17px 28px !important;
    font-size: 19px !important;
    color: #333 !important;
}

.wv-location-select li a:hover,
.wv-location-select li a.active {
    color: var(--main-color) !important;
    background: #f3f6fa !important;
}

/* 서브 전용 모바일 헤더: 기존 head.css의 중앙 로고/좌측 햄버거를 덮어쓰기 */
@media screen and (max-width: 768px) {
    #hd.wv-sub-header {
        height: 82px !important;
        background: transparent !important;
        border-bottom: 0 !important;
    }

    #hd.wv-sub-header #hd_wrapper {
        width: 100% !important;
        max-width: 100% !important;
        height: 82px !important;
        padding: 0 34px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    #hd.wv-sub-header #hd_wrapper .gnb-container {
        height: 82px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
        overflow: visible !important;
    }

    #hd.wv-sub-header #gnb,
    #hd.wv-sub-header #hd_wrapper .hd_login {
        display: none !important;
    }

    #hd.wv-sub-header #logo,
    #hd.wv-sub-header #logo.logo {
        position: static !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 !important;
        width: auto !important;
        height: auto !important;
        flex: 0 0 auto !important;
        z-index: 10001 !important;
    }

    #hd.wv-sub-header #logo > a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        height: auto !important;
        width: auto !important;
        padding: 0 !important;
    }

    #hd.wv-sub-header #logo > a > img,
    #hd.wv-sub-header #logo > a > img.light-mode-logo,
    #hd.wv-sub-header #logo > a > img.sub-mode-logo {
        position: static !important;
        transform: none !important;
        height: 40px !important;
        width: auto !important;
        max-width: 46vw !important;
        object-fit: contain !important;
        display: block !important;
    }

    #hd.wv-sub-header .mob-hd-right {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: 82px !important;
        margin-left: auto !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 22px !important;
        pointer-events: auto !important;
        flex: 0 0 auto !important;
        z-index: 10002 !important;
    }

    #hd.wv-sub-header .mob-call-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: 34px !important;
        height: 34px !important;
        order: 1 !important;
        pointer-events: auto !important;
        z-index: 10003 !important;
    }

    #hd.wv-sub-header .mob-call-btn img {
        width: 34px !important;
        height: 34px !important;
        object-fit: contain !important;
        display: block !important;
    }

    #hd.wv-sub-header #menu-btn {
        display: block !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 38px !important;
        height: 30px !important;
        order: 2 !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        z-index: 10004 !important;
    }

    #hd.wv-sub-header #menu-btn span {
        display: none !important;
    }

    #hd.wv-sub-header #menu-btn::before,
    #hd.wv-sub-header #menu-btn::after {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        left: 0 !important;
        width: 38px !important;
        height: 3px !important;
        border-radius: 10px !important;
        background: #fff !important;
        transition: all .25s ease !important;
        box-shadow: none !important;
    }

    #hd.wv-sub-header #menu-btn::before {
        top: 8px !important;
    }

    #hd.wv-sub-header #menu-btn::after {
        top: 20px !important;
    }

    #hd.wv-sub-header #menu-btn.active::before {
        top: 14px !important;
        transform: rotate(45deg) !important;
        background: #fff !important;
    }

    #hd.wv-sub-header #menu-btn.active::after {
        top: 14px !important;
        transform: rotate(-45deg) !important;
        background: #fff !important;
    }

    #hd.wv-sub-header.wv-sub-header-white .mob-call-btn img {
        filter: brightness(0) invert(1) !important;
    }

    #hd.wv-sub-header.wv-sub-header-white #menu-btn::before,
    #hd.wv-sub-header.wv-sub-header-white #menu-btn::after {
        background: #fff !important;
    }

    /* 01xx는 기존 컬러 계열 유지 */
    #hd.wv-sub-header.wv-sub-header-normal .mob-call-btn img {
        filter: none !important;
    }

    #hd.wv-sub-header.wv-sub-header-normal #menu-btn::before,
    #hd.wv-sub-header.wv-sub-header-normal #menu-btn::after {
        background: var(--main-color) !important;
    }

    #hd.wv-sub-header.wv-sub-header-normal #menu-btn.active::before,
    #hd.wv-sub-header.wv-sub-header-normal #menu-btn.active::after {
        background: var(--main-color) !important;
    }

    #hd.wv-sub-header #mob-gnb {
        top: 82px !important;
    }

    #hd.wv-sub-header #mob-gnb.on {
        height: calc(100vh - 82px) !important;
    }

    #wrapper.wv-sub-wrapper {
        padding-top: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    #hd.wv-sub-header,
    #hd.wv-sub-header #hd_wrapper,
    #hd.wv-sub-header #hd_wrapper .gnb-container,
    #hd.wv-sub-header .mob-hd-right {
        height: 64px !important;
    }

    #hd.wv-sub-header #hd_wrapper {
        padding: 0 18px !important;
    }

    #hd.wv-sub-header #logo > a > img,
    #hd.wv-sub-header #logo > a > img.light-mode-logo,
    #hd.wv-sub-header #logo > a > img.sub-mode-logo {
        height: 32px !important;
        max-width: 50vw !important;
    }

    #hd.wv-sub-header .mob-hd-right {
        gap: 16px !important;
    }

    #hd.wv-sub-header .mob-call-btn,
    #hd.wv-sub-header .mob-call-btn img {
        width: 28px !important;
        height: 28px !important;
    }

    #hd.wv-sub-header #menu-btn {
        width: 30px !important;
        height: 24px !important;
    }

    #hd.wv-sub-header #menu-btn::before,
    #hd.wv-sub-header #menu-btn::after {
        width: 30px !important;
        height: 3px !important;
    }

    #hd.wv-sub-header #menu-btn::before {
        top: 6px !important;
    }

    #hd.wv-sub-header #menu-btn::after {
        top: 17px !important;
    }

    #hd.wv-sub-header #menu-btn.active::before,
    #hd.wv-sub-header #menu-btn.active::after {
        top: 12px !important;
    }

    #hd.wv-sub-header #mob-gnb {
        top: 64px !important;
    }

    #hd.wv-sub-header #mob-gnb.on {
        height: calc(100vh - 64px) !important;
    }

    .wv-sub-location {
        padding: 18px 0 !important;
    }

    .wv-sub-location-inner {
        width: calc(100% - 24px) !important;
        height: 72px !important;
        gap: 8px !important;
    }

    .wv-location-home {
        width: 72px !important;
        flex-basis: 72px !important;
        border-radius: 12px !important;
        font-size: 30px !important;
    }

    .wv-location-select {
        border-radius: 12px !important;
    }

    .wv-location-select button {
        padding: 0 42px 0 22px !important;
        font-size: 18px !important;
    }

    .wv-location-select button i {
        right: 20px !important;
        font-size: 22px !important;
    }

    .wv-location-select ul {
        top: calc(100% + 6px) !important;
        border-radius: 10px !important;
    }

    .wv-location-select li a {
        padding: 13px 18px !important;
        font-size: 15px !important;
    }
}

@media screen and (max-width: 480px) {
    .wv-sub-location-inner {
        width: calc(100% - 16px) !important;
        height: 62px !important;
        gap: 6px !important;
    }

    .wv-location-home {
        width: 58px !important;
        flex-basis: 58px !important;
        font-size: 25px !important;
    }

    .wv-location-select button {
        padding: 0 34px 0 14px !important;
        font-size: 15px !important;
    }

    .wv-location-select button i {
        right: 14px !important;
        font-size: 18px !important;
    }
}

/* ============================================================
   v8 서브페이지 보정
   1) 모바일에서는 상단 이미지가 헤더 아래부터 시작
   2) 현재 위치 네비 최대 가로값 1200px
   ============================================================ */

/* 현재 위치 네비 최대값 1200 */
.wv-sub-location-inner {
    max-width: 1200px !important;
    width: calc(100% - 40px) !important;
}

@media screen and (max-width: 768px) {
    /* PC는 헤더가 상단 이미지 위에 겹치지만, 모바일/태블릿은 헤더가 자기 높이를 차지하게 함 */
    #hd.wv-sub-header {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        z-index: 9999 !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    /* 02xx 이후 서브페이지: 상단 이미지와 분리되므로 헤더 자체에 어두운 배경 부여 */
    #hd.wv-sub-header.wv-sub-header-white {
        background: #0b2740 !important;
    }

    /* 01xx 페이지: 기존 로고/기존 메뉴 색상 사용, 헤더는 흰 배경 */
    #hd.wv-sub-header.wv-sub-header-normal {
        background: #fff !important;
        border-bottom: 1px solid #e8e8e8 !important;
    }

    /* 헤더가 문서 흐름에 들어오므로 본문 여백은 제거 */
    #wrapper.wv-sub-wrapper {
        padding-top: 0 !important;
    }

    /* 상단 비주얼은 모바일에서 헤더 아래부터 시작 */
    #wv-sub-visual.wv-sub-visual {
        margin-top: 0 !important;
    }

    .wv-sub-visual img {
        min-height: 0 !important;
        height: auto !important;
        object-fit: cover !important;
    }
}

@media screen and (max-width: 768px) {
    .wv-sub-location-inner {
        max-width: 1200px !important;
        width: calc(100% - 24px) !important;
    }
}

@media screen and (max-width: 480px) {
    .wv-sub-location-inner {
        width: calc(100% - 16px) !important;
    }
}

/* ============================================================
   v10 FIX: PC 현재 위치 네비는 기본 바형으로 되돌림
   - v9에서 라운드 카드형 CSS가 media 밖에 있어 PC에도 적용되던 문제 수정
   - PC(769px 이상): 심플한 가로 바 / max-width 1200
   - 모바일(768px 이하): 기존 라운드 카드형 유지
   ============================================================ */
@media screen and (min-width: 769px) {
    .wv-sub-location {
        position: relative !important;
        width: 100% !important;
        background: #fff !important;
        border-top: 1px solid #e7ebf0 !important;
        border-bottom: 1px solid #e7ebf0 !important;
        padding: 0 !important;
        z-index: 200 !important;
    }

    .wv-sub-location-inner {
        max-width: 1200px !important;
        width: 100% !important;
        height: 64px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: stretch !important;
        gap: 0 !important;
        border-left: 1px solid #e7ebf0 !important;
        box-sizing: border-box !important;
    }

    .wv-location-home {
        width: 70px !important;
        height: 100% !important;
        flex: 0 0 70px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 0 !important;
        border-right: 1px solid #e7ebf0 !important;
        border-radius: 0 !important;
        color: #222 !important;
        background: #fff !important;
        font-size: 18px !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
    }

    .wv-location-select {
        position: relative !important;
        width: 220px !important;
        flex: 0 0 220px !important;
        height: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
        border-right: 1px solid #e7ebf0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-sizing: border-box !important;
    }

    .wv-location-select button {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        border: 0 !important;
        background: #fff !important;
        padding: 0 42px 0 22px !important;
        text-align: left !important;
        color: #222 !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        letter-spacing: -0.02em !important;
        line-height: 1.2 !important;
        cursor: pointer !important;
        font-family: inherit !important;
        box-sizing: border-box !important;
    }

    .wv-location-select button i {
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 15px !important;
        color: #777 !important;
    }

    .wv-location-select ul {
        display: none;
        position: absolute !important;
        left: -1px !important;
        top: 64px !important;
        width: calc(100% + 1px) !important;
        margin: 0 !important;
        padding: 8px 0 !important;
        list-style: none !important;
        background: #fff !important;
        border: 1px solid #e7ebf0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
        box-shadow: 0 14px 24px rgba(0,0,0,0.08) !important;
        z-index: 300 !important;
        box-sizing: border-box !important;
    }

    .wv-location-select:hover ul,
    .wv-location-select:focus-within ul {
        display: block !important;
    }

    .wv-location-select li a {
        display: block !important;
        padding: 11px 20px !important;
        color: #555 !important;
        text-decoration: none !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .wv-location-select li a:hover,
    .wv-location-select li a.active {
        color: var(--main-color) !important;
        background: #f5f8fb !important;
    }
}

/* ============================================================
   v11 FIX: 현재위치 네비 화살표 중복 제거
   - 기존 테마 CSS의 button:after 화살표와 XEIcon <i> 화살표가 동시에 출력되는 문제 방지
   - <i>는 숨기고, button::after 하나만 CSS로 그림
   ============================================================ */
.wv-location-select button i {
    display: none !important;
}

.wv-location-select button::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    right: 22px !important;
    top: 50% !important;
    width: 9px !important;
    height: 9px !important;
    margin-top: -6px !important;
    border: 0 !important;
    border-right: 2px solid #777 !important;
    border-bottom: 2px solid #777 !important;
    transform: rotate(45deg) !important;
    background: transparent !important;
    font-family: initial !important;
    font-size: 0 !important;
    line-height: 0 !important;
    pointer-events: none !important;
}

@media screen and (max-width: 768px) {
    .wv-location-select button::after {
        right: 20px !important;
        width: 10px !important;
        height: 10px !important;
        margin-top: -7px !important;
        border-right-width: 2px !important;
        border-bottom-width: 2px !important;
    }
}

@media screen and (max-width: 480px) {
    .wv-location-select button::after {
        right: 14px !important;
        width: 8px !important;
        height: 8px !important;
        margin-top: -6px !important;
    }
}


/* ============================================================
   v12 FIX: 모바일 서브 헤더는 01xx/02xx 모두 기본 모바일 헤더 색상으로 통일
   - PC 02xx 이상: top_logo_sub.png + 흰색 GNB 유지
   - MOBILE 전체: 기본 로고 + 흰 배경 + 진한 전화/햄버거
   ============================================================ */
@media screen and (min-width: 769px) {
    #hd.wv-sub-header.wv-sub-header-white #logo > a > img.light-mode-logo {
        display: none !important;
    }

    #hd.wv-sub-header.wv-sub-header-white #logo > a > img.sub-mode-logo {
        display: block !important;
    }

    #hd.wv-sub-header.wv-sub-header-normal #logo > a > img.light-mode-logo {
        display: block !important;
    }

    #hd.wv-sub-header.wv-sub-header-normal #logo > a > img.sub-mode-logo {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    #hd.wv-sub-header,
    #hd.wv-sub-header.wv-sub-header-white,
    #hd.wv-sub-header.wv-sub-header-normal {
        background: #fff !important;
        border-bottom: 1px solid #e8e8e8 !important;
    }

    #hd.wv-sub-header #logo > a > img.light-mode-logo,
    #hd.wv-sub-header.wv-sub-header-white #logo > a > img.light-mode-logo,
    #hd.wv-sub-header.wv-sub-header-normal #logo > a > img.light-mode-logo {
        display: block !important;
        height: 32px !important;
        width: auto !important;
        max-width: 50vw !important;
        filter: none !important;
    }

    #hd.wv-sub-header #logo > a > img.sub-mode-logo,
    #hd.wv-sub-header.wv-sub-header-white #logo > a > img.sub-mode-logo,
    #hd.wv-sub-header.wv-sub-header-normal #logo > a > img.sub-mode-logo {
        display: none !important;
    }

    #hd.wv-sub-header .mob-call-btn img,
    #hd.wv-sub-header.wv-sub-header-white .mob-call-btn img,
    #hd.wv-sub-header.wv-sub-header-normal .mob-call-btn img {
        filter: none !important;
    }

    #hd.wv-sub-header #menu-btn::before,
    #hd.wv-sub-header #menu-btn::after,
    #hd.wv-sub-header.wv-sub-header-white #menu-btn::before,
    #hd.wv-sub-header.wv-sub-header-white #menu-btn::after,
    #hd.wv-sub-header.wv-sub-header-normal #menu-btn::before,
    #hd.wv-sub-header.wv-sub-header-normal #menu-btn::after,
    #hd.wv-sub-header #menu-btn.active::before,
    #hd.wv-sub-header #menu-btn.active::after,
    #hd.wv-sub-header.wv-sub-header-white #menu-btn.active::before,
    #hd.wv-sub-header.wv-sub-header-white #menu-btn.active::after,
    #hd.wv-sub-header.wv-sub-header-normal #menu-btn.active::before,
    #hd.wv-sub-header.wv-sub-header-normal #menu-btn.active::after {
        background: var(--main-color, #003d7c) !important;
    }
}
