/* 토양자원 한/영 언어 전환 */
#header { position: relative; }

.tj-lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2100;
}

.tj-lang-switch__item {
    display: block;
    width: 30px;
    height: 20px;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    line-height: 0;
    text-decoration: none;
    box-sizing: border-box;
    opacity: .72;
    transition: opacity .18s ease, transform .18s ease;
}

.tj-lang-switch__item img {
    display: block;
    width: 30px;
    height: 20px;
    max-width: none;
    object-fit: cover;
    border: 0;
}

.tj-lang-switch__item:hover,
.tj-lang-switch__item.is-active {
    opacity: 1;
}

.tj-lang-switch__item:hover {
    transform: translateY(-1px);
}

/* PC : 우측 상단 */
.tj-lang-switch--pc {
    position: absolute;
    top: 31px;
    right: 22px;
}

.tj-lang-switch--mobile {
    display: none;
}

/* 영문은 긴 단어가 메뉴 폭을 밀지 않도록 방어 */
.lang-en #lnb .depth2 a,
.lang-en .snavi_area .snavi_gn ul li a {
    word-break: keep-all;
    overflow-wrap: normal;
}
.lang-en #lnb .depth2 a {
    font-size: 13px;
    letter-spacing: -.02em;
}

@media screen and (max-width: 1399px) {
    .tj-lang-switch--pc {
        display: none;
    }

    /* 모바일 : 햄버거는 기존 최우측 위치를 유지하고 언어전환은 그 왼쪽에 배치 */
    .tj-lang-switch--mobile {
        display: flex;
        position: fixed;
        top: 19px;
        right: 76px;
        gap: 5px;
    }

    .tj-lang-switch--mobile .tj-lang-switch__item,
    .tj-lang-switch--mobile .tj-lang-switch__item img {
        width: 30px;
        height: 20px;
    }

    /* 중요: #btn-menu-m의 right 값을 건드리지 않아 햄버거가 가장 오른쪽에 위치 */
}

@media screen and (max-width: 480px) {
    .tj-lang-switch--mobile {
        top: 17px;
        right: 72px;
        gap: 4px;
    }
}
