/* build: 3.4.1 */
@charset "utf-8";

/* ==========================================================================
   COMPANY2 — 게시판 스타일
   그누보드 기본(board/basic, board/gallery) 스킨의 마크업을 포스터 스타일로 재정의합니다.
   ========================================================================== */

/* ---------- 공통 ---------- */
#bo_list, #bo_v, #bo_w { width: 100% !important; max-width: 100%; }
#bo_list *, #bo_v *, #bo_w * { box-sizing: border-box; }

#bo_list .btn,
#bo_v .btn,
#bo_w .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line-dark, var(--line-dark));
    border-radius: 0;
    background: var(--paper);
    color: var(--ink-soft);
    font-size: 11px;
    letter-spacing: .04em;
    line-height: 1;
    box-shadow: none;
    transition: border-color .25s var(--ease, ease), color .25s var(--ease, ease), background .25s var(--ease, ease);
}
#bo_list .btn:hover, #bo_v .btn:hover, #bo_w .btn:hover {
    border-color: var(--ink);
    color: var(--ink);
    background: var(--paper);
}
#bo_list .btn i, #bo_v .btn i, #bo_w .btn i { font-size: 12px; }
#bo_list .btn_bo_user, #bo_v .btn_bo_user { display: flex; align-items: center; gap: 6px; float: none; margin-left: auto; }
#bo_list .btn_bo_user > li { float: none; width: auto; margin-left: 0; background: none; }

/* ---------- 목록 상단 ---------- */
#bo_list #bo_btn_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line, var(--line));
    margin-bottom: 0;
    background: none;
}
#bo_list #bo_btn_top #bo_list_total {
    float: none;
    margin-right: auto;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--muted, var(--muted));
    padding: 0;
    border: 0;
    background: none;
    line-height: 1.6;
}
#bo_list_total span { font-weight: 400; color: var(--ink-soft); margin-right: 10px; }
#bo_list .more_opt {
    border: 1px solid var(--line-dark, var(--line-dark));
    background: var(--paper);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    padding: 6px 0;
}
#bo_list .more_opt button,
#bo_list .more_opt a,
#bo_v .more_opt button,
#bo_v .more_opt a {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    font-size: 12px;
    color: var(--ink-soft);
    background: none;
    border: 0;
    text-align: left;
}
#bo_list .more_opt button:hover, #bo_list .more_opt a:hover,
#bo_v .more_opt button:hover, #bo_v .more_opt a:hover { background: var(--wash, var(--wash)); color: var(--ink); }

/* ---------- 목록 표 ---------- */
#bo_list .tbl_head01 { border-top: 1px solid var(--line, var(--line)); }
#bo_list .tbl_head01 table { width: 100%; border-collapse: collapse; table-layout: auto; }
#bo_list .tbl_head01 caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#bo_list .tbl_head01 thead th {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line, var(--line));
    background: none;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--muted, var(--muted));
    text-align: center;
    white-space: nowrap;
}
#bo_list .tbl_head01 thead th:nth-child(3) { text-align: left; padding-left: 16px; }
#bo_list .tbl_head01 thead th a { color: inherit; }
#bo_list .tbl_head01 tbody td {
    padding: 18px 10px;
    border-bottom: 1px solid var(--line, var(--line));
    background: none !important;
    font-size: 13px;
    color: var(--ink-soft);
    text-align: center;
    vertical-align: middle;
}
#bo_list .tbl_head01 tbody tr:hover td { background: var(--wash, var(--wash)) !important; }
#bo_list .tbl_head01 tbody tr.bo_notice td { background: var(--paper); }
#bo_list .td_num, #bo_list .td_num2 {
    width: 68px;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--faint, var(--faint));
}
#bo_list .tbl_head01 tbody td.td_subject { text-align: left; padding-left: 16px; }
#bo_list .tbl_head01 tbody td.td_subject .bo_tit,
#bo_list .tbl_head01 tbody td.td_subject div { text-align: left; }
#bo_list .tbl_head01 thead th.th_subject { text-align: left; padding-left: 16px; }
#bo_list .bo_tit .new_icon {
    width: auto; height: auto; padding: 1px 4px;
    border: 1px solid var(--line-dark); background: var(--paper);
    color: var(--muted); border-radius: 0;
    font-size: 8.5px; font-weight: 400; letter-spacing: .08em;
}
#bo_list .td_subject .bo_tit { display: inline; font-size: 15px; font-weight: 300; color: var(--ink); line-height: 1.5; }
#bo_list .td_subject .bo_tit:hover { text-decoration: underline; text-underline-offset: 5px; }
#bo_list .bo_tit .fa { color: var(--faint); }
#bo_list .bo_tit .cnt_cmt { font-size: 11px; color: var(--muted); margin-left: 4px; }
#bo_list .bo_tit .bo_cate_link {
    display: inline-block;
    margin-right: 10px;
    font-size: 9.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}
#bo_list .notice_icon {
    display: inline-block;
    padding: 3px 7px;
    border: 1px solid var(--ink);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .1em;
    color: var(--ink);
    margin-right: 8px;
}
#bo_list .bo_current { font-size: 10px; color: var(--muted); }
#bo_list .td_name { width: 110px; font-size: 12px; color: var(--muted); }
#bo_list .td_datetime { width: 110px; font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }
#bo_list .td_hit { width: 70px; font-size: 11.5px; color: var(--faint); }
#bo_list .td_chk { width: 40px; }
#bo_list .empty_table { padding: 70px 0 !important; text-align: center !important; font-size: 13px; color: var(--muted); }

/* 체크박스 */
.chk_box input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk_box label { display: inline-flex; align-items: center; cursor: pointer; }
.chk_box label span {
    width: 15px; height: 15px;
    border: 1px solid var(--line-dark);
    display: inline-block;
    position: relative;
}
.chk_box input[type="checkbox"]:checked + label span { border-color: var(--ink); background: var(--ink); }
.chk_box input[type="checkbox"]:checked + label span::after {
    content: "";
    position: absolute; left: 4px; top: 1px;
    width: 5px; height: 9px;
    border-right: 1.5px solid var(--paper);
    border-bottom: 1.5px solid var(--paper);
    transform: rotate(40deg);
}

/* ---------- 페이지 ---------- */
.pg_wrap { margin-top: 40px; text-align: center; }
.pg_wrap .pg { display: inline-flex; align-items: center; gap: 2px; }
.pg_wrap .pg a, .pg_wrap .pg strong, .pg_wrap .pg span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 300;
    color: var(--muted);
    border: 1px solid transparent;
}
.pg_wrap .pg a:hover { color: var(--ink); border-color: var(--line-dark, var(--line-dark)); }
.pg_wrap .pg .pg_current { color: var(--ink); border-color: var(--ink); font-weight: 400; }
.pg_wrap .pg .sound_only { display: none; }
.pg_wrap .pg_start, .pg_wrap .pg_end, .pg_wrap .pg_prev, .pg_wrap .pg_next { font-size: 13px; }

/* ---------- 게시판 검색 ---------- */
.bo_sch_wrap { position: fixed; inset: 0; z-index: 400; display: none; }
.bo_sch_bg { position: absolute; inset: 0; background: rgba(17, 17, 17, .32); }
.bo_sch {
    position: absolute;
    top: 20vh; left: 50%;
    transform: translateX(-50%);
    width: min(560px, 92vw);
    background: var(--paper);
    border: 1px solid var(--line, var(--line));
    padding: 26px 24px 22px;
}
.bo_sch legend {
    display: block;
    font-size: 9.5px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.bo_sch .sch_wr { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bo_sch select, .bo_sch .sch_input {
    height: 40px;
    border: 1px solid var(--line-dark, var(--line-dark));
    border-radius: 0;
    background: var(--paper);
    padding: 0 10px;
    font-size: 13px;
    color: var(--ink-soft);
}
.bo_sch .sch_input { flex: 1; min-width: 160px; }
.bo_sch .sch_btn {
    height: 40px; width: 44px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    border-radius: 0;
}
.bo_sch .bo_sch_cls {
    position: absolute; right: 12px; top: 12px;
    width: 28px; height: 28px;
    color: var(--muted);
}

/* ---------- 게시물 보기 ---------- */
#bo_v { padding: 0; }
#bo_v header { border-bottom: 1px solid var(--line, var(--line)); padding-bottom: 24px; }
#bo_v_title { margin: 0; }
#bo_v_title .bo_v_cate {
    display: inline-block;
    font-size: 9.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}
#bo_v_title .bo_v_tit {
    display: block;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: -.03em;
    color: var(--ink);
}
#bo_v_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid var(--line, var(--line));
}
#bo_v_info > h2 { display: none; }
#bo_v_info .profile_info { display: flex; align-items: center; gap: 10px; }
#bo_v_info .pf_img img {
    width: 26px; height: 26px;
    border-radius: 50%;
    filter: grayscale(100%);
}
#bo_v_info .profile_info_ct {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.7;
}
#bo_v_info .profile_info_ct strong { font-weight: 400; color: var(--ink-soft); margin-right: 10px; }
#bo_v_info .profile_info_ct .fa { color: var(--faint); margin-right: 3px; }
#bo_v_top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line, var(--line));
}
#bo_v_atc { padding: clamp(26px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line, var(--line)); }
#bo_v_con {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.95;
    color: var(--ink-soft);
    width: auto !important;
    min-height: 120px;
}
#bo_v_con img { max-width: 100%; height: auto; }
#bo_v_con p { font-size: inherit; line-height: inherit; color: inherit; }
#bo_v_con h2, #bo_v_con h3 { margin: 1.6em 0 .6em; font-weight: 300; }
#bo_v_con a { text-decoration: underline; text-underline-offset: 3px; }
#bo_v_file, #bo_v_link { padding: 18px 0; border-bottom: 1px solid var(--line, var(--line)); }
#bo_v_file h2, #bo_v_link h2 {
    font-size: 9.5px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
#bo_v_file ul li, #bo_v_link ul li { font-size: 13px; padding: 4px 0; color: var(--ink-soft); }
#bo_v_file .fa, #bo_v_link .fa { color: var(--faint); margin-right: 6px; }
#bo_v_act {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line, var(--line));
}
#bo_v_act .bo_v_act_gng { display: inline-flex; gap: 8px; }
#bo_v_act a, #bo_v_act button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line-dark, var(--line-dark));
    font-size: 11.5px;
    color: var(--ink-soft);
    background: var(--paper);
}
#bo_v_act a:hover, #bo_v_act button:hover { border-color: var(--ink); color: var(--ink); }
#bo_v_nb { border-bottom: 1px solid var(--line, var(--line)); }
#bo_v_nb li { border-top: 1px solid var(--line, var(--line)); }
#bo_v_nb li:first-child { border-top: 0; }
#bo_v_nb li a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 4px;
    font-size: 13.5px;
    color: var(--ink-soft);
}
#bo_v_nb .nb_tit {
    font-size: 9.5px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--faint);
    width: 58px;
    flex: 0 0 auto;
}
#bo_v_nb .nb_date { margin-left: auto; font-size: 11px; color: var(--faint); }
#bo_v_share { padding: 18px 0; border-bottom: 1px solid var(--line, var(--line)); }
#bo_v_share .btn { height: 34px; }

/* 댓글 */
#bo_vc { margin-top: 34px; }
#bo_vc h2 { font-size: 12px; letter-spacing: .16em; color: var(--ink); margin-bottom: 6px; }
#bo_vc .sv_member, #bo_vc .sv_guest { font-weight: 400; color: var(--ink-soft); }
#bo_vc article {
    border-top: 1px solid var(--line, var(--line));
    padding: 18px 0;
}
#bo_vc .cmt_info { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
#bo_vc .cmt_info .fr_date { color: var(--faint); }
#bo_vc .cmt_con { font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }
#bo_vc .cmt_sv { display: flex; gap: 12px; margin-top: 10px; font-size: 11px; color: var(--muted); }
#bo_vc_w { margin-top: 22px; }
#bo_vc_w h2 { margin-bottom: 10px; }
#bo_vc_w .frm_input, #bo_vc_w textarea {
    width: 100%;
    border: 1px solid var(--line-dark, var(--line-dark));
    border-radius: 0;
    padding: 12px 14px;
    font-size: 13.5px;
    background: var(--paper);
    outline: none;
}
#bo_vc_w textarea:focus, #bo_vc_w .frm_input:focus { border-color: var(--ink); }
#bo_vc_w .btn_confirm { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
#bo_vc_w .btn_submit { height: 40px; padding: 0 20px; background: var(--ink); border-color: var(--ink); color: var(--paper); }
#bo_vc_w .btn_submit:hover { background: var(--paper); color: var(--ink); }

/* ---------- 글쓰기 ---------- */
#bo_w { margin: 0; max-width: 880px; margin-left: auto; margin-right: auto; }
#bo_w .bo_v_option { display: flex; gap: 16px; margin-bottom: 16px; }
#bo_w .bo_v_option .chk_box { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-soft); }
#bo_w .bo_v_option .chk_box label { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); margin: 0; }
#bo_w .btn_frmline {
    height: 32px; padding: 0 12px; margin-top: 8px;
    border: 1px solid var(--line, var(--line)); background: var(--paper); color: var(--muted);
    font-size: 11px; letter-spacing: .04em;
}
#bo_w .btn_frmline:hover { border-color: var(--ink); color: var(--ink); }
#bo_w textarea { min-height: 320px; line-height: 1.9; }
#bo_w .bo_w_tit, #bo_w .bo_w_info, #bo_w .bo_w_link, #bo_w .bo_w_flie, #bo_w .bo_w_select { margin-bottom: 18px; }
#bo_w .write_div { margin-bottom: 14px; }
#bo_w label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
#bo_w .frm_input, #bo_w .frm_file, #bo_w textarea {
    width: 100%;
    border: 1px solid var(--line-dark, var(--line-dark));
    border-radius: 0;
    background: var(--paper);
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 300;
    color: var(--ink-soft);
    outline: none;
    transition: border-color .25s ease;
}
#bo_w .frm_input:focus, #bo_w textarea:focus { border-color: var(--ink); }
#bo_w #wr_subject { height: 52px; font-size: 16px; }
#bo_w .half_input { width: calc(50% - 6px); display: inline-block; margin-right: 8px; }
#bo_w .btn_confirm {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line, var(--line));
}
#bo_w .btn_submit { height: 46px; min-width: 140px; background: var(--ink); border-color: var(--ink); color: var(--paper); font-size: 12.5px; letter-spacing: .06em; }
#bo_w .btn_submit:hover { background: var(--paper); color: var(--ink); }
#bo_w .btn_cancel { height: 46px; min-width: 100px; }
#bo_w .file_wr { display: flex; gap: 10px; align-items: center; }
#bo_w .lb_icon { display: none; }
#char_count_wrap { font-size: 11px; color: var(--muted); text-align: right; margin-top: 4px; }

/* ---------- 갤러리 스킨 ---------- */
.gall_wrap { margin-top: 8px; }
.gall_row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.gall_box { border: 0; padding: 0; background: none; }
.gall_box .gall_img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--wash);
    border: 0;
}
.gall_box .gall_img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease, ease); }
.gall_box:hover .gall_img img { transform: scale(1.04); }
.gall_box .gall_info { padding: 16px 0 0; text-align: left; border: 0; }
.gall_box .gall_info .gall_cate { font-size: 9px; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }
.gall_box .gall_info .gall_tit { margin-top: 10px; font-size: 16px; font-weight: 300; line-height: 1.55; }
.gall_box .gall_info .gall_tit a { color: var(--ink); }
.gall_box .gall_info .gall_date { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line, var(--line)); font-size: 11px; color: var(--muted); }
.gall_box .gall_info .gall_name, .gall_box .gall_info .gall_hit { font-size: 11px; color: var(--faint); }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
    #bo_list .td_name, #bo_list .td_hit { display: none; }
    #bo_list .tbl_head01 thead th:nth-child(4), #bo_list .tbl_head01 thead th:nth-child(5) { display: none; }
    #bo_list .tbl_head01 tbody td { padding: 14px 6px; }
    #bo_list .td_subject .bo_tit { font-size: 14px; }
    #bo_list .td_num, #bo_list .td_num2 { width: 44px; }
    #bo_list .td_datetime { width: 76px; font-size: 10.5px; }
    .gall_row { grid-template-columns: repeat(2, 1fr); }
    #bo_w .half_input { width: 100%; margin-right: 0; }
    #bo_v_nb .nb_date { display: none; }
}
@media (max-width: 640px) {
    #bo_btn_top { flex-wrap: wrap; }
    .gall_row { grid-template-columns: 1fr; }
    #bo_list .td_num, #bo_list .td_num2 { display: none; }
    #bo_list .tbl_head01 thead th:first-child { display: none; }
}

/* ==========================================================================
   POSTER 다듬기 — 목록은 편집형 리스트, 본문은 읽기 폭으로
   ========================================================================== */

/* ---------- 목록 ---------- */
#bo_list #bo_btn_top {
    padding-bottom: 14px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--line);
}
#bo_list #bo_btn_top #bo_list_total {
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--muted);
}
#bo_list #bo_btn_top #bo_list_total span { color: var(--ink); font-weight: 400; }
#bo_list #bo_btn_top .btn_bo_user .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
}
#bo_list #bo_btn_top .btn_bo_user .btn:hover { color: var(--ink); }

#bo_list .tbl_head01 { border-top: 0; }
#bo_list .tbl_head01 thead { display: none; }
#bo_list .tbl_head01 tbody td {
    padding: 19px 4px;
    border-bottom: 1px solid var(--line);
    background: none !important;
}
#bo_list .tbl_head01 tbody td.td_subject { padding: 19px 4px 19px 0; }
#bo_list .tbl_head01 tbody tr:hover td { background: var(--wash) !important; }

/* 번호·글쓴이·조회·체크박스 열은 숨긴다 */
#bo_list .td_num2,
#bo_list .td_num,
#bo_list .td_name,
#bo_list .td_chk { display: none; }

#bo_list .td_subject .bo_tit { font-size: 16px; font-weight: 300; line-height: 1.55; }
#bo_list .td_subject .bo_tit a { color: var(--ink); }
#bo_list .td_subject .bo_tit a:hover { text-decoration: underline; text-underline-offset: 5px; }
#bo_list .td_datetime {
    width: 120px;
    text-align: right;
    font-size: 11.5px;
    letter-spacing: .06em;
    color: var(--muted);
}
#bo_list .bo_fx { display: none; }
#bo_list .empty_table { padding: 80px 0 !important; font-size: 13px; color: var(--muted); }

/* ---------- 본문 ---------- */
#bo_v { max-width: 860px; }
#bo_v header { padding-bottom: 20px; }
#bo_v_title .bo_v_tit { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.45; }

#bo_v_info {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
#bo_v_info .profile_info { gap: 9px; }
#bo_v_info .pf_img img { width: 24px; height: 24px; }
#bo_v_info .profile_info_ct { font-size: 11px; letter-spacing: .04em; }

#bo_v_top {
    border-bottom: 0;
    padding: 8px 0 18px;
}
#bo_v_top .btn_bo_user { border: 0; }
#bo_v_top .btn_bo_user .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
}
#bo_v_top .btn_bo_user .btn:hover { color: var(--ink); }

#bo_v_atc { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
#bo_v_con {
    font-size: 15px;
    line-height: 1.95;
    color: var(--ink-soft);
    letter-spacing: 0;
}
#bo_v_con p { color: inherit; }

#bo_v_act { padding: 10px 0 18px; border-bottom: 0; }
#bo_v_act a, #bo_v_act button {
    height: 38px;
    padding: 0 14px;
    font-size: 11px;
    border: 1px solid var(--line-dark);
    background: var(--paper);
    color: var(--ink-soft);
}
#bo_v_act a:hover, #bo_v_act button:hover { border-color: var(--ink); color: var(--ink); }

#bo_v_share { border-bottom: 0; padding: 0 0 14px; }
#bo_v_nb { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#bo_v_nb li a { padding: 15px 2px; font-size: 13px; }
#bo_v_nb .nb_tit { font-size: 9px; color: var(--faint); }

/* 댓글 */
#bo_vc { margin-top: 40px; }
#bo_vc article { padding: 16px 0; }
#bo_vc .cmt_con { font-size: 13.5px; color: var(--ink-soft); }
#bo_vc_w { margin-top: 24px; }
#bo_vc_w textarea { min-height: 96px; }

/* 본문 상단: 프로필 왼쪽 / 아이콘 오른쪽 (같은 줄) */
#bo_v { position: relative; }
#bo_v_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 15px;
    border-bottom: 1px solid var(--line);
    width: 100%;
}
#bo_v_info .profile_info { flex: 1 1 auto; min-width: 0; }
#bo_v_top {
    flex: 0 0 auto;
    float: none;
    clear: none;
    width: auto;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    border: 0;
}
#bo_v_top .btn_bo_user { display: flex; align-items: center; gap: 2px; }

/* 스크랩 버튼은 목록형 게시판에서 소음이라 숨긴다 */
#bo_v_share { display: none; }
#bo_v_atc { margin-top: 26px; border-top: 0; padding: 0 0 30px; border-bottom: 1px solid var(--line); }

/* 댓글 열기 바: 칩 대신 폭 전체 구분선 바 */
.cmt_btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 58px;
    margin: 0;
    padding: 0 2px;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--ink) !important;
    text-align: left;
}
.cmt_btn .total { font-size: 12px; letter-spacing: .04em; color: var(--ink); }
.cmt_btn .total b { font-weight: 400; }
.cmt_btn .cmt_more,
.cmt_btn .fa { color: var(--muted); }
.cmt_btn:hover .cmt_more { color: var(--ink); }
#bo_v_nb { margin-bottom: 0; }

/* 댓글/스크랩 기본 스킨의 파란 밑줄 제거, 상단 아이콘 끝 정렬 */
.cmt_btn .total::after { display: none !important; }
#bo_v_info { padding-right: 0; }
#bo_v_top .btn_bo_user { margin: 0; padding: 0; }
#bo_v_top .btn_bo_user li:last-child .btn { margin-right: 0; }

/* 글쓰기 폼: 페이지 머리와 같은 왼쪽 기준선으로 */
#bo_w {
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 860px;
}
#bo_w .btn_confirm {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 22px;
}
#bo_w input[type=file] {
    font-size: 12px;
    color: var(--muted);
}
#bo_w input[type=file]::file-selector-button {
    height: 32px;
    margin-right: 10px;
    padding: 0 14px;
    border: 1px solid var(--line-dark);
    background: var(--paper);
    color: var(--ink-soft);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: .06em;
    cursor: pointer;
}
#bo_w input[type=file]::file-selector-button:hover {
    border-color: var(--ink);
    color: var(--ink);
}

/* 첨부파일 행: 회색 박스 대신 헤어라인 한 줄 */
#bo_w .bo_w_flie { border: 0 !important; padding: 0 !important; }
#bo_w .file_wr {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    background: none !important;
}
#bo_w .file_wr .lb_icon { flex: 0 0 auto; color: var(--faint); }
#bo_w .file_wr .frm_file {
    flex: 1 1 auto;
    min-width: 0;
    border: 0 !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
#bo_w input[type=checkbox],
#bo_vc input[type=checkbox] { accent-color: var(--ink); }

/* 모바일 */
@media all and (max-width: 640px) {
    #bo_list #bo_btn_top { padding-bottom: 10px; }
    #bo_list .tbl_head01 tbody td { padding: 15px 0; }
    #bo_list .tbl_head01 tbody td.td_subject { padding: 15px 0; }
    #bo_list .td_subject .bo_tit { font-size: 14.5px; line-height: 1.5; }
    #bo_list .td_datetime { width: 54px; font-size: 10px; letter-spacing: 0; }
    #bo_list .bo_tit .cnt_cmt { margin-left: 3px; }

    #bo_v { max-width: 100%; }
    #bo_v_title .bo_v_tit { font-size: 1.4rem; }
    #bo_v_info { flex-wrap: wrap; gap: 10px; padding-bottom: 12px; }
    #bo_v_top { width: 100%; justify-content: flex-start; }
    #bo_v_con { font-size: 14.5px; line-height: 1.9; }
    #bo_v_nb li a { font-size: 12.5px; }
    #bo_v_act a, #bo_v_act button { height: 34px; padding: 0 11px; }
    .cmt_btn { height: 52px; }
    #bo_w .btn_confirm { flex-direction: column-reverse; }
    #bo_w .btn_confirm .btn, #bo_w .btn_confirm button { width: 100%; margin: 0 0 8px; }
}

/* 마무리: 아이콘 끝선·댓글 영역 여백 */
#bo_v_info { padding-right: 0 !important; }
#bo_v_top .btn_bo_user { margin-right: 0 !important; }
#bo_vc { margin-top: 6px !important; }
#bo_vc > h2 { padding: 18px 0 6px; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
#bo_vc > p { padding-bottom: 34px; font-size: 13px; color: var(--faint); }

/* 댓글 토글 글자색·숨김 처리 */
.cmt_btn .total,
.cmt_btn .total b { color: var(--ink) !important; }
#bo_vc > h2 { display: none !important; }
#bo_vc > p { padding: 22px 0 40px !important; }

/* ==========================================================================
   갤러리 게시판 (theme/basic gallery 스킨 위에 덮어쓰기)
   ========================================================================== */

#bo_gall #bo_btn_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
#bo_gall #bo_list_total {
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--muted);
}
#bo_gall #bo_list_total span { color: var(--ink); font-weight: 400; }
#bo_gall #bo_btn_top .btn_bo_user { display: flex; align-items: center; gap: 2px; }
#bo_gall #bo_btn_top .btn_bo_user .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--muted);
}
#bo_gall #bo_btn_top .btn_bo_user .btn:hover { color: var(--ink); }

#gall_allchk,
#bo_gall .gall_chk,
#bo_gall .bo_fx { display: none !important; }

#gall_ul.gall_row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 28px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    float: none;
    width: 100%;
}
#gall_ul .gall_li,
#gall_ul .gall_li.col-gn-4,
#gall_ul .gall_li.box_clear {
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}
#gall_ul .gall_box { width: 100%; }

#gall_ul .gall_img {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--wash);
}
#gall_ul .gall_img a { display: block; width: 100%; height: 100%; }
#gall_ul .gall_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform .6s ease, opacity .4s ease;
}
#gall_ul .gall_li:hover .gall_img img { transform: scale(1.02); opacity: .92; }
#gall_ul .gall_img .no_image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--faint);
}
#gall_ul .gall_img .is_notice {
    display: inline-block;
    padding: 4px 8px;
    background: var(--ink);
    color: var(--paper);
    font-size: 10px;
    letter-spacing: .12em;
}

#gall_ul .gall_text_href { display: block; padding-top: 14px; }
#gall_ul .gall_text_href .bo_cate_link {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
#gall_ul .gall_text_href .bo_tit {
    display: block;
    font-size: 15.5px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--ink);
}
#gall_ul .gall_text_href .bo_tit:hover { text-decoration: underline; text-underline-offset: 4px; }
#gall_ul .gall_text_href .bo_cnt { display: none; }
#gall_ul .gall_text_href .new_icon {
    display: inline-block;
    margin-left: 6px;
    padding: 0 3px;
    border: 1px solid var(--line-dark);
    font-size: 9px;
    line-height: 14px;
    vertical-align: middle;
    color: var(--muted);
}
#gall_ul .gall_info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--faint);
}
#gall_ul .gall_info .fa { display: none; }
#gall_ul .gall_option { display: none; }
#gall_ul .empty_list {
    grid-column: 1 / -1;
    padding: 90px 0;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    list-style: none;
}

@media all and (max-width: 1024px) {
    #gall_ul.gall_row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
}
@media all and (max-width: 640px) {
    #gall_ul.gall_row { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
    #gall_ul .gall_text_href { padding-top: 12px; }
    #gall_ul .gall_text_href .bo_tit { font-size: 14.5px; }
}

/* 갤러리 메타 줄: 작성자 텍스트는 감추고 날짜만 남긴다 */
#gall_ul .gall_info {
    display: block;
    margin-top: 6px;
    font-size: 0;
    line-height: 1.4;
    color: var(--faint);
}
#gall_ul .gall_info .gall_date {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--faint);
}
#gall_ul .gall_info .gall_view { display: none; }
#gall_ul .gall_info .sound_only,
#gall_ul .gall_info .fa { display: none !important; }
#gall_ul .gall_text_href .new_icon {
    border: 1px solid var(--line-dark) !important;
    color: var(--muted) !important;
    background: none !important;
    font-weight: 400;
}

#gall_ul .gall_info { padding: 0 !important; margin-top: 7px !important; border: 0 !important; background: none !important; }

#gall_ul .gall_info .gall_date { border-top: 0 !important; padding-top: 0 !important; line-height: 1.2; }

/* 갤러리 본문: 사진을 글 폭에 꽉 채운다 */
.is-board-gallery #bo_v_con img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 18px;
}
.is-board-gallery #bo_v_con { margin-top: 4px; }
#gall_ul .gall_info { margin-top: 4px !important; }

#gall_ul .gall_info { line-height: 0 !important; }
#gall_ul .gall_info .gall_date { display: block !important; line-height: 1.6 !important; }

/* 갤러리 캡션 간격 마무리 */
#gall_ul .gall_info { margin-top: 0 !important; }
#gall_ul .gall_info .gall_date { line-height: 1.2 !important; }

/* 비회원 글쓰기 정보 입력: 반쪽씩 흔들리던 배치를 2열 좌측 정렬로 */
#bo_w .bo_w_info {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    text-align: left;
}
#bo_w .bo_w_info .frm_input {
    flex: 0 0 100%;
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
}
#bo_w .bo_w_info .frm_input + .frm_input { margin-top: 0 !important; }
@media all and (max-width: 640px) {
    #bo_w .bo_w_info { gap: 10px; }
}

/* 자동등록방지 영역 정리 */
#bo_w #captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    border: 0 !important;
}
#bo_w #captcha legend {
    flex: 0 0 100%;
    margin: 0 0 2px;
    padding: 0;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--muted);
}
#bo_w #captcha img { display: block; width: auto; height: 34px; border: 1px solid var(--line); }
#bo_w #captcha .captcha_box { width: 130px !important; flex: 0 0 auto; }
#bo_w #captcha button {
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line-dark);
    background: var(--paper);
    color: var(--ink-soft);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: .04em;
    cursor: pointer;
}
#bo_w #captcha button:hover { border-color: var(--ink); color: var(--ink); }
#bo_w #captcha_info { flex: 1 1 100%; font-size: 11px; color: var(--faint); }

/* ==========================================================================
   댓글 쓰기 영역
   ========================================================================== */
#bo_vc_w { margin-top: 4px; }
#bo_vc_w > h2 { display: none; }

#bo_vc_w textarea#wr_content {
    width: 100%;
    min-height: 132px;
    padding: 18px 20px;
    border: 1px solid var(--line-dark);
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: inherit;
    font-size: 14.5px;
    line-height: 1.9;
    box-shadow: none;
    resize: vertical;
}
#bo_vc_w textarea#wr_content:focus { border-color: var(--ink); outline: none; }
#bo_vc_w textarea#wr_content::placeholder { color: var(--faint); letter-spacing: 0; }

#bo_vc_w .bo_vc_w_wr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0 0;
}
#bo_vc_w .bo_vc_w_info { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; flex: 1 1 100%; }
#bo_vc_w .bo_vc_w_info:empty { display: none; }
#bo_vc_w .bo_vc_w_info .frm_input {
    flex: 0 0 calc(50% - 5px);
    width: calc(50% - 5px) !important;
    max-width: none;
}

#bo_vc_w .btn_confirm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    gap: 12px;
}
#bo_vc_w .secret_cm {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}
#bo_vc_w .secret_cm .selec_chk {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
#bo_vc_w .secret_cm label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: .02em;
    color: var(--ink-soft);
}
#bo_vc_w .secret_cm label span {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid var(--line-dark);
    background: var(--paper);
}
#bo_vc_w .secret_cm input:checked + label span { background: var(--ink); border-color: var(--ink); }
#bo_vc_w .secret_cm input:checked + label span::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid var(--paper);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

#bo_vc_w #btn_submit.btn_submit {
    height: 44px;
    min-width: 112px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: inherit;
    font-size: 12px;
    letter-spacing: .08em;
    cursor: pointer;
}
#bo_vc_w #btn_submit.btn_submit:hover { background: #000; }

/* 등록된 댓글 없음 문구는 왼쪽 정렬 */
#bo_vc > p {
    padding: 20px 0 28px !important;
    text-align: left !important;
    font-size: 13px;
    color: var(--faint);
}

/* 댓글 영역 여백 마무리 */
#bo_vc > p { padding: 14px 0 22px !important; }
#bo_vc_w { margin-top: 0; }
#bo_vc_w .btn_confirm { margin-bottom: 0; }
#bo_vc_w .secret_cm label span { border-color: var(--muted); }

/* 댓글 등록 줄: 비밀글 + 등록 버튼을 오른쪽에 나란히 */
#bo_vc_w .btn_confirm { justify-content: flex-end; gap: 20px; }
#bo_vc_w .secret_cm label { color: var(--ink-soft); }
@media all and (max-width: 640px) {
    #bo_vc_w .btn_confirm { gap: 12px; }
    #bo_vc_w #btn_submit.btn_submit { min-width: 96px; padding: 0 16px; height: 42px; }
    #bo_vc_w .bo_vc_w_info .frm_input { flex: 0 0 100%; width: 100% !important; }
}

/* 댓글 열기 바 서체: 크게/굵게 튀지 않게 */
.cmt_btn .total,
.cmt_btn .total b {
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: .04em !important;
    color: var(--muted) !important;
}

/* ==========================================================================
   게시판 검색 레이어
   ========================================================================== */
.bo_sch_wrap .bo_sch_bg { background: rgba(17, 17, 17, .32) !important; }

.bo_sch_wrap .bo_sch {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    width: min(520px, calc(100vw - 40px)) !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 26px 26px 24px !important;
    background: var(--paper) !important;
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    box-shadow: 0 30px 70px rgba(17, 17, 17, .18);
    overflow: visible !important;
    z-index: 2;
}

.bo_sch_wrap .bo_sch h3 {
    margin: 0 0 18px !important;
    padding: 0 34px 14px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    background: none !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    letter-spacing: -.01em;
    color: var(--ink) !important;
    text-indent: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
}

.bo_sch_wrap .bo_sch form { margin: 0 !important; }

.bo_sch_wrap .bo_sch #sfl {
    width: 100% !important;
    height: 42px !important;
    margin: 0 0 10px !important;
    padding: 0 30px 0 12px !important;
    border: 1px solid var(--line-dark) !important;
    border-radius: 0 !important;
    background-color: var(--paper) !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23888'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 11px center !important;
    background-size: 8px 5px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    color: var(--ink-soft) !important;
    appearance: none;
    -webkit-appearance: none;
}

.bo_sch_wrap .bo_sch .sch_bar {
    position: static !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
}

.bo_sch_wrap .bo_sch .sch_input {
    flex: 1 1 auto;
    width: auto !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid var(--line-dark) !important;
    border-radius: 0 !important;
    background: var(--paper) !important;
    font-family: inherit !important;
    font-size: 13.5px !important;
    color: var(--ink) !important;
}
.bo_sch_wrap .bo_sch .sch_input:focus { border-color: var(--ink) !important; outline: none; }

.bo_sch_wrap .bo_sch .sch_btn {
    position: static !important;
    flex: 0 0 auto;
    width: 48px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--ink) !important;
    color: var(--paper) !important;
    font-size: 13px !important;
    cursor: pointer;
}

.bo_sch_wrap .bo_sch .bo_sch_cls {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--muted) !important;
    font-size: 14px !important;
    cursor: pointer;
}
.bo_sch_wrap .bo_sch .bo_sch_cls:hover { color: var(--ink) !important; }
