@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");
/* 초기화 */
html {overflow-y:scroll; }
body {margin:0;padding:0;font-size:0.75em;font-family:'Malgun Gothic', dotum, sans-serif;background:#fff}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:'Malgun Gothic', dotum, sans-serif}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}


/* 전체 HTML 문서에 적용하여 모든 앵커 링크 스크롤을 부드럽게 만듭니다. */
html {
    scroll-behavior: smooth !important; 
}

/* 또는 */

body {
    scroll-behavior: smooth !important;
}


ul, dl,dt,dd {margin:0;padding:0;list-style:none}
legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle;font-size:1em}
input, button {margin:0;padding:0;font-family:'Malgun Gothic', dotum, sans-serif;font-size:1em}
input[type="submit"] {cursor:pointer}
button {cursor:pointer}

textarea, select {font-family:'Malgun Gothic', dotum, sans-serif;font-size:1em}
select {margin:0}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
a {color:#000;text-decoration:none}

*, :after, :before {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}

input[type=text],input[type=password], textarea {
-webkit-transition:all 0.30s ease-in-out;
-moz-transition:all 0.30s ease-in-out;
-ms-transition:all 0.30s ease-in-out;
-o-transition:all 0.30s ease-in-out;
outline:none;
}

input[type=text]:focus,input[type=password]:focus, textarea:focus,select:focus {
-webkit-box-shadow:0 0 5px #9ed4ff;
-moz-box-shadow:0 0 5px #9ed4ff;
box-shadow:0 0 5px #9ed4ff;
border:1px solid #558ab7 !important;
}

.placeholdersjs {color:#aaa !important}

/* 레이아웃 크기 지정 */
#hd, #wrapper, #ft {min-width:1200px}

#hd_pop,
#hd_wrapper,
#tnb .inner,

#gnb .gnb_wrap,
#container_wr,
#ft_wr {width:1200px}

/*모바일 좌우 여백안생기게*/

/* 최상위 요소에 적용하여 가로 스크롤을 방지합니다. */
body, html {
    /* 뷰포트 너비를 정확히 100%로 설정 */
    width: 100%; 
    /* 넘치는 모든 컨텐츠(가로 스크롤바)를 숨김 */
    overflow-x: hidden; 
}

/* 이미지 요소 자체에 적용 */
img {
    /* 이미지가 부모 컨테이너를 절대 넘지 않도록 설정 */
    max-width: 100%; 
    /* 높이는 비율에 맞게 자동으로 조정 */
    height: auto; 
    /* 불필요한 인라인 공백 방지 */
    display: block;
}



/* 모바일에서는 헤더 높이가 달라질 수 있으므로 미디어 쿼리로 조절하세요 */
@media (max-width: 1024px) {
    body {
        /*padding-top: 70px !important;  모바일 헤더 높이에 맞춤 */
    }
}

/* 공통 - display none/block */
.is-hidden { display: none !important; }
.is-visible { display: block !important; }

/* 공통 - 뷰포트 (pc / mobile) 별 display none/block */
.pc-only { display: none; }
@media (min-width: 769px) { .pc-only { display: block !important; }}
.mobile-only { display: block; }
@media (min-width: 769px) { .mobile-only { display: none !important; }}

/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops img {max-width:100%}
.hd_pops_con {}
.hd_pops_footer {padding:0;background:#000;color:#fff;text-align:left;position:relative}
.hd_pops_footer:after {display:block;visibility:hidden;clear:both;content:""}
.hd_pops_footer button {padding:10px;border:0;color:#fff}
.hd_pops_footer .hd_pops_reject {background:#000;text-align:left}
.hd_pops_footer .hd_pops_close {background:#393939;position:absolute;top:0;right:0}

/* 상단 레이아웃 */
#hd {background:#212020;}
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}

#tnb {border-bottom:1px solid #383838;margin:0 auto}
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
#tnb .inner {margin:0 auto}

#hd_wrapper {position:relative;margin:0 auto;height:140px;zoom:1;}
#hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""}

#logo {float:left;padding:0px 0 0;}

.hd_sch_wr {float:left;padding:30px 0;width:445px;margin-left:65px}
#hd_sch h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_sch {border-radius:30px;overflow:hidden}
#hd_sch #sch_stx {float:left;width:385px;height:45px;padding-left:10px;border-radius:30px 0 0 30px;background:#2c2c2c;border:0;border-right:0;font-size:1.25em;color:#fff}
#hd_sch #sch_submit {float:left;width:60px;height:45px;border:0;background:#2c2c2c;color:#fff;border-radius:0 30px 30px 0;cursor:pointer;font-size:16px}

#hd_define {float:left}
#hd_define:after {display:block;visibility:hidden;clear:both;content:""}
#hd_define li {float:left;font-size:1.083em;line-height:14px;border-right:1px solid #4a4a4a;position:relative;text-align:center;margin:15px 10px 15px 0;padding-right:10px}
#hd_define li:last-child {padding-right:0;margin-right:0;border-right:0}
#hd_define li a {display:inline-block;color:#919191}
#hd_define li.active a {color:#fff}


#hd_qnb {float:right;text-align:right}
#hd_qnb:after {display:block;visibility:hidden;clear:both;content:""}
#hd_qnb li {float:left;font-size:1.083em;line-height:14px;border-right:1px solid #4a4a4a;position:relative;text-align:center;margin:15px 10px 15px 0;padding-right:10px}
#hd_qnb li:last-child {padding-right:0;margin-right:0;border-right:0}
#hd_qnb li span {display:block;margin-top:5px;font-size:0.92em}
#hd_qnb li a {display:inline-block;color:#919191}
#hd_qnb .visit .visit-num {display:inline-block;line-height:16px;padding:0 5px;margin-left:5px;border-radius:10px;background:#da22f5;color:#fff;font-size:10px}


.hd_login {position:absolute;right:0;top:60px}
.hd_login li {float:left;margin:0 5px;border-left:1px solid #616161;padding-left:10px;line-height:13px}
.hd_login li:first-child {border-left:0}
.hd_login a {color:#fff}


/* 메인메뉴 */
#gnb {position:relative;background:#fff}
#gnb > h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#gnb .gnb_wrap {margin:0 auto;position:relative}
#gnb .gnb_wrap:hover, #gnb .gnb_wrap:focus, #gnb .gnb_wrap:active{z-index:3}
#gnb #gnb_1dul {font-size:1.083em;padding:0;zoom:1; height:84px;}
#gnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb .gnb_1dli {float:left;padding:0px;position:relative}
#gnb .gnb_1dli:hover > a {color:#3a8afd;
-webkit-transition:background-color 2s ease-out;
-moz-transition:background-color 0.3s ease-out;
-o-transition:background-color 0.3s ease-out;
transition:background-color 0.3s ease-out}

.gnb_1dli .bg {position:absolute;top:24px;right:8px;display:inline-block;width:10px;height:10px;overflow:hidden;background:url('../img/gnb_bg2.gif') no-repeat 50% 50%;text-indent:-999px}
.gnb_1da {display:block;font-weight:bold;padding:0 15px;color:#080808;text-decoration:none}
.gnb_1dli.gnb_al_li_plus .gnb_1da{padding-right:25px}
.gnb_2dli:first-child {border:0}
.gnb_2dul {display:none;position:absolute;top:54px;min-width:140px;padding-top:2px}
.gnb_2dul .gnb_2dul_box {border:1px solid #e0e2e5;border-top:0;padding:0;
-webkit-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
-moz-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2)}
.gnb_2da {display:block;padding:0 10px;line-height:40px;background:#fff;color:#080808;text-align:left;text-decoration:none}
a.gnb_2da:hover {color:#3a8afd;background:#f7f7f8;
-moz-transition:all 0.3s ease-out;
-o-transition:all 0.3s ease-out;
transition:all 0.3s ease-out}

.gnb_1dli_air .gnb_2da {}
.gnb_1dli_on .gnb_2da {}
.gnb_2da:focus, .gnb_2da:hover {color:#fff}
.gnb_1dli_over .gnb_2dul {display:block;left:0}
.gnb_1dli_over2 .gnb_2dul {display:block;right:0}
.gnb_wrap .gnb_empty {padding:10px 0;width:100%;text-align:center;line-height:2.7em;color:#080808}
.gnb_wrap .gnb_empty a {color:#3a8afd;text-decoration:underline}
.gnb_wrap .gnb_al_ul .gnb_empty, .gnb_wrap .gnb_al_ul .gnb_empty a {color:#555}

#gnb .gnb_menu_btn {background:#4158d1;color:#fff;width:50px;height:55px;border:0;vertical-align:top;font-size:18px}
#gnb .gnb_close_btn {background:#fff;color:#b6b9bb;width:50px;height:50px;border:0;vertical-align:top;font-size:18px;position:absolute;top:0;right:0}
#gnb .gnb_mnal {float:right;padding:0}

#gnb_all {display:none;position:absolute;border:1px solid #c5d6da;width:100%;background:#fff;z-index:1000;-webkit-box-shadow:0 2px 5px rgba(0,0,0,0.2);
-moz-box-shadow:0 2px 5px rgba(0,0,0,0.2);
box-shadow:0 2px 5px rgba(0,0,0,0.2)}
#gnb_all h2 {font-size:1.3em;padding:15px 20px;border-bottom:1px solid #e7eeef}
#gnb_all .gnb_al_ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb_all .gnb_al_ul > li:nth-child(5n+1) {border-left:0}
#gnb_all .gnb_al_li {float:left;width:20%;min-height:150px;padding:20px;border-left:1px solid #e7eeef}
#gnb_all .gnb_al_li .gnb_al_a {font-size:1.2em;display:block;position:relative;margin-bottom:10px;font-weight:bold;color:#3a8afd}
#gnb_all .gnb_al_li li {line-height:2em}
#gnb_all .gnb_al_li li a {color:#555}
#gnb_all_bg {display:none;background:rgba(0,0,0,0.1);width:100%;height:100%;position:fixed;left:0;top:0;z-index:999}

/* 중간 레이아웃 */
#wrapper {}
#container_wr:after {display:block;visibility:hidden;clear:both;content:""}
#container_wr {margin:0 auto;zoom:1;}
#aside {float:right;width:235px;padding:0;height:100%;margin:20px 0 20px 20px}

#container {position:relative;float:left;min-height:500px;height:auto !important;margin:20px 0;font-size:1em;width:930px;zoom:1}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.333em;margin:0 auto;font-weight:bold;  margin-top:120px;} /** 게시판 마진탑 **/
#container_title span {margin:0 auto 10px;display:block;line-height:30px}

.lt_wr {width:32%}
.lt_wr:nth-child(3n+1) {clear:both}
.latest_wr {margin-bottom:20px}
.latest_wr:after {display:block;visibility:hidden;clear:both;content:""}
.latest_top_wr {margin:0 -10px 20px}
.latest_top_wr:after {display:block;visibility:hidden;clear:both;content:""}

/* 하단 레이아웃 */
#ft {background:#212020;margin:0 auto;text-align:center}
#ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#ft_wr {max-width:1240px;margin:0;padding:40px 0;position:relative;display:inline-block;text-align:left}
#ft_wr:after {display:block;visibility:hidden;clear:both;content:""}
#ft_wr .ft_cnt {width:25%;float:left;padding:0 20px}

#ft_link {text-align:left}
#ft_link a {display:block;color:#fff;line-height:2em;font-weight:bold}
#ft_company h2 {font-size:1.2em;margin-bottom:20px}
#ft_company {font-weight:normal;color:#e3e3e3;line-height:2em}
#ft_catch {margin:20px 0 10px}
#ft_copy {text-align:center;width:1200px;margin:0 auto;padding:20px 0;color:#5b5b5b;font-size:0.92em;border-top:1px solid #383838}
#top_btn {position:fixed;bottom:20px;right:20px;width:50px;height:50px;line-height:46px;border:2px solid #333;color:#333;text-align:center;font-size:15px;z-index:90;background:rgba(255,255,255,0.5)}
#top_btn:hover {border-color:#3059c7;background:#3059c7;color:#fff}

/* 게시물 선택복사 선택이동 */
#copymove {}
#copymove .win_desc {text-align:center;display:block}
#copymove .tbl_wrap {margin:20px}
#copymove .win_btn {padding:0 20px 20px}
.copymove_current {float:right;background:#ff3061;padding:5px;color:#fff;border-radius:3px}
.copymove_currentbg {background:#f4f4f4}

/* 화면낭독기 사용자용 */
#hd_login_msg {position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
.msg_sound_only, .sound_only {display:inline-block !important;position:absolute;top:0;left:0;width:0;height:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}

/* 본문 바로가기 */
#skip_to_container a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#skip_to_container a:focus, #skip_to_container a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}

/* ie6 이미지 너비 지정 */
.img_fix {width:100%;height:auto}

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {display:inline-block;position:relative}
#captcha legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#captcha #captcha_img {height:40px;border:1px solid #898989;vertical-align:top;padding:0;margin:0}
#captcha #captcha_mp3 {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat;text-indent:-999px;border-radius:3px}
#captcha #captcha_reload {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat 0 -40px;text-indent:-999px;border-radius:3px}
#captcha #captcha_key {margin:0 0 0 3px;padding:0 5px;width:90px;height:40px;border:1px solid #ccc;background:#fff;font-size:1.333em;font-weight:bold;text-align:center;border-radius:3px;vertical-align:top}
#captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}

/* 캡챠 자동등록(입력)방지 기본 - mobile */
#captcha.m_captcha audio {display:block;margin:0 0 5px;width:187px}
#captcha.m_captcha #captcha_img {width:160px;height:60px;border:1px solid #e9e9e9;margin-bottom:3px;margin-top:5px;display:block}
#captcha.m_captcha #captcha_reload {position:static;margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat 0 -40px;text-indent:-999px}
#captcha.m_captcha #captcha_reload span {display:none}
#captcha.m_captcha #captcha_key {margin:0;padding:0 5px;width:115px;height:29px;border:1px solid #b8c9c2;background:#f7f7f7;font-size:1.333em;font-weight:bold;text-align:center;line-height:29px;margin-left:3px}
#captcha.m_captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}
#captcha.m_captcha #captcha_mp3 {width:31px;height:31px;background:url('../../../img/captcha2.png') no-repeat 0 0 ; vertical-align:top;overflow:hidden;cursor:pointer;text-indent:-9999px;border:none}

/* ckeditor 단축키 */
.cke_sc {margin:0 0 5px;text-align:right}
.btn_cke_sc {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:1.9em;vertical-align:middle;cursor:pointer}
.cke_sc_def {margin:0 0 5px;padding:10px;border:1px solid #ccc;background:#f7f7f7;text-align:center}
.cke_sc_def dl {margin:0 0 5px;text-align:left;zoom:1}
.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""}
.cke_sc_def dt, .cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid #e9e9e9}
.cke_sc_def dt {width:20%;font-weight:bold}
.cke_sc_def dd {width:30%}

/* ckeditor 태그 기본값 */
#bo_v_con ul {display:block;list-style-type:disc;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con ol {display:block;list-style-type:decimal;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con li {display:list-item}

/* 버튼 */
a.btn,.btn {line-height:35px;height:35px;padding:0 10px;text-align:center;font-weight:bold;border:0;font-size:1.4em;
-webkit-transition:background-color 0.3s ease-out;
-moz-transition:background-color 0.3s ease-out;
-o-transition:background-color 0.3s ease-out;
transition:background-color 0.3s ease-out}

a.btn01 {display:inline-block;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle}
a.btn01:focus, a.btn01:hover {text-decoration:none}
button.btn01 {display:inline-block;margin:0;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none}
a.btn02 {display:inline-block;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;vertical-align:middle}
a.btn02:focus, .btn02:hover {text-decoration:none}
button.btn02 {display:inline-block;margin:0;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none}

.btn_confirm {text-align:right} /* 서식단계 진행 */

.btn_submit {border:0;background:#3a8afd;color:#fff;cursor:pointer;border-radius:3px}
.btn_submit:hover {background:#2375eb}
.btn_close {border:1px solid #dcdcdc;cursor:pointer;border-radius:3px;background:#fff}
a.btn_close {text-align:center;line-height:50px}

a.btn_cancel {display:inline-block;background:#969696;color:#fff;text-decoration:none;vertical-align:middle}
button.btn_cancel {display:inline-block;background:#969696;color:#fff;text-decoration:none;vertical-align:middle}
.btn_cancel:hover {background:#aaa}
a.btn_frmline, button.btn_frmline {display:inline-block;width:128px;padding:0 5px;height:40px;border:0;background:#434a54;border-radius:3px;color:#fff;text-decoration:none;vertical-align:top} /* 우편번호검색버튼 등 */
a.btn_frmline {}
button.btn_frmline {font-size:1em}

/* 게시판용 버튼 */
a.btn_b01,.btn_b01 {display:inline-block;color:#bababa;text-decoration:none;vertical-align:middle;border:0;background:transparent}
.btn_b01:hover, .btn_b01:hover {color:#000}
a.btn_b02,.btn_b02 {display:inline-block;background:#253dbe;padding:0 10px;color:#fff;text-decoration:none;border:0;vertical-align:middle}
a.btn_b02:hover, .btn_b02:hover {background:#0025eb}
a.btn_b03, .btn_b03 {display:inline-block;background:#fff;border:1px solid #b9bdd3;color:#646982;text-decoration:none;vertical-align:middle}
a.btn_b03:hover, .btn_b03:hover {background:#ebedf6}
a.btn_b04, .btn_b04 {display:inline-block;background:#fff;border:1px solid #ccc;color:#707070;text-decoration:none;vertical-align:middle}
a.btn_b04:hover, .btn_b04:hover {color:#333;background:#f9f9f9}
a.btn_admin,.btn_admin {display:inline-block;color:#d13f4a;text-decoration:none;vertical-align:middle} /* 관리자 전용 버튼 */
.btn_admin:hover, a.btn_admin:hover {color:#ff3746}


/* 기본테이블 */
/* 기본 컨테이너 여백 및 초기화 */
.tbl_wrap {
    margin: 40px 0;
    overflow-x: auto; /* 모바일 대응용 */
}

.tbl_wrap table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
    /* 바깥쪽 테두리는 과감히 생략하거나 아주 연하게 처리 */
    border: none;
    border-top: 2px solid #333; /* 상단 포인트 라인 */
}

.tbl_wrap caption {
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    text-align: left;
}

/* 테이블 헤더 (thead) */
.tbl_head01 thead th {
    padding: 18px 10px;
    background: #f9f9fb; /* 아주 연한 그레이/블루 톤 */
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #ededf0;
    letter-spacing: -0.02em;
}

/* 체크박스 정렬 */
.tbl_head01 thead th input {
    vertical-align: middle;
    margin-top: -2px;
}

/* 테이블 본문 (tbody) */
.tbl_head01 tbody td {
    color: #444;
    padding: 16px 10px;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.6;
    height: auto; /* 고정높이 해제하여 유연하게 */
    word-break: break-all;
    font-size: 14px;
    text-align: center;
    transition: background 0.2s ease;
}

/* 제목 부분만 왼쪽 정렬 (일반적인 게시판 특성) */
.tbl_head01 td.td_subject {
    text-align: left;
    padding-left: 20px;
    color: #222;
    font-weight: 500;
}

/* 마우스 호버 효과 (강추) */
.tbl_head01 tbody tr:hover td {
    background: #f8faff; /* 시원한 느낌의 연보라/블루 배경 */
    cursor: pointer;
}

/* 링크 스타일 */
.tbl_head01 a {
    color: inherit;
    text-decoration: none;
}

.tbl_head01 a:hover {
    text-decoration: underline;
    color: #007bff; /* 포인트 컬러 */
}

/* 푸터/페이지네이션 영역 등 (tfoot) */
.tbl_head01 tfoot th, 
.tbl_head01 tfoot td {
    padding: 15px 0;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    background: #fdfdfd;
    text-align: center;
    color: #888;
}

/* 모바일 텍스트 깨짐 방지용 */
@media (max-width: 768px) {
    .tbl_head01 thead th { padding: 12px 5px; font-size: 13px; }
    .tbl_head01 tbody td { padding: 12px 5px; font-size: 13px; }
}

@media (max-width: 768px) {
    /* 테이블 구조 해제 */
    .tbl_head01 thead {
        display: none; /* 헤더 숨기기 */
    }

    .tbl_head01 tr {
        display: flex;
        flex-direction: column; /* 세로로 쌓기 */
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
    }

    .tbl_head01 td {
        display: block; /* 각 칸을 블록으로 */
        padding: 0 !important;
        border: none !important;
        height: auto !important;
        text-align: left !important;
    }

    /* 1. 번호 (숨기거나 작게 표시) */
    .tbl_head01 td:nth-child(1) {
        font-size: 11px;
        color: #999;
        margin-bottom: 5px;
    }

    /* 2. 제목 (크고 강조) */
    .tbl_head01 td.td_subject {
        font-size: 15px;
        font-weight: bold;
        color: #000;
        margin-bottom: 8px;
        white-space: normal;
    }

    /* 3. 글쓴이, 날짜, 조회수를 감싸는 레이아웃 */
    /* 별도의 div 없이 td들을 한 줄에 배치하기 위해 flex 사용 */
    .tbl_head01 td:not(.td_subject):not(:nth-child(1)) {
        display: inline-block; /* 한 줄에 나열 */
        font-size: 12px;
        color: #888;
        margin-right: 10px;
    }

    /* 항목 구분선 (|) 넣기 */
    .tbl_head01 td:not(.td_subject):not(:nth-child(1)):not(:last-child)::after {
        content: "";
        display: inline-block;
        width: 1px;
        height: 10px;
        background: #ddd;
        margin-left: 10px;
        vertical-align: middle;
    }
}

@media (max-width: 768px) {
    /* 테이블 구조 해제 */
    .tbl_head01 thead {
        display: none; /* 상단 헤더 숨김 */
    }

    .tbl_head01 tr {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
        background: #fff;
    }

    .tbl_head01 td {
        display: flex; /* 레이블과 데이터를 양 끝으로 배치하기 위해 flex 사용 */
        padding: 4px 0 !important;
        border: none !important;
        font-size: 13px;
        color: #444;
        height: auto !important;
    }

    /* 제목 행만 특별 관리 */
    .tbl_head01 td.td_subject {
        display: block;
        font-size: 16px;
        font-weight: bold;
        color: #000;
        margin-bottom: 10px;
        padding-bottom: 8px !important;
        border-bottom: 1px solid #f9f9f9 !important;
    }

    /* 제목 열에는 항목 이름을 붙이지 않음 */
    .tbl_head01 td.td_subject::before {
        display: none;
    }

    /* 나머지 항목들에 항목 이름(Label) 강제 삽입 */
    .tbl_head01 td::before {
        display: inline-block;
        width: 80px; /* 라벨 너비 고정 */
        color: #888;
        font-weight: normal;
        flex-shrink: 0;
    }

    /* 각 순서에 맞게 항목 이름 지정 (HTML 순서에 맞춰 수정하세요) */
    .tbl_head01 td:nth-child(1)::before { content: "번호"; }
    .tbl_head01 td:nth-child(3)::before { content: "글쓴이"; }
    .tbl_head01 td:nth-child(4)::before { content: "작성자"; }
    .tbl_head01 td:nth-child(5)::before { content: "날짜"; }

    /* 데이터 영역 강조 */
    .tbl_head01 td {
        justify-content: flex-start;
    }
}

/*갤러리 css*/
/* 갤러리 리스트 초기화 */
#bo_gall .gall_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
    list-style: none;
    background: #fdfdfd; /* 아주 연한 배경색으로 카드 강조 */
}

/* 갤러리 개별 카드 */
#bo_gall .gall_li {
    flex: 0 0 calc(25% - 15px); /* PC 4열 */
    margin: 0 !important;
    background: #fff;
    border-radius: 16px; /* 둥근 모서리로 부드러운 인상 */
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03); /* 아주 은은한 그림자 */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
}

/* 이미지 영역 */
#bo_gall .gall_img {
    width: 100%;
    height: 220px;
    margin: 0;
    overflow: hidden;
}

#bo_gall .gall_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* 텍스트 정보 영역 */
#bo_gall .gall_text_href {
    padding: 18px 15px;
    text-decoration: none;
    display: block;
}

/* 제목 스타일 */
#bo_gall .bo_tit {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1b;
    margin-bottom: 8px;
    line-height: 1.4;
    /* 두 줄 넘어가면 말줄임표 처리 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

/* 하단 부가 정보 (작성자, 날짜) */
#bo_gall .gall_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #a0a0a2;
    border-top: 1px solid #f5f5f7;
    padding-top: 12px;
}

/* --- 호버 애니메이션 --- */
#bo_gall .gall_li:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.1);
}

#bo_gall .gall_li:hover .gall_img img {
    transform: scale(1.08);
}

/* --- 모바일 최적화 (2열 배치) --- */
@media (max-width: 768px) {
    #bo_gall .gall_ul {
        gap: 12px;
        padding: 12px;
    }

    #bo_gall .gall_li {
        flex: 0 0 calc(50% - 6px); /* 정확히 반반 2열 */
        border-radius: 14px;
    }

    #bo_gall .gall_img {
        height: 160px; /* 모바일에서 적당한 이미지 높이 */
    }

    #bo_gall .gall_text_href {
        padding: 12px 10px;
    }

    #bo_gall .bo_tit {
        font-size: 14px;
        height: 2.8em; /* 2줄 유지 */
    }

    #bo_gall .gall_info {
        padding-top: 10px;
        font-size: 11px;
    }
    
    /* 모바일에서는 조회수 등을 숨기고 날짜만 노출하여 깔끔하게 */
    #bo_gall .gall_info span:not(:first-child) {
        display: none;
    }
}

/* 모바일 화면 (일반적으로 768px 이하) */
@media (max-width: 768px) {
    /* 1. 리스트 컨테이너 강제 초기화 */
    #bo_gall .gall_ul {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important; /* 가로 방향 강제 */
        gap: 10px !important; /* 아이템 사이 간격 */
        padding: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. 각 아이템 박스 강제 50% 너비 고정 */
    #bo_gall .gall_li {
        /* 너비를 50%에서 간격의 절반만큼 뺀 값으로 강제 고정 */
        width: calc(50% - 5px) !important; 
        flex: 0 0 calc(50% - 5px) !important;
        
        /* 기존의 float이나 margin 설정 제거 */
        float: left !important; 
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    /* 3. 이미지 영역 높이 강제 제한 (세로로 길어짐 방지) */
    #bo_gall .gall_img {
        width: 100% !important;
        height: 140px !important; /* 이미지 높이를 적당히 낮춤 */
        max-height: 140px !important;
        overflow: hidden !important;
    }

    #bo_gall .gall_img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* 이미지 비율 강제 유지 */
    }

    /* 4. 제목 및 텍스트 영역 */
    #bo_gall .gall_text_href {
        padding: 10px !important;
        display: block !important;
    }

    #bo_gall .bo_tit {
        font-size: 13px !important;
        line-height: 1.4 !important;
        height: 2.8em !important; /* 두 줄 높이 강제 고정 */
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        white-space: normal !important;
    }
}

/*작성자 날짜 조회 보이게(갤러리)*/
/* [공통] 갤러리 리스트 초기화 */
#bo_gall .gall_ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important; /* 카드 사이 간격 */
    padding: 20px 10px !important;
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* [PC 버전] 기본 4열 배치 */
#bo_gall .gall_li {
    display: flex !important;
    flex-direction: column !important;
    width: calc(25% - 15px) !important; /* 4열 (100%/4 - 간격보정) */
    margin: 0 !important;
    background: #fff !important;
    border-radius: 12px !important;
    border: 1px solid #eee !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

#bo_gall .gall_li:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* 이미지 영역 */
#bo_gall .gall_img {
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
    margin: 0 !important;
}

#bo_gall .gall_img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 텍스트 영역 */
#bo_gall .gall_text_href {
    padding: 15px !important;
    display: block !important;
    text-decoration: none !important;
}

#bo_gall .bo_tit {
    display: block !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #222 !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    height: 2.8em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
}

/* 작성자, 날짜, 조회수 정보 */
#bo_gall .gall_info {
    font-size: 12px !important;
    color: #888 !important;
    border-top: 1px solid #f0f0f0 !important;
    padding-top: 10px !important;
    line-height: 1.5 !important;
}

#bo_gall .gall_info span {
    display: inline-block !important;
    margin-right: 8px !important;
}

/* --------------------------------------------------
   [모바일 버전] 768px 이하 강제 2열 및 레이아웃 최적화
   -------------------------------------------------- */
@media (max-width: 768px) {
    #bo_gall .gall_ul {
        gap: 10px !important; /* 모바일 간격 좁게 */
        padding: 10px !important;
    }

    #bo_gall .gall_li {
        width: calc(50% - 5px) !important; /* 강제 2열 */
        flex: 0 0 calc(50% - 5px) !important;
        border-radius: 8px !important;
    }

    #bo_gall .gall_img {
        height: 130px !important; /* 모바일 이미지 높이 축소 */
    }

    #bo_gall .gall_text_href {
        padding: 10px !important;
    }

    #bo_gall .bo_tit {
        font-size: 14px !important;
        height: 2.8em !important; /* 모바일에서도 2줄 유지 */
        margin-bottom: 5px !important;
    }

    #bo_gall .gall_info {
        font-size: 11px !important;
        padding-top: 8px !important;
    }

    /* 모바일에서 작성자는 한 줄 차지하도록 강조 */
    #bo_gall .gall_name {
        display: block !important;
        color: #555 !important;
        margin-bottom: 2px !important;
    }
}



/* 폼 테이블 */
.tbl_frm01 {margin:0 0 20px}
.tbl_frm01 table {width:100%;border-collapse:collapse;border-spacing:0}
.tbl_frm01 th {width:70px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f5f8f9;text-align:left}
.tbl_frm01 td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
.wr_content textarea,.tbl_frm01 textarea,.form_01 textarea, .frm_input {border:1px solid #d0d3db;background:#fff;color:#000;vertical-align:middle;border-radius:3px;padding:5px;
-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);
-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);
}
.tbl_frm01 textarea {padding:2px 2px 3px}
.frm_input {height:40px}

.full_input {width:100%}
.half_input {width:49.5%}
.twopart_input {width:385px;margin-right:10px}
.tbl_frm01 textarea, .write_div textarea {width:100%;height:100px}
.tbl_frm01 a {text-decoration:none}
.tbl_frm01 .frm_file {display:block;margin-bottom:5px}
.tbl_frm01 .frm_info {display:block;padding:0 0 5px;line-height:1.4em}
.frm_info.add_info { margin-top: 10px !important; padding: 8px 12px; background: #fff; border: 1px solid #ddd; border-radius: 6px; line-height: 1.6; }
.btn_info_toggle { display: block; margin: 5px 0 0 21px; font-size: 12px; color: #3f51b5; background: none; border: none; cursor: pointer; text-decoration: underline; }

/*기본 리스트*/
.list_01 ul {border-top:1px solid #ececec}
.list_01 li {border-bottom:1px solid #ececec;background:#fff;padding:10px 15px;list-style:none;position:relative}
.list_01 li:nth-child(odd) {background:#f6f6f6}
.list_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.list_01 li:hover {background:#f9f9f9}
.list_01 li.empty_li {text-align:center;padding:20px 0;color:#666}

/*폼 리스트*/
.form_01 h2 {font-size:1.167em}
.form_01 li {margin-bottom:10px}
.form_01 ul:after,
.form_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.form_01 .left_input {float:left}
.form_01 .margin_input {margin-right:1%}
.form_01 textarea {height:100px;width:100%}
.form_01 .frm_label {display:inline-block;width:130px}

/* 자료 없는 목록 */
.empty_table {padding:50px 0 !important;text-align:center}
.empty_list {padding:20px 0 !important;color:#666;text-align:center}

/* 필수입력 */
.required, textarea.required {background-image:url('../img/require.png') !important;background-repeat:no-repeat !important;background-position:right top !important}

/* 테이블 항목별 정의 */
.td_board {width:80px;text-align:center}
.td_category {width:80px;text-align:center}
.td_chk {width:30px;text-align:center}
.td_date {width:60px;text-align:center}
.td_datetime {width:110px;text-align:center}
.td_group {width:80px;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_mng {width:80px;text-align:center}
.td_name {width:100px;text-align:left}
.td_nick {width:100px;text-align:center}
.td_num {width:50px;text-align:center}
.td_numbig {width:80px;text-align:center}
.td_stat {width:60px;text-align:center}



.txt_active {color:#5d910b}
.txt_done {color:#e8180c}
.txt_expired {color:#ccc}
.txt_rdy {color:#8abc2a}

/* 새창 기본 스타일 */
.new_win {position:relative}
.new_win .tbl_wrap {margin:0 20px}
.new_win #win_title {font-size:1.3em;height:50px;line-height:30px;padding:10px 20px;background:#fff;color:#000;-webkit-box-shadow:0 1px 10px rgba(0,0,0,.1);
-moz-box-shadow:0 1px 10px rgba(0,0,0,.1);
box-shadow:0 1px 10px rgba(0,0,0,.1)}
.new_win #win_title .sv {font-size:0.75em;line-height:1.2em}
.new_win .win_ul {margin-bottom:15px;padding:0 20px}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_ul li {float:left;background:#fff;text-align:center;padding:0 10px;border:1px solid #d6e9ff;border-radius:30px;margin-left:5px}
.new_win .win_ul li:first-child {margin-left:0}
.new_win .win_ul li a {display:block;padding:8px 0;color:#6794d3}
.new_win .win_ul .selected {background:#3a8afd;border-color:#3a8afd;position:relative;z-index:5}
.new_win .win_ul .selected a {color:#fff;font-weight:bold}
.new_win .win_desc {position:relative;margin:10px;border-radius:5px;font-size:1em;background:#f2838f;color:#fff;line-height:50px;text-align:left;padding:0 20px}
.new_win .win_desc i {font-size:1.2em;vertical-align:baseline}
.new_win .win_desc:after {content:"";position:absolute;left:0;top:0;width:4px;height:50px;background:#da4453;border-radius:3px 0 0 3px}
.new_win .frm_info {font-size:0.92em;color:#919191}
.new_win .win_total {float:right;display:inline-block;line-height:30px;font-weight:normal;font-size:0.75em;color:#3a8afd;background:#f6f6f6;padding:0 10px;border-radius:5px}
.new_win .new_win_con {margin:20px 0;padding:20px}
.new_win .new_win_con:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .new_win_con2 {margin:20px 0}
.new_win .btn_confirm:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_btn {text-align:center}
.new_win .cert_btn {margin-bottom:30px;text-align:center}
.new_win .btn_close {padding:0 20px;height:45px;overflow:hidden;cursor:pointer}
.new_win .btn_submit {padding:0 20px;height:45px;font-weight:bold;font-size:1.083em}

/* 검색결과 색상 */
.sch_word {color:#fff;background:#ff005a;padding:2px 5px 3px;line-height:18px;margin:0 2px}

/* 자바스크립트 alert 대안 */
#validation_check {margin:100px auto;width:500px}
#validation_check h1 {margin-bottom:20px;font-size:1.3em}
#validation_check p {margin-bottom:20px;padding:30px 20px;border:1px solid #e9e9e9;background:#fff}

/* 사이드뷰 */
.sv_wrap {position:relative;font-weight:normal}
.sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;font-size:0.92em;background:#333;
-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)}
.sv_wrap .sv:before {content:"";position:absolute;top:-6px;left:15px;width:0;height:0;border-style:solid;border-width:0 6px 6px 6px;border-color:transparent transparent #333 transparent}
.sv_wrap .sv a {display:inline-block;margin:0;padding:0 10px;line-height:30px;width:100px;font-weight:normal;color:#bbb}
.sv_wrap .sv a:hover {background:#000;color:#fff}
.sv_member {color:#333}
.sv_on {display:block !important;position:absolute;top:23px;left:0px;width:auto;height:auto}
.sv_nojs .sv {display:block}

/* 페이징 */
.pg_wrap {clear:both;float:left;display:inline-block}
.pg_wrap:after {display:block;visibility:hidden;clear:both;content:""} 
.pg {text-align:center}
.pg_page, .pg_current {display:inline-block;vertical-align:middle;background:#eee;border:1px solid #eee}
.pg a:focus, .pg a:hover {text-decoration:none}
.pg_page {color:#959595;font-size:1.083em;height:30px;line-height:28px;padding:0 5px;min-width:30px;text-decoration:none;border-radius:3px}
.pg_page:hover {background-color:#fafafa}
.pg_start {text-indent:-999px;overflow:hidden;background:url('../img/btn_first.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_prev {text-indent:-999px;overflow:hidden;background:url('../img/btn_prev.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_end {text-indent:-999px;overflow:hidden;background:url('../img/btn_end.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_next {text-indent:-999px;overflow:hidden;background:url('../img/btn_next.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_start:hover,.pg_prev:hover,.pg_end:hover,.pg_next:hover {background-color:#fafafa}

.pg_current {display:inline-block;background:#3a8afd;border:1px solid #3a8afd;color:#fff;font-weight:bold;height:30px;line-height:30px;padding:0 10px;min-width:30px;border-radius:3px}

/* cheditor 이슈 */
.cheditor-popup-window *, .cheditor-popup-window :after, .cheditor-popup-window :before {
-webkit-box-sizing:content-box;
-moz-box-sizing:content-box;
box-sizing:content-box;
}

/* Mobile화면으로 */
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center}

/**/
/* 레이아웃 크기 지정 수정 */
#hd, #wrapper, #ft { min-width: 100%; width: 100%; }

#hd_pop,
#hd_wrapper,
#tnb .inner,
#gnb .gnb_wrap,
#container_wr,
#ft_wr { 
    width: 100%; 
    max-width: 1200px; /* 최대 폭은 유지 */
    margin: 0 auto; 
    padding-left: 15px; 
    padding-right: 15px; 
}

/* 메인 컨텐츠와 사이드바 비율 조정 */
#container { 
    float: none; 
    width: 100%; 
    margin: 20px 0; 
}
#aside { 
    float: none; 
    width: 100%; 
    margin: 20px 0; 
}

/* 미디어 쿼리를 통한 PC 레이아웃 복구 (769px 이상일 때만 가로 배치) */
@media (min-width: 992px) {
    #container { 
        float: left; 
        width: calc(100% - 255px); /* 사이드바 폭 제외 */
    }
    #aside { 
        float: right; 
        width: 235px; 
    }
}

/**/
@media (max-width: 768px) {
    #hd_wrapper { height: auto; padding-bottom: 0px; } /* 모바일에서 */
    #logo { float: none; text-align: center; padding: 20px 0; }
    
    .hd_sch_wr { 
        float: none; 
        width: 100%; 
        margin-left: 0; 
        padding: 10px 0; 
    }
    #hd_sch #sch_stx { width: calc(100% - 60px); }
    
    .hd_login { 
        position: static; 
        text-align: center; 
        background: #333; 
        margin: 0 -15px; 
        padding: 10px 0; 
    }
    .hd_login li { display: inline-block; float: none; }
}
/**/
/* 테이블 스크롤 방지 */
.tbl_wrap { 
    width: 100%; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
}

.tbl_head01 { min-width: 600px; } /* 최소 너비를 주어 내용이 겹치지 않게 함 */

/* 폼 입력창 반응형 */
.twopart_input { width: 100%; margin-right: 0; margin-bottom: 5px; }
.half_input { width: 100%; margin-bottom: 5px; }

@media (min-width: 768px) {
    .half_input { width: 49.5%; }
}

/**/
/* 테이블 스크롤 방지 */
.tbl_wrap { 
    width: 100%; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
}

.tbl_head01 { min-width: 600px; } /* 최소 너비를 주어 내용이 겹치지 않게 함 */

/* 폼 입력창 반응형 */
.twopart_input { width: 100%; margin-right: 0; margin-bottom: 5px; }
.half_input { width: 100%; margin-bottom: 5px; }

@media (min-width: 768px) {
    .half_input { width: 49.5%; }
}

/**/
@media (max-width: 991px) {
    #gnb #gnb_1dul { white-space: nowrap; overflow-x: auto; }
    .gnb_1dli { float: none; display: inline-block; }
    #gnb .gnb_mnal { display: none; } /* 전체메뉴 버튼 숨김 혹은 재배치 */
}

/**/

@media (max-width: 768px) {
    #ft_wr .ft_cnt { 
        width: 100%; 
        float: none; 
        padding: 10px 0; 
        text-align: center; 
    }
    #ft_link, #ft_company { text-align: center; }
    #ft_copy { width: 100%; }
}

/**/
/* 기본 셋팅 */
header#hd { position: relative; width: 100%; border-bottom: 1px solid #e9e9e9; background: #fff; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; }

/* 유틸바 (TNB) */
#tnb { background: #1a1a1a; color: #aaa; font-size: 11px; height: 36px; }
#tnb .container { justify-content: space-between; height: 100%; }
#tnb a { color: #aaa; text-decoration: none; transition: 0.2s; }
#tnb a:hover { color: #bdbdbd; }
#tnb .tnb_left { display: flex; gap: 20px; }
#tnb .tnb_left a.on { color: #fff; font-weight: bold; }
#tnb .tnb_right { display: flex; gap: 15px; }

/* 메인헤더 */
#hd_main { height: 90px; transition: height 0.3s ease; }
#hd_main .container { justify-content: space-between; height: 100%; }
#logo img { height: 40px; width: auto; }

/* GNB 디자인 */
#gnb_1dul { display: flex; gap: 40px; list-style: none; }
.gnb_1da { font-size: 17px; font-weight: 600; color: #1a1a1a; text-decoration: none; position: relative; padding: 10px 0; }
.gnb_1da::after { content: ''; position: absolute; bottom: 0; left: 0%; width: 0; height: 2px; background: #3a8afd; transition: 0.3s; transform: translateX(0%); }
.gnb_1dli:hover .gnb_1da { color: #3a8afd; }
.gnb_1dli:hover .gnb_1da::after { width: 100%; }

/*hover시 하위메뉴 안움직이게*/
/* 1단 메뉴 리스트 */
.gnb_1dli {
    position: relative !important; /* 서브메뉴의 기준점 고정 */
    display: inline-block;        /* 혹은 float:left */
}

/* 2단 메뉴 (서브메뉴) */
.gnb_2dul {
    position: absolute !important; 
    top: 100%;           /* 1단 메뉴 바로 아래 */
    left: 50% !important;/* 중앙 정렬을 원할 경우 */
    transform: translateX(-50%); /* 중앙 정렬 보정 */
    
    width: 200px;        /* 서브메뉴 너비를 고정값으로 지정 (중요) */
    visibility: hidden;  /* display:none 대신 사용하면 레이아웃 흔들림이 적음 */
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 999;
}

/* 호버 시 */
.gnb_1dli:hover .gnb_2dul {
    visibility: visible;
    opacity: 1;
}

/* 서브메뉴 (Dropdown) */
.gnb_1dli { position: relative; }
.gnb_2dul { 
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); 
    background: #fff; border: 1px solid #eee; padding: 15px 0; min-width: 160px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); opacity: 0; visibility: hidden; transition: 0.3s;
    border-radius: 8px;
}
.gnb_1dli:hover .gnb_2dul { opacity: 1; visibility: visible; }
.gnb_2dul li a { display: block; padding: 8px 25px; font-size: 14px; color: #666; text-decoration: none; }
.gnb_2dul li a:hover { color: #3a8afd; background: #f8f9ff; }

/* 우측 버튼 */
.hd_right_btns button { background: none; border: none; font-size: 20px; cursor: pointer; margin-left: 15px; color: #1a1a1a; }

/* 검색 레이어 */
#hd_sch_layer { 
    position: absolute; top: -100%; left: 0; width: 100%; height: 100px; 
    background: #fff; z-index: 999; display: flex; align-items: center; 
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1); box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
#hd_sch_layer.open { top: 0; }
#hd_sch_layer form { width: 100%; display: flex; align-items: center; }
#sch_stx { width: 100%; border: none; border-bottom: 2px solid #1a1a1a; padding: 10px 0; font-size: 24px; font-weight: bold; outline: none; }
.btn_search_close { background: none; border: none; font-size: 30px; cursor: pointer; padding: 10px; }

/* 반응형 */
@media (max-width: 991px) {
    #gnb, #tnb { display: none; }
    #hd_main { height: 70px; }
}

/**/
/* PC 전용/모바일 전용 노출 제어 */
.hd_pc_only { display: flex; }
@media (max-width: 991px) {
    .hd_pc_only { display: none; }
}

/* 검색 레이어 */
#hd_sch_layer { 
    position: fixed; top: -120px; left: 0; width: 100%; height: 100px; 
    background: #fff; z-index: 1001; transition: 0.4s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    display: flex; align-items: center;
}
#hd_sch_layer.active { top: 0; }
#hd_sch_layer form { display: flex; width: 100%; border-bottom: 2px solid #333; }
#sch_stx { border: none; flex: 1; padding: 10px; font-size: 18px; outline: none; }
.sch_btn { background: none; border: none; font-size: 20px; cursor: pointer; }
.btn_search_close { background: none; border: none; font-size: 24px; padding-left: 20px; cursor: pointer; }

/* 사이드바 (모바일 메뉴) */
#aside_menu {
    position: fixed; top: 0; right: -300px; width: 300px; height: 100%;
    background: #fff; z-index: 1005; transition: 0.3s ease; overflow-y: auto;
}
#aside_menu.active { right: 0; }
.aside_overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1004; display: none;
}
.aside_hd { padding: 25px 20px; background: #3a8afd; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.btn_aside_close { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }

/* 모바일 메뉴 리스트 */
.m_gnb { list-style: none; padding: 10px 0; }
.m_me_wr { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f0f0f0; }
.m_me_wr a { flex: 1; padding: 15px 20px; font-weight: bold; color: #333; text-decoration: none; }
.m_sub_toggle { width: 55px; height: 55px; border: none; border-left: 1px solid #f0f0f0; background: #fff; cursor: pointer; }
.m_sub_ul { display: none; background: #f8f9fa; list-style: none; padding: 10px 0; }
.m_sub_ul li a { display: block; padding: 10px 35px; font-size: 14px; color: #666; text-decoration: none; }

/**/
/* 기본 상태: 오른쪽 밖으로 완전히 숨김 */
#aside_menu {
    position: fixed !important;
    top: 0 !important;
    right: -300px !important; /* 너비만큼 마이너스 */
    width: 300px !important;
    height: 100% !important;
    background: #fff !important;
    z-index: 99999 !important; /* 최상단 강제 */
    transition: right 0.3s ease-out !important;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: block !important;
}

/* 열림 상태: 클래스가 붙으면 안으로 들어옴 */
#aside_menu.open {
    right: 0 !important;
}

/* 배경 어둡게 처리 */
.aside_overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.6) !important;
    z-index: 99998 !important;
    display: none; /* 기본 숨김 */
}

/* 모바일 하위메뉴 기본 숨김 */
.m_sub_ul { display: none; background: #f8f9fa; list-style: none; padding: 10px 0; }
.m_me_wr { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; }
.m_me_wr a { flex: 1; padding: 15px; font-weight: bold; text-decoration: none; color: #333; }
.m_sub_toggle { width: 50px; height: 55px; border: none; background: none; cursor: pointer; border-left: 1px solid #eee; }

/**/
/* PC/모바일 구분 */
@media (min-width: 992px) {
    .btn_m_menu { display: none; }
}
@media (max-width: 991px) {
    .hd_pc_only { display: none !important; }
}

/* 모바일 사이드바 기본 스타일 */
#aside_menu {
    position: fixed !important;
    top: 0 !important;
    right: -300px !important; /* 처음엔 숨김 */
    width: 280px !important;
    height: 100% !important;
    background: #fff !important;
    z-index: 10001 !important;
    transition: right 0.3s ease-in-out !important;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

/* 활성화 시 */
#aside_menu.active {
    right: 0 !important;
}

/* 배경 오버레이 */
.aside_overlay {
    position: fixed !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
}

/* 모바일 서브메뉴(아코디언) 관련 */
.m_sub_ul { display: none; background: #f9f9f9; list-style: none; padding: 0; }
.m_sub_ul li a { display: block; padding: 10px 20px; font-size: 0.95em; color: #666; border-bottom: 1px solid #eee; }

.m_me_wr { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; }
.m_me_wr a { flex: 1; padding: 15px; font-weight: bold; color: #333; text-decoration: none; }
.m_sub_toggle { width: 50px; height: 50px; border: none; background: none; cursor: pointer; color: #999; }

/* 검색창 레이어 */
#hd_sch_layer {
    position: absolute; top: -100px; left: 0; width: 100%; background: #fff;
    transition: top 0.3s ease; z-index: 999; box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}
#hd_sch_layer.open { top: 0; }

/**/
/* 검색 레이어 스타일 */
#hd_sch_layer {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    background: #fff; z-index: 10002; border-bottom: 1px solid #ddd;
    padding: 20px;
}
.sch_inner { display: flex; align-items: center; justify-content: space-between; }

/* 사이드 메뉴 기본 위치 (화면 밖 오른쪽) */
#aside_menu {
    position: fixed; top: 0; right: -300px; /* 처음엔 숨김 */
    width: 280px; height: 100%; background: #fff;
    z-index: 10001; transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

/* 활성화 시 화면 안으로 이동 */
#aside_menu.active { right: 0; }

/* 배경 오버레이 */
#aside_overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 10000;
    display: none; /* 평소엔 숨김 */
}
#aside_overlay.active { display: block; }

/* 닫기 버튼 공통 */
.btn_search_close, .btn_aside_close { background: none; border: none; font-size: 20px; cursor: pointer; }

/**/
/* 기본 설정 */
:root { --main-color: #0056b3; --text-color: #333; --border-color: #eee; }
.pc_only { display: block; }
.m_only { display: none; }

#hd { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: #fff; transition: 0.3s; border-bottom: 1px solid var(--border-color); }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 100%; }

/* TNB */
#tnb { background: #f8f9fa; height: 40px; border-bottom: 1px solid var(--border-color); font-size: 13px; }
#tnb ul { display: flex; list-style: none; gap: 20px; }
#tnb a { color: #666; text-decoration: none; }
#tnb .admin_link { color: #d9534f; font-weight: bold; }

/* 메인 헤더 */
#hd_wrapper { height: 80px; }
#logo img { height: 35px; }

/* PC GNB */
#gnb_1dul { display: flex; list-style: none; gap: 40px; }
.gnb_1da { font-size: 17px; font-weight: 700; color: var(--text-color); text-decoration: none; padding: 30px 0; display: block; }
.gnb_1da:hover { color: var(--main-color); }

/* PC 서브메뉴 */
.gnb_1dli { position: relative; }
.gnb_2dul { position: absolute; top: 80px; left: 50%; transform: translateX(-50%); background: #fff; min-width: 180px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 3px solid var(--main-color); display: none; padding: 15px 0; }
.gnb_1dli:hover .gnb_2dul { display: block; }
.gnb_2dul li a { display: block; padding: 10px 25px; font-size: 14px; color: #555; text-decoration: none; transition: 0.2s; }
.gnb_2dul li a:hover { background: #f4f4f4; color: var(--main-color); }

/* 모바일 햄버거 버튼 스타일 */
#m_btn { background: none; border: none; width: 30px; height: 20px; position: relative; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
#m_btn .line { display: block; width: 100%; height: 2px; background: var(--text-color); transition: 0.3s; }

/* 모바일 메뉴 (사이드바) */
#m_gnb { position: fixed; top: 0; right: -300px; width: 300px; height: 100%; background: #fff; z-index: 10001; transition: 0.4s ease; overflow-y: auto; }
#m_gnb.active { right: 0; }
#m_overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 10000; display: none; }

.m_gnb_top { padding: 20px; display: flex; justify-content: space-between; background: var(--main-color); color: #fff; font-weight: bold; }
.m_login_state { padding: 20px; background: #f4f4f4; font-size: 14px; border-bottom: 1px solid #ddd; }
.m_gnb_list { list-style: none; }
.m_gnb_list li { border-bottom: 1px solid #eee; }
.m_flex { display: flex; justify-content: space-between; align-items: center; }
.m_1d { display: block; padding: 18px 20px; font-weight: 600; font-size: 16px; flex: 1; }
.m_sub_open { width: 60px; height: 58px; background: none; border: none; border-left: 1px solid #eee; cursor: pointer; }
.m_2d { background: #fbfbfb; display: none; padding: 10px 0; }
.m_2d a { display: block; padding: 12px 35px; font-size: 14px; color: #666; text-decoration: none; }

/* 반응형 분기 */
@media (max-width: 1024px) {
    .pc_only { display: none !important; }
    .m_only { display: block !important; }
    #hd_wrapper { height: 60px; }
}

/**/


/* [1. 글로벌 변수 설정] */
:root {
    --primary-color: #0b2454 !important;    /* 기업 고유 컬러 (어두운 네이비/블랙) */
    --accent-color: #38527d !important;     /* 포인트 블루, 메뉴 선*/
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --text-main: #2d3748;
    --text-muted: #718096;
    --max-width: 1320px;
    --header-height: 85px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-lg: 0 10px 25px -5px rgba(5, 33, 126, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* [2. 기본 초기화] */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    word-break: keep-all;
    background-color: var(--white);
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; height: auto; vertical-align: middle; }

/* [3. 반응형 헬퍼 클래스] */
.pc_only { display: block !important; }
.m_only { display: none !important; }

@media (max-width: 1024px) {
    .pc_only { display: none !important; }
    .m_only { display: block !important; }
}

/* [4. Header 레이아웃] */
#hd { width: 100%; position: relative; z-index: 1000; background: var(--white); }
#hd.hd_sticky { position: fixed; top: 0; border-bottom: 1px solid var(--gray-200); box-shadow: 0 2px 10px rgba(0,0,0,0.02); }

/* Top Navigation Bar (TNB) */
#tnb { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); font-size: 13px; font-weight: 500; height: 40px; }
#tnb .inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 100%; padding: 0 20px; }
#tnb ul { display: flex; gap: 20px; color: var(--text-muted); }
#tnb li.active a { color: var(--accent-color); font-weight: 700; }
#tnb .admin_link { color: #e53e3e; font-weight: 700; }

/* 메인 헤더 (로고, GNB, 아이콘) */
#hd_wrapper { height: var(--header-height); display: flex; align-items: center; }
#hd_wrapper .inner { 
    max-width: var(--max-width); margin: 0 auto; width: 100%;
    display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
}

#logo img { height: 32px; width: auto; }

/* [5. PC 네비게이션 (GNB)] */
#gnb_1dul { display: flex; gap: 45px; }
.gnb_1dli { position: relative; }
.gnb_1da { 
    display: block; font-size: 17px; font-weight: 600; color: var(--primary-color);
    padding: 30px 0; position: relative;
}
.gnb_1da::after {
    content: ''; position: absolute; bottom: 25px; left: 0; width: 0; height: 2px;
    background: var(--accent-color); transition: var(--transition);
}
.gnb_1dli:hover .gnb_1da { color: var(--accent-color); }
.gnb_1dli:hover .gnb_1da::after { width: 100%; }

/* 드롭다운 서브메뉴 */
.gnb_2dul {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 180px; background: var(--white); padding: 15px 0;
    box-shadow: var(--shadow-lg); border-radius: 8px; border: 1px solid var(--gray-100);
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.gnb_1dli:hover .gnb_2dul { opacity: 1; visibility: visible; }
.gnb_2dul li a { display: block; padding: 10px 25px; font-size: 15px; color: var(--text-muted); }
.gnb_2dul li a:hover { color: var(--accent-color); background: var(--gray-50); }

/* 헤더 우측 아이콘 */
.hd_icons { display: flex; align-items: center; gap: 15px; }
.search_btn { font-size: 18px; color: var(--primary-color); }
.login_btn { 
    padding: 8px 18px; border: 1.5px solid var(--primary-color); 
    border-radius: 50px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
}
.login_btn:hover { background: var(--primary-color); color: var(--white); }

/* [6. 모바일 메뉴 (Hamburger)] */
#m_btn { width: 30px; height: 22px; display: flex; flex-direction: column; justify-content: space-between; }
#m_btn .line { width: 100%; height: 2.5px; background: var(--primary-color); border-radius: 10px; }

#m_gnb {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100%;
    background: var(--white); z-index: 1002; transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}
#m_gnb.active { right: 0; }
#m_overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1001; display: none;
}

.m_gnb_top { padding: 25px; border-bottom: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }
.m_logo { font-weight: 800; font-size: 20px; color: var(--accent-color); }
#m_close { font-size: 24px; color: var(--text-main); }

.m_login_state { padding: 25px; background: var(--gray-50); margin: 15px; border-radius: 12px; font-size: 15px; }
.m_login_link { color: var(--accent-color); font-weight: 700; }

.m_gnb_list { padding: 10px 20px; }
.m_gnb_list > li { border-bottom: 1px solid var(--gray-50); }
.m_flex { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.m_1d { font-size: 18px; font-weight: 700; color: var(--primary-color); }
.m_sub_open { font-size: 16px; color: var(--text-muted); width: 40px; text-align: right; }

.m_2d { display: none; padding-bottom: 15px; padding-left: 15px; }
.m_2d li a { display: block; padding: 8px 0; font-size: 15px; color: var(--text-muted); }

/* [7. 반응형 세부 조정] */
@media (max-width: 1200px) {
    #gnb_1dul { gap: 25px; }
    .gnb_1da { font-size: 16px; }
}

/**/
/* 햄버거 버튼을 확실히 보이게 */
#m_btn {
    display: block;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    z-index: 1001; /* 헤더 위로 */
}

#m_btn .line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333; /* 버튼 선 색상 */
    margin-bottom: 5px;
    transition: 0.3s;
}

#m_btn .line:last-child { margin-bottom: 0; }

/* 모바일 메뉴 초기 상태 */
#m_gnb {
    position: fixed;
    top: 0;
    right: -100%; /* 완전히 밖으로 */
    width: 80%;   /* 화면의 80% 차지 */
    max-width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1005; /* 가장 위로 */
    transition: right 0.4s ease-in-out;
}

#m_gnb.active {
    right: 0 !important; /* 강제로 보이게 함 */
}

/* 어두운 배경 */
#m_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1004;
    display: none;
}

/**/
/* 하위 메뉴 스타일 보정 */
.m_2d {
    display: none; /* 초기 상태 숨김 */
    background: #f8fafc !important; /* 배경색을 다르게 해서 구분 */
    padding: 10px 0 !important;
    list-style: none !important;
}

.m_2d li a {
    display: block !important;
    padding: 12px 25px !important; /* 클릭 영역을 넓게 */
    font-size: 15px !important;
    color: #4a5568 !important;
    border-bottom: 1px solid #edf2f7;
    text-decoration: none !important;
}

.m_2d li:last-child a {
    border-bottom: none;
}

.m_2d li a:active {
    background: #edf2f7; /* 터치 시 피드백 */
    color: #2b6cb0;
}

/* 플러스 버튼 회전 애니메이션 (선택사항) */
.m_sub_open i {
    transition: transform 0.3s ease;
}
.m_sub_open i.fa-minus {
    transform: rotate(180deg);
}

/* 슬라이드 색션 */

/*상단 탭메뉴 사라지고 보이게*/

/**/
/* 메뉴 링크 기본 설정 */

/* 2차 메뉴의 li와 그 안의 a태그 모두 해당 */
/* 2차 메뉴 링크 클릭 시 움직임 방지 */

/**/
/* 1. 전체 감싸는 영역 */
.latest_wr {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    
    /* 화면 끝까지 확장하면서 왼쪽 짤림 방지 */
    width: 100% !important; 
    max-width: 100% !important; /* 부모가 허용하는 최대치까지 */
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    clear: both;
}

/* 2. 만약 부모(#container 등)가 가로폭을 막고 있다면 이 코드를 추가하세요 */
/* 그누보드 기본 컨테이너의 제약을 해제합니다. */
#container, #wrapper, .wrapper { 
    max-width: 100% !important; 
    width: 100% !important; 
    padding: 0 !important;
}

/* 3. 개별 최신글 박스 (lt_wr) */
.latest_wr .lt_wr {
    float: none !important;
    margin-left: 0 !important;
    
    /* PC: 화면이 커질수록 시원하게 늘어나도록 설정 */
    flex: 1 1 calc(33.333% - 20px) !important; 
    min-width: 300px !important; /* 너무 좁아지지 않게 */
    
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* 4. 모바일 반응형 (768px 이하) */
@media (max-width: 768px) {
    .latest_wr {
        padding: 0 15px !important;
        gap: 15px !important;
    }
    .latest_wr .lt_wr {
        flex: 0 0 100% !important; /* 뚝뚝 떨어지게 */
        width: 100% !important;
        min-width: 100% !important;
    }
}

/**/
/* 전체 컨테이너 확장 (PC 대화면 대응) */
.latest_list_wr {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    font-family: 'Pretendard', sans-serif;
    border-top: 2px solid #333; /* 맨 위 강조선 */
}

/* 헤더 영역 (번호, 제목 등 라벨) */
.lt_header {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e2e2e2;
    background: #fafafa;
    font-weight: 500;
    color: #666;
    text-align: center;
    font-size: 14px;
}

/* 데이터 행(Row) 스타일 */
.lt_row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background 0.2s;
}

.lt_row:hover {
    background: #f9f9f9;
}

/* 각 항목별 너비 조정 (이미지 비율 참고) */
.lt_num { width: 80px; text-align: center; color: #999; }
.lt_subj { flex: 1; padding-left: 20px; color: #333; text-decoration: none; font-size: 15px; }
.lt_nick { width: 120px; text-align: center; color: #666; }
.lt_hit { width: 80px; text-align: center; color: #999; }
.lt_date { width: 100px; text-align: center; color: #999; }

/* 다운로드 아이콘 & 새글 배지 */
.lt_subj i.fa-download { font-size: 13px; color: #999; margin-left: 8px; }
.new_badge {
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 2px;
    margin-left: 5px;
    vertical-align: middle;
}

/* 📱 모바일 반응형 (불필요한 항목 숨기기) */
@media (max-width: 768px) {
    .lt_header, .lt_num, .lt_hit, .lt_nick { display: none; } /* 모바일은 중요 정보만 */
    .lt_row { padding: 15px; position: relative; }
    .lt_subj { 
        padding-left: 0; 
        font-weight: 500; 
        display: block; 
        margin-bottom: 5px;
        width: calc(100% - 70px); 
    }
    .lt_date { 
        width: auto; 
        position: absolute; 
        right: 15px; 
        top: 18px; 
        font-size: 12px; 
    }
}

/**/
#bo_list .td_date {width:81px !important; text-align:center}
/**/
@media (min-width: 1024px) {
    #bo_list .td_name {text-align: center !important;}
}
/**/
.gall_box {padding-top: 10px !important;}

/**/

/* 최근 갤러리 */

/*게시판페이지일경우 미세하게 여백주기*/
/* 로그인화면 모바일에서도 꽊차게*/
/* 모바일 화면 (최대 768px 미만) 설정 */
/* 상위 선택자를 추가하여 우선순위를 높인 버전 */
@media (max-width: 767px) {
    /* 1. 로그인 전체 감싸는 영역 확인 */
    #mb_login {
        background-color: yellow !important; /* 노란 배경 (테스트용) */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. 내부 실제 폼 박스 확인 */
    #mb_login .mbskin {
        border: 5px solid blue !important; /* 파란 테두리 */
        width: 100% !important;
    }
}
