/* =========================================================
   FAQ (customer/faq) - 고객의 소리 · 단체행사와 같은 톤 (골드 #9e8621, 연회색 테두리)
   - EN FAQ 는 예전 faq.css 를 그대로 쓴다
   ========================================================= */
.fq_wrap { max-width: none; margin: 0; color: #555; font-size: 16px; line-height: 1.7; word-break: keep-all; text-align: left; }
.fq_wrap * { box-sizing: border-box; }
.fq_wrap svg { display: block; }

/* ---------- 소개 + 검색 ---------- */
.fq_wrap .fq_hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 38px 40px;
    overflow: hidden;
    border: 1px solid #e9e2c6;
    background: linear-gradient(120deg, #fdfcf7 0%, #f8f3e1 100%);
}
.fq_wrap .fq_hero:after {
    content: "?";
    position: absolute;
    right: -10px;
    bottom: -70px;
    font-size: 240px;
    font-weight: 700;
    line-height: 1;
    color: rgba(158,134,33,.07);
    pointer-events: none;
}
.fq_wrap .fq_hero_txt { position: relative; flex: 1 1 auto; z-index: 1; }
.fq_wrap .fq_eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; color: #9e8621; }
.fq_wrap .fq_hero strong { display: block; margin-top: 6px; font-size: 28px; font-weight: 600; line-height: 1.4; color: #333; }
.fq_wrap .fq_hero p { margin: 8px 0 0; font-size: 16px; color: #777; }

.fq_wrap .fq_search { position: relative; z-index: 1; flex: 0 0 380px; }
.fq_wrap .fq_search > svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: #9e8621; pointer-events: none; }
.fq_wrap .fq_search input {
    width: 100%;
    height: 56px;
    padding: 0 48px 0 52px;
    border: 1px solid #ddd3ad;
    border-radius: 28px;
    background: #fff;
    font-size: 16px;
    color: #333;
    box-shadow: 0 6px 18px rgba(158,134,33,.1);
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
    -webkit-appearance: none;
}
.fq_wrap .fq_search input::-webkit-search-cancel-button { display: none; }
.fq_wrap .fq_search input::placeholder { color: #aaa; }
.fq_wrap .fq_search input:focus { border-color: #9e8621; box-shadow: 0 0 0 4px rgba(158,134,33,.14), 0 6px 18px rgba(158,134,33,.12); }
.fq_wrap .fq_search_clear {
    position: absolute;
    right: 12px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    color: #888;
    cursor: pointer;
}
.fq_wrap .fq_search_clear[hidden] { display: none; }
.fq_wrap .fq_search_clear:hover { background: #e7e7e7; color: #555; }
.fq_wrap .fq_search_clear svg { width: 14px; height: 14px; }

/* ---------- 분류 ---------- */
.fq_wrap .fq_cats {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}
.fq_wrap .fq_cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 4px 14px;
    border: 1px solid #e3e3e3;
    background: #fff;
    color: #666;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fq_wrap .fq_cat_ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f6f6f6;
    color: #999;
    transition: background .2s ease, color .2s ease;
}
.fq_wrap .fq_cat_ico svg { width: 22px; height: 22px; }
.fq_wrap .fq_cat_nm { font-size: 15px; font-weight: 500; line-height: 1.3; }
.fq_wrap .fq_cat:hover { border-color: #9e8621; color: #9e8621; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(158,134,33,.14); }
.fq_wrap .fq_cat:hover .fq_cat_ico { background: #f5f0dc; color: #9e8621; }
.fq_wrap .fq_cat.is_cur { border-color: #9e8621; background: #9e8621; color: #fff; box-shadow: 0 8px 20px rgba(158,134,33,.28); }
.fq_wrap .fq_cat.is_cur .fq_cat_ico { background: rgba(255,255,255,.18); color: #fff; }
.fq_wrap .fq_cat.is_cur:hover { transform: none; }
.fq_wrap .fq_cat:focus-visible { outline: 2px solid rgba(158,134,33,.5); outline-offset: 2px; }

/* ---------- 목록 ---------- */
.fq_wrap .fq_list_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 48px;
    padding-bottom: 14px;
    border-bottom: 2px solid #333;
}
.fq_wrap .fq_list_head h3 { position: relative; margin: 0; padding-left: 14px; font-size: 22px; font-weight: 600; line-height: 1.4; color: #333; }
.fq_wrap .fq_list_head h3:before { content: ""; position: absolute; left: 0; top: 6px; width: 4px; height: 20px; background: #9e8621; }
.fq_wrap .fq_list_head h3 span { font-weight: 400; color: #888; }
.fq_wrap .fq_list_head p { margin: 0; font-size: 15px; color: #888; }
.fq_wrap .fq_list_head p b { font-weight: 600; color: #9e8621; }

.fq_wrap .fq_list { margin: 0; padding: 0; list-style: none; }
.fq_wrap .fq_item { border-bottom: 1px solid #e7e7e7; transition: background .2s ease; }
.fq_wrap .fq_item[hidden] { display: none; }
.fq_wrap .fq_q {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 22px 20px;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.fq_wrap .fq_mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid #9e8621;
    border-radius: 50%;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    color: #9e8621;
    transition: background .2s ease, color .2s ease;
}
.fq_wrap .fq_mark.is_a { border-color: #9e8621; background: #9e8621; color: #fff; }
.fq_wrap .fq_q_txt { flex: 1 1 auto; font-size: 18px; font-weight: 500; line-height: 1.55; color: #333; transition: color .2s ease; }
.fq_wrap .fq_arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #999;
    transition: transform .3s ease, background .2s ease, color .2s ease;
}
.fq_wrap .fq_arrow svg { width: 18px; height: 18px; }
.fq_wrap .fq_q:hover .fq_q_txt { color: #9e8621; }
.fq_wrap .fq_q:hover .fq_arrow { background: #f5f0dc; color: #9e8621; }
.fq_wrap .fq_q:focus-visible { outline: 2px solid rgba(158,134,33,.5); outline-offset: -2px; }

/* 펼침 (높이 애니메이션) */
.fq_wrap .fq_a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.fq_wrap .fq_a_in { overflow: hidden; }
.fq_wrap .fq_a_body {
    display: flex;
    gap: 18px;
    margin: 0 20px 22px;
    padding: 22px 24px;
    border-left: 3px solid #9e8621;
    background: #faf8f1;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .3s ease;
}
.fq_wrap .fq_a_txt { flex: 1 1 auto; padding-top: 4px; font-size: 16px; line-height: 1.85; color: #555; }
.fq_wrap .fq_a_txt a { color: #9e8621; text-decoration: underline; }
.fq_wrap .fq_a_txt img { max-width: 100%; height: auto; }
.fq_wrap .fq_item.is_open { background: #fff; }
.fq_wrap .fq_item.is_open .fq_a { grid-template-rows: 1fr; }
.fq_wrap .fq_item.is_open .fq_a_body { opacity: 1; transform: none; }
.fq_wrap .fq_item.is_open .fq_q .fq_mark { background: #9e8621; color: #fff; }
.fq_wrap .fq_item.is_open .fq_q_txt { color: #9e8621; font-weight: 600; }
.fq_wrap .fq_item.is_open .fq_arrow { transform: rotate(180deg); background: #9e8621; color: #fff; }

/* 비어 있음 */
.fq_wrap .fq_empty { padding: 70px 20px; border-bottom: 1px solid #e7e7e7; text-align: center; color: #999; }
.fq_wrap .fq_empty svg { width: 48px; height: 48px; margin: 0 auto 12px; color: #d5cba3; }
.fq_wrap .fq_empty p { margin: 0; font-size: 16px; }
.fq_wrap .fq_empty[hidden] { display: none; }
.fq_wrap .fq_nomatch { padding: 50px 20px; font-size: 16px; }

.fq_wrap .pagination { margin-top: 40px; }

/* ---------- 더 궁금한 점 ---------- */
.fq_wrap .fq_help {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding: 28px 30px;
    border: 1px solid #e3e3e3;
    background: #fff;
}
.fq_wrap .fq_help_ico {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f5f0dc;
    color: #9e8621;
}
.fq_wrap .fq_help_ico svg { width: 28px; height: 28px; }
.fq_wrap .fq_help_txt { flex: 1 1 auto; }
.fq_wrap .fq_help_txt strong { display: block; font-size: 19px; font-weight: 600; color: #333; }
.fq_wrap .fq_help_txt p { margin: 4px 0 0; font-size: 15px; color: #777; }
.fq_wrap .fq_help_btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 26px;
    border-radius: 25px;
    background: linear-gradient(180deg, #ad942c 0%, #9e8621 55%, #8f7819 100%);
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(158,134,33,.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.fq_wrap .fq_help_btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.fq_wrap .fq_help_btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(158,134,33,.34); }
.fq_wrap .fq_help_btn:hover svg { transform: translateX(3px); }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
    .fq_wrap .fq_hero { flex-direction: column; align-items: stretch; gap: 22px; padding: 32px 30px; }
    .fq_wrap .fq_search { flex: 0 0 auto; }
    .fq_wrap .fq_cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .fq_wrap { font-size: 14px; }
    .fq_wrap .fq_hero { padding: 24px 18px; gap: 18px; }
    .fq_wrap .fq_hero:after { font-size: 160px; bottom: -46px; }
    .fq_wrap .fq_eyebrow { font-size: 10px; }
    .fq_wrap .fq_hero strong { font-size: 21px; }
    .fq_wrap .fq_hero p { font-size: 14px; }
    .fq_wrap .fq_search input { height: 48px; padding-left: 46px; font-size: 15px; }
    .fq_wrap .fq_search > svg { left: 17px; width: 18px; height: 18px; margin-top: -9px; }

    /* 분류: 가로로 넘기기 */
    .fq_wrap .fq_cats {
        display: flex;
        gap: 6px;
        margin: 16px 0 0;
        padding: 2px 0 10px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .fq_wrap .fq_cats::-webkit-scrollbar { display: none; }
    .fq_wrap .fq_cat { flex: 0 0 auto; flex-direction: row; gap: 6px; padding: 7px 14px 7px 8px; border-radius: 22px; }
    .fq_wrap .fq_cat:hover { transform: none; box-shadow: none; }
    .fq_wrap .fq_cat_ico { width: 28px; height: 28px; }
    .fq_wrap .fq_cat_ico svg { width: 16px; height: 16px; }
    .fq_wrap .fq_cat_nm { font-size: 14px; white-space: nowrap; }

    .fq_wrap .fq_list_head { margin-top: 30px; padding-bottom: 10px; }
    .fq_wrap .fq_list_head h3 { font-size: 17px; }
    .fq_wrap .fq_list_head h3:before { top: 5px; height: 16px; }
    .fq_wrap .fq_list_head p { font-size: 13px; }
    .fq_wrap .fq_q { gap: 12px; padding: 16px 4px; }
    .fq_wrap .fq_mark { width: 28px; height: 28px; font-size: 13px; }
    .fq_wrap .fq_q_txt { font-size: 15px; }
    .fq_wrap .fq_arrow { width: 28px; height: 28px; }
    .fq_wrap .fq_arrow svg { width: 15px; height: 15px; }
    .fq_wrap .fq_a_body { gap: 12px; margin: 0 0 16px; padding: 16px 14px; }
    .fq_wrap .fq_a_txt { padding-top: 2px; font-size: 14px; line-height: 1.8; }
    .fq_wrap .pagination { margin-top: 28px; }

    .fq_wrap .fq_help { flex-wrap: wrap; gap: 14px; margin-top: 40px; padding: 20px 18px; }
    .fq_wrap .fq_help_ico { width: 44px; height: 44px; }
    .fq_wrap .fq_help_ico svg { width: 22px; height: 22px; }
    .fq_wrap .fq_help_txt { flex: 1 1 calc(100% - 60px); }
    .fq_wrap .fq_help_txt strong { font-size: 16px; }
    .fq_wrap .fq_help_txt p { font-size: 13px; }
    .fq_wrap .fq_help_btn { flex: 1 1 100%; justify-content: center; height: 46px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .fq_wrap *, .fq_wrap *:before, .fq_wrap *:after { transition: none !important; }
}

/* 소개 문구 없이 검색창만 */
.fq_wrap .fq_hero { display: block; padding: 0; border: 0; background: none; overflow: visible; }
.fq_wrap .fq_hero:after { display: none; }
.fq_wrap .fq_search { flex: none; width: 100%; }
@media (max-width: 1024px) { .fq_wrap .fq_hero { padding: 0; } }
@media (max-width: 768px) { .fq_wrap .fq_hero { padding: 0; } }

/* =========================================================
   글씨 크기 통일 (이용정보 · 고객센터 페이지 공통 단계)
   PC  : 섹션 제목 22 · 소제목 18 · 본문 16 · 보조 15 · 안내 14 · 작은 13
   모바일: 섹션 제목 18 · 소제목 16 · 본문 14 · 보조 13 · 안내 12
   ========================================================= */
#content .fq_help_txt strong { font-size: 18px; }
@media (max-width: 768px) {
    #content .fq_list_head h3,
    #content .fq_list_head h3 span { font-size: 18px; }
    #content .fq_empty,
    #content .fq_empty p,
    #content .fq_nomatch { font-size: 14px; }
    #content .fq_help_btn { font-size: 14px; }
}
