@charset "utf-8";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* =========================================================
   📂 [ 게시판 목록 영역 : list.skin.php ]
   ========================================================= */

#bo_list {position:relative;margin-bottom:20px}
#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;border-top:1px solid #ecf0f1;border-bottom:1px solid #ecf0f1}
#bo_list .td_date {width:60px;text-align:center}
#bo_list .td_datetime {width:60px;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:50px;text-align:center}
#bo_list .td_num2 {width:50px;text-align:center}
#bo_list .td_numbig {width:80px;text-align:center}
#bo_list .txt_active {color:#5d910b}
#bo_list .txt_expired {color:#ccc}
#bo_list tbody tr {border-left:2px solid transparent}
#bo_list tbody tr:hover {border-left:2px solid #253dbe}
#bo_list tbody .even td {background:#fbfbfb}

#bo_cate {margin:25px 0}
#bo_cate h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {display:inline-block;padding:2px}
#bo_cate a {display:block;line-height:28px;padding:5px 15px;border-radius:30px;border:1px solid #d6e9ff;color:#6794d3}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none;background:#3a8afd;color:#fff}
#bo_cate #bo_cate_on {z-index:2;background:#3a8afd;color:#fff;font-weight:bold;border:1px solid #3a8afd;
    -webkit-box-shadow:inset 0 2px 5px rgb(33, 135, 202);
    -moz-box-shadow:inset 0 2px 5px rgb(33, 135, 202);
    box-shadow:inset 0 2px 5px rgb(33, 135, 202)}
.td_subject img {margin-left:5px}

/* 게시판 목록 공통 */
.selec_chk {position:absolute;top:0;left:0;width:0;height:0;opacity:0;outline:0;z-index:-1;overflow:hidden}
.chk_box {position:relative}
.chk_box input[type="checkbox"] + label {position:relative;color:#676e70}
.chk_box input[type="checkbox"] + label:hover {color:#2172f8}
.chk_box input[type="checkbox"] + label span {float:left;width:15px;height:15px;display:block;background:#fff;border:1px solid #d0d4df;border-radius:3px}
.write_div .chk_box input[type="checkbox"] + label, .bo_vc_w .chk_box input[type="checkbox"] + label {padding-left:20px}
.write_div .chk_box input[type="checkbox"] + label span, .bo_vc_w .chk_box input[type="checkbox"] + label span {position:absolute;top:2px;left:0;width:15px;height:15px;display:block;margin:0;background:#fff;border:1px solid #d0d4df;border-radius:3px}
.chk_box input[type="checkbox"]:checked + label {color:#000}
.chk_box input[type="checkbox"]:checked + label span {background:url(./img/chk.png) no-repeat 50% 50% #3a8afd;border-color:#1471f6;border-radius:3px}

#bo_btn_top {margin:10px 0}
#bo_btn_top:after {display:block;visibility:hidden;clear:both;content:""}
.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:34px;font-size:0.92em;color:#4e546f}

.btn_bo_user {float:right;margin:0;padding:0;list-style:none}
.btn_bo_user li {float:left;width:40px;text-align:center;margin-left:5px;background:#fff}
.btn_bo_user > li {position:relative}
.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:#fff6fa !important;border-bottom:1px solid #f8e6ee}
.bo_notice td a {font-weight:bold}
.bo_notice .notice_icon {display:inline-block;line-height:25px;border-radius:5px;font-weight:bold;color:#f9267f}

.more_opt {display:none;position:absolute;top:45px;right:0;background:#fff;border:1px solid #b8bfc4;z-index:999}
.more_opt:before {content:"";position:absolute;top:-8px;right:13px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #b8bfc4 transparent}
.more_opt:after {content:"";position:absolute;top:-6px;right:13px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #fff transparent}
.more_opt li {border-bottom:1px solid #f1f1f1;padding:10px;float:inherit;width:90px;margin:0;color:#6b757c;text-align:left}
.more_opt li:last-child {border-bottom:0}
.more_opt li button, .more_opt li a {width:100%;border:0;background:#fff;color:#6b757c}
.more_opt li:hover a,
.more_opt li:hover button {color:#000}
.more_opt li i {float:right;line-height:20px}

.td_num strong {color:#000}
.bo_cate_link {float:left;display:inline-block;margin-right:10px;background:#e2eaf6;color:#3a8afd;font-weight:normal !important;height:20px;line-height:10px;padding:5px 8px;border-radius:5px;font-size:0.95em}
.bo_cate_link:hover {text-decoration:none}
.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:#e9eff5;color:#3a8afd;font-size:11px;height:16px;line-height:16px;padding:0 5px;border-radius:3px;vertical-align:middle}

#bo_list .bo_tit .title_icon {margin-right:2px}
#bo_list .bo_tit .fa-heart {color:#ff0000}
#bo_list .bo_tit .fa-lock {display:inline-block;line-height:14px;width:16px;font-size:0.833em;color:#4f818c;background:#cbe3e8;text-align:center;border-radius:2px;font-size:12px;border:1px solid #cbe3e8;vertical-align:middle}
#bo_list .bo_tit .new_icon {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#23db79;background:#b9ffda;text-align:center;border-radius:2px;margin-left:2px;font-weight:bold;vertical-align:middle}
#bo_list .bo_tit .hot_icon {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#ff0000;background:#ffb9b9;text-align:center;border-radius:2px;vertical-align:middle}
#bo_list .bo_tit .fa-caret-right {color:#bbb}
#bo_list .bo_tit .fa-download {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#daae37;background:#ffefb9;text-align:center;border-radius:2px;margin-left:5px;vertical-align:middle}
#bo_list .bo_tit .fa-link {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#b451fd;background:#edd3fd;text-align:center;border-radius:2px;margin-left:5px;vertical-align:middle}




/* =========================================================
   ✍️ [ 게시판 쓰기 영역 : write.skin.php ]
   ========================================================= */

/* 글자수 카운트 */
#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;height:180px;max-height:180px;border:1px solid #565656;background:#fff;
    -webkit-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
    -moz-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
    box-shadow:2px 2px 3px 0px 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}

/* 게시판 쓰기 전체 폼 */
#bo_w {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 입력 영역 */
.write_div {
    margin-bottom: 25px;
    position: relative;
}

/* 공통 입력 필드 */
.frm_input {
    height: 50px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 0 15px !important;
    font-size: 15px !important;
    transition: all 0.3s;
    background: #fdfdfd;
}

.frm_input:focus {
    border-color: #e74c3c !important;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
    outline: none;
}

/* 이름/비번/홈페이지 입력 */
.bo_w_info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.half_input {
    flex: 1;
    min-width: 200px;
}

/* 제목 강조 */
#wr_subject {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111;
}

/* 내용 영역 */
.wr_content {
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

/* 임시저장 버튼 */
#btn_autosave {
    margin-top: 10px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* 링크 및 파일첨부 */
.bo_w_link label, .bo_w_flie .lb_icon {
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-right: none;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px 0 0 6px;
    color: #555;
}
.bo_w_link input, .bo_w_flie .frm_file {
    border-radius: 0 6px 6px 0 !important;
    width: calc(100% - 50px) !important;
    display: inline-block;
    vertical-align: top;
}

/* 파일 설명 */
.bo_w_flie .full_input {
    margin-top: 5px;
    border-radius: 6px !important;
    width: 100% !important;
}

/* 하단 버튼 영역 */
.btn_confirm {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.btn_confirm .btn {
    height: 55px;
    padding: 0 40px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn_cancel {
    background: #fff;
    border: 1px solid #ccc;
    color: #666 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn_submit {
    background: #e74c3c;
    border: none;
    color: #fff;
}
.btn_submit:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* 반응형 */
@media (max-width: 768px) {
    #bo_w {
        margin: 10px;
        padding: 20px;
    }
    .half_input {
        width: 100% !important;
        flex: none;
    }
    .btn_confirm .btn {
        flex: 1;
        padding: 0;
    }
}

/* 기존 스타일 (원본 그대로 유지) */
#bo_w .bo_v_option li {display:inline-block;float:left;text-align:left;margin:0 5px 0 0}
#bo_w .bo_v_option li label {vertical-align:baseline}
#bo_w .bo_v_option .chk_box input[type="checkbox"] + label span {margin-left:0;margin-right:5px}
#bo_w .write_div {margin:10px 0;position:relative}
#bo_w .write_div:after {display:block;visibility:hidden;clear:both;content:""}
#bo_w .bo_w_info:after {display:block;visibility:hidden;clear:both;content:""}
#bo_w .bo_w_info .frm_input {float:left;margin-bottom:1%}
#bo_w #wr_password, #bo_w #wr_homepage {margin-left:1%}
#bo_w .wr_content.smarteditor2 iframe {background:#fff}
#bo_w .bo_w_tit {position:relative}
#bo_w .bo_w_tit .frm_input {padding-right:120px}
#bo_w .bo_w_tit #btn_autosave {position:absolute;top:5px;right:5px;line-height:30px;height:30px}
#bo_w .bo_w_link label {position:absolute;top:1px;left:1px;border-radius:3px 0 0 3px;height:38px;line-height:38px;width:40px;font-size:1.2em;text-align:center;color:#b2b2b2}
#bo_w .bo_w_link .frm_input {padding-left:50px}
#bo_w .bo_w_flie .lb_icon {position:absolute;top:0px;left:0px;border-radius:3px 0 0 3px;height:38px;line-height:38px;width:40px;font-size:1.2em;text-align:center;color:#b2b2b2}
#bo_w .bo_w_flie .frm_file {padding-left:50px;margin-top:3px}
#bo_w .bo_w_flie .file_wr {position:relative;border:1px solid #ccc;background:#fff;color:#000;vertical-align:middle;border-radius:3px;padding:5px;height:40px;margin:0}
#bo_w .bo_w_flie .frm_input {margin:10px 0 0}
#bo_w .bo_w_flie .file_del {position:absolute;top:10px;right:10px;font-size:0.92em;color:#7d7d7d}
#bo_w .bo_w_select select {border:1px solid #d0d3db;width:100%;height:40px;border-radius:3px}
#bo_w .btn_submit {padding:0 20px;font-size:1.167em}
#bo_w .btn_cancel {border-radius:3px;font-size:1.167em}


/* =========================================================
   👁 [ 게시판 보기 영역 : view.skin.php ]
   ========================================================= */


/* =========================================================
   👁 2. 게시판 본문 영역 (View Layout - g9_viewskin)
   ========================================================= */
#g9_viewskin { max-width: 1200px; margin: 0 auto; padding: 20px; background: #fff; }

/* 제목 헤더 */
#g9_viewskin .header { padding-bottom: 20px; border-bottom: 2px solid #222; margin-bottom: 20px; }
#g9_viewskin .header .cate { color: #e74c3c; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
#g9_viewskin .header .subject { font-size: 28px; font-weight: 800; color: #111; line-height: 1.4; }

/* 작성자 정보 바 */
#g9_viewskin .information { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 15px 20px; background: #f9f9f9; border-radius: 8px; margin-bottom: 30px; 
}
#g9_viewskin .info { display: flex; align-items: center; gap: 12px; }
#g9_viewskin .info .img img { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #ddd; }
#g9_viewskin .info .con { display: flex; flex-direction: column; gap: 2px; }
#g9_viewskin .info .con dl { display: flex; margin: 0; font-size: 13px; color: #666; }
#g9_viewskin .info .con dt { font-weight: 700; color: #333; margin-right: 5px; }
#g9_viewskin .info .con dd { margin-right: 15px; }

/* 상단 버튼군 */
#g9_viewskin .bttn ul { display: flex; list-style: none; gap: 5px; padding: 0; margin: 0; }
#g9_viewskin .bttn .btn { 
    display: inline-flex; align-items: center; height: 36px; padding: 0 12px; 
    border: 1px solid #ddd; background: #fff; border-radius: 4px; font-size: 13px; 
}

/* 본문 내용 */
#g9_viewskin .section .content { line-height: 1.8; font-size: 16px; color: #333; min-height: 300px; padding: 20px 0; }
#g9_viewskin .section .content img { max-width: 100% !important; height: auto !important; display: block; margin: 15px 0; }

/* 추천 버튼 */
#bo_v_act { display: flex; justify-content: center; gap: 10px; margin: 40px 0; }
#bo_v_act .bo_v_good, #bo_v_act .bo_v_nogood { 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    width: 75px; height: 75px; border: 1px solid #eee; border-radius: 50%; text-decoration: none; 
}
#bo_v_act .bo_v_good:hover { border-color: #e74c3c; background: #fff5f5; }

/* 하단 목록/글쓰기 버튼 */
#g9_viewskin .button { display: flex; justify-content: center; gap: 10px; padding-top: 30px; border-top: 1px solid #eee; }
#g9_viewskin .button .btn { 
    padding: 0 30px; height: 45px; line-height: 43px; border: 1px solid #ccc; 
    background: #fff; color: #333; border-radius: 4px; font-weight: 600; 
}
#g9_viewskin .button .btn_submit { background: #e74c3c; border-color: #e74c3c; color: #fff; }


/* 모바일 대응 */
@media (max-width: 768px) {
    #msgm_board_wrapper { flex-direction: column; padding: 15px; }
    #g9_viewskin .information { flex-direction: column; align-items: flex-start; gap: 15px; }
    .td_numbig, .td_date, .td_hit { display: none; }
    #g9_viewskin .header .subject { font-size: 20px; }
}
/* =========================================================
    💬 [ MSGM 커스텀 댓글 영역 스타일 ]
   ========================================================= */

/* 댓글 영역 전체 컨테이너 */
#bo_vc { margin: 40px 0; background: #fff; border-top: 2px solid #222; padding-top: 20px; }
#bo_vc h2 { font-size: 18px; font-weight: 800; color: #111; margin-bottom: 20px; padding-left: 5px; }

/* 댓글 개별 아이템 */
#bo_vc article { padding: 25px 0; border-bottom: 1px solid #f2f2f2; display: flex; gap: 15px; position: relative; }
#bo_vc article:last-child { border-bottom: 0; }

/* 프로필 이미지 */
#bo_vc .pf_img img { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #eee; object-fit: cover; }

/* 댓글 본문 래퍼 */
#bo_vc .cm_wrap { flex: 1; min-width: 0; }
#bo_vc header { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#bo_vc header h2 { display: none; } /* 중복 제목 숨김 */
#bo_vc header .sv_member { font-weight: 700; color: #111; font-size: 15px; }
#bo_vc .bo_vc_hdinfo { font-size: 12px; color: #999; margin-left: auto; }
#bo_vc .bo_vc_hdinfo i { margin-right: 3px; }

/* 댓글 내용 */
#bo_vc .cmt_contents { line-height: 1.7; font-size: 15px; color: #444; word-break: break-all; padding: 5px 0; }
#bo_vc .cmt_contents img { vertical-align: middle; margin-right: 5px; }

/* 답변/수정/삭제 옵션 버튼 */
.bo_vl_opt { position: absolute; top: 25px; right: 0; }
.btn_cm_opt { background: none; border: 0; color: #ccc; cursor: pointer; padding: 5px; font-size: 16px; }
.btn_cm_opt:hover { color: #222; }

.bo_vc_act { 
    display: none; position: absolute; top: 35px; right: 0; background: #fff; 
    border: 1px solid #222; border-radius: 4px; z-index: 10; min-width: 80px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}
.bo_vc_act li { list-style: none; }
.bo_vc_act li a { display: block; padding: 10px 15px; font-size: 13px; color: #666; text-decoration: none; text-align: center; border-bottom: 1px solid #eee; }
.bo_vc_act li a:hover { background: #f8f9fa; color: #e74c3c; }
.bo_vc_act li:last-child a { border-bottom: 0; }

/* ---------------------------------------------------------
   📝 댓글 작성 폼 (bo_vc_w)
   --------------------------------------------------------- */
#bo_vc_w { margin-top: 30px; padding: 25px; background: #f9f9f9; border: 1px solid #eee; border-radius: 12px; }
#bo_vc_w h2 { font-size: 16px; font-weight: 800; margin-bottom: 15px; color: #111; }

#bo_vc_w textarea { 
    width: 100%; height: 100px; padding: 15px; border: 1px solid #ddd; border-radius: 8px; 
    resize: none; font-family: inherit; font-size: 14px; line-height: 1.6; transition: border-color 0.2s;
}
#bo_vc_w textarea:focus { border-color: #e74c3c; outline: none; background: #fff; }

.bo_vc_w_wr { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }

/* 비회원 이름/비번 입력 */
.bo_vc_w_info { display: flex; gap: 5px; }
.bo_vc_w_info .frm_input { height: 40px; border: 1px solid #ddd; border-radius: 4px; padding: 0 12px; font-size: 13px; }

/* 비밀글 체크박스 & 등록 버튼 */
.btn_confirm { display: flex; align-items: center; gap: 15px; }
.secret_cm label { font-size: 14px; color: #666; cursor: pointer; display: flex; align-items: center; gap: 5px; }
.secret_cm input[type="checkbox"] { width: 16px; height: 16px; accent-color: #e74c3c; }

.btn_submit { 
    background: #222; color: #fff; border: 0; height: 45px; padding: 0 25px; 
    border-radius: 6px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background 0.2s; 
}
.btn_submit:hover { background: #e74c3c; }

/* 댓글 열기/닫기 버튼 (cmt_btn) */
.cmt_btn { 
    width: 100%; height: 50px; background: #fff; border: 1px solid #eee; border-radius: 8px; 
    margin-bottom: 20px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.cmt_btn b { color: #e74c3c; }
.cmt_btn:hover { background: #fcfcfc; border-color: #ddd; }

/* 모바일 대응 */
@media (max-width: 768px) {
    #bo_vc article { flex-direction: column; }
    #bo_vc .pf_img { display: none; }
    #bo_vc .cm_wrap { width: 100%; }
    .bo_vc_w_wr { flex-direction: column; align-items: stretch; gap: 15px; }
    .btn_confirm { justify-content: space-between; }
}
/* =========================================================
   🧩 [ G9 + MSGM 통합 확장 디자인 ]
   ========================================================= */

#g9_list{position:relative;font-family:'Pretendard';}
#g9_list .g9_category ul li a{height:75px;border:1px solid #e3e3e3;font-size:18px;font-weight:600;}
#g9_list .g9_basic table td.image{width:200px;}
#g9_list .g9_basic table td.subject{text-align:left;padding-left:36px !important;}
#g9_list .g9_qa .toggle-wrap .acc_trigger{padding:25px 20px;background:#fff;border-bottom:1px solid #eee;}
#g9_list .g9_button .btn{padding:0 30px;height:45px;border:1px solid #ccc;font-size:16px;color:#4c4c4c;}
#g9_list .g9_search .search{width:330px;max-width:100%;background:#fff;}
/* =========================================================
   🔗 [ 게시판 하단 이전글/다음글 - page_list ]
   ========================================================= */
.page_list {
    margin: 40px 0;
    border-top: 1px solid #111;
    border-bottom: 1px solid #eee;
}

.page_list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page_list li {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.page_list li:last-child {
    border-bottom: 0;
}

/* '이전글/다음글' 라벨 */
.page_list .nb_tit {
    display: flex;
    align-items: center;
    width: 90px;
    font-size: 13px;
    font-weight: 700;
    color: #666;
}

.page_list .nb_tit i {
    margin-right: 8px;
    color: #e74c3c; /* 포인트 레드 */
    font-size: 11px;
}

/* 글 제목 링크 */
.page_list li a {
    flex: 1;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page_list li a:hover span {
    color: #e74c3c;
    text-decoration: underline;
}

/* 날짜 */
.page_list .nb_date {
    width: 80px;
    text-align: right;
    font-size: 13px;
    color: #999;
}

/* 호버 시 배경 살짝 변경 */
.page_list li:hover {
    background: #fcfcfc;
}

/* =========================================================
   🔘 [ 하단 목록/글쓰기 버튼 영역 ]
   ========================================================= */
#g9_viewskin .button {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

#g9_viewskin .button .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 30px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

#g9_viewskin .button .btn_submit {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

#g9_viewskin .button .btn:hover {
    filter: brightness(0.9);
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .page_list li { padding: 12px 15px; }
    .page_list .nb_tit { width: 75px; font-size: 12px; }
    .page_list li a { font-size: 14px; }
    .page_list .nb_date { display: none; }
}
/* =========================================================
   🧱 [ MSGM 보드 레이아웃 확장 ]
   ========================================================= */

#msgm_board_wrapper { 
    display: flex; 
    gap: 40px; 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 30px 20px; 
    font-family: 'Pretendard', sans-serif;
    letter-spacing: -0.03em;
}

.msgm_sidebar { flex: 0 0 240px; }
.msgm_content { flex: 1; min-width: 0; }

.board_header_visual { padding-bottom: 25px; border-bottom: 3px solid #111; margin-bottom: 25px; }
.board_title { font-size: 36px; font-weight: 800; color: #000; display: flex; align-items: center; margin: 0; }
.red_line { width: 6px; height: 36px; background: #e74c3c; margin-right: 15px; border-radius: 2px; }
.board_subtitle { font-size: 16px; color: #777; margin-top: 10px; padding-left: 21px; }

.board_top_nav { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 15px; }
.total_info { font-size: 15px; color: #555; }
.total_info strong { color: #e74c3c; font-weight: 700; }

.action_buttons { display: flex; align-items: center; gap: 8px; }
.btn_item { width: 42px; height: 42px; border: 1px solid #ddd; background: #fff; border-radius: 6px; cursor: pointer; color: #444; transition: all 0.2s; }
.btn_item:hover { background: #f4f4f4; border-color: #bbb; }
.btn_admin { color: #e74c3c !important; border-color: #ffcfcf !important; }

.btn_main_write { background: #e74c3c; color: #fff !important; height: 42px; padding: 0 22px; border-radius: 6px; display: flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);}
.btn_main_write:hover { background: #c0392b; transform: translateY(-1px); }

.admin_more_wrap { position: relative; }
.admin_dropdown { display: none; position: absolute; top: 48px; right: 0; width: 130px; background: #fff; border: 1px solid #111; z-index: 999; padding: 5px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.15); border-radius: 4px; }
.admin_dropdown li button { width: 100%; border: none; background: none; padding: 12px 15px; text-align: left; font-size: 14px; font-weight: 600; cursor: pointer; color: #333; }
.admin_dropdown li button:hover { background: #f8f9fa; color: #e74c3c; }

.table_container { border-top: 1px solid #222; }
.msgm_table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.msgm_table th { background: #f8f9fa; padding: 18px 10px; border-bottom: 1px solid #dbdbdb; font-weight: 700; font-size: 15px; color: #222; }
.msgm_table td { padding: 18px 10px; border-bottom: 1px solid #eee; text-align: center; font-size: 15px; color: #444; }

.td_chk { width: 50px; }
.td_num { width: 70px; }
.td_subject { text-align: left !important; width: auto; padding-left: 20px !important; }
.td_name { width: 120px; font-weight: 500; }
.td_hit { width: 80px; color: #999; }
.td_date { width: 100px; color: #999; }

.subject_box { display: flex; align-items: center; gap: 8px; overflow: hidden; }
.subject_link { font-size: 17px; font-weight: 600; color: #111; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.subject_link:hover { color: #e74c3c; text-decoration: underline; }

.notice_icon { background: #222; color: #fff; padding: 3px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; }
.comment_count { color: #e74c3c; font-weight: 700; font-size: 13px; }
.new_icon { background: #e74c3c; color: #fff; font-size: 10px; padding: 1px 4px; border-radius: 2px; font-weight: 800; margin-left: 4px; }

.pagination_wrap { margin-top: 40px; text-align: center; }
.pagination_wrap b { background: #e74c3c; color: #fff; border-radius: 4px; padding: 8px 14px; }
.pagination_wrap a { padding: 8px 14px; color: #666; text-decoration: none; border: 1px solid #eee; margin: 0 2px; border-radius: 4px; }

@media (max-width: 1024px) {
    #msgm_board_wrapper { flex-direction: column; }
    .msgm_sidebar { display: none; }
}

/* =========================================================
   📦 [ 사이드바 레이아웃 구조 ]
   ========================================================= */

.board-layout-wrapper { display: flex; gap: 30px; align-items: flex-start; max-width: 1200px; margin: 0 auto; }
.board-sidebar-area { flex: 0 0 240px; width: 240px; }
.board-content-area { flex: 1; min-width: 0; }

@media (max-width: 991px) {
    .board-layout-wrapper { flex-direction: column; }
    .board-sidebar-area { display: none; width: 100%; }
}
