@charset "utf-8";

/* 게시판 타이틀 영역 */
.bo_title_area { text-align: center; padding: 50px 0 40px; }
.bo_title_badge { display: inline-block; background: #1B2A4A; color: #D4941A; font-size: 13px; font-weight: 700; padding: 6px 20px; border-radius: 30px; letter-spacing: 2px; margin-bottom: 18px; }
.bo_title_text { font-size: 36px; font-weight: 800; color: #1B2A4A; margin: 0 0 10px; }
.bo_title_desc { font-size: 18px; color: #777; line-height: 1.7; margin: 0; }
.bo_title_line { width: 50px; height: 3px; background: #D4941A; margin: 20px auto 0; }

/* 게시판 리스트 스타일 */
#bo_list { margin: 0 auto; width: 100% !important; max-width: 1200px; padding: 0 20px 60px; }

#bo_cate { margin-bottom: 15px; }
#bo_cate_ul { display: flex; gap: 8px; flex-wrap: wrap; }
#bo_cate_ul li { display: inline; }
#bo_cate_ul li a { display: inline-block; padding: 6px 16px; border-radius: 20px; font-size: 13px; border: 1px solid #ddd; color: #666; transition: all .2s; }
#bo_cate_ul li a:hover, #bo_cate_ul li a.active { background: #D4941A; color: #fff; border-color: #D4941A; }

#bo_btn_top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding: 15px 0; }
#bo_list_total { font-size: 14px; color: #888; }
#bo_list_total span { font-weight: 700; color: #1B2A4A; }

.btn_bo_user { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; }
.btn_bo_user li { position: relative; }
.btn_bo_user .btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 15px; border-radius: 5px; font-size: 13px; color: #555; background: #f8f9fa; border: 1px solid #ddd; cursor: pointer; transition: all .2s; }
.btn_bo_user .btn:hover { background: #e9ecef; color: #333; }
.btn_bo_user .btn_admin { color: #D4941A; }

.more_opt { display: none; position: absolute; right: 0; top: 100%; background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,.1); z-index: 100; min-width: 140px; overflow: hidden; list-style: none; margin: 5px 0 0; padding: 0; }
.more_opt li button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 15px; border: 0; background: none; font-size: 13px; color: #555; cursor: pointer; text-align: left; }
.more_opt li button:hover { background: #f8f9fa; color: #D4941A; }

.tbl_head01 { width: 100%; }
.tbl_head01 table { width: 100%; border-collapse: collapse; }
.tbl_head01 thead th { background: #f8f9fa; padding: 16px 12px; font-size: 15px; font-weight: 700; color: #1B2A4A; border-top: 3px solid #1B2A4A; border-bottom: 1px solid #ddd; text-align: center; }
.td_num2 { width: 80px; }
.td_subject { width: auto; }
.td_name { width: 120px; }
.td_num { width: 80px; }
.td_datetime { width: 110px; }
.tbl_head01 tbody td { padding: 16px 12px; font-size: 15px; border-bottom: 1px solid #eee; text-align: center; color: #555; }
.tbl_head01 tbody tr:hover { background: #fafafa; }
.tbl_head01 tbody tr.bo_notice { background: #fffbf2; }
.tbl_head01 tbody tr.bo_notice td { font-weight: 500; }

.td_subject { text-align: left !important; }
.td_subject .bo_tit { display: inline; }
.td_subject .bo_tit a { color: #333; font-weight: 400; }
.td_subject .bo_tit a:hover { color: #D4941A; }
.td_name a { color: #555; }
.td_datetime { color: #999; font-size: 13px; }
.td_num { color: #888; font-size: 13px; }

.notice_icon { display: inline-block; padding: 3px 10px; background: #D4941A; color: #fff; font-size: 12px; border-radius: 3px; font-weight: 700; }
.new_icon { display: inline-block; padding: 2px 6px; background: #e74c3c; color: #fff; font-size: 10px; border-radius: 2px; margin-left: 5px; vertical-align: middle; }
.cnt_cmt { color: #D4941A; font-size: 13px; margin-left: 5px; font-weight: 700; }
.bo_current { color: #D4941A; font-weight: 700; font-size: 13px; }

.bo_cate_link { display: inline-block; padding: 2px 8px; background: #e9ecef; color: #666; font-size: 12px; border-radius: 3px; margin-right: 5px; }

.empty_table { text-align: center !important; padding: 60px 20px !important; color: #999; font-size: 16px; }

.bo_fx { display: flex; justify-content: flex-end; padding: 20px 0; }

/* 게시판 검색 */
.bo_sch_wrap { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; }
.bo_sch { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,.2); z-index: 1; width: 90%; max-width: 500px; }
.bo_sch h3 { font-size: 18px; margin-bottom: 15px; }
.bo_sch select { padding: 10px; border: 1px solid #ddd; border-radius: 5px; margin-bottom: 10px; font-size: 14px; width: 100%; }
.sch_bar { display: flex; gap: 5px; }
.sch_input { flex: 1; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 14px; }
.sch_input:focus { border-color: #D4941A; outline: none; }
.sch_btn { padding: 12px 20px; background: #D4941A; color: #fff; border: 0; border-radius: 5px; cursor: pointer; font-size: 16px; }
.bo_sch_cls { position: absolute; top: 15px; right: 15px; background: none; border: 0; font-size: 20px; color: #999; cursor: pointer; }
.bo_sch_bg { position: absolute; inset: 0; background: rgba(0,0,0,.5); }

/* 체크박스 */
.chk_box { width: 40px; }
.selec_chk { width: 16px; height: 16px; cursor: pointer; }

/* 글보기 - 하단에서 재정의 */
#bo_v_file { padding: 15px 20px; background: #f8f9fa; border-radius: 8px; margin-bottom: 20px; }
#bo_v_file a { color: #555; }
#bo_v_file a:hover { color: #D4941A; }
#bo_v_link { padding: 15px 20px; background: #f8f9fa; border-radius: 8px; margin-bottom: 20px; }
#bo_v_link a { color: #3498db; word-break: break-all; }

#bo_v_top { display: flex; justify-content: flex-end; gap: 5px; padding: 10px 0; border-bottom: 2px solid #2c3e50; }
#bo_v_top a, #bo_v_top button { padding: 8px 15px; border-radius: 5px; font-size: 13px; border: 1px solid #ddd; background: #fff; color: #555; cursor: pointer; transition: all .2s; }
#bo_v_top a:hover, #bo_v_top button:hover { background: #f8f9fa; color: #D4941A; border-color: #D4941A; }

#bo_v_bot { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }

/* 좋아요 */
.bo_v_act { display: flex; justify-content: center; gap: 20px; padding: 20px 0; }
.bo_v_act a, .bo_v_act button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 15px 25px; border-radius: 10px; border: 1px solid #ddd; background: #fff; color: #555; cursor: pointer; font-size: 14px; transition: all .2s; }
.bo_v_act .act_good:hover { border-color: #D4941A; color: #D4941A; }
.bo_v_act .act_nogood:hover { border-color: #3498db; color: #3498db; }

/* 이전/다음글 */
#bo_v_nb { border-top: 1px solid #eee; }
#bo_v_nb a { display: block; padding: 12px 0; font-size: 14px; color: #555; border-bottom: 1px solid #f5f5f5; }
#bo_v_nb a:hover { color: #D4941A; }
#bo_v_nb strong { display: inline-block; width: 70px; color: #888; }

/* 댓글 */
#bo_vc { margin-top: 20px; }
.cmt_list { list-style: none; margin: 0; padding: 0; }
.cmt_list > li { padding: 15px 0; border-bottom: 1px solid #f5f5f5; }
.cmt_name { font-weight: 700; font-size: 14px; }
.cmt_name img { width: 30px; height: 30px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.cmt_date { font-size: 12px; color: #aaa; margin-left: 8px; }
.cmt_txt { margin-top: 8px; font-size: 14px; line-height: 1.7; color: #555; }
.cmt_reply { padding-left: 30px; }
.cmt_btn { margin-top: 5px; }
.cmt_btn a, .cmt_btn button { font-size: 12px; color: #888; background: none; border: 0; cursor: pointer; padding: 2px 5px; }
.cmt_btn a:hover, .cmt_btn button:hover { color: #D4941A; }

#cmt_write { margin-top: 20px; padding: 20px; background: #f8f9fa; border-radius: 10px; }
#cmt_write h2 { font-size: 16px; margin-bottom: 15px; }
#cmt_write textarea { width: 100%; min-height: 80px; padding: 12px; border: 1px solid #ddd; border-radius: 5px; resize: vertical; font-family: inherit; }
#cmt_write .btn_submit { margin-top: 10px; padding: 10px 25px; background: #D4941A; color: #fff; border: 0; border-radius: 5px; cursor: pointer; }

/* 글쓰기 */
#bo_w { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }
#bo_w form { width: 100% !important; }
.write_div { border-top: 2px solid #1B2A4A; }
.write_div table { width: 100%; border-collapse: collapse; }
.write_div th { padding: 12px 15px; background: #f8f9fa; font-size: 14px; font-weight: 500; text-align: left; border-bottom: 1px solid #eee; width: 120px; }
.write_div td { padding: 12px 15px; border-bottom: 1px solid #eee; }
.write_div .frm_input { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 15px; }
.write_div textarea { width: 100%; min-height: 300px; padding: 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 15px; }
.write_div .btn_submit { padding: 12px 40px; background: #D4941A; color: #fff; border: 0; border-radius: 5px; font-size: 15px; cursor: pointer; }
.write_div .btn_cancel { padding: 12px 40px; background: #95a5a6; color: #fff; border: 0; border-radius: 5px; font-size: 15px; cursor: pointer; margin-left: 5px; }
.btn_confirm { display: flex; justify-content: center; gap: 10px; padding: 30px 0 60px; }
.btn_confirm .btn_cancel { display: inline-block; padding: 14px 40px; background: #95a5a6; color: #fff; border: 0; border-radius: 5px; font-size: 16px; cursor: pointer; text-decoration: none; }
.btn_confirm .btn_cancel:hover { background: #7f8c8d; }
.btn_confirm .btn_submit { padding: 14px 40px; background: #D4941A; color: #fff; border: 0; border-radius: 5px; font-size: 16px; cursor: pointer; }
.btn_confirm .btn_submit:hover { background: #b8800f; }

/* 글보기 */
#bo_v { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }
#bo_v_title { font-size: 25px; font-weight: 700; padding: 25px 0; border-bottom: 1px solid #eee; color: #1B2A4A; }
#bo_v_info { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid #eee; color: #888; font-size: 15px; flex-wrap: wrap; }
#bo_v_info strong { color: #555; font-weight: 500; }
#bo_v_atc { padding: 35px 0; min-height: 200px; line-height: 1.8; font-size: 16px; }

@media (max-width: 768px) {
    .bo_title_area { padding: 35px 0 25px; }
    .bo_title_text { font-size: 26px; }
    .bo_title_desc { font-size: 15px; }
    #bo_list { padding: 0 15px 40px; }
    .tbl_head01 thead { display: none; }
    .tbl_head01 tbody td { display: block; text-align: left !important; padding: 3px 0; border: 0; }
    .tbl_head01 tbody td.td_chk { display: inline-block; }
    .tbl_head01 tbody td.td_num2 { display: inline; font-size: 12px; color: #aaa; }
    .tbl_head01 tbody td.td_subject { padding: 5px 0; }
    .tbl_head01 tbody td.td_name { display: inline; font-size: 12px; color: #888; }
    .tbl_head01 tbody td.td_datetime { display: inline; font-size: 12px; }
    .tbl_head01 tbody td.td_num { display: inline; font-size: 12px; }
    .tbl_head01 tbody tr { display: block; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
    #bo_v_info { flex-direction: column; gap: 5px; }
    .write_div th { display: block; width: 100%; }
    .write_div td { display: block; }
    .bo_sch { padding: 20px; }
}
