@charset "utf-8";

/* ==========================================
   HSINFRA FAQ 디자인
========================================== */

/* FAQ 상단 제목 */
.hs-faq-header { text-align:center; margin:60px auto 45px; }
.hs-faq-header .eng { font-size:14px; font-weight:700; letter-spacing:3px; color:#00A3E0; margin-bottom:12px; }
.hs-faq-header h2 { font-size:30px; font-weight:700; color:#222; letter-spacing:-1px; line-height:1.4; margin:0; }
.hs-faq-header .line { width:40px; height:3px; background:#00A3E0; margin:25px auto 0; }

/* FAQ 전체 레이아웃 */
#faq_wrap { max-width:1200px; margin:10px auto 60px; }
#faq_wrap h2 { position:absolute; font-size:0; line-height:0; overflow:hidden; }

/* FAQ 검색 */
#faq_sch { max-width:1200px; margin:0 auto 35px; padding:25px; background:#f8fafb; border:1px solid #e5e9ec; border-radius:6px; text-align:center; }
#faq_sch .sch_tit { position:absolute; margin:0; padding:0; font-size:0; line-height:0; text-indent:-9999em; overflow:hidden; }
#faq_sch .frm_input { width:300px; max-width:65%; height:45px; padding:0 15px; border:1px solid #ddd; border-radius:4px; background:#fff; }
#faq_sch .btn_submit { width:90px; height:45px; padding:0 10px; border:0; border-radius:4px; background:#00A3E0; color:#fff; font-size:14px; font-weight:600; cursor:pointer; }
#faq_sch .btn_submit:hover { background:#008dbf; }

/* FAQ 카테고리 */
#bo_cate { max-width:1200px; margin:0 auto 35px; }
#bo_cate h2 { position:absolute; font-size:0; line-height:0; overflow:hidden; }
#bo_cate ul { margin:0; padding:0; list-style:none; }
#bo_cate ul:after { display:block; visibility:hidden; clear:both; content:""; }
#bo_cate li { display:inline-block; margin:0 5px 8px 0; }
#bo_cate a { display:block; padding:8px 20px; border:1px solid #ddd; border-radius:30px; background:#fff; color:#666; font-size:14px; text-decoration:none; transition:all .2s; }
#bo_cate a:hover { border-color:#00A3E0; color:#00A3E0; }
#bo_cate #bo_cate_on { background:#00A3E0; border-color:#00A3E0; color:#fff; font-weight:600; }

/* FAQ 목록 */
#faq_con ol { margin:0; padding:0; list-style:none; border-top:2px solid #222; }
#faq_con li { position:relative; margin:0; border-bottom:1px solid #e5e5e5; background:#fff; }

/* FAQ 질문 */
#faq_con li h3 { display:flex; align-items:center; position:relative; min-height:75px; margin:0; padding:20px 60px 20px 25px; font-size:16px; font-weight:500; line-height:1.6; color:#333; transition:background .2s; }
#faq_con li h3:hover { background:#f8fbfd; }
#faq_con li h3 a { flex:1; display:block; color:#333; text-decoration:none; }
#faq_con li h3 a:hover { color:#00A3E0; }

/* Q 아이콘 */
#faq_con .tit_bg { position:static; flex-shrink:0; display:flex; align-items:center; justify-content:center; width:32px; height:32px; margin-right:20px; border-radius:50%; background:#eef8fc; color:#00A3E0; font-size:16px; font-weight:700; line-height:1; }

/* 열기 버튼 */
#faq_con .tit_btn { position:absolute; top:50%; right:20px; transform:translateY(-50%); display:flex; align-items:center; justify-content:center; width:30px; height:30px; padding:0; border:0; background:transparent; color:#888; font-size:16px; cursor:pointer; }

/* 질문 활성화 */
#faq_con li h3.faq_li_open { background:#f5fbfe; }
#faq_con li h3.faq_li_open a { color:#0098af; font-weight:600; }
#faq_con li h3.faq_li_open .tit_bg { background:#00A3E0; color:#fff; }
#faq_con li h3.faq_li_open .tit_btn { color:#00A3E0; }

/* FAQ 답변 */
#faq_con .con_inner { display:none; position:relative; padding:25px 60px 30px 77px; border-top:1px solid #edf0f2; background:#fafcfd; color:#555; font-size:15px; line-height:1.9; word-break:keep-all; }
#faq_con .con_inner img { max-width:100%; height:auto; }

/* 답변 닫기 버튼 */
#faq_con .con_inner .closer_btn { position:static; display:block; width:auto; height:auto; margin:20px 0 0 auto; padding:8px 15px; border:1px solid #ddd; border-radius:4px; background:#fff; color:#666; font-size:13px; cursor:pointer; }
#faq_con .con_inner .closer_btn:hover { border-color:#00A3E0; color:#00A3E0; }

/* FAQ 기타 */
.faq_admin { max-width:1200px; margin:20px auto; text-align:right; }
.empty_list { padding:60px 20px; text-align:center; color:#888; font-size:15px; }

/* ==========================================
   모바일 반응형
========================================== */

@media (max-width:767px) {
    .hs-faq-header { margin:40px auto 30px; }
    .hs-faq-header .eng { font-size:12px; }
    .hs-faq-header h2 { font-size:24px; }
    #faq_sch { margin:0 15px 25px; padding:20px 15px; }
    #faq_sch .frm_input { width:calc(100% - 95px); max-width:none; }
    #faq_sch .btn_submit { width:85px; }
    #bo_cate { margin:0 15px 25px; }
    #bo_cate a { padding:7px 14px; font-size:13px; }
    #faq_wrap { margin:0 15px 40px; }
    #faq_con li h3 { min-height:65px; padding:17px 45px 17px 12px; font-size:14px; }
    #faq_con .tit_bg { width:28px; height:28px; margin-right:12px; font-size:14px; }
    #faq_con .tit_btn { right:10px; }
    #faq_con .con_inner { padding:20px; font-size:14px; }
}

/* ==========================================
   HSINFRA FAQ 페이지 번호 디자인
========================================== */

.pg_wrap { display:block; margin:40px auto 60px; text-align:center; }
.pg { display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.pg a, .pg strong { display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px; padding:0 10px; border:1px solid #e1e5e8; border-radius:4px; background:#fff; color:#555; font-size:14px; font-weight:500; text-decoration:none; transition:all .2s; }
.pg a:hover { border-color:#00A3E0; color:#00A3E0; }
.pg strong { background:#00A3E0; border-color:#00A3E0; color:#fff; font-weight:700; }
.pg_start, .pg_prev, .pg_next, .pg_end { font-size:13px; }

/* 모바일 */
@media (max-width:767px) {
    .pg_wrap { margin:30px auto 40px; }
    .pg { gap:4px; }
    .pg a, .pg strong { min-width:34px; height:34px; padding:0 8px; font-size:13px; }
}

/* FAQ 우측 + / - 아이콘 변경 */

/* 기본 상태 (+) */
#faq_con .tit_btn i { transition:transform .3s ease; }

/* 질문이 열렸을 때 (-) */
#faq_con li h3.faq_li_open .tit_btn i:before { content:"\f068"; }

/* 선택된 상태 색상 */
#faq_con li h3.faq_li_open .tit_btn { color:#00A3E0; }

/* FAQ 검색어 강조 색상 */
#faq_wrap .sch_word { background:#003B80 !important; :#008dbf; }!important; font-weight:600; padding:2px 4px; border-radius:3px; 