@charset "utf-8";
/* ==========================================================================
   게시판 / 회원 / 내용 스킨 오버라이드 (테마 디자인 통일, 이미지 미사용)
   head.sub.php 에서 add_stylesheet(..., 99) 로 스킨 CSS 뒤에 출력됩니다.
   ========================================================================== */

/* 공통: 스킨 버튼 크기 정리 ------------------------------------------- */
#bo_list .btn, #bo_v .btn, #bo_w .btn, #bo_gall .btn, .bo_vc_w .btn,
#bo_list a.btn, #bo_v a.btn, #bo_w a.btn {
    height: 40px; line-height: 1; padding: 0 12px; font-size: 14px; font-weight: 700; border-radius: var(--radius-sm);
}

/* 체크박스 (이미지 → CSS) */
.chk_box input[type="checkbox"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chk_box input[type="checkbox"] + label { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.chk_box input[type="checkbox"] + label span {
    float: none; display: inline-block; width: 18px; height: 18px; border: 2px solid var(--c-line-2); border-radius: 5px; background: #fff;
}
.write_div .chk_box input[type="checkbox"] + label span, .bo_vc_w .chk_box input[type="checkbox"] + label span { position: static; }
.write_div .chk_box input[type="checkbox"] + label, .bo_vc_w .chk_box input[type="checkbox"] + label { padding-left: 0; }
.chk_box input[type="checkbox"]:checked + label span {
    border-color: var(--c-primary);
    background: var(--c-primary) linear-gradient(transparent, transparent);
    box-shadow: inset 0 0 0 3px #fff;
}
.chk_box input[type="checkbox"]:focus-visible + label span { outline: 3px solid rgba(29, 91, 214, .45); outline-offset: 2px; }

/* 목록 ------------------------------------------------------------- */
#bo_list, #bo_v, #bo_w, #bo_gall { width: 100% !important; }
#bo_cate { margin: 0 0 16px; }
#bo_cate ul { display: flex; flex-wrap: wrap; gap: 6px; }
#bo_cate li { float: none; padding: 0; }
#bo_cate a { border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-text-2); padding: 4px 14px; }
#bo_cate a:hover, #bo_cate #bo_cate_on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

#bo_btn_top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
#bo_btn_top::after { display: none; }
#bo_list_total { float: none; color: var(--c-muted); font-size: 14px; line-height: 40px; }
#bo_list_total span { margin-right: 4px; color: var(--c-text); font-weight: 700; }
.btn_bo_user { float: none; display: flex; gap: 6px; }
.btn_bo_user li { float: none; width: auto; margin: 0; background: transparent; }
.btn_bo_user .btn_b01, .btn_bo_user .btn_admin, .btn_bo_user .btn_b02 {
    width: 40px; height: 40px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: #fff; color: var(--c-text-2); font-size: 15px;
}
.btn_bo_user .btn_b01:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-50); }
.btn_bo_user .btn_admin { color: var(--c-danger); }
.more_opt { top: 46px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.more_opt li { border-bottom: 1px solid var(--c-line); }
.more_opt li:last-child { border-bottom: 0; }
.more_opt li button, .more_opt li a { padding: 10px 14px; white-space: nowrap; color: var(--c-text-2); text-align: left; }
.more_opt li:hover button, .more_opt li:hover a { background: #f8fafc; color: var(--c-primary); }

#bo_list .tbl_head01 { margin-bottom: 0; }
#bo_list .tbl_head01 table { border-top: 2px solid var(--c-text); }
#bo_list .tbl_head01 thead th { padding: 14px 6px; height: auto; border-bottom: 1px solid var(--c-line); background: #f8fafc; color: var(--c-text-2); font-weight: 700; font-size: 14px; }
#bo_list .tbl_head01 thead th a { color: inherit; }
#bo_list .tbl_head01 td { height: auto; padding: 16px 6px; border-top: 0; border-bottom: 1px solid var(--c-line); color: var(--c-muted); font-size: 14px; }
#bo_list tbody .even td { background: transparent; }
#bo_list tbody tr:hover td { background: #f8fafc; }
#bo_list .td_subject { padding-left: 12px !important; text-align: left; }
#bo_list .bo_tit { color: var(--c-text); font-size: 15px; font-weight: 600; line-height: 1.5; }
#bo_list .bo_tit a:hover { color: var(--c-primary); text-decoration: none; }
#bo_list .td_num2 { width: 70px; text-align: center; }
#bo_list .td_name { width: 100px; text-align: center; color: var(--c-text-2); }
.bo_notice td { background: #f5f8ff !important; border-bottom: 1px solid var(--c-line) !important; }
.bo_notice .notice_icon { padding: 2px 10px; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: 12px; line-height: 1.6; }
.bo_notice .bo_tit a { font-weight: 700; }
.bo_current { color: var(--c-primary); font-weight: 700; }
#bo_list .cnt_cmt { margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--c-primary-50); color: var(--c-primary); font-size: 12px; font-weight: 700; }
#bo_list .bo_tit .new_icon { width: 18px; height: 18px; line-height: 18px; border-radius: 50%; background: var(--c-accent); color: #fff; font-size: 10px; font-weight: 800; }
#bo_list .bo_tit .fa-lock { width: 20px; height: 20px; line-height: 20px; margin-right: 4px; border-radius: 6px; background: #f1f5f9; color: var(--c-muted); font-size: 11px; }
.bo_cate_link { height: auto; padding: 2px 8px; border-radius: 6px; background: var(--c-primary-50); color: var(--c-primary); line-height: 1.5; font-size: 12.5px; }

/* 검색 레이어 */
.bo_sch_wrap { z-index: 1000; }
.bo_sch_bg { background: rgba(15, 23, 42, .45); }
.bo_sch { width: min(400px, calc(100% - 32px)); margin-left: 0; transform: translate(-50%, -50%); margin-top: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.bo_sch h3 { padding: 16px 20px; border-bottom: 1px solid var(--c-line); font-size: 16px; font-weight: 800; }
.bo_sch form { padding: 16px 20px 20px; }
.bo_sch select { width: 100%; margin-bottom: 8px; }
.bo_sch .sch_bar { display: flex; height: auto; border: 1px solid var(--c-line-2); border-radius: var(--radius-sm); overflow: hidden; }
.bo_sch .sch_input { flex: 1; width: auto; height: 44px; border: 0 !important; box-shadow: none !important; }
.bo_sch .sch_btn { width: 48px; height: 44px; background: var(--c-primary); color: #fff; }
.bo_sch .bo_sch_cls { padding: 14px 16px; background: transparent; }

/* 하단 버튼 / 페이지 */
#bo_list .bo_fx, #bo_list .btn_bo_user + .btn_bo_user { margin-top: 12px; }

/* 보기 ------------------------------------------------------------- */
#bo_v { padding: 0; border: 0; }
#bo_v_title { padding: 0 0 16px; }
#bo_v_title .bo_v_cate { border-radius: 6px; background: var(--c-primary-50); color: var(--c-primary); }
#bo_v_title .bo_v_tit { margin-top: 6px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.35; color: var(--c-text); }
#bo_v_info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 0; border-top: 2px solid var(--c-text); border-bottom: 1px solid var(--c-line); color: var(--c-muted); font-size: 14px; }
#bo_v_info::after { display: none; }
#bo_v_info .profile_info { float: none; display: flex; align-items: center; gap: 10px; }
#bo_v_info .profile_info .pf_img { display: none; }
#bo_v_info .profile_info .profile_info_ct { padding: 0; line-height: 1.6; }
#bo_v_info strong { color: var(--c-text-2); font-weight: 600; }
#bo_v_top { float: none; margin-left: auto; }
#bo_v_top ul { display: flex; gap: 6px; background: transparent; }
#bo_v_top .btn_b01, #bo_v_top .btn_admin, .btn_more_opt.is_view_btn {
    width: 38px; height: 38px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: #fff; color: var(--c-text-2); font-size: 15px;
}
#bo_v_top .btn_b01:hover { color: var(--c-primary); border-color: var(--c-primary); }
#bo_v_atc { min-height: 160px; padding: 28px 0; }
#bo_v_con { min-height: 120px; color: var(--c-text-2); font-size: 16px; line-height: 1.85; word-break: break-word; }
#bo_v_con a { color: var(--c-primary); text-decoration: underline; }
#bo_v_con img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
#bo_v_file, #bo_v_link { margin: 16px 0; }
#bo_v_file ul, #bo_v_link ul { display: grid; gap: 8px; }
#bo_v_file li, #bo_v_link li { padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: none; }
#bo_v_file li i, #bo_v_link li i { font-size: 1.7em; margin-right: 14px; color: var(--c-primary); }
#bo_v_file a, #bo_v_link a { color: var(--c-text); font-weight: 700; }
.bo_v_nb { margin: 28px 0 16px; border-top: 1px solid var(--c-line); }
.bo_v_nb li { padding: 14px 6px; border-bottom: 1px solid var(--c-line); }
.bo_v_nb li:hover { background: #f8fafc; }
.bo_v_nb .nb_tit { color: var(--c-muted); }
.bo_v_nb .nb_date { color: #94a3b8; }
#bo_v_act .bo_v_good, #bo_v_act .bo_v_nogood { border-color: var(--c-line); }
#bo_v_share .btn { border-color: var(--c-line); border-radius: var(--radius-sm); }

/* 문의답변: 답변 영역 */
/* 문의답변: 질문(Q) / 답변(A) 카드 */
#bo_v_atc .qna_box { position: relative; margin-top: 20px; padding: 22px 24px 24px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
#bo_v_atc .qna_box:first-of-type { margin-top: 0; }
.qna_box_tit { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--c-line); font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.qna_badge { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: 15px; font-weight: 800; line-height: 1; }
.qna_box_date { margin-left: auto; color: var(--c-muted); font-size: 13px; font-weight: 500; }
.qna_box_con { color: var(--c-text-2); font-size: 15.5px; line-height: 1.85; word-break: break-word; }
#bo_v_con.qna_box_con { min-height: 0; }
/* 질문: 중립 회색 카드 */
#bo_v_atc .qna_question { background: #f8fafc; border-left: 4px solid var(--c-text-2); }
.qna_question .qna_box_tit { color: var(--c-text); }
.qna_question .qna_badge { background: var(--c-text-2); }
/* 답변: 브랜드 파란 카드 */
#bo_v_atc .qna_answer { background: var(--c-primary-50); border-color: var(--c-primary-100); border-left: 4px solid var(--c-primary); }
.qna_answer .qna_box_tit { color: var(--c-primary); border-bottom-color: var(--c-primary-100); }
.qna_answer .qna_badge { background: var(--c-primary); }
/* 답변 대기 */
#bo_v_atc .qna_answer.is_wait { background: var(--c-warn-50); border-color: #fde7c7; border-left-color: var(--c-warn); }
.qna_answer.is_wait .qna_box_tit { color: var(--c-warn); border-bottom-color: #fde7c7; }
.qna_answer.is_wait .qna_badge { background: var(--c-warn); }
.qna_answer.is_wait .qna_box_con { color: var(--c-muted); font-size: 14.5px; }
.qna_answer.is_wait .qna_box_con a { color: var(--c-warn); font-weight: 700; }
/* 상단 정보의 답변상태 */
#bo_v_info .qna_state { padding: 2px 10px; border-radius: 999px; background: var(--c-warn-50); color: var(--c-warn); font-size: 13px; font-weight: 700; }
#bo_v_info .qna_state.is_done { background: var(--c-accent-50); color: var(--c-accent); }
@media (max-width: 640px) {
    #bo_v_atc .qna_box { padding: 18px 16px 20px; }
    .qna_box_date { font-size: 12px; }
}

/* 댓글 */
.cmt_btn { margin: 28px 0 0; padding: 0 0 14px; border-bottom: 1px solid var(--c-line); font-size: 15px; }
.cmt_btn span.total { color: var(--c-primary); }
.cmt_btn span.total::after { bottom: -15px; background: var(--c-primary); }
.cmt_btn span.cmt_more { width: 12px; height: 12px; margin-top: 4px; background: none; border-right: 2px solid var(--c-muted); border-bottom: 2px solid var(--c-muted); transform: rotate(45deg); }
.cmt_btn_op span.cmt_more { transform: rotate(-135deg); margin-top: 9px; }
#bo_vc article { padding: 16px 0; border-bottom: 1px solid var(--c-line); }
#bo_vc article .pf_img { display: none; }
#bo_vc article .cm_wrap { padding-left: 0; }
#bo_vc header { color: var(--c-muted); font-size: 13.5px; }
#bo_vc .cmt_contents { margin-top: 6px; color: var(--c-text-2); line-height: 1.7; }
.bo_vc_act { border: 1px solid var(--c-line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.bo_vc_w { margin-top: 16px; }
.bo_vc_w textarea { width: 100%; height: 120px; border-radius: var(--radius); }
.bo_vc_w .bo_vc_w_info { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.bo_vc_w .bo_vc_w_info .frm_input { float: none; margin: 0; }
.bo_vc_w .btn_confirm { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.bo_vc_w .btn_submit { height: 44px; font-size: 15px; border-radius: var(--radius-sm); }

/* 쓰기 ------------------------------------------------------------- */
#bo_w .write_div { margin: 0 0 14px; }
#bo_w .bo_w_info { display: flex; flex-wrap: wrap; gap: 8px; }
#bo_w .bo_w_info::after { display: none; }
#bo_w .bo_w_info .frm_input { float: none; margin: 0; flex: 1 1 220px; width: auto; }
#bo_w .bo_v_option { display: flex; flex-wrap: wrap; gap: 14px; }
#bo_w .bo_v_option li { float: none; margin: 0; }
#bo_w .bo_w_tit #autosave_wrapper { position: relative; }
#bo_w .bo_w_tit .frm_input { padding-right: 160px; }
#bo_w #btn_autosave { position: absolute; top: 4px; right: 4px; height: 36px; min-height: 36px; padding: 0 12px; font-size: 13px; }
#bo_w .wr_content textarea { width: 100%; min-height: 280px; border-radius: var(--radius); }
#bo_w .bo_w_link, #bo_w .bo_w_flie { position: relative; }
#bo_w .bo_w_link label, #bo_w .bo_w_flie .lb_icon { position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--c-line-2); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: #f8fafc; color: var(--c-muted); line-height: 1; }
#bo_w .bo_w_link .frm_input { padding-left: 54px; }
#bo_w .bo_w_flie .file_wr { position: relative; padding-left: 54px; min-height: 44px; border: 1px solid var(--c-line-2); border-radius: var(--radius-sm); }
#bo_w .bo_w_flie .frm_file { padding: 10px 0; }
#bo_w .bo_w_flie .lb_icon { height: 100%; }
#bo_w .btn_confirm { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
#bo_w .btn_confirm .btn_cancel, #bo_w .btn_confirm .btn_submit { min-width: 140px; height: 52px; font-size: 16px; line-height: 1; border-radius: var(--radius); }
#bo_w .btn_confirm .btn_cancel { line-height: 52px; }
#char_count_desc, #char_count_wrap { color: var(--c-muted); font-size: 13.5px; }
#autosave_pop { border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
#autosave_pop li { background: #fff; border-bottom: 1px solid var(--c-line); }
.autosave_del { background: none; text-indent: 0; width: 24px; height: 24px; color: var(--c-muted); }
.autosave_del::before { content: "×"; font-size: 18px; }

/* 문의답변 쓰기: 개인정보 동의 / 휴대폰 */
.qna_agree { padding: 18px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; }
.qna_agree_tit { margin-bottom: 10px; font-size: 16px; font-weight: 800; }
.qna_agree .agree_box { white-space: normal; }
.agree_radio { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.agree_radio .agree_q { margin: 0 8px 0 0; }
.radio_pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--c-line-2); border-radius: 999px; cursor: pointer; font-weight: 600; }
.radio_pill:has(input:checked) { border-color: var(--c-primary); background: var(--c-primary-50); color: var(--c-primary); }
.qna_hp .frm_input { width: min(100%, 320px); }

/* 회원 스킨 (로그인, 회원가입, 비밀번호 확인 등) ----------------------- */
.mbskin, #mb_login, #find_info, #register_form, .register, #fregister, #mb_confirm, #pw_confirm {
    max-width: 480px; margin: 0 auto;
}
.mbskin { padding: 32px; border: 1px solid var(--c-line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.mbskin .mbskin_box, .mbskin .mb_log_cate { border: 0; background: transparent; }
.mbskin h1 { margin-bottom: 18px; font-size: 22px; font-weight: 800; }
.mbskin .frm_input, #mb_login .frm_input { width: 100%; margin: 0 0 10px; }
.mbskin .btn_submit { width: 100%; height: 50px; font-size: 16px; border-radius: var(--radius); }
#login_info { margin-top: 16px; }
#login_password_lost, #login_info a { color: var(--c-muted); font-size: 14px; }
#register_form, .register { max-width: 760px; }
.register .form_01, #register_form .form_01 { padding: 24px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; }
.register h2, #register_form h2 { margin-bottom: 12px; font-size: 17px; font-weight: 800; }
.register .btn_confirm { justify-content: center; margin-top: 20px; }

/* 내용(개인정보취급방침 등) */
#ctt { padding: 0; }
#ctt_con { color: var(--c-text-2); font-size: 15.5px; line-height: 1.85; }
#ctt_con h1, #ctt_con h2, #ctt_con h3 { margin: 1.4em 0 .5em; color: var(--c-text); font-weight: 800; }
#ctt_con table { max-width: 100%; }
.ctt_admin { text-align: right; margin-bottom: 12px; }

/* 검색 / 새글 */
#sch_res_detail, #sch_res_ov { border-radius: var(--radius); }
#new_sch { padding: 16px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #f8fafc; }

/* 반응형 ----------------------------------------------------------- */
@media (max-width: 760px) {
    #bo_list .tbl_head01 thead { display: none; }
    #bo_list .tbl_head01 table, #bo_list .tbl_head01 tbody { display: block; }
    #bo_list .tbl_head01 tr {
        display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px;
        padding: 14px 4px; border-bottom: 1px solid var(--c-line);
    }
    #bo_list .tbl_head01 td { display: block; width: auto !important; height: auto; padding: 0 !important; border: 0; background: transparent !important; font-size: 13px; text-align: left; }
    #bo_list .tbl_head01 .td_chk { grid-row: 1 / span 2; }
    #bo_list .tbl_head01 .td_num2 { display: none; }
    #bo_list .tbl_head01 .bo_notice .td_num2 { display: block; grid-column: 1 / -1; }
    #bo_list .tbl_head01 .td_subject { grid-column: 1 / -1; order: -1; }
    #bo_list .tbl_head01 .td_name { color: var(--c-text-2); }
    #bo_list .tbl_head01 .td_num::before { content: "조회 "; }
    #bo_list .tbl_head01 .td_datetime { justify-self: end; color: #94a3b8; }
    #bo_list .tbl_head01 tr:hover td { background: transparent; }
    #bo_list .bo_tit { font-size: 15.5px; }
    .bo_notice { background: #f5f8ff; }
    #bo_v_info { gap: 6px 12px; }
    #bo_v_top { margin-left: 0; width: 100%; }
    #bo_w .bo_w_tit .frm_input { padding-right: 12px; }
    #bo_w #btn_autosave { position: static; margin-top: 8px; }
    .mbskin { padding: 24px 18px; }
}

/* 이용약관 (내용관리 provision) */
#ctt_con .terms { color: var(--c-text-2); font-size: 15.5px; line-height: 1.8; }
#ctt_con .terms .terms_date { display: inline-block; margin: 0 0 18px; padding: 4px 12px; border-radius: 999px; background: var(--c-primary-50); color: var(--c-primary); font-size: 13.5px; font-weight: 700; }
#ctt_con .terms .terms_article { margin: 0 0 14px; padding: 20px 22px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
#ctt_con .terms h3 { margin: 0 0 10px; color: var(--c-text); font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
#ctt_con .terms p { margin: 0 0 6px; }
#ctt_con .terms ul { margin: 4px 0 8px; padding-left: 20px; list-style: disc; }
#ctt_con .terms ul li { margin: 2px 0; }
#ctt_con .terms ul.terms_tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
#ctt_con .terms ul.terms_tags li { margin: 0; padding: 4px 12px; border: 1px solid var(--c-primary-100); border-radius: 999px; background: var(--c-primary-50); color: var(--c-primary); font-size: 14px; }
#ctt_con .terms .terms_box { margin: 22px 0 14px; padding: 18px 22px; border-left: 4px solid var(--c-primary); border-radius: var(--radius); background: #f8fafc; }
#ctt_con .terms .terms_box > strong { display: block; margin-bottom: 4px; color: var(--c-text); }
#ctt_con .terms .terms_info { margin-top: 18px; color: var(--c-muted); font-size: 13.5px; line-height: 1.8; }
@media (max-width: 640px) { #ctt_con .terms .terms_article { padding: 16px; } }
#ctt_con .terms .terms_intro { margin: 0 0 16px; padding: 18px 22px; border-radius: var(--radius); background: #f8fafc; color: var(--c-text-2); }
#ctt_con .terms .terms_intro p:last-child, #ctt_con .terms .terms_article p:last-child, #ctt_con .terms .terms_box p:last-child { margin-bottom: 0; }
#ctt_con .terms ul ul { margin: 4px 0 4px; list-style: circle; }
#ctt_con .terms .terms_article > p + p { margin-top: 8px; }
