/* ===== FAQ 모바일 스킨 ===== */

/* G5 기본 숨김 */
#faq_wrap, #faq_con, #faq_sch, #bo_cate, #faq_hhtml, #faq_thtml { display: none !important; }

/* 카테고리 탭 */
.cs-faq-tabs {
    margin-bottom: 12px;
}

/* FAQ 카드 */
.cs-faq-card {
    padding: 0;
}
.table-wrapper .table-row.cs-faq-card {
    padding: 0;
}
.cs-faq-item {
    border-top: 1px solid #EFEFEF;
}
.cs-faq-item:first-child {
    border-top: none;
}

/* 질문 행 */
.cs-faq-question {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    gap: 10px;
    transition: background 0.15s;
}
.cs-faq-question:hover { background: #FAFAFA; }

.cs-faq-q {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.cs-faq-subject {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    font-weight: 400;
}
.cs-faq-arrow {
    flex-shrink: 0;
    color: #999;
    transition: transform 0.25s;
    display: inline-flex;
    align-items: center;
}
.cs-faq-item.is-open .cs-faq-arrow {
    transform: rotate(180deg);
}
.cs-faq-item.is-open .cs-faq-question {
    background: #FAFAFA;
}
.cs-faq-item.is-open .cs-faq-subject {
    color: var(--primary);
    font-weight: 600;
}

/* 답변 영역 */
.cs-faq-answer {
    display: none;
    background: #F8F8F8;
}
.cs-faq-answer-inner {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
}
.cs-faq-a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.cs-faq-content {
    flex: 1;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
    word-break: keep-all;
}
.cs-faq-content img { max-width: 100%; height: auto; }

/* 빈 목록 */
.cs-m-empty {
    text-align: center;
    padding: 80px 18px;
    color: #999;
    font-size: 13px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 페이지네이션 */
.pg_wrap { text-align: center; padding: 16px 0; }
