@charset "utf-8";

/*
    공통 CONTACT Branch-B CSS

    유지보수 기준:
    - 카페24 모듈을 사용하지 않습니다.
    - 국기, 국가명, SNS 링크를 정적 HTML로 직접 관리합니다.
    - 모든 선택자는 .branchGlobalContact 하위로만 작성합니다.

    수정 가능:
    - 카드 폭, 아이콘 크기, 언어명 크기, 카드 간격, 모바일 여백
    - 텍스트 폰트는 디자인 시스템 기준 Pretendard를 최우선으로 고정합니다.

    수정 금지:
    - section, h1, .ons_inner, #contents 같은 전역 선택자
    - branchGlobalContact__* 클래스명
*/

.branchGlobalContact {
    margin-top: 80px;
    padding: 0 16px 0;
    background: var(--mono-ff);
    font-family: "Pretendard", "맑은 고딕", "malgun gothic", "돋움", "dotum", sans-serif;
    text-align: center;
    box-sizing: border-box;
    /*
        [공통 이동 보정 예정]
        탭메뉴 클릭 시 sticky header에 섹션 제목이 가려지지 않게 하는 값입니다.
        여러 지점에서 완전히 동일할 때만 나중에 common CSS로 이동합니다.
    */
    scroll-margin-top: 120px;
}

.branchGlobalContact * {
    font-family: inherit;
}

.branchGlobalContact .branchGlobalContact__inner {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.branchGlobalContact .branchGlobalContact__heading {
    margin-bottom: 36px;
}

.branchGlobalContact .branchGlobalContact__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--mono-2-95);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0;
}

.branchGlobalContact .branchGlobalContact__title {
    margin: 0;
    color: var(--font-color-base);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.branchGlobalContact .branchGlobalContact__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.branchGlobalContact .branchGlobalContact__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 14px 24px;
    border-radius: 42px;
    background: var(--mono-5-f6);
    box-shadow: 0 4px 4px rgba(0, 0, 0, .05);
    box-sizing: border-box;
}

.branchGlobalContact .branchGlobalContact__language {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 22px;
    text-align: left;
}

.branchGlobalContact .branchGlobalContact__flag {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--mono-ff);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.branchGlobalContact .branchGlobalContact__flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.branchGlobalContact .branchGlobalContact__language strong {
    display: block;
    min-width: 0;
    color: var(--font-color-base);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    word-break: keep-all;
}

.branchGlobalContact .branchGlobalContact__links {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.branchGlobalContact .branchGlobalContact__sns {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mono-ff);
    color: var(--font-color-base);
    font-family: inherit;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
    box-sizing: border-box;
    transition: transform .25s ease, box-shadow .25s ease;
}

.branchGlobalContact .branchGlobalContact__sns img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .branchGlobalContact .branchGlobalContact__sns:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, .14);
    }
}

@media (max-width: 767px) {
    .branchGlobalContact {
        margin-top: 60px;
        padding: 0 16px 0;
        scroll-margin-top: 150px;
    }

    .branchGlobalContact .branchGlobalContact__heading {
        margin-bottom: 28px;
    }

    .branchGlobalContact .branchGlobalContact__title {
        font-size: 26px;
    }

    .branchGlobalContact .branchGlobalContact__item {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
        min-height: 64px;
        padding: 8px 12px;
        border-radius: 37px;
    }

    .branchGlobalContact .branchGlobalContact__language {
        flex: 1 1 auto;
        gap: 12px;
        width: auto;
    }

    .branchGlobalContact .branchGlobalContact__flag {
        width: 34px;
        height: 34px;
    }

    .branchGlobalContact .branchGlobalContact__flag img {
        width: 34px;
        height: 34px;
    }

    .branchGlobalContact .branchGlobalContact__language strong {
        font-size: 16px;
        line-height: 1.3;
    }

    .branchGlobalContact .branchGlobalContact__links {
        flex: 0 0 auto;
        justify-content: flex-end;
        gap: 16px;
        width: auto;
    }

    .branchGlobalContact .branchGlobalContact__sns {
        width: 28px;
        height: 28px;
    }

    .branchGlobalContact .branchGlobalContact__sns img {
        width: 28px;
        height: 28px;
    }
}

.branchGlobalContact .branchGlobalContact__sns:focus-visible {
    outline: 2px solid var(--font-color-base);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .branchGlobalContact .branchGlobalContact__sns {
        transition: none;
    }
}
