@import url("../../../css/pliki.css");

/* [pliki 테마] FAQ */
#faq_wrap, .faq_wrap { margin: 0; padding: 0 0 40px; }
#faq_sch { border: 0; display: flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 0; }
#faq_sch .sch_tit { font-size: 15px; font-weight: 800; margin-right: 8px; }

#faq_sch .btn_submit { padding: 12px 18px; background: #111; color: #fff; border: 0; border-radius: 10px; font-weight: 700; cursor: pointer; }

#bo_cate_ul { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; }
#bo_cate_ul a {
    display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
    font-size: 13px; background: #fff; color: #444;
}
#bo_cate_ul a#bo_cate_on, #bo_cate_ul a:hover { background: #111; color: #fff; border-color: #111; }

/* FAQ 아코디언 (list.skin 마크업: h3 > Q뱃지+a+열기버튼 / .con_inner 답변) */
#faq_con { margin: 14px 0 0; padding: 0; }
#faq_con > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

#faq_con li { border-bottom: 1px solid var(--line); position: relative; }
#faq_con h3 { display: flex; align-items: center; gap: 12px; }
#faq_con .tit_bg {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #111; color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
#faq_con h3 a { flex: 1; display: block; padding: 17px 0; font-size: 14px; font-weight: 600; color: #222; }
#faq_con .tit_btn { color: #999; font-size: 13px; padding: 8px; }
#faq_con .con_inner {
    display: none; background: var(--bg-soft); border-radius: 10px; padding: 18px 20px; margin: 0 0 16px 38px;
    font-size: 13px; line-height: 1.8; color: #444; position: relative;
}
#faq_con li.faq_li_open .con_inner, #faq_con .con_inner[style*="block"] { display: block; }
#faq_con .closer_btn { position: absolute; right: 10px; top: 10px; color: #aaa; font-size: 12px; padding: 4px; }
.empty_list { text-align: center; color: var(--gray); padding: 50px 0; font-size: 13px; }

#faq_sch form { display: flex; gap: 8px; width: 100%; }

#bo_cate { margin: 0 0 10px; margin-bottom: 16px; }

/* 1200 통일 레이아웃 */
.pk-faq-wrap:not(.pk-cs) { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pk-page-hd { border-bottom: 2px solid #111; padding: 30px 0 14px; margin-bottom: 24px; }
.pk-page-hd h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.6px; display: inline; }
.pk-page-hd .sub { color: #888; font-weight: 500; font-size: 17px; }
.pk-page-hd .desc { float: right; font-size: 12px; color: #767676; margin-top: 8px; }
.pk-faq-wrap #faq_sch { max-width: none; margin: 0 0 14px; justify-content: flex-start; background: none; padding: 0; }

.pk-faq-wrap #bo_cate_ul { justify-content: flex-start; padding: 0; }
.pk-faq-wrap #faq_con { max-width: none; padding: 0; margin-top: 16px; }

/* 고객센터 레이아웃 적용 시 검색/분류 톤 통일 */
.pk-cs #faq_sch { margin-bottom: 14px; }
.pk-cs #faq_sch .frm_input { flex: 1; width: auto; height: 46px; border: 0; border-radius: 10px; background: #f2f3f5; padding: 0 16px; }
.pk-cs #faq_sch .btn_submit { height: 46px; border-radius: 10px; }
.pk-cs #bo_cate_ul a { padding: 8px 14px; font-size: 12.5px; background: #f2f3f5; border-color: transparent; }
.pk-cs #bo_cate_ul a#bo_cate_on, .pk-cs #bo_cate_ul a:hover { background: #111; color: #fff; }
.pk-cs #faq_con ol { border-top: 1px solid #111; }
.pk-cs .pg_wrap { display: flex; justify-content: center; margin-top: 24px; }
