@charset "utf-8";

#bo_gall,
#bo_gall * {box-sizing:border-box;}

#bo_gall {margin:0 auto; color:#333;}
#bo_gall a {transition:all .2s ease;}
#bo_gall ul,
#bo_gall li {margin:0; padding:0; list-style:none;}

#bo_cate {margin:0 0 18px;}
#bo_cate ul {width:100%; max-width:100%; display:flex; flex-wrap:wrap; gap:8px; padding-left:0;}
#bo_cate li {float:none; margin:0;}
#bo_cate a {display:block; width:auto; min-width:88px; margin-left:0; padding:9px 16px; border:1px solid #d9e1de; border-radius:999px; background:#fff; color:#4f5b57; letter-spacing:0; font-size:13px; line-height:1.2; text-align:center;}
#bo_cate a:hover, #bo_cate a:focus, #bo_cate a:active {border-color:#aab8b3; background:#f7faf8; text-decoration:none;}
#bo_cate #bo_cate_on {border-color:#a8e6a1; background:#a8e6a1; color:#fff; font-weight:600;}

.bo_fx {display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; zoom:1;}
.bo_fx:after {display:block; visibility:hidden; clear:both; content:"";}
#bo_list_total {float:none; padding-top:0; color:#666; font-size:13px;}
#bo_list_total span {color:#222; font-weight:600;}
.btn_bo_user, .btn_bo_adm {display:flex; align-items:center; flex-wrap:wrap; gap:8px;}
.btn_bo_user li, .btn_bo_adm li {float:none; margin:0;}
#bo_gall a.btn_b01, #bo_gall a.btn_b02, #bo_gall a.btn_admin, .btn_bo_adm input {
    display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:0 16px;
    border:1px solid #d8dfdc; border-radius:10px; background:#fff; color:#2d3632; font-size:13px; font-weight:600; text-decoration:none;
}
#bo_gall a.btn_b01:hover, #bo_gall a.btn_b02:hover, #bo_gall a.btn_admin:hover, .btn_bo_adm input:hover {border-color:#bcc9c4; background:#f7f9f8; text-decoration:none;}
#bo_gall a.btn_b02 {border-color:#2f5d50; background:#2f5d50; color:#fff;}
#bo_gall a.btn_b02:hover {border-color:#23483e; background:#23483e;}

#bo_gall #gall_ul {margin:0; padding:0;}
#bo_gall .gall_li {
    clear:both; width:100%; margin:0 0 18px; padding:16px; border:1px solid #e7ece9; border-radius:18px; background:#fff;
    box-shadow:0 8px 24px rgba(17,24,39,.04); overflow:hidden;
}
#bo_gall .gall_li:hover {border-color:#d8e1dd; box-shadow:0 12px 30px rgba(17,24,39,.07);}

#bo_gall .gall_con {float:left; width:158px; margin:0; padding:0;}
#bo_gall .gall_con li {margin:0; padding:0; list-style:none;}
#bo_gall .gall_href {overflow:hidden; padding:0 !important; border:1px solid #edf1ef !important; border-radius:14px; background:#f7f9f8;}
#bo_gall .gall_href a {display:block;}
#bo_gall .gall_href img, #bo_gall .gall_href span, #bo_gall .gall_href strong {display:block; width:100% !important; max-width:100%; border-radius:12px;}
#bo_gall .gall_href img {height:142px; object-fit:cover; border:0; vertical-align:top; transform:scale(1); transition:transform .35s ease;}
#bo_gall .gall_li:hover .gall_href img {transform:scale(1.03);}
#bo_gall .gall_href strong, #bo_gall .gall_href span {
    display:flex; align-items:center; justify-content:center; height:142px !important; min-height:142px; background:linear-gradient(180deg,#fafbfb 0%,#f1f4f2 100%); color:#6d7672; font-weight:600;
}

#bo_gall .gall_con2 {
    overflow:hidden; width:auto; margin:0; padding:4px 0 0 20px; line-height:1.65;
}
#bo_gall .gall_con2 li {margin:0; padding:0; list-style:none;}

#bo_gall .gall_text_href {margin:0 0 10px !important; padding-bottom:12px; border-bottom:1px solid #f0f3f1;}
#bo_gall .gall_text_href a {color:#222; font-size:15px; font-weight:700; line-height:1.45; letter-spacing:-0.02em; text-decoration:none;}
#bo_gall .gall_text_href a:hover, #bo_gall .gall_text_href a:focus {color:#184f6c; text-decoration:none;}
#bo_gall .gall_now .gall_text_href a {color:#184f6c;}
#bo_gall .gall_text_href img {vertical-align:middle; margin-left:4px;}

#bo_gall .gall_con2 > li:nth-child(2) {margin-bottom:10px; color:#7a837f; font-size:13px; line-height:1.8;}
#bo_gall .gall_con2 .bo_num {display:inline-block; margin-right:8px; padding:0; border-radius:0; background:none; color:#72807a; font-size:12px; font-weight:600;}
#bo_gall .gall_con2 .bo_gubun {color:#c6ceca; padding:0 7px;}
#bo_gall .gall_con2 .gall_subject {display:inline-block; margin-left:8px; color:#8b9591; font-size:12px; font-weight:600;}


#bo_gall .gall_con2 .bo_content {display:block; padding:8px 0 0; border:0; border-radius:0; background:none; color:#555e5a; font-size:14px; line-height:1.8; word-break:break-word; overflow:hidden;}

#bo_gall li.empty_list {padding:90px 20px; border:1px solid #e7ece9; border-radius:18px; background:#fff; color:#777; text-align:center;}

#bo_sch {margin:28px 0 0; padding:22px 20px; border:1px solid #e7ece9; border-radius:18px; background:linear-gradient(180deg,#fcfdfd 0%,#f8faf9 100%); text-align:center;}
#bo_sch select, #bo_sch .frm_input, #bo_sch .btn_submit {height:42px; border-radius:10px; vertical-align:middle;}
#bo_sch select, #bo_sch .frm_input {border:1px solid #d9e1de; background:#fff; color:#333;}
#bo_sch select {padding:0 12px;}
#bo_sch .frm_input {width:220px; padding:0 12px;}
#bo_sch .btn_submit {min-width:74px; padding:0 16px; border:1px solid #2f5d50; background:#2f5d50; color:#fff; font-weight:600;}
#bo_sch .btn_submit:hover {background:#23483e; border-color:#23483e;}

.pg_wrap {margin-top:24px;}

@media (max-width: 768px) {
    .bo_fx {display:block;}
    #bo_list_total {margin-bottom:10px;}
    #bo_gall .gall_li {padding:14px; border-radius:16px;}
    #bo_gall .gall_con {width:120px;}
    #bo_gall .gall_con2 {padding-left:14px;}
    #bo_gall .gall_href img, #bo_gall .gall_href span, #bo_gall .gall_href strong {height:120px !important; min-height:120px;}
    #bo_gall .gall_text_href a {font-size:16px;}
    #bo_sch .frm_input {width:160px;}
}

@media (max-width: 560px) {
    #bo_gall .gall_con, #bo_gall .gall_con2 {float:none; width:100%; overflow:visible;}
    #bo_gall .gall_con {margin-bottom:14px;}
    #bo_gall .gall_con2 {padding:0;}
    #bo_gall .gall_href img, #bo_gall .gall_href span, #bo_gall .gall_href strong {height:auto !important; min-height:200px;}
    #bo_sch {padding:16px 14px;}
    #bo_sch select, #bo_sch .frm_input, #bo_sch .btn_submit {width:100%; margin:0 0 8px;}
}

#bo_gall ul.gall_con2 > li.gall_text_href{
    position:relative !important;
    margin:0 0 12px !important;
    padding:0 0 8px !important;
    border-bottom:1px solid #e5e5e5 !important;
    line-height:1.45 !important;
}

#bo_gall ul.gall_con2 > li.gall_text_href > a{
    display:inline !important;
    text-decoration:none !important;
    border:0 !important;
}

#bo_gall ul.gall_con2 > li.gall_text_href > img,
#bo_gall ul.gall_con2 > li.gall_text_href img{
    vertical-align:middle !important;
}

#bo_gall ul.gall_con2 > li.gall_text_href:before{
    content:none !important;
}

#bo_v,
#bo_v * {box-sizing:border-box;}

#bo_v {
    margin:0 auto 24px;
    color:#333;
}

#bo_v a {
    transition:all .2s ease;
}

#bo_v header {
    margin-bottom:14px;
}

#bo_v_title {
    margin:0;
    padding:0 0 14px;
    border-bottom:1px solid #e5e5e5;
    color:#222;
    font-size:26px;
    font-weight:700;
    line-height:1.45;
    letter-spacing:-0.03em;
}

#bo_v_info {
    margin:0 0 18px;
    padding:0 0 14px;
    border-bottom:1px solid #eef2f0;
    color:#7a837f;
    font-size:13px;
    line-height:1.8;
}

#bo_v_info strong {
    margin:0 14px 0 6px;
    color:#39423e;
    font-weight:600;
}

#bo_v_file,
#bo_v_link {
    margin:0 0 18px;
    border:1px solid #e7ece9;
    border-radius:18px;
    background:#fff;
    overflow:hidden;
}

#bo_v_file ul,
#bo_v_link ul {
    margin:0;
    padding:0;
    list-style:none;
}

#bo_v_file li,
#bo_v_link li {
    margin:0;
    padding:14px 18px;
    border-bottom:1px solid #eef2f0;
    background:#fff;
}

#bo_v_file li:last-child,
#bo_v_link li:last-child {
    border-bottom:0;
}

#bo_v_file a,
#bo_v_link a {
    display:block;
    width:100%;
    padding:0;
    color:#222;
    text-decoration:none;
    word-break:break-word;
}

#bo_v_file a:hover,
#bo_v_link a:hover {
    color:#184f6c;
}

#bo_v_file img,
#bo_v_link img {
    float:left;
    margin:2px 10px 0 0;
}

.bo_v_file_cnt,
.bo_v_link_cnt {
    display:inline-block;
    margin:8px 12px 0 24px;
    color:#7a837f;
    font-size:12px;
}

#bo_v_top,
#bo_v_bot {
    margin:0 0 18px;
    padding:0;
}

#bo_v_top:after,
#bo_v_bot:after {
    display:block;
    clear:both;
    content:"";
}

.bo_v_nb,
.bo_v_com {
    margin:0;
    padding:0;
    list-style:none;
}

.bo_v_nb li,
.bo_v_com li {
    margin:0;
}

.bo_v_nb,
.bo_v_com {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.bo_v_nb {
    float:left;
}

.bo_v_com {
    float:right;
}

#bo_v a.btn_b01,
#bo_v a.btn_b02,
#bo_v a.btn_admin,
#bo_v_act a.btn_b01 {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 16px;
    border:1px solid #d8dfdc;
    border-radius:10px;
    background:#fff;
    color:#2d3632;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}

#bo_v a.btn_b01:hover,
#bo_v a.btn_b02:hover,
#bo_v a.btn_admin:hover,
#bo_v_act a.btn_b01:hover {
    border-color:#bcc9c4;
    background:#f7f9f8;
    text-decoration:none;
}

#bo_v a.btn_b02 {
    border-color:#2f5d50;
    background:#2f5d50;
    color:#fff;
}

#bo_v a.btn_b02:hover {
    border-color:#23483e;
    background:#23483e;
}

#bo_v_atc {
    min-height:0;
    height:auto;
    margin:0 0 22px;
    padding:22px;
    border:1px solid #e7ece9;
    border-radius:20px;
    background:#fff;
    box-shadow:0 8px 24px rgba(17,24,39,.04);
}

#bo_v_img {
    margin:0 0 18px;
    width:100%;
    overflow:hidden;
}

#bo_v_img img {
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    margin:0 auto 16px;
    border:1px solid #edf1ef;
    border-radius:16px;
}

#bo_v_con {
    margin:0;
    width:100%;
    color:#444c48;
    font-size:15px;
    line-height:1.9;
    word-break:break-word;
    overflow:hidden;
}

#bo_v_con a {
    color:#184f6c;
    text-decoration:underline;
}

#bo_v_con img {
    max-width:100%;
    height:auto;
    border-radius:14px;
}

#bo_v_act {
    margin:24px 0 0;
    text-align:center;
}

#bo_v_act .bo_v_act_gng {
    position:relative;
    display:inline-block;
    margin:0 4px;
}

#bo_v_act strong {
    color:#2f5d50;
}

#bo_v_act_good,
#bo_v_act_nogood {
    display:none;
    position:absolute;
    top:44px;
    left:50%;
    min-width:165px;
    padding:10px 14px;
    border-radius:12px;
    background:#2f5d50;
    color:#fff;
    text-align:center;
    transform:translateX(-50%);
    box-shadow:0 8px 20px rgba(17,24,39,.12);
}

#bo_v_sns {
    margin:0 0 20px;
    padding:0;
    list-style:none;
}

#bo_v_sns:after {
    display:block;
    clear:both;
    content:"";
}

#bo_vc {
    margin:0 0 22px;
    padding:22px 22px 14px;
    border:1px solid #e7ece9;
    border-radius:20px;
    background:linear-gradient(180deg,#fcfdfd 0%,#f8faf9 100%);
}

#bo_vc h2 {
    margin-bottom:12px;
    color:#222;
    font-size:14px;
}

#bo_vc article {
    padding:0 0 12px;
    border-top:1px solid #e8edeb;
}

#bo_vc header {
    padding:14px 0 6px;
}

#bo_vc .member,
#bo_vc .guest,
#bo_vc .sv_member,
#bo_vc .sv_guest {
    color:#2d3632;
    font-weight:700;
}

.bo_vc_hdinfo {
    margin:0 12px 0 6px;
    color:#7a837f;
    font-size:12px;
}

#bo_vc p {
    padding:0 0 6px;
    color:#555e5a;
    line-height:1.8;
}

#bo_vc a {
    color:#184f6c;
    text-decoration:none;
}

#bo_vc_w {
    margin:0 0 10px;
    padding:0 0 20px;
    border-bottom:1px solid #dfe7e3;
}

@media (max-width: 768px) {
    #bo_v_title {
        font-size:22px;
    }

    #bo_v_atc {
        padding:18px;
        border-radius:18px;
    }

    .bo_v_nb,
    .bo_v_com {
        float:none;
    }

    .bo_v_nb {
        margin-bottom:8px;
    }
}

@media (max-width: 560px) {
    #bo_v_title {
        font-size:20px;
        padding-bottom:12px;
    }

    #bo_v_info strong {
        display:inline-block;
        margin-right:10px;
    }

    #bo_v_file li,
    #bo_v_link li {
        padding:12px 14px;
    }

    #bo_v_atc,
    #bo_vc {
        padding:16px 14px;
        border-radius:16px;
    }

    #bo_v a.btn_b01,
    #bo_v a.btn_b02,
    #bo_v a.btn_admin,
    #bo_v_act a.btn_b01 {
        width:100%;
    }

    .bo_v_nb,
    .bo_v_com {
        gap:6px;
    }
}

#bo_v_sns,
#bo_v_sns ul {
    margin:0 0 20px !important;
    padding:0 !important;
    list-style:none !important;
}

#bo_v_sns ul:after,
#bo_v_sns:after {
    content:"";
    display:block;
    clear:both;
}

#bo_v_sns li {float:left !important; display:block !important; margin:0 4px 0 0 !important; padding:0 !important; list-style:none !important;}

#bo_v_sns li a,
#bo_v_sns li button,
#bo_v_sns a,
#bo_v_sns button {
    display:inline-block !important;
    vertical-align:top;
}

@media (max-width: 560px) {
    #bo_v_sns li {float:left !important; display:block !important; margin:0 4px 0 0 !important; padding:0 !important; list-style:none !important;}
}

#container_title,
#bo_v_table {
    display:block !important;
    width:100% !important;
    min-height:0 !important;
    margin:0 0 18px !important;
    padding:0 0 12px !important;
    border:0 !important;
    border-bottom:1px solid #e5e5e5 !important;
    border-radius:0 !important;
    background:none !important;
    box-shadow:none !important;
    color:#222 !important;
    font-size:15px !important;
    font-weight:700 !important;
    line-height:1.4 !important;
    letter-spacing:-0.03em !important;
    text-align:left !important;
}

#container_title .sound_only {
    display:inline !important;
}

@media (max-width: 768px) {
    #container_title,
    #bo_v_table {
        margin-bottom:16px !important;
        padding-bottom:10px !important;
        font-size:21px !important;
    }
}

@media (max-width: 560px) {
    #container_title,
    #bo_v_table {
        font-size:19px !important;
    }
}


/* 타이틀 폰트 패밀리 통일 */
#container_title,
#bo_v_table {
    font-family: inherit !important;
}


/* view 게시글 제목 통일 */
#bo_v_title {
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif !important;
    font-size:17px !important;
    font-weight:700 !important;
    letter-spacing:-0.02em !important;
}


/* 게시판 타이틀 밑줄 제거 */
#container_title,
#bo_v_table {
    border-bottom:0 !important;
    padding-bottom:0 !important;
}


/* 하단 검색영역 높이 추가 5% 축소 (총 약 20%) */
#bo_sch {
    padding:16px 18px !important;
}

#bo_sch select,
#bo_sch .frm_input,
#bo_sch .btn_submit {
    height:34px !important;
    min-height:34px !important;
    border-radius:8px !important;
    font-size:12px !important;
}

#bo_sch select {
    padding:0 9px !important;
}

#bo_sch .frm_input {
    padding:0 9px !important;
}

#bo_sch .btn_submit {
    min-width:64px !important;
    padding:0 12px !important;
}

@media (max-width: 560px) {
    #bo_sch {
        padding:12px 10px !important;
    }

    #bo_sch select,
    #bo_sch .frm_input,
    #bo_sch .btn_submit {
        height:34px !important;
        min-height:34px !important;
    }
}


/* 상단 오른쪽 버튼 유지 */
.bo_fx .btn_bo_user {
    margin-left:auto !important;
}

/* 하단 관리자 버튼은 왼쪽 */
.bo_fx .btn_bo_adm {
    margin-left:0 !important;
}

/* 하단 글쓰기 버튼은 오른쪽 */
.bo_fx .btn_bo_user:last-child {
    margin-left:auto !important;
}

/* 버튼 간격 축소 */
.btn_bo_user,
.btn_bo_adm {
    gap:5px !important;
}

#bo_v .bo_v_nb,
#bo_v .bo_v_com {
    gap:5px !important;
}


/* 파일 선택 버튼 - 연두색 스타일 */
input[type="file"]::file-selector-button {
    margin-right:10px;
    padding:0 14px;
    height:34px;
    border:1px solid #7ed957;
    border-radius:8px;
    background:#7ed957;
    color:#fff;
    font-size:12px;
    font-weight:600;
    cursor:pointer;
    transition:all .2s ease;
}

input[type="file"]::file-selector-button:hover {
    background:#6bc94a;
    border-color:#6bc94a;
}

/* 크롬 대응 */
input[type="file"]::-webkit-file-upload-button {
    margin-right:10px;
    padding:0 14px;
    height:34px;
    border:1px solid #7ed957;
    border-radius:8px;
    background:#7ed957;
    color:#fff;
    font-size:12px;
    font-weight:600;
    cursor:pointer;
    transition:all .2s ease;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background:#6bc94a;
    border-color:#6bc94a;
}


/* 글쓰기 버튼 (연두색) - 최종 버튼 색상 고정 영역에서 통합 */

/* 검색 버튼 (연두색) */
#bo_sch .btn_submit {
    border-color:#7ed957 !important;
    background:#7ed957 !important;
    color:#fff !important;
}

#bo_sch .btn_submit:hover {
    border-color:#6bc94a !important;
    background:#6bc94a !important;
}


/* 댓글 영역 통일 디자인 */
#bo_vc {
    margin:0 0 22px !important;
    padding:20px 20px 14px !important;
    border:1px solid #e7ece9 !important;
    border-radius:20px !important;
    background:linear-gradient(180deg,#fcfdfd 0%,#f8faf9 100%) !important;
    box-shadow:0 8px 24px rgba(17,24,39,.04) !important;
}

#bo_vc h2,
#bo_vc_w h2 {
    margin:0 0 12px !important;
    color:#222 !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:1.4 !important;
    letter-spacing:-0.02em !important;
}

#bo_vc article {
    margin:0 0 12px !important;
    padding:14px 0 12px !important;
    border-top:1px solid #e8edeb !important;
}

#bo_vc article:first-of-type {
    border-top:0 !important;
    padding-top:4px !important;
}

#bo_vc header {
    padding:0 0 8px !important;
    color:#7a837f !important;
    font-size:12px !important;
    line-height:1.7 !important;
}

#bo_vc header h1 {
    display:none !important;
}

#bo_vc .member,
#bo_vc .guest,
#bo_vc .sv_member,
#bo_vc .sv_guest,
#bo_vc header b,
#bo_vc header strong {
    color:#2d3632 !important;
    font-weight:700 !important;
}

#bo_vc .bo_vc_hdinfo {
    margin:0 10px 0 4px !important;
    color:#8a938f !important;
    font-size:12px !important;
}

#bo_vc p {
    margin:0 !important;
    padding:0 0 6px !important;
    color:#555e5a !important;
    font-size:14px !important;
    line-height:1.8 !important;
    word-break:break-word !important;
}

#bo_vc .icon_reply {
    margin:0 6px 0 2px !important;
    vertical-align:middle !important;
}

#bo_vc footer {
    margin-top:8px !important;
}

#bo_vc .bo_vc_act {
    display:flex !important;
    flex-wrap:wrap !important;
    gap:5px !important;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}

#bo_vc .bo_vc_act li {
    margin:0 !important;
    padding:0 !important;
}

#bo_vc .bo_vc_act a {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:30px !important;
    padding:0 12px !important;
    border:1px solid #d8dfdc !important;
    border-radius:8px !important;
    background:#fff !important;
    color:#2d3632 !important;
    font-size:12px !important;
    font-weight:600 !important;
    text-decoration:none !important;
}

#bo_vc .bo_vc_act a:hover {
    border-color:#bcc9c4 !important;
    background:#f7f9f8 !important;
    text-decoration:none !important;
}

#bo_vc_empty {
    margin:0 !important;
    padding:18px 0 6px !important;
    color:#777 !important;
    text-align:center !important;
}

#bo_vc_w {
    margin:0 0 14px !important;
    padding:18px 20px 20px !important;
    border:1px solid #e7ece9 !important;
    border-radius:20px !important;
    background:#fff !important;
    box-shadow:0 8px 24px rgba(17,24,39,.04) !important;
}

#bo_vc_w .tbl_frm01 {
    border:0 !important;
    border-radius:0 !important;
    background:none !important;
    box-shadow:none !important;
    overflow:visible !important;
}

#bo_vc_w .tbl_frm01 table {
    width:100% !important;
    border-collapse:collapse !important;
}

#bo_vc_w .tbl_frm01 th,
#bo_vc_w .tbl_frm01 td {
    padding:12px 0 !important;
    border-top:1px solid #eef2f0 !important;
    vertical-align:middle !important;
}

#bo_vc_w .tbl_frm01 tr:first-child th,
#bo_vc_w .tbl_frm01 tr:first-child td {
    border-top:0 !important;
}

#bo_vc_w .tbl_frm01 th {
    width:130px !important;
    color:#444c48 !important;
    font-size:13px !important;
    font-weight:700 !important;
    text-align:left !important;
    background:none !important;
}

#bo_vc_w .tbl_frm01 td {
    color:#555e5a !important;
    font-size:13px !important;
    line-height:1.7 !important;
    background:none !important;
}

#bo_vc_w .frm_input,
#bo_vc_w input[type="text"],
#bo_vc_w input[type="password"] {
    width:100% !important;
    max-width:420px !important;
    height:34px !important;
    min-height:34px !important;
    padding:0 10px !important;
    border:1px solid #d9e1de !important;
    border-radius:10px !important;
    background:#fff !important;
    color:#333 !important;
    font-size:13px !important;
}

#bo_vc_w textarea {
    width:100% !important;
    min-height:140px !important;
    padding:12px 12px !important;
    border:1px solid #d9e1de !important;
    border-radius:14px !important;
    background:#fff !important;
    color:#333 !important;
    font-size:14px !important;
    line-height:1.8 !important;
}

#bo_vc_w .btn_confirm {
    display:flex !important;
    justify-content:flex-end !important;
    gap:5px !important;
    margin:14px 0 0 !important;
}

#bo_vc_w .btn_submit {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:110px !important;
    min-height:36px !important;
    padding:0 18px !important;
    border:1px solid #7ed957 !important;
    border-radius:10px !important;
    background:#7ed957 !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:600 !important;
}

#bo_vc_w .btn_submit:hover {
    border-color:#6bc94a !important;
    background:#6bc94a !important;
}

#bo_vc_w #char_cnt {
    display:inline-block !important;
    margin:0 0 8px !important;
    color:#7a837f !important;
    font-size:12px !important;
    font-weight:600 !important;
}

@media (max-width: 640px) {
    #bo_vc,
    #bo_vc_w {
        padding:16px 14px !important;
        border-radius:16px !important;
    }

    #bo_vc_w .tbl_frm01,
    #bo_vc_w .tbl_frm01 table,
    #bo_vc_w .tbl_frm01 tbody,
    #bo_vc_w .tbl_frm01 tr,
    #bo_vc_w .tbl_frm01 th,
    #bo_vc_w .tbl_frm01 td {
        display:block !important;
        width:100% !important;
    }

    #bo_vc_w .tbl_frm01 th {
        padding:10px 0 6px !important;
    }

    #bo_vc_w .tbl_frm01 td {
        padding:0 0 12px !important;
        border-top:0 !important;
    }

    #bo_vc_w .frm_input,
    #bo_vc_w input[type="text"],
    #bo_vc_w input[type="password"] {
        max-width:100% !important;
    }

    #bo_vc_w .btn_confirm {
        justify-content:stretch !important;
    }

    #bo_vc_w .btn_submit {
        width:100% !important;
    }
}


/* 댓글 입력폼 - 이름 인풋 위 라인 복구 */
#bo_vc_w .tbl_frm01 tbody tr:first-child th,
#bo_vc_w .tbl_frm01 tbody tr:first-child td {
    border-top:1px solid #eef2f0 !important;
}


/* 답변/수정 클릭 후 동적으로 삽입되는 댓글폼 통일 */
#bo_vc [id^="reply_"],
#bo_vc [id^="edit_"] {
    display:block !important;
    margin:14px 0 4px !important;
}

/* 원본 댓글쓰기폼 + 동적 답변/수정폼 공통 */
#bo_vc_w,
#bo_vc [id^="reply_"],
#bo_vc [id^="edit_"] {
    margin-bottom:14px !important;
}

#bo_vc_w > h2,
#bo_vc [id^="reply_"] > h2,
#bo_vc [id^="edit_"] > h2 {
    margin:0 0 12px !important;
    color:#222 !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:1.4 !important;
    letter-spacing:-0.02em !important;
}

#bo_vc_w > form,
#bo_vc [id^="reply_"] > form,
#bo_vc [id^="edit_"] > form {
    display:block !important;
    margin:0 !important;
    padding:18px 20px 20px !important;
    border:1px solid #e7ece9 !important;
    border-radius:20px !important;
    background:#fff !important;
    box-shadow:0 8px 24px rgba(17,24,39,.04) !important;
}

#bo_vc_w .tbl_frm01,
#bo_vc [id^="reply_"] .tbl_frm01,
#bo_vc [id^="edit_"] .tbl_frm01 {
    border:0 !important;
    border-radius:0 !important;
    background:none !important;
    box-shadow:none !important;
    overflow:visible !important;
}

#bo_vc_w .tbl_frm01 table,
#bo_vc [id^="reply_"] .tbl_frm01 table,
#bo_vc [id^="edit_"] .tbl_frm01 table {
    width:100% !important;
    border-collapse:collapse !important;
}

#bo_vc_w .tbl_frm01 tbody th,
#bo_vc_w .tbl_frm01 tbody td,
#bo_vc [id^="reply_"] .tbl_frm01 tbody th,
#bo_vc [id^="reply_"] .tbl_frm01 tbody td,
#bo_vc [id^="edit_"] .tbl_frm01 tbody th,
#bo_vc [id^="edit_"] .tbl_frm01 tbody td {
    padding:16px 18px !important;
    border-top:1px solid #eef2f0 !important;
    vertical-align:middle !important;
}

#bo_vc_w .tbl_frm01 tbody tr:first-child th,
#bo_vc_w .tbl_frm01 tbody tr:first-child td,
#bo_vc [id^="reply_"] .tbl_frm01 tbody tr:first-child th,
#bo_vc [id^="reply_"] .tbl_frm01 tbody tr:first-child td,
#bo_vc [id^="edit_"] .tbl_frm01 tbody tr:first-child th,
#bo_vc [id^="edit_"] .tbl_frm01 tbody tr:first-child td {
    border-top:1px solid #eef2f0 !important;
}

#bo_vc_w .tbl_frm01 th,
#bo_vc [id^="reply_"] .tbl_frm01 th,
#bo_vc [id^="edit_"] .tbl_frm01 th {
    width:160px !important;
    background:#fcfdfd !important;
    color:#444c48 !important;
    font-size:13px !important;
    font-weight:700 !important;
    text-align:left !important;
}

#bo_vc_w .tbl_frm01 td,
#bo_vc [id^="reply_"] .tbl_frm01 td,
#bo_vc [id^="edit_"] .tbl_frm01 td {
    background:#fff !important;
    color:#555e5a !important;
    font-size:13px !important;
    line-height:1.7 !important;
}

#bo_vc_w .frm_input,
#bo_vc_w input[type="text"],
#bo_vc_w input[type="password"],
#bo_vc [id^="reply_"] .frm_input,
#bo_vc [id^="reply_"] input[type="text"],
#bo_vc [id^="reply_"] input[type="password"],
#bo_vc [id^="edit_"] .frm_input,
#bo_vc [id^="edit_"] input[type="text"],
#bo_vc [id^="edit_"] input[type="password"] {
    width:100% !important;
    max-width:420px !important;
    height:34px !important;
    min-height:34px !important;
    padding:0 10px !important;
    border:1px solid #d9e1de !important;
    border-radius:10px !important;
    background:#fff !important;
    color:#333 !important;
    font-size:13px !important;
}

#bo_vc_w textarea,
#bo_vc [id^="reply_"] textarea,
#bo_vc [id^="edit_"] textarea {
    width:100% !important;
    min-height:140px !important;
    padding:12px 12px !important;
    border:1px solid #d9e1de !important;
    border-radius:14px !important;
    background:#fff !important;
    color:#333 !important;
    font-size:14px !important;
    line-height:1.8 !important;
}

#bo_vc_w #char_cnt,
#bo_vc [id^="reply_"] #char_cnt,
#bo_vc [id^="edit_"] #char_cnt {
    display:inline-block !important;
    margin:0 0 8px !important;
    color:#7a837f !important;
    font-size:12px !important;
    font-weight:600 !important;
}

#bo_vc_w .btn_confirm,
#bo_vc [id^="reply_"] .btn_confirm,
#bo_vc [id^="edit_"] .btn_confirm {
    display:flex !important;
    justify-content:flex-end !important;
    gap:5px !important;
    margin:14px 0 0 !important;
}

#bo_vc_w .btn_submit,
#bo_vc [id^="reply_"] .btn_submit,
#bo_vc [id^="edit_"] .btn_submit {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:110px !important;
    min-height:36px !important;
    padding:0 18px !important;
    border:1px solid #7ed957 !important;
    border-radius:10px !important;
    background:#7ed957 !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:600 !important;
}

#bo_vc_w .btn_submit:hover,
#bo_vc [id^="reply_"] .btn_submit:hover,
#bo_vc [id^="edit_"] .btn_submit:hover {
    border-color:#6bc94a !important;
    background:#6bc94a !important;
}

/* 자동등록방지까지 동일하게 */
#bo_vc_w #captcha,
#bo_vc [id^="reply_"] #captcha,
#bo_vc [id^="edit_"] #captcha {
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    flex-wrap:wrap !important;
}

#bo_vc_w #captcha input,
#bo_vc [id^="reply_"] #captcha input,
#bo_vc [id^="edit_"] #captcha input {
    width:160px !important;
    height:34px !important;
}

#bo_vc_w #captcha #captcha_info,
#bo_vc [id^="reply_"] #captcha #captcha_info,
#bo_vc [id^="edit_"] #captcha #captcha_info {
    width:100% !important;
    margin-top:6px !important;
}

@media (max-width: 640px) {
    #bo_vc_w > form,
    #bo_vc [id^="reply_"] > form,
    #bo_vc [id^="edit_"] > form {
        padding:16px 14px !important;
        border-radius:16px !important;
    }

    #bo_vc_w .tbl_frm01,
    #bo_vc_w .tbl_frm01 table,
    #bo_vc_w .tbl_frm01 tbody,
    #bo_vc_w .tbl_frm01 tr,
    #bo_vc_w .tbl_frm01 th,
    #bo_vc_w .tbl_frm01 td,
    #bo_vc [id^="reply_"] .tbl_frm01,
    #bo_vc [id^="reply_"] .tbl_frm01 table,
    #bo_vc [id^="reply_"] .tbl_frm01 tbody,
    #bo_vc [id^="reply_"] .tbl_frm01 tr,
    #bo_vc [id^="reply_"] .tbl_frm01 th,
    #bo_vc [id^="reply_"] .tbl_frm01 td,
    #bo_vc [id^="edit_"] .tbl_frm01,
    #bo_vc [id^="edit_"] .tbl_frm01 table,
    #bo_vc [id^="edit_"] .tbl_frm01 tbody,
    #bo_vc [id^="edit_"] .tbl_frm01 tr,
    #bo_vc [id^="edit_"] .tbl_frm01 th,
    #bo_vc [id^="edit_"] .tbl_frm01 td {
        display:block !important;
        width:100% !important;
    }

    #bo_vc_w .tbl_frm01 th,
    #bo_vc [id^="reply_"] .tbl_frm01 th,
    #bo_vc [id^="edit_"] .tbl_frm01 th {
        padding:10px 14px 6px !important;
        border-top:1px solid #eef2f0 !important;
        background:#fff !important;
    }

    #bo_vc_w .tbl_frm01 td,
    #bo_vc [id^="reply_"] .tbl_frm01 td,
    #bo_vc [id^="edit_"] .tbl_frm01 td {
        padding:0 14px 14px !important;
        border-top:0 !important;
    }

    #bo_vc_w .btn_confirm,
    #bo_vc [id^="reply_"] .btn_confirm,
    #bo_vc [id^="edit_"] .btn_confirm {
        justify-content:stretch !important;
    }

    #bo_vc_w .btn_submit,
    #bo_vc [id^="reply_"] .btn_submit,
    #bo_vc [id^="edit_"] .btn_submit {
        width:100% !important;
    }
}


/* ===== 댓글쓰기 왼쪽 라벨 중앙 정렬 ===== */
#bo_vc_w .tbl_frm01 th,
#bo_vc [id^="reply_"] .tbl_frm01 th,
#bo_vc [id^="edit_"] .tbl_frm01 th {
    text-align:center !important;
    vertical-align:middle !important;
}

/* 모바일에서도 유지 */
@media (max-width: 640px) {
    #bo_vc_w .tbl_frm01 th,
    #bo_vc [id^="reply_"] .tbl_frm01 th,
    #bo_vc [id^="edit_"] .tbl_frm01 th {
        text-align:center !important;
    }
}

/* =========================================================
   목록형 구조 전환 : 기존 감성 유지 + 썸네일 제거 제목목록형
   ========================================================= */
#bo_list,
#bo_list * {box-sizing:border-box;}

#bo_list {margin:0 auto; color:#333;}
#bo_list a {transition:all .2s ease;}

#bo_list .tbl_wrap {
    border:1px solid #e7ece9;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 24px rgba(17,24,39,.04);
    overflow:hidden;
}

#bo_list table {
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
}

#bo_list caption {
    position:absolute;
    font-size:0;
    line-height:0;
    overflow:hidden;
}

#bo_list thead th {
    padding:12px 8px;
    border-bottom:1px solid #e9efec;
    background:linear-gradient(180deg,#fcfdfd 0%,#f7faf8 100%);
    color:#5d6763;
    font-size:12px;
    font-weight:700;
    text-align:center;
    white-space:nowrap;
}

#bo_list thead th a {
    color:inherit;
    text-decoration:none;
}

#bo_list thead th:nth-child(1) {width:50px;}
#bo_list thead th:nth-child(2) {width:auto;}
#bo_list thead th:nth-child(3) {width:100px;}
#bo_list thead th:nth-child(4) {width:60px;}
#bo_list thead th:nth-child(5) {width:50px;}
#bo_list thead th:nth-child(6) {width:50px;}

#bo_list tbody td {
    padding:14px 8px;
    border-top:1px solid #f0f3f1;
    color:#555e5a;
    font-size:13px;
    line-height:1.6;
    vertical-align:middle;
    text-align:center;
    word-break:break-word;
}

#bo_list tbody tr:first-child td {border-top:0;}
#bo_list tbody tr:hover td {background:#fcfdfd;}
#bo_list tbody tr.gall_now td {background:#f8fbfa;}
#bo_list tbody tr.bo_notice td {background:#fbfcfd;}

#bo_list .td_num,
#bo_list .td_chk,
#bo_list .td_date,
#bo_list .td_name {white-space:nowrap;}

#bo_list .td_chk {width:30px;}
#bo_list .td_num {width:50px; color:#72807a; font-size:12px; font-weight:600;}
#bo_list .td_date {width:60px; color:#7a837f; font-size:12px;}
#bo_list .td_name {width:100px; color:#4d5753; font-size:13px; text-align:center;}

#bo_list .td_subject {
    text-align:left;
    padding-left:12px;
    padding-right:12px;
}

#bo_list .td_subject > a {
    color:#222;
    font-size:15px;
    font-weight:700;
    line-height:1.45;
    letter-spacing:-0.02em;
    text-decoration:none;
}

#bo_list .td_subject > a:hover,
#bo_list .td_subject > a:focus,
#bo_list tbody tr.gall_now .td_subject > a {color:#184f6c;}

#bo_list .td_subject img {vertical-align:middle; margin-left:4px;}
#bo_list .td_subject .bo_cate_link {
    display:inline-block;
    margin:0 8px 4px 0;
    padding:4px 10px;
    border:0;
    border-radius:999px;
    background:#eef5f1;
    color:#2f5d50 !important;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
}
#bo_list .td_subject .bo_cate_link:hover {background:#e3efea; text-decoration:none;}

#bo_list .bo_current {color:#184f6c; font-weight:700;}
#bo_list .td_num strong {color:#2d3632; font-weight:700;}
#bo_list .empty_table {
    padding:90px 20px !important;
    color:#777;
    text-align:center;
}

#bo_list .btn_bo_user,
#bo_list .btn_bo_adm {display:flex; align-items:center; flex-wrap:wrap; gap:8px;}
#bo_list .btn_bo_user li,
#bo_list .btn_bo_adm li {float:none; margin:0;}
#bo_list a.btn_b01,
#bo_list a.btn_b02,
#bo_list a.btn_admin,
#bo_list .btn_bo_adm input {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 16px;
    border:1px solid #d8dfdc;
    border-radius:10px;
    background:#fff;
    color:#2d3632;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}
#bo_list a.btn_b01:hover,
#bo_list a.btn_b02:hover,
#bo_list a.btn_admin:hover,
#bo_list .btn_bo_adm input:hover {
    border-color:#bcc9c4;
    background:#f7f9f8;
    text-decoration:none;
}

#bo_list a.btn_b02 {
    border-color:#7ed957 !important;
    background:#7ed957 !important;
    color:#fff !important;
}
#bo_list a.btn_b02:hover {
    border-color:#6bc94a !important;
    background:#6bc94a !important;
}

#bo_list .btn_bo_adm input {
    border-color:#d8dfdc;
    background:#fff;
    color:#2d3632;
}

@media (max-width: 900px) {
    #bo_list .td_date,
    #bo_list thead th:nth-child(5) {width:60px;}

    #bo_list .td_name,
    #bo_list thead th:nth-child(4) {width:100px;}

    #bo_list .td_subject > a {font-size:14px;}
}

@media (max-width: 768px) {
    #bo_list .tbl_wrap {
        border-radius:16px;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }

    #bo_list table {min-width:720px;}
    #bo_list tbody td,
    #bo_list thead th {padding:13px 10px;}
    #bo_list .td_subject {padding-left:14px; padding-right:14px;}
}

@media (max-width: 560px) {
    #bo_list .btn_bo_user,
    #bo_list .btn_bo_adm {gap:6px;}
}

/* =========================================================
   최종 덮어쓰기 : 카테고리 / 목록형 최신 요청 반영
   ========================================================= */

/* 상단 카테고리 제목 숨김(혹시 PHP에서 남아있을 때 대비) */
#bo_cate h2 {
    display:none !important;
}

/* 상단 카테고리 : 한 줄 8개, 사각형에 가까운 형태 */
#bo_cate {
    margin:0 0 18px !important;
}

#bo_cate ul,
#bo_cate #bo_cate_ul {
    display:grid !important;
    grid-template-columns:repeat(8, minmax(0, 1fr)) !important;
    gap:6px !important;
    width:100% !important;
    max-width:100% !important;
    padding-left:0 !important;
    margin:0 !important;
}

#bo_cate li,
#bo_cate #bo_cate_ul li {
    float:none !important;
    width:auto !important;
    margin:0 !important;
}

#bo_cate a {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-width:0 !important;
    height:36px !important;
    padding:0 6px !important;
    border:1px solid #d9e1de !important;
    border-radius:6px !important;
    background:#fff !important;
    color:#4f5b57 !important;
    font-size:12px !important;
    font-weight:500 !important;
    line-height:1.2 !important;
    letter-spacing:0 !important;
    text-align:center !important;
    text-decoration:none !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    box-sizing:border-box !important;
}

#bo_cate a:hover,
#bo_cate a:focus,
#bo_cate a:active {
    border-color:#7ed957 !important;
    background:#f7faf8 !important;
    color:#6bc94a !important;
    text-decoration:none !important;
}

#bo_cate #bo_cate_on {
    border-color:#7ed957 !important;
    background:#7ed957 !important;
    color:#fff !important;
    font-weight:600 !important;
}

/* 목록 줄 안 카테고리 태그 : 연두색 + 거의 사각형 */
.bo_cate_link {
    display:inline-block;
    vertical-align:middle;
    position:relative;
    top:-1px;
}

.bo_cate_link:hover,
.bo_cate_link:focus {
    background:#6bc94a !important;
    color:#fff !important;
    text-decoration:none !important;
}

/* 모바일에서는 카테고리 4개씩 */
@media (max-width: 768px) {
    #bo_cate ul,
    #bo_cate #bo_cate_ul {
        grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    #bo_cate ul,
    #bo_cate #bo_cate_ul {
        grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
        gap:5px !important;
    }

    #bo_cate a {
        height:34px !important;
        font-size:11px !important;
        padding:0 4px !important;
    }

    .bo_cate_link {
        padding:3px 8px !important;
        font-size:11px !important;
    }
}


/* ===== 카테고리 텍스트형 (뉴스형 최종 / 배경 완전 제거) ===== */
.bo_cate_link{
    display:inline-block !important;
    margin-right:8px !important;
    padding:0 !important;
    background:none !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    color:#5d8f52 !important;
    font-size:12px !important;
    font-weight:700 !important;
    line-height:1.4 !important;
    text-decoration:none !important;
}
.bo_cate_link:hover,
.bo_cate_link:focus,
.bo_cate_link:active{
    padding:0 !important;
    background:none !important;
    border:0 !important;
    box-shadow:none !important;
    color:#3f6f35 !important;
    text-decoration:none !important;
}

/* ===== 목록 체크박스 열 폭 고정 (style1.css 기준 동일 적용) ===== */
#bo_list table {
    table-layout: auto !important;
}

#bo_list thead th {
    width: auto !important;
}

#bo_list .td_chk {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
}

#bo_list tbody .td_chk input[type="checkbox"],
#bo_list thead #chkall {
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

#bo_list thead th:has(#chkall) {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
}

#bo_list .td_subject {
    width: auto !important;
}

#bo_list .td_name {
    width: 100px !important;
    min-width: 100px !important;
}

#bo_list .td_date {
    width: 70px !important;
    min-width: 70px !important;
}

#bo_list .td_num {
    width: 56px !important;
    min-width: 56px !important;
}

@media (max-width: 900px) {
    #bo_list .td_chk {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
    }

    #bo_list thead th:has(#chkall) {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
    }
}


/* ===== 버튼 왼쪽 검은 점 제거 ===== */
.btn_bo_user,
.btn_bo_adm {
    list-style: none !important;
    padding-left: 0 !important;
}

.btn_bo_user li,
.btn_bo_adm li {
    list-style: none !important;
}


/* =========================================================
   WRITE PAGE SAFE CSS - DHTML Editor Protected
   - style1.css처럼 에디터 내부 구조를 건드리지 않도록 직접 자식만 지정
   - SmartEditor2 / CKEditor 내부 table, iframe, toolbar는 원상 보호
   ========================================================= */
#bo_w {
    margin:0 auto 24px;
    color:#333;
}

#bo_w #container_title {
    display:block !important;
    width:100% !important;
    min-height:0 !important;
    margin:0 0 18px !important;
    padding:0 !important;
    border:0 !important;
    background:none !important;
    box-shadow:none !important;
    color:#222 !important;
    font-size:15px !important;
    font-weight:700 !important;
    line-height:1.4 !important;
    letter-spacing:-0.03em !important;
    text-align:left !important;
    font-family:inherit !important;
}

#bo_w form {margin:0 auto;}

#bo_w .tbl_frm01 {
    border:1px solid #e7ece9;
    border-radius:20px;
    background:#fff;
    box-shadow:0 8px 24px rgba(17,24,39,.04);
    overflow:visible !important;
}

#bo_w .tbl_frm01 > table {
    width:100%;
    border-collapse:collapse;
    table-layout:auto;
}

#bo_w .tbl_frm01 > table > tbody > tr > th,
#bo_w .tbl_frm01 > table > tbody > tr > td {
    padding:16px 18px;
    border-top:1px solid #eef2f0;
    vertical-align:middle;
    box-sizing:border-box;
}

#bo_w .tbl_frm01 > table > tbody > tr:first-child > th,
#bo_w .tbl_frm01 > table > tbody > tr:first-child > td {
    border-top:0;
}

#bo_w .tbl_frm01 > table > tbody > tr > th {
    width:160px;
    background:#fcfdfd;
    color:#444c48;
    font-size:13px;
    font-weight:700;
    text-align:center;
}

#bo_w .tbl_frm01 > table > tbody > tr > td {
    background:#fff;
    color:#555e5a;
    font-size:13px;
    line-height:1.7;
}

#bo_w .frm_input:not(.frm_file),
#bo_w input[type="text"],
#bo_w input[type="password"],
#bo_w input[type="email"],
#bo_w input[type="url"],
#bo_w select {
    width:100%;
    max-width:520px;
    height:34px;
    min-height:34px;
    padding:0 10px;
    border:1px solid #d9e1de;
    border-radius:10px;
    background:#fff;
    color:#333;
    font-size:13px;
    line-height:1.2;
    box-sizing:border-box;
    vertical-align:middle;
}

#bo_w .frm_file,
#bo_w input[type="file"] {
    width:100%;
    max-width:520px;
    height:auto;
    min-height:0;
    padding:8px 10px;
    line-height:1.4;
    box-sizing:border-box;
}

#bo_w .frm_input:not(.frm_file):focus,
#bo_w input[type="text"]:focus,
#bo_w input[type="password"]:focus,
#bo_w input[type="email"]:focus,
#bo_w input[type="url"]:focus,
#bo_w select:focus,
#bo_w td.wr_content > textarea#wr_content:focus {
    outline:none;
    border-color:#9fb3ab;
    box-shadow:0 0 0 3px rgba(47,93,80,.08);
}

#bo_w td.wr_content {
    padding-top:18px;
    padding-bottom:18px;
    overflow:visible !important;
}

/* DHTML 미사용 textarea 전용. SmartEditor2 내부/생성 UI는 건드리지 않음 */
#bo_w td.wr_content > textarea#wr_content:not(.smarteditor2) {
    display:block;
    width:100% !important;
    min-height:260px;
    padding:14px;
    border:1px solid #d9e1de;
    border-radius:14px;
    background:#fff;
    color:#333;
    font-size:14px;
    line-height:1.8;
    box-sizing:border-box;
}

/* SmartEditor2 / CKEditor 보호: 에디터 내부 table/td를 게시판 table CSS에서 분리 */
#bo_w td.wr_content .smarteditor2,
#bo_w td.wr_content #smart_editor2,
#bo_w td.wr_content .husky_seditor_ui,
#bo_w td.wr_content .se2_wrap,
#bo_w td.wr_content .se2_tool,
#bo_w td.wr_content .se2_inputarea,
#bo_w td.wr_content .cke,
#bo_w td.wr_content .cke_inner,
#bo_w td.wr_content .cke_top,
#bo_w td.wr_content .cke_contents,
#bo_w td.wr_content .cke_bottom {
    visibility:visible !important;
    max-width:none !important;
    box-sizing:content-box !important;
}

#bo_w td.wr_content #smart_editor2,
#bo_w td.wr_content .husky_seditor_ui,
#bo_w td.wr_content .se2_wrap,
#bo_w td.wr_content .cke {
    display:block !important;
    width:100% !important;
    min-height:300px !important;
    overflow:visible !important;
}

#bo_w td.wr_content iframe,
#bo_w td.wr_content .cke_wysiwyg_frame {
    display:block !important;
    width:100% !important;
    min-height:260px !important;
    max-width:none !important;
    visibility:visible !important;
}

#bo_w td.wr_content table,
#bo_w td.wr_content tbody,
#bo_w td.wr_content tr,
#bo_w td.wr_content th,
#bo_w td.wr_content td {
    max-width:none !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

#bo_w td.wr_content table {
    table-layout:auto !important;
    border-collapse:separate !important;
}

#bo_w td.wr_content th,
#bo_w td.wr_content td {
    width:auto !important;
    min-width:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    color:inherit !important;
    font-size:inherit !important;
    line-height:normal !important;
    text-align:initial !important;
    vertical-align:middle !important;
}

#bo_w #char_count_desc {
    display:block;
    margin:0 0 10px;
    padding:0;
    color:#7a837f;
    font-size:12px;
}

#bo_w #char_count_wrap {
    margin:10px 0 0;
    color:#7a837f;
    font-size:12px;
    text-align:right;
}

#bo_w #char_count {font-weight:bold;}

#bo_w #autosave_wrapper {position:relative;}
#bo_w #autosave_pop {
    display:none;
    z-index:9999;
    position:absolute;
    top:34px;
    right:0;
    padding:8px;
    width:350px;
    height:auto !important;
    max-height:180px;
    border:1px solid #565656;
    background:#fff;
    overflow-y:auto;
}

#bo_w #btn_autosave,
#bo_w a.btn_frmline,
#bo_w button.btn_frmline {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    margin-top:6px;
    padding:0 12px;
    border:1px solid #d8dfdc;
    border-radius:10px;
    background:#fff;
    color:#2d3632;
    font-size:12px;
    font-weight:600;
    text-decoration:none;
    cursor:pointer;
}

#bo_w #btn_autosave:hover,
#bo_w a.btn_frmline:hover,
#bo_w button.btn_frmline:hover {
    border-color:#bcc9c4;
    background:#f7f9f8;
    text-decoration:none;
}

#bo_w input[type="checkbox"] {
    width:auto !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    margin-right:4px;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:none !important;
    box-shadow:none !important;
    vertical-align:middle;
}

#bo_w label {vertical-align:middle;}

#bo_w #captcha {
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    flex-wrap:wrap !important;
}

#bo_w #captcha img {
    max-width:100%;
    height:auto;
}

#bo_w #captcha input[type="text"],
#bo_w #captcha .frm_input {
    width:160px !important;
    max-width:160px !important;
    height:34px !important;
    min-height:34px !important;
}

#bo_w #captcha #captcha_info {
    width:100% !important;
    margin-top:6px !important;
}

#bo_w .btn_confirm {
    display:flex;
    justify-content:flex-end;
    gap:5px;
    margin:18px 0 0;
}

#bo_w .btn_submit,
#bo_w .btn_cancel {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:110px;
    min-height:40px;
    padding:0 18px;
    border:1px solid #d8dfdc;
    border-radius:10px;
    background:#fff;
    color:#2d3632;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    box-sizing:border-box;
}

#bo_w .btn_submit {
    border-color:#7ed957 !important;
    background:#7ed957 !important;
    color:#fff !important;
}

#bo_w .btn_submit:hover {
    border-color:#6bc94a !important;
    background:#6bc94a !important;
}

#bo_w .btn_cancel:hover {
    border-color:#bcc9c4;
    background:#f7f9f8;
    text-decoration:none;
}

input[type="file"]::file-selector-button {
    margin-right:10px;
    padding:0 14px;
    height:34px;
    border:1px solid #7ed957;
    border-radius:8px;
    background:#7ed957;
    color:#fff;
    font-size:12px;
    font-weight:600;
    cursor:pointer;
    transition:all .2s ease;
}

input[type="file"]::file-selector-button:hover {
    background:#6bc94a;
    border-color:#6bc94a;
}

input[type="file"]::-webkit-file-upload-button {
    margin-right:10px;
    padding:0 14px;
    height:34px;
    border:1px solid #7ed957;
    border-radius:8px;
    background:#7ed957;
    color:#fff;
    font-size:12px;
    font-weight:600;
    cursor:pointer;
    transition:all .2s ease;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background:#6bc94a;
    border-color:#6bc94a;
}

@media (max-width: 768px) {
    #bo_w .tbl_frm01 > table > tbody > tr > th,
    #bo_w .tbl_frm01 > table > tbody > tr > td {
        padding:14px;
    }
    #bo_w .tbl_frm01 > table > tbody > tr > th {
        width:130px;
    }
}

@media (max-width: 640px) {
    #bo_w .tbl_frm01,
    #bo_w .tbl_frm01 > table,
    #bo_w .tbl_frm01 > table > tbody,
    #bo_w .tbl_frm01 > table > tbody > tr,
    #bo_w .tbl_frm01 > table > tbody > tr > th,
    #bo_w .tbl_frm01 > table > tbody > tr > td {
        display:block;
        width:100%;
    }

    #bo_w .tbl_frm01 > table > tbody > tr > th {
        padding:14px 14px 6px;
        border-top:1px solid #eef2f0;
        background:#fff;
    }

    #bo_w .tbl_frm01 > table > tbody > tr:first-child > th {
        border-top:0;
    }

    #bo_w .tbl_frm01 > table > tbody > tr > td {
        padding:0 14px 14px;
        border-top:0;
    }

    #bo_w input[type="text"],
    #bo_w input[type="password"],
    #bo_w input[type="email"],
    #bo_w input[type="url"],
    #bo_w select,
    #bo_w .frm_file,
    #bo_w .frm_input {
        max-width:100%;
    }

    #bo_w .btn_confirm {
        flex-direction:column;
    }

    #bo_w .btn_submit,
    #bo_w .btn_cancel {
        width:100%;
    }
}
/* ===== /WRITE PAGE SAFE CSS ===== */

/* ===== 파일첨부 둥근 모서리 복구 - DHTML 에디터 보호 유지 ===== */
#bo_w .frm_file,
#bo_w input[type="file"] {
    border:1px solid #d9e1de !important;
    border-radius:10px !important;
    background:#fff !important;
    color:#333 !important;
    font-size:13px !important;
    overflow:hidden !important;
    background-clip:padding-box !important;
}

#bo_w input[type="file"]::file-selector-button {
    border-radius:8px !important;
}

#bo_w input[type="file"]::-webkit-file-upload-button {
    border-radius:8px !important;
}


/* ===== 제목 입력창 회색 배경 제거 ===== */
#bo_w #autosave_wrapper #wr_subject,
#bo_w input#wr_subject,
#bo_w input#wr_subject.frm_input,
#bo_w input#wr_subject.required {
    background:#fff !important;
    background-color:#fff !important;
    background-image:none !important;
}

/* 글쓰기/등록 계열 버튼 색상 최종 고정 - 연두색 복구 */
#bo_gall a.btn_b02,
#bo_list a.btn_b02,
#bo_v a.btn_b02,
#bo_w .btn_submit,
#bo_sch .btn_submit,
#bo_vc_w .btn_submit {
    border-color:#7ed957 !important;
    background:#7ed957 !important;
    color:#fff !important;
}

#bo_gall a.btn_b02:hover,
#bo_list a.btn_b02:hover,
#bo_v a.btn_b02:hover,
#bo_w .btn_submit:hover,
#bo_sch .btn_submit:hover,
#bo_vc_w .btn_submit:hover {
    border-color:#6bc94a !important;
    background:#6bc94a !important;
    color:#fff !important;
}


/* e-Made in Korea NEWS SEO block */
.mik-news-seo {margin:25px 0;padding:24px;border:1px solid #e5e5e5;background:#fff;box-sizing:border-box;line-height:1.7}
.mik-news-seo-item {margin:0 0 24px}
.mik-news-seo-item:last-of-type {margin-bottom:18px}
.mik-news-seo-item h2 {margin:0 0 7px;padding:0;font-size:16px;font-weight:700;line-height:1.4;color:#222}
.mik-news-seo-title {font-size:18px;font-weight:700;line-height:1.55;color:#111}
.mik-news-seo-item p {margin:0;font-size:15px;line-height:1.75;color:#444}
.mik-news-related ul {margin:0;padding:0;list-style:none}
.mik-news-related li {margin:5px 0;padding:0}
.mik-news-related a {text-decoration:none;color:#2457a7}
.mik-news-related a:hover {text-decoration:underline}
.mik-news-original {margin-top:8px}
.mik-news-original a {display:inline-block;padding:10px 18px;border:1px solid #333;background:#333;color:#fff;text-decoration:none;font-weight:700}
@media (max-width: 768px) {
    .mik-news-seo {margin:18px 0;padding:18px 15px}
    .mik-news-seo-item {margin-bottom:20px}
    .mik-news-seo-item h2 {font-size:15px}
    .mik-news-seo-title {font-size:17px}
    .mik-news-seo-item p,.mik-news-related a {font-size:14px}
    .mik-news-original a {display:block;text-align:center;padding:11px 12px}
}
