@charset "utf-8";

/* ───── 레이아웃 ───── */
.pc_left_menu { display: none; }
.sub_wrap > button { display: none; }
.sub_wrap #container { width: 1200px; float: none; }
.right_board { float: none; width: 100%; }

.top-bn { padding-top: 138px; }
.top-bn > div {
    background-image: url(https://www.samplepcb.co.kr/theme/samplepcb/img/modify/sub-bn4.jpg);
    display: block !important;
}
#wrapper { padding-top: 0; }

/* ───── 카테고리 사이드 메뉴 ───── */
.board_left { position: relative; float: left; width: 20%; background: #303641; padding: 20px 0; }
.board_left::after { content: ""; display: block; position: absolute; left: 0; right: 0; top: -50px; bottom: -215%; background: #303641; z-index: 3; }
.board_left ul { position: relative; z-index: 5; }
.board_left ul li { background: url(./img/bg_left.gif) right 20px center no-repeat; background-size: 10px 18px; margin-top: 10px; }
.board_left ul li:first-child { margin-top: 0; }
.board_left ul li a { color: #fff; display: block; font-weight: 400; padding: 10px 30px; padding-right: 40px; }
.board_left ul li a#bo_cate_on { background: #555a66 url(./img/bg_left_on.gif) right 20px center no-repeat; background-size: 10px 18px; }
.board_left ul li a#bo_cate_on:hover,
.board_left ul li a:hover { background: #555a66 url(./img/bg_left_on.gif) right 20px center no-repeat; background-size: 10px 18px; }

#bo_cate #bo_cate_ul { overflow: hidden; margin-bottom: 30px; }
#bo_cate #bo_cate_ul li { float: left; width: 18%; margin-left: 2.5%; }
#bo_cate #bo_cate_ul li:first-child { display: none; }
#bo_cate #bo_cate_ul li:first-child + li { margin-left: 0; }
#bo_cate #bo_cate_ul li a { display: block; height: 40px; line-height: 38px; text-align: center; color: #fff; background: #303641; border-radius: 5px; }
#bo_cate #bo_cate_ul li a:hover,
#bo_cate #bo_cate_ul li a#bo_cate_on { color: #fff; background: #009c79; }

/* ───── 게시물 목록 (ql-) ───── */
#bo_list { position: relative; }
#bo_list::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_list .td_board { width: 120px; text-align: center; }
#bo_list .td_chk { width: 30px; text-align: center; }
#bo_list .td_date { width: 60px; text-align: center; }
#bo_list .td_datetime { width: 70px; text-align: center; }
#bo_list .td_group { width: 100px; text-align: center; }
#bo_list .td_mb_id { width: 100px; text-align: center; }
#bo_list .td_mng { width: 80px; text-align: center; }
#bo_list .td_name { width: 90px; text-align: left; padding: 10px 0; }
#bo_list .td_nick { width: 100px; text-align: center; }
#bo_list .td_num { width: 60px; text-align: center; }
#bo_list .td_num2 { width: 60px; text-align: center; }
#bo_list .td_numbig { width: 80px; text-align: center; }
#bo_list .txt_active { color: #5d910b; }
#bo_list .txt_expired { color: #ccc; }
.td_subject img { margin-left: 5px; }

/* 게시물 목록 공통 */
#bo_btn_top { margin: 10px 0; }
.bo_fx { margin-bottom: 5px; float: right; zoom: 1; }
.bo_fx::after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_fx ul { margin: 0; padding: 0; list-style: none; }
#bo_list_total { float: left; line-height: 36px; font-size: 13px; color: #888; }
#bo_list_total strong { color: #009c79; font-weight: 700; }
#bo_list_total span { color: #bbb; margin-left: 6px; font-size: 12px; }
#bo_btn_top .btn_bo_user { display: none; }
.btn_bo_user { float: right; margin: 0; padding: 0; list-style: none; }
.btn_bo_user li { float: left; margin-left: 5px; }
.btn_bo_adm { float: left; }
.btn_bo_adm li { float: left; margin-right: 5px; }
.btn_bo_adm input { padding: 0 8px; border: 0; background: #d4d4d4; color: #666; text-decoration: none; vertical-align: middle; }
.bo_notice td { background: #f5f5f5; border-bottom: 1px solid #c3dfe8; }
.bo_notice td a { font-weight: bold; }
.bo_notice .notice_icon { display: inline-block; background: #009c79; width: 25px; line-height: 25px; border-radius: 5px; font-weight: normal; color: #fff; }
.bo_notice .notice_icon i { color: #fff; position: relative; top: -2px; }
.td_num strong { color: #000; }
.bo_cate_link { display: inline-block; color: #3497d9; height: 20px; font-size: 0.92em; }
.bo_tit { display: block; color: #000; font-weight: bold; }
.bo_current { color: #e8180c; }
#bo_list .profile_img img { border-radius: 50%; }
#bo_list .cnt_cmt { background: #5c85c1; color: #fff; font-size: 11px; height: 16px; line-height: 16px; padding: 0 5px; border-radius: 3px; vertical-align: middle; box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.3); }
#bo_list .bo_tit .title_icon { margin-right: 2px; }
#bo_list .bo_tit .fa-download { width: 16px; height: 16px; line-height: 16px; background: #e89f31; color: #fff; text-align: center; font-size: 10px; border-radius: 2px; margin-right: 2px; vertical-align: middle; }
#bo_list .bo_tit .fa-link { width: 16px; height: 16px; line-height: 16px; background: #ad68d8; color: #fff; text-align: center; font-size: 10px; border-radius: 2px; margin-right: 2px; vertical-align: middle; font-weight: normal; }
#bo_list .bo_tit .new_icon { display: inline-block; width: 16px; line-height: 16px; font-size: 0.833em; color: #ffff00; background: #6db142; text-align: center; border-radius: 2px; vertical-align: middle; margin-right: 2px; }
#bo_list .bo_tit .fa-heart { display: inline-block; width: 16px; line-height: 16px; font-size: 0.833em; color: #fff; background: #e52955; text-align: center; border-radius: 2px; vertical-align: middle; margin-right: 2px; font-weight: normal; }
#bo_list .bo_tit .fa-lock { display: inline-block; line-height: 14px; width: 16px; font-size: 12px; color: #4f818c; background: #cbe3e8; text-align: center; border-radius: 2px; border: 1px solid #a2c6ce; }

/* 검색 */
#bo_sch { float: left; border: 1px solid #ccc; background: #fff; border-radius: 3px; }
#bo_sch::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_sch legend { position: absolute; margin: 0; padding: 0; font-size: 0; line-height: 0; text-indent: -9999em; overflow: hidden; }
#bo_sch select { border: 0; float: left; border-right: 1px solid #ddd; display: none; }
#bo_sch .sch_input { height: 30px; border: 0; padding: 0 5px; background-color: transparent; float: left; }
#bo_sch .sch_btn { height: 30px; float: left; background: none; border: 0; width: 40px; font-size: 15px; }
#bo_sch .sch_btn i { position: relative; top: -3px; }

/* 목록 버튼 (ql-) */
.ql-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
  height: 36px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.ql-btn--write { background: #009c79; color: #fff; }
.ql-btn--write:hover { background: #007d62; color: #fff; }
.ql-btn--list { background: #fff; color: #444; border: 1px solid #d1d5db; }
.ql-btn--list:hover { background: #f3f4f6; color: #222; }
.ql-btn--admin { background: #4a5568; color: #fff; }
.ql-btn--admin:hover { background: #2d3748; color: #fff; }
.ql-btn--danger { background: #fff; color: #e53e3e; border: 1px solid #feb2b2; }
.ql-btn--danger:hover { background: #fff5f5; }

/* ───── 게시물 읽기 (qv-) ───── */
#bo_v { margin-bottom: 20px; padding: 20px; background: #fff; box-sizing: border-box; }
#bo_v_table { position: absolute; top: 0; right: 16px; margin: 0; padding: 0 5px; height: 25px; background: #ff3061; color: #fff; font-weight: bold; line-height: 2.2em; }

#bo_v_title .bo_v_cate { display: inline-block; line-height: 26px; background: #3497d9; color: #fff; font-weight: bold; border-bottom: 1px solid #1977b5; padding: 0 10px; border-radius: 3px; box-shadow: inset 0 2px 5px rgb(33, 135, 202); }
#bo_v_title .bo_v_tit { display: block; font-size: 2em; margin: 5px 0 0; word-break: break-all; }

#bo_v_info { padding: 10px 0 15px; margin: 0 0 20px; border-bottom: 1px solid #ddd; color: #666; }
#bo_v_info h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_info strong { display: inline-block; margin: 0 10px 0 0; font-weight: normal; }
#bo_v_info .sv_member,
#bo_v_info .sv_guest,
#bo_v_info .member,
#bo_v_info .guest { font-weight: bold; }
#bo_v_info .profile_img img { border-radius: 50%; }
#bo_v_info .sv_member { color: #000; }
#bo_v_info .if_view { display: inline-block; background: url(./img/icon_view.png) no-repeat 50% 50%; height: 15px; width: 20px; overflow: hidden; text-indent: -999px; vertical-align: middle; margin-right: 3px; }
#bo_v_info .if_comment { display: inline-block; background: url(./img/icon_comment.png) no-repeat 50% 50%; height: 15px; width: 20px; overflow: hidden; text-indent: -999px; vertical-align: middle; margin-right: 3px; }
#bo_v_info .if_date { float: right; margin: 0; font-style: italic; color: #888; }

#bo_v_file { margin: 10px 0; border: 1px solid #d4d4d4; }
#bo_v_file h2 { padding: 10px; background: #f3f3f3; }
#bo_v_file ul { margin: 0; padding: 5px 0; list-style: none; }
#bo_v_file li { padding: 5px 10px; position: relative; }
#bo_v_file a { display: inline-block; color: #3497d9; text-decoration: underline; word-wrap: break-word; }
#bo_v_file a:focus, #bo_v_file a:hover, #bo_v_file a:active { text-decoration: none; }
#bo_v_file img { float: left; margin: 0 10px 0 0; }
.bo_v_file_cnt { position: absolute; top: 5px; right: 10px; color: #888; font-size: 0.92em; }

#bo_v_link { margin: 10px 0; border: 1px solid #d4d4d4; }
#bo_v_link h2 { padding: 10px; border-bottom: 1px solid #e8e8e8; background: #f3f3f3; }
#bo_v_link ul { margin: 0; padding: 5px 0; list-style: none; }
#bo_v_link li { padding: 5px 10px; position: relative; }
#bo_v_link a { display: inline-block; color: #3497d9; text-decoration: underline; word-wrap: break-word; }
#bo_v_link a:focus, #bo_v_link a:hover, #bo_v_link a:active { text-decoration: none; }
.bo_v_link_cnt { position: absolute; top: 5px; right: 10px; color: #888; font-size: 0.92em; }

#bo_v_top { zoom: 1; }
#bo_v_top::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_top h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_top ul { padding: 0; list-style: none; word-break: break-all; }
#bo_v_bot { zoom: 1; }
#bo_v_bot::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_bot h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_bot ul { padding: 0; list-style: none; }

.bo_v_com { margin: 20px 0; float: right; }
.bo_v_com li { float: left; margin-left: 5px; }
.bo_v_left { margin: 20px 0; float: left; }
.bo_v_left li { float: left; margin-right: 5px; }
.bo_v_nb { margin: 20px 0; position: relative; clear: both; text-align: left; border-bottom: 1px solid #ddd; }
.bo_v_nb::after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_v_nb li { border-top: 1px solid #ddd; padding: 13px; border-left: 1px solid #ddd; border-right: 1px solid #ddd; }
.bo_v_nb li:hover { background: #f6f6f6; }
.bo_v_nb li i { font-size: 13px; }
.bo_v_nb li .nb_tit { display: inline-block; padding-right: 20px; color: #4567b5; }
.bo_v_nb li .nb_date { float: right; color: #888; }

#bo_v_atc { min-height: 200px; height: auto !important; }
#bo_v_atc_title { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_img { width: 100%; overflow: hidden; zoom: 1; }
#bo_v_img::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_img a.view_image { display: block; }
#bo_v_img img { margin-bottom: 20px; max-width: 100%; height: auto; }
#bo_v_con { margin: 10px 0 30px; width: 100%; line-height: 1.7em; min-height: 200px; word-break: break-all; overflow: hidden; }
#bo_v_con a { color: #000; text-decoration: underline; }
#bo_v_con img { max-width: 100%; height: auto; }

#bo_v_act { margin-bottom: 30px; text-align: center; }
#bo_v_act .bo_v_act_gng { position: relative; }
#bo_v_act a { margin-right: 5px; vertical-align: middle; }
#bo_v_act a:hover { background-color: #f3f3f3; }
#bo_v_act_good, #bo_v_act_nogood { display: none; position: absolute; top: 30px; left: 0; padding: 10px 0; width: 165px; background: #ff3061; color: #fff; text-align: center; }
#bo_v_act .bo_v_good { display: inline-block; border: 1px solid #000; width: 70px; height: 70px; padding-top: 40px; background: url(./img/icon_good.png) 25px 18px no-repeat; border-radius: 50%; font-style: italic; }
#bo_v_act .bo_v_nogood { display: inline-block; border: 1px solid #000; width: 70px; height: 70px; padding-top: 40px; background: url(./img/icon_bad.png) 25px 18px no-repeat; border-radius: 50%; font-style: italic; }

#bo_v_share { position: relative; margin: 20px 0; text-align: right; display: none; }
#bo_v_share .btn { padding: 0 10px 0 0; color: #555; font-weight: normal; font-size: 1em; line-height: 30px; height: 32px; border-radius: 0; border-color: #d5d5d5; }
#bo_v_share .btn:hover { background: #fff; }
#bo_v_share .btn i { margin-right: 5px; background: #eee; color: #333; text-align: center; width: 30px; line-height: 30px; vertical-align: top; }
.bo_v_snswr { position: relative; display: inline-block; margin-left: -1px; }
#bo_v_sns { display: none; position: absolute; top: -50px; left: 50%; margin-left: -90px; width: 180px; padding: 0; list-style: none; zoom: 1; }
#bo_v_sns::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_sns::before { content: ""; position: absolute; bottom: -7px; left: 84px; width: 0; height: 0; border-style: solid; border-width: 7px 6px 0 6px; border-color: #415b92 transparent transparent transparent; }
#bo_v_sns li { float: left; width: 60px; text-align: center; }
#bo_v_sns li a { height: 40px; padding: 10px 0; }
#bo_v_sns li .sns_f { display: block; background: #415b92; }
#bo_v_sns li .sns_t { display: block; background: #35b3dc; }
#bo_v_sns li .sns_g { display: block; background: #d5503a; }
#bo_v_sns.show_kakao { width: 240px; margin-left: -120px; }
#bo_v_sns li .sns_k { display: block; background: #fbe300; }
#bo_v_sns li img { vertical-align: top; }

/* 읽기 버튼 (qv-) */
.qv-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.qv-btn--write { background: #009c79; color: #fff; }
.qv-btn--write:hover { background: #007d62; color: #fff; }
.qv-btn--outline { background: #fff; color: #444; border: 1px solid #d1d5db; }
.qv-btn--outline:hover { background: #f3f4f6; color: #222; }
.qv-btn--admin { background: #4a5568; color: #fff; }
.qv-btn--admin:hover { background: #2d3748; color: #fff; }
.qv-btn--scrap { background: #fff; color: #f26522; border: 1px solid #fcd9c0; }
.qv-btn--scrap:hover { background: #fff8f4; }

/* ───── 게시물 쓰기 (qw-) ───── */
#bo_w .qw-field { margin: 10px 0; position: relative; }
#bo_w .qw-field--info { display: flex; flex-wrap: wrap; gap: 8px; }
#bo_w .qw-field--info .qw-input { width: 180px; }
#bo_w #wr_password { margin: 0 0.5%; }
#bo_w .wr_content.smarteditor2 iframe { background: #fff; }
#bo_w .qw-field--title { position: relative; }
#bo_w .qw-field--title .qw-input { padding-right: 120px; }
#bo_w .qw-field--title-inner #btn_autosave { position: absolute; top: 5px; right: 5px; line-height: 30px; height: 30px; display: none; }
#bo_w .qw-field--link label { position: absolute; top: 1px; left: 1px; border-radius: 3px 0 0 3px; height: 38px; line-height: 38px; width: 40px; background: #eee; text-align: center; color: #888; }
#bo_w .qw-field--link .qw-input { padding-left: 50px; }
#bo_w .qw-field--file .lb_icon { position: absolute; top: 0; left: 0; border-radius: 3px 0 0 3px; height: 38px; line-height: 38px; width: 40px; background: #eee; text-align: center; color: #888; }
#bo_w .qw-field--file .qw-file-input { padding-left: 50px; }
#bo_w .qw-file-row { border: 1px solid #ccc; background: #fff; color: #000; vertical-align: middle; border-radius: 3px; padding: 5px; height: 40px; margin: 0; }
#bo_w .qw-field--file .qw-input { margin: 10px 0 0; }
#bo_w .qw-file-del { position: absolute; top: 10px; right: 10px; font-size: 0.92em; color: #7d7d7d; }
#bo_w .qw-field--select select { border: 1px solid #3497d9; height: 40px; border-radius: 3px; width: 200px; font-size: 14px; }

/* 옵션 (공지/HTML/비밀글/답변메일) */
#bo_w .qw-field--option { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; color: #444; }
#bo_w .qw-field--option label { cursor: pointer; }
#bo_w .qw-field--option input[type="checkbox"] { cursor: pointer; width: 16px; height: 16px; margin-right: 4px; vertical-align: middle; }

/* 쓰기 입력 */
.qw-input {
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color 0.18s;
  box-sizing: border-box;
}
.qw-input:focus { border-color: #009c79; }
.qw-input--full { width: 100%; }

/* 쓰기 버튼 (qw-) */
.qw-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  box-sizing: border-box;
}
.qw-btn--submit { background: #009c79; color: #fff; }
.qw-btn--submit:hover { background: #007d62; }
.qw-btn--submit:disabled { background: #a0d4c8; cursor: not-allowed; }
.qw-btn--cancel { background: #fff; color: #555; border: 1px solid #d1d5db; }
.qw-btn--cancel:hover { background: #f3f4f6; color: #222; }
.qw-btn--autosave {
  height: 30px; padding: 0 10px; font-size: 12px;
  background: #f3f4f6; color: #555; border: 1px solid #d1d5db;
  border-radius: 4px;
}
.qw-btn--autosave:hover { background: #e5e7eb; }
.qw-btn-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* 임시저장 */
#char_count_desc { display: block; margin: 0 0 5px; padding: 0; }
#char_count_wrap { margin: 5px 0 0; text-align: right; }
#char_count { font-weight: bold; }
#autosave_wrapper { position: relative; }
#autosave_pop { display: none; z-index: 10; position: absolute !important; top: 34px; right: 0; width: 350px; height: auto !important; max-height: 180px; border: 1px solid #565656; background: #fff; box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.2); }
#autosave_pop::before { content: ""; position: absolute; top: -8px; right: 45px; width: 0; height: 0; border-style: solid; border-width: 0 6px 8px 6px; border-color: transparent transparent #000 transparent; }
#autosave_pop::after { content: ""; position: absolute; top: -7px; right: 45px; width: 0; height: 0; border-style: solid; border-width: 0 6px 8px 6px; border-color: transparent transparent #fff transparent; }
html.no-overflowscrolling #autosave_pop { height: auto; max-height: 10000px !important; }
#autosave_pop strong { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#autosave_pop div { text-align: center; margin: 0 !important; }
#autosave_pop button { margin: 0; padding: 0; border: 0; }
#autosave_pop ul { padding: 15px; border-top: 1px solid #e9e9e9; list-style: none; overflow-y: scroll; height: 130px; border-bottom: 1px solid #e8e8e8; }
#autosave_pop li { padding: 8px 5px; border-bottom: 1px solid #fff; background: #eee; zoom: 1; }
#autosave_pop li::after { display: block; visibility: hidden; clear: both; content: ""; }
#autosave_pop a { display: block; float: left; }
#autosave_pop span { display: block; float: right; font-size: 0.92em; font-style: italic; color: #999; }
.autosave_close { cursor: pointer; width: 100%; height: 30px; background: none; color: #888; font-weight: bold; font-size: 0.92em; }
.autosave_close:hover { background: #f3f3f3; color: #3597d9; }
.autosave_content { display: none; }
.autosave_del { background: url(./img/close_btn.png) no-repeat 50% 50%; text-indent: -999px; overflow: hidden; height: 20px; width: 20px; }

/* ───── 댓글 (qc-) ───── */
.cmt_btn { background: url('./img/cmt_btn.png') no-repeat 85px 8px; text-align: left; width: 100%; border: 0; color: #ed6478; font-weight: bold; font-size: 1.25em; margin: 30px 0 0; padding: 0 0 10px; display: none; }
.cmt_btn_op { background: url('./img/cmt_btn.png') no-repeat 85px -23px; }
#bo_vc { display: none; }
#bo_vc h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_vc article { margin: 20px 0; position: relative; }
#bo_vc article .profile_img img { border-radius: 50%; }
#bo_vc header::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_vc header .icon_reply { position: absolute; top: 15px; left: -20px; }
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest { font-weight: bold; }
.bo_vc_hdinfo { float: right; font-style: italic; color: #777; }
#bo_vc h1 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_vc .cmt_contents { padding: 15px; margin: 10px 0 0; background: #f8fafb; border-radius: 5px; border: 1px solid #e8e8e8; line-height: 1.8em; }
#bo_vc p a { text-decoration: underline; }
#bo_vc p a.s_cmt { text-decoration: underline; color: #ed6479; }
#bo_vc_empty { margin: 0; padding: 80px 0 !important; color: #777; text-align: center; }
#bo_vc #bo_vc_winfo { float: left; }

.bo_vc_act { text-align: right; margin: 0; list-style: none; zoom: 1; }
.bo_vc_act::after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_vc_act li { display: inline-block; }
.bo_vc_act li a { padding: 0 5px; line-height: 23px; }

.bo_vc_w { position: relative; margin: 10px 0; display: none; }
.bo_vc_w::after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_vc_w h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
.bo_vc_w #char_cnt { display: block; margin: 0 0 5px; }
.bo_vc_w textarea { border: 1px solid #ccc; background: #fff; color: #000; vertical-align: middle; border-radius: 3px; padding: 5px; width: 100%; height: 120px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); }
.bo_vc_w_info { margin: 10px 0; float: left; }
.bo_vc_w_info::after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_vc_w_info .qc-input { float: left; margin-right: 5px; }
.bo_vc_w_info #captcha { padding-top: 10px; display: block; clear: both; }

/* 댓글 버튼 (qc-) */
.qc-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.qc-btn--sm {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  background: #fff;
  color: #555;
  border: 1px solid #d1d5db;
}
.qc-btn--sm:hover { background: #f3f4f6; color: #222; }
.qc-btn--del { color: #e53e3e; border-color: #feb2b2; }
.qc-btn--del:hover { background: #fff5f5; }
.qc-btn--submit {
  height: 40px;
  padding: 0 20px;
  background: #009c79;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
}
.qc-btn--submit:hover { background: #007d62; }
.qc-btn--submit:disabled { background: #a0d4c8; cursor: not-allowed; }
.qc-btn-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qc-btn-row label {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #888;
  cursor: pointer;
}
.qc-btn-row label:hover { color: #009c79; }

/* 댓글 입력 */
.qc-input {
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 13px;
  color: #333;
  outline: none;
  transition: border-color 0.18s;
  box-sizing: border-box;
}
.qc-input:focus { border-color: #009c79; }

#bo_vc_send_sns { display: inline-block; float: left; }
#bo_vc_sns { display: inline-block; margin: 0; padding: 0; list-style: none; zoom: 1; }
#bo_vc_sns::after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_vc_sns li { float: left; margin: 0 5px 0 0; }
#bo_vc_sns .sns_li_f { border-radius: 3px; background: #3a589b; height: 40px; line-height: 40px; padding: 0 0 0 10px; }
#bo_vc_sns .sns_li_t { border-radius: 3px; background: #00aced; height: 40px; line-height: 40px; padding: 0 0 0 10px; }
#bo_vc_sns .sns_li_off { background: #bbb; }
#bo_vc_sns a { display: inline-block; padding: 0 15px 0 5px; }
#bo_vc_sns input { margin: 0 5px 0 0; }

/* ───── 반응형 ───── */
@media (max-width: 1216px) {
    .sub_wrap #container { width: 100% !important; padding: 2%; }
    #bo_cate { width: 25%; }
    .right_board { width: 73%; }
    #bo_v { padding: 0; }
}

@media (max-width: 900px) {
    .sub_wrap > button { display: block; }
    #bo_cate {
        z-index: 10;
        position: absolute;
        left: -40%; float: none; width: 40%;
        transition: left .4s ease-in-out;
    }
    #bo_cate.on { left: 0; }
    .top-bn { padding-top: 27px; }
    .right_board { width: 100%; }
}

@media (max-width: 656px) {
    .fa { position: relative; top: -3px; }
    #bo_v_info .if_date,
    #bo_v_title .bo_v_cate { font-size: 14px; line-height: 16px; }
    #bo_v_title .bo_v_tit { font-size: 20px; line-height: 22px; margin-top: 10px; }
}
