@charset "utf-8";

/* =========================
   BOARD FONT SIZE RESET
   다른 테마 css 폰트크기 영향 차단
========================= */
#bo_list,
#bo_v,
#bo_w,
#bo_vc,
#bo_vc_w,
.g5bm-wrap,
.g5bm-gallery-wrap {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* 제목 / 설명 */
.g5bm-board-head h2.g5bm-board-title {
    font-size: 30px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
}

.g5bm-board-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* 글쓰기 좌측 라벨 */
.g5bm-form-label {
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
}

/* 옵션 / 체크박스 텍스트 */
.g5bm-inline,
.g5bm-inline label,
.g5bm-check,
.chk_box,
.chk_box label {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

/* 입력창 */
.frm_input,
.frm_file,
select,
textarea,
.g5bm-input,
.g5bm-select,
.g5bm-textarea {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

/* 버튼 */
.btn,
a.btn,
button.btn,
.btn_b01,
.btn_b02,
.btn_b03,
.btn_submit,
.btn_cancel,
.btn_admin,
.btn_frmline,
.g5bm-btn {
    font-size: 14px !important;
}

/* 에디터 영역 */
.g5bm-editor-box,
.g5bm-editor-box *,
#wr_content,
#wr_content *,
.smarteditor2,
.smarteditor2 * {
    font-size: 15px !important;
    line-height: 1.6 !important;
}


/* =========================
   FONT - PRETENDARD
========================= */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* =========================
   GLOBAL SETTINGS
   아래 값만 바꾸면 전체 반영
========================= */
:root {
    /* radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 14px;
    --radius-2xl: 16px;
    --radius-3xl: 18px;
    --radius-4xl: 20px;
    --radius-5xl: 24px;
    --radius-pill: 999px;

    /* point button: 글쓰기 / 저장 / 등록 */
    --btn-point-bg: #2b6fff;
    --btn-point-border: #2b6fff;
    --btn-point-text: #fff;
    --btn-point-hover-bg: #174fc9;
    --btn-point-hover-border: #174fc9;
    --btn-point-hover-text: #fff;

    /* sub button: 검색 / 목록 / 수정 / 삭제 / 페이지 / 카테고리 */
    --btn-sub-bg: #6b7280;
    --btn-sub-border: #6b7280;
    --btn-sub-text: #fff;
    --btn-sub-hover-bg: #4b5563;
    --btn-sub-hover-border: #4b5563;
    --btn-sub-hover-text: #fff;

    /* base button */
    --btn-base-bg: #fff;
    --btn-base-border: #d1d5db;
    --btn-base-text: #374151;

    /* badge */
    --badge-bg: #e5e7eb;
    --badge-text: #4b5563;

    /* surfaces */
    --line-color: #ececec;
    --line-soft: #f1f1f1;
    --line-soft-2: #e5e7eb;
    --bg-soft: #fafafa;
    --bg-soft-2: #f8f9fb;
    --bg-soft-3: #f9fafb;
    --text-main: #222;
    --text-strong: #111;
    --text-muted: #666;
    --text-subtle: #777;
    --link-accent: #2b6fff;
    --link-accent-bg: #eef3ff;
}

html, body,
input, textarea, select, button,
#bo_list, #bo_v, #bo_w, #bo_vc, #bo_vc_w,
.g5bm-wrap, .g5bm-wrap *,
#bo_list *, #bo_v *, #bo_w *, #bo_vc *, #bo_vc_w * {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif !important;
}

/* =========================
   RESET
========================= */
#bo_list, #bo_v, #bo_w, #bo_vc, #bo_vc_w,
#bo_list *, #bo_v *, #bo_w *, #bo_vc *, #bo_vc_w * {
    box-sizing: border-box;
}

#bo_list,
#bo_v,
#bo_w,
#bo_vc,
#bo_vc_w {
    width: 100% !important;
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.6;
}

#bo_list a,
#bo_v a,
#bo_w a,
#bo_vc a,
#bo_vc_w a {
    color: var(--text-main);
    text-decoration: none;
}

#bo_list a:hover,
#bo_v a:hover,
#bo_w a:hover,
#bo_vc a:hover,
#bo_vc_w a:hover {
    color: var(--link-accent);
}

.sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    border: 0 !important;
}

/* =========================
   INPUT
========================= */
.frm_input,
.frm_file,
select,
textarea,
.g5bm-input,
.g5bm-select,
.g5bm-textarea {
    width: 100%;
    border: 1px solid #dcdcdc;
    background: #fff;
    color: var(--text-main);
    border-radius: var(--radius-lg);
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.frm_input,
.frm_file,
select,
.g5bm-input,
.g5bm-select {
    height: 48px;
}

textarea,
.g5bm-textarea {
    min-height: 220px;
    padding: 16px;
    resize: vertical;
}

.frm_input:focus,
.frm_file:focus,
select:focus,
textarea:focus,
.g5bm-input:focus,
.g5bm-select:focus,
.g5bm-textarea:focus {
    border-color: var(--link-accent);
    box-shadow: 0 0 0 4px rgba(43,111,255,0.08);
}

/* =========================
   BUTTON
========================= */
.btn,
a.btn,
button.btn,
.btn_b01,
.btn_b02,
.btn_b03,
.btn_submit,
.btn_cancel,
.btn_admin,
.btn_frmline,
.g5bm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--btn-base-border) ;
    background: var(--btn-base-bg) ;
    color: var(--btn-base-text);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}

.btn:hover,
a.btn:hover,
button.btn:hover,
.btn_b01:hover,
.btn_b02:hover,
.btn_b03:hover,
.btn_cancel:hover,
.btn_admin:hover,
.btn_frmline:hover,
.g5bm-btn:hover {
    background: var(--btn-sub-hover-bg);
    border-color: var(--btn-sub-hover-border);
    color: var(--btn-sub-hover-text);
}

.btn_submit,
.g5bm-btn-point {
    background: var(--btn-point-bg);
    border-color: var(--btn-point-border);
    color: var(--btn-point-text);
}

.btn_submit:hover,
.g5bm-btn-point:hover,
.btn_submit:focus,
.g5bm-btn-point:focus,
.btn_submit:active,
.g5bm-btn-point:active {
    background: var(--btn-point-hover-bg);
    border-color: var(--btn-point-hover-border);
    color: var(--btn-point-hover-text);
}

.g5bm-btn-primary,
.g5bm-btn-danger,
.btn_b01,
.btn_b02,
.btn_b03,
.btn_cancel,
.btn_admin,
.btn_frmline {
    background: var(--btn-base-bg);
    border-color: var(--btn-sub-border);
}

.g5bm-btn-primary:hover,
.g5bm-btn-primary:focus,
.g5bm-btn-primary:active,
.g5bm-btn-danger:hover,
.g5bm-btn-danger:focus,
.g5bm-btn-danger:active,
.btn_b01:hover,
.btn_b02:hover,
.btn_b03:hover,
.btn_cancel:hover,
.btn_admin:hover,
.btn_frmline:hover {
    background: var(--btn-sub-hover-bg);
    border-color: var(--btn-sub-hover-border);
    color: var(--btn-sub-hover-text);
}

.empty_table,
.g5bm-list-empty {
    padding: 60px 20px !important;
    text-align: center !important;
    color: var(--text-subtle) !important;
    font-size: 15px;
}

/* =========================
   CHECKBOX
========================= */
.selec_chk {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    outline: 0;
    z-index: -1;
    overflow: hidden;
}

.chk_box {
    position: relative;
}

.chk_box input[type="checkbox"] + label {
    position: relative;
    color: #555;
    cursor: pointer;
}

.chk_box input[type="checkbox"] + label span {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 1px solid #cfd5dc;
    border-radius: var(--radius-xs);
}

.write_div .chk_box input[type="checkbox"] + label,
.bo_vc_w .chk_box input[type="checkbox"] + label {
    padding-left: 28px;
}

.write_div .chk_box input[type="checkbox"] + label span,
.bo_vc_w .chk_box input[type="checkbox"] + label span {
    position: absolute;
    top: 2px;
    left: 0;
}

.chk_box input[type="checkbox"]:checked + label {
    color: var(--text-strong);
}

.chk_box input[type="checkbox"]:checked + label span,
.g5bm-check.chk_box .selec_chk:checked + span {
    background: var(--link-accent);
    border-color: var(--link-accent);
}

.g5bm-check.chk_box {
    position: relative;
    padding-left: 28px;
    min-height: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.g5bm-check.chk_box .selec_chk {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.g5bm-check.chk_box span {
    position: absolute;
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #cfd5dc;
    border-radius: var(--radius-xs);
    background: #fff;
}

.g5bm-check.chk_box .selec_chk:checked + span::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* =========================
   COMMON LAYOUT
========================= */
.g5bm-wrap,
.g5bm-inner,
.g5bm-list-wrap {
    width: 100%;
}

.g5bm-board-head {
    margin-bottom: 24px;
}

.g5bm-board-title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-strong);
}

.g5bm-board-desc {
    margin: 0;
    font-size: 15px;
    color: var(--text-muted);
}

.g5bm-list-bottom,
.g5bm-btn-wrap {
    display: flex;
}

.g5bm-list-bottom {
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.g5bm-btn-wrap {
    gap: 10px;
}

/* =========================
   LIST - LEGACY / CATEGORY / PAGING
========================= */
#bo_list {
    position: relative;
    margin-bottom: 20px;
}

#bo_list::after {
    display: block;
    clear: both;
    content: "";
}

#bo_cate {
    margin: 0 0 24px;
}

#bo_cate h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#bo_cate ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#bo_cate li {
    padding: 0;
}

#bo_cate a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--btn-base-border);
    background: #fff;
    color: #4b5563;
    font-size: 14px;
}

#bo_cate a:hover,
#bo_cate a:focus,
#bo_cate a:active,
#bo_cate #bo_cate_on {
    background: var(--btn-sub-bg);
    border-color: var(--btn-sub-border);
    color: var(--btn-sub-text);
}

#bo_cate #bo_cate_on {
    font-weight: 700;
    box-shadow: none;
}

#bo_btn_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
}

#bo_list_total {
    float: none;
    line-height: 1.5;
    font-size: 14px;
    color: var(--text-muted);
}

.btn_bo_user,
.btn_bo_adm {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    float: none;
}

.btn_bo_user li,
.btn_bo_adm li {
    float: none;
    width: auto;
    margin: 0;
    background: transparent;
}

.tbl_wrap {
    border: 1px solid var(--line-color);
    border-radius: var(--radius-4xl);
    overflow: hidden;
    background: #fff;
}

.tbl_head01 table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.tbl_head01 thead th {
    padding: 18px 12px;
    background: var(--bg-soft-2);
    border-bottom: 1px solid var(--line-color);
    font-size: 14px;
    font-weight: 700;
    color: #444;
    text-align: center;
}

.tbl_head01 tbody td {
    padding: 18px 12px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
    color: #333;
    vertical-align: middle;
}

.tbl_head01 tbody tr:last-child td {
    border-bottom: 0;
}

#bo_list tbody tr:hover {
    background: #fcfcfd;
}

.bo_notice td {
    background: #fafbff !important;
}

.bo_notice td a {
    font-weight: 700;
}

.notice_icon,
.g5bm-list-notice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    background: var(--btn-sub-bg);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
}

#bo_list .td_chk {
    width: 52px;
    text-align: center;
}

#bo_list .td_num,
#bo_list .td_num2,
#bo_list .td_datetime,
#bo_list .td_name {
    text-align: center;
}

#bo_list .td_num { width: 80px; }
#bo_list .td_num2 { width: 90px; }
#bo_list .td_name { width: 120px; }
#bo_list .td_datetime { width: 120px; }
#bo_list .td_subject { text-align: left; }

.bo_cate_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px 6px 0;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--link-accent-bg);
    color: var(--link-accent);
    font-size: 12px;
    font-weight: 600 !important;
}

.bo_tit {
    display: block;
    color: var(--text-strong);
    font-weight: 600;
    line-height: 1.5;
    word-break: break-word;
}

#bo_list .cnt_cmt,
.g5bm-list-comment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: var(--radius-pill);
    background: var(--badge-bg);
    color: var(--badge-text);
    font-size: 12px;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle;
}

.bo_fx {
    float: none;
    margin: 20px 0 0;
}

.more_opt,
.bo_vc_act {
    display: none;
    position: absolute;
    right: 0;
    min-width: 100px;
    background: #fff;
    border: 1px solid var(--line-soft-2);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.more_opt {
    top: 50px;
    min-width: 130px;
    z-index: 50;
}

.more_opt li,
.bo_vc_act li {
    width: 100%;
    padding: 0;
}

.more_opt li {
    border-bottom: 1px solid #f3f4f6;
}

.more_opt li:last-child {
    border-bottom: 0;
}

.more_opt li button,
.more_opt li a,
.bo_vc_act li a {
    display: block;
    width: 100%;
    border: 0;
    background: #fff;
    color: #374151;
    text-align: left;
    padding: 10px 14px;
    font-size: 14px;
}

.more_opt li button:hover,
.more_opt li a:hover,
.bo_vc_act li a:hover {
    background: #f3f4f6;
}

.pg_wrap {
    margin: 24px 0 0;
    text-align: center;
}

.pg {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pg_page,
.pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--btn-base-border);
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    color: var(--btn-base-text);
}

.pg_page:hover {
    background: #f3f4f6;
    border-color: var(--btn-base-border);
    color: #111827;
}

.pg_current {
    background: var(--btn-sub-bg);
    border-color: var(--btn-sub-border);
    color: var(--btn-sub-text);
}

/* 검색 팝업 */
.bo_sch_wrap {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    inset: 0;
    z-index: 999;
}

.bo_sch_bg {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
}

.bo_sch {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    max-width: calc(100% - 32px);
    margin: 0;
    transform: translate(-50%, -50%);
    border: 1px solid var(--line-color);
    border-radius: var(--radius-4xl);
    background: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    overflow: hidden;
}

.bo_sch h3 {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line-color);
    font-size: 18px;
    color: var(--text-strong);
}

.bo_sch form {
    display: block;
    padding: 20px;
}

.bo_sch .sch_bar {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 12px;
    border: 1px solid #dcdcdc;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.bo_sch .sch_input {
    width: calc(100% - 52px);
    height: 46px;
    border: 0;
    padding: 0 14px;
    background: transparent;
}

.bo_sch .sch_btn {
    width: 52px;
    height: 46px;
    border: 0;
    background: #fff;
    color: var(--text-muted);
}

/* =========================
   CUSTOM LIST FIX
========================= */
.g5bm-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.g5bm-search-box .g5bm-input {
    flex: 1 1 auto;
    min-width: 0;
}

.g5bm-list-box {
    border: 1px solid var(--line-color);
    border-radius: var(--radius-5xl);
    overflow: hidden;
    background: #fff;
}

.g5bm-list-head,
.g5bm-list-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 120px 120px;
    align-items: center;
}

.g5bm-list-wrap:not(.g5bm-list-noadmin) .g5bm-list-head,
.g5bm-list-wrap:not(.g5bm-list-noadmin) .g5bm-list-row {
    grid-template-columns: 56px 72px minmax(0, 1fr) 120px 120px;
}

.g5bm-list-head {
    background: var(--bg-soft-2);
    border-bottom: 1px solid var(--line-color);
}

.g5bm-list-head > div,
.g5bm-list-row > div {
    min-width: 0;
    padding: 18px 14px;
}

.g5bm-list-head > div {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    text-align: center;
}

.g5bm-list-row {
    border-bottom: 1px solid var(--line-soft);
}

.g5bm-list-row:last-of-type {
    border-bottom: 0;
}

.g5bm-list-row:hover {
    background: #fcfcfd;
}

.g5bm-list-row > div {
    font-size: 15px;
    color: #333;
    text-align: center;
}

.g5bm-list-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

.g5bm-chk {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.g5bm-list-subject {
    text-align: left !important;
}

.g5bm-list-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    font-weight: 600;
    color: var(--text-strong);
}

.g5bm-list-link > span:first-child {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.g5bm-list-card-wrap {
    display: none;
}

.g5bm-list-bottom-left,
.g5bm-list-bottom-center,
.g5bm-list-bottom-right {
    display: flex;
    align-items: center;
}

.g5bm-list-bottom-center {
    justify-content: center;
    flex: 1 1 auto;
}

.g5bm-page .pg,
.g5bm-page .pg_wrap {
    margin: 0;
}

/* =========================
   WRITE
========================= */
.g5bm-write-box {
    border: 1px solid var(--line-color);
    border-radius: var(--radius-5xl);
    overflow: hidden;
    background: #fff;
}

.g5bm-form-row {
    display: flex;
    border-bottom: 1px solid var(--line-soft);
}

.g5bm-form-row:last-child {
    border-bottom: 0;
}

.g5bm-form-label {
    width: 200px;
    min-width: 200px;
    padding: 22px 24px;
    background: var(--bg-soft);
    font-weight: 700;
    color: var(--text-strong);
}

.g5bm-form-cont {
    flex: 1;
    padding: 20px 24px;
}

.g5bm-required {
    margin-left: 4px;
    color: #e53935;
}

.g5bm-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.g5bm-file-note {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

#autosave_pop {
    display: none;
    z-index: 20;
    position: absolute !important;
    top: 54px;
    right: 0;
    width: 360px;
    max-width: 100%;
    max-height: 220px;
    border: 1px solid #e5e5e5;
    border-radius: var(--radius-2xl);
    background: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    overflow: hidden;
}

#autosave_pop strong {
    display: block;
    padding: 16px 16px 0;
    font-size: 15px;
    line-height: 1.4;
}

#autosave_pop ul {
    margin: 0;
    padding: 16px;
    max-height: 150px;
    list-style: none;
    overflow-y: auto;
    border-top: 0;
    border-bottom: 1px solid #efefef;
}

#autosave_pop li {
    padding: 10px 12px;
    border-bottom: 1px solid #f3f3f3;
    background: #fff;
}

.autosave_close {
    width: 100%;
    height: 42px;
    border: 0;
    background: #fff;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.g5bm-editor-box iframe,
.g5bm-editor-box img {
    max-width: 100%;
}

/* 자동등록방지 */
.g5bm-captcha-wrap {
    width: 100%;
}

.g5bm-captcha-wrap #captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.g5bm-captcha-wrap #captcha::after {
    display: none;
}

.g5bm-captcha-wrap #captcha_img {
    float: none;
    flex: 0 0 120px;
    width: 120px !important;
    height: 46px !important;
    border: 1px solid #dcdcdc;
    border-radius: var(--radius-sm);
    background: #fff;
    box-sizing: border-box;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.g5bm-captcha-wrap #captcha_mp3,
.g5bm-captcha-wrap #captcha_reload {
    float: none;
    flex: 0 0 40px;
    width: 40px;
    height: 46px;
    margin-left: 0;
    border: 1px solid #dcdcdc;
    border-radius: var(--radius-sm);
    background-color: #f5f5f5;
    box-sizing: border-box;
}

.g5bm-captcha-wrap #captcha #captcha_key {
    clear: none;
    flex: 0 0 220px;
    width: 220px;
    max-width: 100%;
    height: 46px;
    margin-top: 0;
    padding: 0 14px;
    border: 1px solid #dcdcdc;
    border-radius: var(--radius-sm);
    font-size: 15px;
    box-sizing: border-box;
}

.g5bm-captcha-wrap #captcha_info {
    flex: 1 1 100%;
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* =========================
   VIEW
========================= */
#bo_v {
    margin-bottom: 20px;
    background: #fff;
}

#bo_v_title {
    margin: 0 0 20px;
    padding: 36px 0 0;
}

#bo_v_title .bo_v_cate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    background: var(--link-accent-bg);
    color: var(--link-accent);
    font-size: 13px;
    font-weight: 600;
}

#bo_v_title .bo_v_tit {
    display: block;
    margin: 10px 0 0;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-strong);
    word-break: keep-all;
}

#bo_v_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 0 24px;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text-muted);
}

#bo_v_info .profile_info_ct {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

#bo_v_info strong {
    font-weight: 700;
    color: var(--text-strong);
}

#bo_v_top .btn_bo_user {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#bo_v .btn:hover,
#bo_v a.btn:hover,
#bo_v .btn_b01:hover {
    background: #fff !important;
    border-color: var(--btn-base-border) !important;
    color: var(--btn-base-text) !important;
}

#bo_v_con {
    min-height: 220px;
    margin-bottom: 40px;
    padding: 36px;
    border: 1px solid var(--line-color);
    border-radius: var(--radius-4xl);
    background: #fff;
    word-break: break-word;
}

#bo_v_con img,
#bo_v_con iframe {
    max-width: 100%;
    height: auto;
}

#bo_v_link,
#bo_v_file {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid var(--line-color);
    border-radius: var(--radius-4xl);
    background: #fff;
}

#bo_v_link h2,
#bo_v_file h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-strong);
}

#bo_v_file ul,
#bo_v_link ul,
.bo_v_nb ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#bo_v_file li,
#bo_v_link li {
    position: relative;
    margin: 10px 0;
    padding: 16px 18px;
    border: 1px solid #e6e6e6;
    border-radius: var(--radius-2xl);
}

#bo_v_file li i,
#bo_v_link li i {
    float: left;
    margin-top: 2px;
    margin-right: 14px;
    color: #aaa;
    font-size: 24px;
}

#bo_v_file a,
#bo_v_link a {
    color: var(--text-strong);
    font-weight: 600;
}

.bo_v_file_cnt {
    display: inline-block;
    margin-left: 10px;
    color: #999;
    font-size: 13px;
}

#bo_v_act {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 0;
}

.bo_v_good,
.bo_v_nogood {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 110px;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius-xl);
    background: #fff;
    font-weight: 600;
}

.bo_v_nb {
    margin-top: 32px;
}

.bo_v_nb ul {
    border-top: 1px solid var(--line-color);
}

.bo_v_nb li {
    border-bottom: 1px solid var(--line-color);
}

.bo_v_nb a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.bo_v_nb span {
    min-width: 60px;
    color: var(--text-muted);
}

.bo_v_nb strong {
    flex: 1;
    color: var(--text-strong);
    font-weight: 600;
}

/* =========================
   COMMENT
========================= */
.cmt_btn {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid var(--line-color);
    border-radius: var(--radius-2xl);
    background: #fff;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-strong);
    cursor: pointer;
}

#bo_vc {
    margin-top: 10px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
}

#bo_vc > h2 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-strong);
}

#bo_vc article {
    position: relative;
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid var(--line-soft-2);
    border-radius: var(--radius-xl);
    background: var(--bg-soft);
    transition: all .2s ease;
}

#bo_vc article:hover {
    background: #fff;
    border-color: var(--btn-base-border);
}

#bo_vc .pf_img {
    float: left;
    margin-right: 14px;
}

#bo_vc .pf_img img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

#bo_vc .cm_wrap {
    overflow: hidden;
}

#bo_vc header {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

#bo_vc .cmt_contents p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    word-break: break-word;
}

.bo_vl_opt {
    position: absolute;
    top: 18px;
    right: 18px;
}

.btn_cm_opt {
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
}

.bo_vc_act {
    top: 46px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
}

#bo_vc_empty {
    padding: 40px 20px;
    border: 1px solid var(--line-color);
    border-radius: var(--radius-3xl);
    background: #fff;
    color: var(--text-subtle);
    text-align: center;
}

#bo_vc_w {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid var(--line-soft-2);
    border-radius: var(--radius-2xl);
    background: var(--bg-soft-3);
}

#bo_vc_w h2 {
    margin: 0 0 14px;
    font-size: 22px;
    color: var(--text-strong);
}

#bo_vc_w textarea {
    min-height: 140px;
}

#bo_vc_w .bo_vc_w_wr {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

#bo_vc_w .bo_vc_w_info {
    flex: 1 1 auto;
}

#bo_vc_w .bo_vc_w_info .frm_input {
    margin-bottom: 10px;
}

#bo_vc_w .btn_confirm {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    margin-top: 0;
}

#bo_vc_w .secret_cm {
    align-self: flex-end;
}

#bo_vc_w #captcha {
    margin-top: 10px;
    padding: 14px;
    border: 0;
    border-radius: var(--radius-xl);
    background: var(--bg-soft);
    overflow: hidden;
}

/* comment toggle */
.g5bm-comment-toggle-wrap {
    margin-top: 40px;
    margin-bottom: 10px;
}

.g5bm-comment-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 48px;
    padding: 0 18px;
    border: 1px solid var(--btn-base-border);
    background: #fff;
    color: var(--btn-base-text);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.g5bm-comment-toggle:hover {
    background: var(--bg-soft-3);
    border-color: #cbd5e1;
    color: #111827;
}

.g5bm-comment-toggle.is-open {
    background: var(--btn-sub-bg);
    border-color: var(--btn-sub-border);
    color: var(--btn-sub-text);
}

.g5bm-comment-area {
    margin-top: 20px;
}

#g5bmCommentArea .cmt_btn,
#g5bmCommentArea #bo_vc > h2 {
    display: none !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    #bo_v_title .bo_v_tit {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    #bo_list,
    #bo_v,
    #bo_w,
    #bo_vc,
    #bo_vc_w {
        font-size: 14px;
    }

    .frm_input,
    .frm_file,
    select,
    .g5bm-input,
    .g5bm-select {
        height: 46px;
        font-size: 14px;
    }

    textarea,
    .g5bm-textarea {
        min-height: 180px;
        font-size: 14px;
    }

    .tbl_head01 thead {
        display: none;
    }

    .tbl_head01 table,
    .tbl_head01 tbody,
    .tbl_head01 tr,
    .tbl_head01 td {
        display: block;
        width: 100%;
    }

    .tbl_head01 tbody tr {
        padding: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .tbl_head01 tbody td {
        padding: 6px 0;
        border: 0;
        text-align: left !important;
        width: 100% !important;
    }

    #bo_list .td_name,
    #bo_list .td_num,
    #bo_list .td_datetime {
        display: inline-block;
        width: auto !important;
        margin-right: 12px;
        font-size: 13px;
        color: var(--text-subtle);
    }

    .g5bm-board-title {
        font-size: 24px;
    }

    .g5bm-write-box {
        border-radius: var(--radius-3xl);
    }

    .g5bm-form-row {
        flex-direction: column;
    }

    .g5bm-form-label {
        width: 100%;
        min-width: 100%;
        padding: 16px 18px 10px;
        background: #fff;
    }

    .g5bm-form-cont {
        padding: 0 18px 18px;
    }

    .g5bm-list-bottom {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 12px;
		flex-direction: row;
    }

    .g5bm-btn-wrap,
    .g5bm-list-bottom-left,
    .g5bm-list-bottom-center,
    .g5bm-list-bottom-right {
        width: 100%;
    }

    .g5bm-btn-wrap .g5bm-btn,
    .g5bm-list-bottom-left .g5bm-btn,
    .g5bm-list-bottom-right .g5bm-btn,
    .g5bm-search-box .g5bm-btn {
        width: 100%;
    }

    .g5bm-search-box{
		flex-direction: row !important;
		align-items: center !important;
	  }
	
	  .g5bm-search-box .g5bm-input{
		flex:1;
	  }
	
	  .g5bm-search-box .g5bm-btn{
		width:auto !important;
		white-space: nowrap;
	  }

    .g5bm-list-head,
    .g5bm-list-row {
        display: none;
    }

    .g5bm-list-card-wrap {
        display: block;
    }

    .g5bm-list-card {
        padding: 16px;
        border-bottom: 1px solid var(--line-soft);
    }

    .g5bm-list-card:last-child {
        border-bottom: 0;
    }

    .g5bm-list-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 10px;
    }

    .g5bm-list-card-subject {
        margin-bottom: 10px;
    }

    .g5bm-list-card-subject .g5bm-list-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .g5bm-list-card-subject .g5bm-list-link > span:first-child {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        word-break: break-word;
    }

    .g5bm-list-card-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        font-size: 13px;
        color: var(--text-subtle);
    }

    .g5bm-list-bottom-left,
    .g5bm-list-bottom-center,
    .g5bm-list-bottom-right {
        justify-content: stretch;
    }

    .g5bm-captcha-wrap #captcha {
        gap: 8px;
    }

    .g5bm-captcha-wrap #captcha_img {
        flex: 0 0 110px;
        width: 110px !important;
        height: 44px !important;
    }

    .g5bm-captcha-wrap #captcha_mp3,
    .g5bm-captcha-wrap #captcha_reload {
        flex: 0 0 38px;
        width: 38px;
        height: 44px;
    }

    .g5bm-captcha-wrap #captcha #captcha_key {
        flex: 1 1 100%;
        width: 100%;
        height: 44px;
    }

    .g5bm-captcha-wrap #captcha_info {
        font-size: 13px;
    }

    #bo_v_title {
        padding: 24px 0 0;
    }

    #bo_v_title .bo_v_tit {
        font-size: 24px;
    }

    #bo_v_info {
        padding: 0 0 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    #bo_v_con {
        padding: 20px;
        border-radius: var(--radius-3xl);
    }

    #bo_v_link,
    #bo_v_file,
    #bo_vc_w,
    #bo_vc article {
        padding: 16px;
        border-radius: var(--radius-2xl);
    }

    .bo_v_nb a {
        flex-direction: column;
        gap: 6px;
    }

    #bo_vc_w .bo_vc_w_wr {
        flex-direction: column;
    }

    #bo_vc_w .btn_confirm {
        align-items: stretch;
    }
	
	
}

a.btn_b01, .btn_b01 {border:1px solid #d1d5db !important; background:#fff !important}
