.logo {
    flex: 0 0 150px;
    line-height: 0;
}

.logo a {
    display: block;
    width: 150px;
    height: 46px;
}

.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.foot_logo img {
    display: block;
    height: 46px;
    width: auto;
}

/* 투명 헤더: 흰색 로고 / 밝은 헤더: 컬러 로고 */
.logo .logo_c {
    display: none;
}

header.on .logo .logo_w {
    display: none;
}

header.on .logo .logo_c {
    display: block;
}

header nav .gnb > li > a {
    width: 145px;
    font-size: 1.9rem;
}

header nav .gnb > li .lnb {
    width: max-content;
    min-width: 180px;
    max-width: 300px;
    left: 50%;
    transform: translateX(-50%);
}

header nav .gnb > li .lnb li a {
    padding: 7px 10px;
    line-height: 1.35;
    word-break: keep-all;
}

html[lang="en"] header nav .gnb > li .lnb {
    max-width: 460px;
}

html[lang="en"] header nav .gnb > li .lnb li a {
    padding-right: 18px;
    padding-left: 18px;
    white-space: nowrap;
    word-break: normal;
}

@media (min-width: 1025px) {
    html[lang="en"] .sub_visual .lnb_wrap .lnb_lst li a {
        display: flex;
        height: 75px;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        font-size: clamp(1.35rem, 1.25vw, 1.7rem);
        line-height: 1.35;
        white-space: nowrap;
    }

    html[lang="en"] .sub_visual .lnb_wrap .lnb_lst .lnb-item-product_integrated_hmi {
        flex: 1.75;
    }
}

.all_menu .gnb > li > .lnb a {
    line-height: 1.45;
    word-break: keep-all;
}

.sec04 .news_wrap .news_box li a .date::before {
    display: none;
}

footer .foot_info dd {
    word-break: keep-all;
}

@media (max-width: 1280px) {
    header nav .gnb > li > a {
        width: 126px;
        font-size: 1.7rem;
    }
}

@media (max-width: 1024px) {
    .logo {
        flex-basis: 130px;
    }

    .logo a {
        width: 130px;
        height: 40px;
    }

    .logo .logo_w {
        display: none;
    }

    .logo .logo_c {
        display: block;
    }

    body.scrollLock .logo .logo_w {
        display: block;
    }

    body.scrollLock .logo .logo_c {
        display: none;
    }
}

@media (max-width: 640px) {
    .logo {
        flex-basis: 117px;
    }

    .logo a {
        width: 117px;
        height: 36px;
    }
}

/* 메인 팝업레이어 */
#hd_pop {
    position: fixed;
    inset: 0;
    z-index: 12000;
    width: 100%;
    height: 0;
    pointer-events: none;
}

#hd_pop > h2 {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
}

#hd_pop .sound_only {
    position: absolute !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

#hd_pop .hd_pops {
    position: absolute;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    border: 1px solid rgba(18, 42, 67, .14);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(3, 17, 30, .28);
    pointer-events: auto;
}

#hd_pop .hd_pops_con {
    max-width: 100%;
    overflow: auto;
    box-sizing: border-box;
    background: #fff;
}

#hd_pop .hd_pops_con img {
    max-width: 100%;
    height: auto;
}

#hd_pop .hd_pops_footer {
    display: flex;
    min-height: 48px;
    background: #173451;
}

#hd_pop .hd_pops_footer button {
    min-width: 0;
    padding: 0 16px;
    color: #fff;
    font-size: 13px;
}

#hd_pop .hd_pops_reject {
    flex: 1;
    color: rgba(255, 255, 255, .82);
    text-align: left;
}

#hd_pop .hd_pops_close {
    flex: 0 0 auto;
    border-left: 1px solid rgba(255, 255, 255, .16);
    font-weight: 700;
}

#hd_pop .hd_pops_footer button:hover {
    background: rgba(255, 255, 255, .1);
}

@media (max-width: 768px) {
    #hd_pop .hd_pops {
        top: 76px !important;
        right: 12px;
        left: 12px !important;
        width: auto;
        max-width: none;
    }

    #hd_pop .hd_pops_con {
        width: 100% !important;
        height: auto !important;
        max-height: calc(100vh - 148px);
    }

    #hd_pop .hd_pops_footer {
        min-height: 46px;
    }

    #hd_pop .hd_pops_footer button {
        padding: 0 12px;
        font-size: 12px;
    }
}

/* 우측 하단 플로팅 퀵메뉴 */
.iprism-quick {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.iprism-quick__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 168px;
    padding: 14px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(7, 19, 31, 0.18);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease;
}

.iprism-quick__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(7, 19, 31, 0.22);
}

.iprism-quick__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.iprism-quick__btn--kakao {
    background: #FEE500;
    color: #191919;
}

.iprism-quick__btn--consult {
    background: var(--color-primary);
    color: #fff;
}

@media (max-width: 640px) {
    .iprism-quick {
        right: 16px;
        bottom: 16px;
    }

    .iprism-quick__btn {
        min-width: 0;
        padding: 12px 14px;
        font-size: 1.35rem;
    }

    .iprism-quick__label {
        display: none;
    }

    .iprism-quick__btn {
        width: 48px;
        height: 48px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }
}
