/* =========================================================
   Contact Support (FAQ) — common_contact_us.css
   모든 선택자는 #contact-us-wrap 로 스코프 (ID 특이성 충돌 방지)
   폰트: 영문 헤딩 Trade Gothic LT / 한글 Pretendard
   ========================================================= */

#contact-us-wrap {
    max-width: 1170px;
    margin: 0 auto;
    padding: 60px 20px 120px;
    color: #451400;
    font-family: 'Pretendard', 'Helvetica Neue', Arial, sans-serif;
    word-break: keep-all;
}
#contact-us-wrap *,
#contact-us-wrap *::before,
#contact-us-wrap *::after { box-sizing: border-box; }

#contact-us-wrap button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
}

/* ---------- 페이지 타이틀 ---------- */
#contact-us-wrap .cu-page-title {
    margin: 0 0 70px;
    text-align: center;
    font-family: 'Trade Gothic LT Bold', 'Trade Gothic LT', 'Pretendard', Arial, sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: .5px;
    color: #451400;
}

/* ---------- 탭 (원본 .tab-title-container / .tab-title / .tab-active 반영) ---------- */
/* 하단 라인은 화면 전체 폭에 걸쳐 표시. wrap 좌우 여백(padding 20px + margin) 만큼
   음수 마진으로 빼내어 뷰포트 전체를 덮고, 내부 탭은 다시 패딩으로 콘텐츠 폭에 맞춤 */
#contact-us-wrap .cu-tab-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 0;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    border-bottom: 1px solid #d4cbc7;
    list-style: none;
}
#contact-us-wrap .cu-tab-title {
    background-color: transparent;
    border: none;
    font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.78px;
    text-align: center;
    color: #786259;
    padding: 28px 4px 30px;
    text-transform: uppercase;
    margin-bottom: 3px;
}
#contact-us-wrap .cu-tab-title.cu-tab-active {
    border-bottom: 3px solid #451400;
    color: #451400;
    margin-bottom: 0;
}
/* 좌우 끝 탭은 바깥쪽 패딩 제거하여 1170 경계선에 정렬 */
#contact-us-wrap .cu-tab-container .cu-tab-title:first-child { padding-left: 0; }
#contact-us-wrap .cu-tab-container .cu-tab-title:last-child { padding-right: 0; }

/* ---------- 탭 패널 ---------- */
#contact-us-wrap .cu-tab-panel { display: none; }
#contact-us-wrap .cu-tab-panel.cu-panel-active { display: block; }

/* ---------- 섹션 라벨 / 헤딩 (원본 .c-faq-component-common-questions / -heading) ---------- */
#contact-us-wrap .cu-section-label {
    margin: 30px 0 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #796257;
}
#contact-us-wrap .cu-section-heading {
    margin: 0 auto 40px;
    max-width: 860px;
    text-align: center;
    font-family: 'Trade Gothic LT Bold', 'Trade Gothic LT', 'Pretendard', Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -.4px;
    color: #451400;
}

/* ---------- FAQ 레이아웃 ---------- */
#contact-us-wrap .cu-faq-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* 카테고리 (PC) */
#contact-us-wrap .cu-categories {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
}
#contact-us-wrap .cu-category {
    font-family: 'Trade Gothic LT Bold', 'Trade Gothic LT', 'Pretendard', Arial, sans-serif;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-align: left;
    color: #451400;
    opacity: .85;
    transition: opacity .15s;
}
#contact-us-wrap .cu-category:hover { opacity: 1; }
#contact-us-wrap .cu-category.cu-category-active {
    opacity: 1;
}

/* 카테고리 (모바일 select) — 기본 숨김 */
#contact-us-wrap .cu-category-select-wrap { display: none; }
#contact-us-wrap .cu-category-select-wrap select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 50px;
    margin: 0;
    padding: 14px 44px 14px 16px;
    border: 1px solid #451400;
    border-radius: 4px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23451400' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    color: #451400;
    text-indent: 0;
    font-family: 'Nunito', 'Pretendard', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    cursor: pointer;
}
#contact-us-wrap .cu-category-select-wrap select option {
    color: #451400;
    background-color: #fff;
}

/* 질문 영역 */
#contact-us-wrap .cu-question-area { flex: 1 1 auto; min-width: 0; }

#contact-us-wrap .cu-group-title {
    margin: 46px 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #451400;
}
#contact-us-wrap .cu-group-title:first-child { margin-top: 0; }

#contact-us-wrap .cu-question-item {
    border-bottom: 1px solid #d8d2cd;
}
#contact-us-wrap .cu-question-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 24px 4px;
    text-align: left;
}
#contact-us-wrap .cu-question-text {
    font-size: 18px;
    line-height: 1.5;
    color: #451400;
}
#contact-us-wrap .cu-question-icon {
    flex: 0 0 auto;
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
    color: #451400;
}

/* 답변 */
#contact-us-wrap .cu-answer { display: none; }
#contact-us-wrap .cu-question-item.cu-open .cu-answer { display: block; }
#contact-us-wrap .cu-answer-inner {
    padding: 0 40px 26px 4px;
    font-size: 16px;
    line-height: 1.7;
    color: #451400;
}
#contact-us-wrap .cu-answer-link {
    color: #451400;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 연락처 블록 (전화번호 / 상담시간) */
#contact-us-wrap .cu-contact-info {
    margin-top: 22px;
}
#contact-us-wrap .cu-contact-tel {
    margin: 0 0 12px;
    font-family: 'Trade Gothic LT Bold', 'Trade Gothic LT', 'Pretendard', Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #451400;
}
#contact-us-wrap .cu-contact-hours-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #451400;
}
#contact-us-wrap .cu-contact-hours {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #786259;
}

/* ---------- 고객 만족도 조사 ---------- */
#contact-us-wrap .cu-survey-box {
    text-align: center;
    padding: 20px 0 40px;
}
#contact-us-wrap .cu-survey-btn {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 40px;
    background: #451400;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: opacity .15s;
}
#contact-us-wrap .cu-survey-btn:hover { opacity: .85; }

/* =========================================================
   반응형
   ========================================================= */
@media screen and (max-width: 1024px) {
    #contact-us-wrap .cu-categories { flex-basis: 200px; }
}

@media screen and (max-width: 768px) {
    #contact-us-wrap { padding: 40px 16px 80px; }

    #contact-us-wrap .cu-page-title {
        font-size: 30px;
        margin-bottom: 44px;
    }
    #contact-us-wrap .cu-tab-container {
        justify-content: space-between;
        margin-bottom: 40px;
    }
    #contact-us-wrap .cu-tab-title {
        font-size: 15px;
        letter-spacing: 1px;
        padding: 22px 4px 22px;
    }
    #contact-us-wrap .cu-tab-container .cu-tab-title:first-child { padding-left: 4px; }
    #contact-us-wrap .cu-tab-container .cu-tab-title:last-child { padding-right: 4px; }
    #contact-us-wrap .cu-section-heading {
        font-size: 22px;
        margin-bottom: 40px;
    }
    #contact-us-wrap .cu-faq-row {
        flex-direction: column;
        gap: 30px;
    }
    #contact-us-wrap .cu-categories { display: none; }
    #contact-us-wrap .cu-category-select-wrap {
        display: block;
        width: 100%;
    }
    #contact-us-wrap .cu-question-text { font-size: 16px; }
    #contact-us-wrap .cu-answer-inner {
        padding-right: 10px;
        font-size: 15px;
    }
}