@charset "utf-8";

/*
 * Responsive Basic Board Skin
 * - Desktop: inherits the site's font size
 * - Mobile: explicit sizes are used only inside media queries
 */

:root {
    --board-primary:#183f7a;
    --board-primary-soft:#f1f5fb;
    --board-text:#20242a;
    --board-sub:#6e7681;
    --board-line:#e4e8ed;
    --board-line-dark:#d3d9e0;
    --board-bg:#f7f9fb;
    --board-white:#fff;
    --board-danger:#c33d3d;
    --board-radius:10px;
}

#bo_list,
#bo_v,
#bo_w {
    position:relative;
    max-width:100%;
    color:var(--board-text);
    box-sizing:border-box;
}

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

#bo_list a,
#bo_v a,
#bo_w a {
    text-decoration:none;
}

#bo_list button,
#bo_v button,
#bo_w button,
#bo_list input,
#bo_v input,
#bo_w input,
#bo_list select,
#bo_v select,
#bo_w select,
#bo_w textarea {
    font:inherit;
}

/* accessibility-only headings inside this skin */
#bo_cate h2,
#bo_v_info > h2,
#bo_v_atc_title,
#bo_v_file > h2,
#bo_v_link > h2,
#bo_vc > h2,
#bo_vc h1,
.bo_vc_w > h2,
#autosave_pop > strong {
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

/* ------------------------------
   common buttons
------------------------------ */
.btn_bo_user {
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:6px;
    float:right;
    margin:0;
    padding:0;
    list-style:none;
}

.btn_bo_user > li {
    position:relative;
    float:none;
    width:auto;
    margin:0;
    padding:0;
    background:transparent;
}

.btn_bo_user .btn,
.btn_bo_user button.btn,
#bo_v_share .btn,
#bo_w .btn,
.bo_vc_w .btn_submit {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    min-height:40px;
    padding:0 15px;
    border:1px solid var(--board-line-dark);
    border-radius:8px;
    background:var(--board-white);
    color:var(--board-text);
    line-height:1;
    font-weight:500;
    cursor:pointer;
    transition:border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.btn_bo_user .btn:hover,
.btn_bo_user .btn:focus,
#bo_v_share .btn:hover,
#bo_w .btn_cancel:hover {
    border-color:var(--board-primary);
    color:var(--board-primary);
    background:var(--board-primary-soft);
}

.btn_bo_user .btn_admin {
    border-color:#c7d4e8;
    color:var(--board-primary);
    background:#f8faff;
}

#bo_w .btn_submit,
.bo_vc_w .btn_submit {
    border-color:var(--board-primary);
    background:var(--board-primary);
    color:#fff;
}

#bo_w .btn_submit:hover,
.bo_vc_w .btn_submit:hover {
    background:#123463;
}

/* dropdown action menu */
.more_opt {
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    z-index:999;
    min-width:120px;
    margin:0;
    padding:6px;
    list-style:none;
    border:1px solid var(--board-line);
    border-radius:10px;
    background:var(--board-white);
    box-shadow:0 12px 30px rgba(20,31,48,.10);
}

.more_opt li {
    float:none;
    width:auto;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    text-align:left;
}

.more_opt li + li {
    margin-top:2px;
}

.more_opt li button,
.more_opt li a {
    display:block;
    width:100%;
    padding:9px 10px;
    border:0;
    border-radius:6px;
    background:transparent;
    color:var(--board-text);
    text-align:left;
    line-height:1.4;
    cursor:pointer;
}

.more_opt li button:hover,
.more_opt li a:hover,
.more_opt li button:focus,
.more_opt li a:focus {
    background:var(--board-bg);
    color:var(--board-primary);
}

/* ------------------------------
   list
------------------------------ */
#bo_list {
    margin-bottom:30px;
}

#bo_list:after,
#bo_btn_top:after,
.bo_fx:after {
    display:block;
    visibility:hidden;
    clear:both;
    content:"";
}

#bo_cate {
    margin:0 0 24px;
    overflow:hidden;
}

#bo_cate ul {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0;
    padding:0;
    list-style:none;
}

#bo_cate li {
    margin:0;
    padding:0;
}

#bo_cate a {
    display:block;
    padding:9px 15px;
    border:1px solid var(--board-line-dark);
    border-radius:999px;
    background:var(--board-white);
    color:var(--board-sub);
    line-height:1.2;
    transition:.18s ease;
}

#bo_cate a:hover,
#bo_cate a:focus,
#bo_cate #bo_cate_on {
    border-color:var(--board-primary);
    background:var(--board-primary);
    color:#fff;
    font-weight:600;
}

#bo_btn_top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin:0 0 14px;
}

#bo_list_total {
    color:var(--board-sub);
    line-height:1.4;
}

#bo_list_total span {
    margin-right:8px;
    color:var(--board-text);
    font-weight:600;
}

.tbl_wrap {
    width:100%;
    overflow:hidden;
    border-top:2px solid var(--board-text);
    border-bottom:1px solid var(--board-line-dark);
}

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

#bo_list th,
#bo_list td {
    padding:15px 10px;
    border-bottom:1px solid var(--board-line);
    background:var(--board-white);
    vertical-align:middle;
}

#bo_list thead th {
    color:#4d5560;
    font-weight:600;
    text-align:center;
    white-space:nowrap;
}

#bo_list tbody tr:last-child td {
    border-bottom:0;
}

#bo_list tbody tr:hover td {
    background:#fbfcfe;
}

#bo_list .td_chk {
    width:46px;
    text-align:center;
}

#bo_list .td_num2 {
    width:76px;
    text-align:center;
    color:var(--board-sub);
}

#bo_list .td_num {
    width:72px;
    text-align:center;
    color:var(--board-sub);
}

#bo_list .td_name {
    width:120px;
    text-align:center;
    color:#535c66;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

#bo_list .td_datetime {
    width:110px;
    text-align:center;
    color:var(--board-sub);
    white-space:nowrap;
}

#bo_list .td_subject {
    width:auto;
    text-align:left;
}

#bo_list .bo_tit {
    min-width:0;
    color:var(--board-text);
    font-weight:500;
    line-height:1.5;
    word-break:break-word;
}

#bo_list .bo_tit > a {
    color:var(--board-text);
}

#bo_list .bo_tit > a:hover,
#bo_list .bo_tit > a:focus {
    color:var(--board-primary);
}

.bo_notice td {
    background:#fbfcff !important;
}

.bo_notice .notice_icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:4px 7px;
    border-radius:6px;
    background:var(--board-primary-soft);
    color:var(--board-primary);
    line-height:1;
    font-weight:600;
}

.bo_current {
    color:var(--board-primary);
    font-weight:600;
}

.bo_cate_link {
    display:inline-block;
    margin-right:8px;
    padding:3px 7px;
    border-radius:5px;
    background:var(--board-primary-soft);
    color:var(--board-primary);
    line-height:1.3;
    font-weight:500 !important;
    vertical-align:middle;
}

#bo_list .cnt_cmt,
#bo_list .new_icon,
#bo_list .hot_icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:18px;
    min-height:18px;
    margin-left:4px;
    padding:0 5px;
    border-radius:5px;
    background:#edf2f7;
    color:var(--board-primary);
    line-height:1;
    vertical-align:middle;
}

#bo_list .bo_tit .title_icon,
#bo_list .bo_tit img {
    max-width:16px;
    max-height:16px;
    margin:0 3px;
    vertical-align:middle;
}

.bo_mobile_meta {
    display:none;
}

.empty_table {
    padding:55px 15px !important;
    text-align:center !important;
    color:var(--board-sub);
}

.bo_fx {
    float:right;
    margin:14px 0 0;
}

.bo_fx ul {
    margin:0;
    padding:0;
    list-style:none;
}

/* checkbox */
.selec_chk {
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    overflow:hidden;
}

.chk_box {
    position:relative;
}

.chk_box input[type="checkbox"] + label {
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:var(--board-sub);
    cursor:pointer;
}

.chk_box input[type="checkbox"] + label span {
    display:inline-block;
    flex:0 0 18px;
    width:18px;
    height:18px;
    border:1px solid var(--board-line-dark);
    border-radius:5px;
    background:#fff;
}

.chk_box input[type="checkbox"]:checked + label span {
    border-color:var(--board-primary);
    background:url(./img/chk.png) no-repeat 50% 50% var(--board-primary);
}

.write_div .chk_box input[type="checkbox"] + label,
.bo_vc_w .chk_box input[type="checkbox"] + label {
    padding:0;
}

.write_div .chk_box input[type="checkbox"] + label span,
.bo_vc_w .chk_box input[type="checkbox"] + label span {
    position:static;
    margin:0;
}

/* paging - keep GnuBoard markup, refine surface */
.pg_wrap {
    clear:both;
    margin:24px 0 8px;
    text-align:center;
}

.pg_page,
.pg_current {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:38px;
    margin:2px;
    padding:0 8px;
    border:1px solid var(--board-line);
    border-radius:7px;
    background:#fff;
    color:var(--board-sub);
    line-height:1;
}

.pg_page:hover,
.pg_page:focus {
    border-color:var(--board-primary);
    color:var(--board-primary);
}

.pg_current {
    border-color:var(--board-primary);
    background:var(--board-primary);
    color:#fff;
    font-weight:600;
}

/* search modal */
.bo_sch_wrap {
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;
}

.bo_sch_bg {
    position:absolute;
    inset:0;
    background:rgba(16,24,40,.35);
    backdrop-filter:blur(2px);
}

.bo_sch {
    position:absolute;
    top:50%;
    left:50%;
    z-index:2;
    width:min(420px, calc(100% - 32px));
    transform:translate(-50%,-50%);
    margin:0;
    padding:0;
    border:1px solid var(--board-line);
    border-radius:14px;
    background:#fff;
    box-shadow:0 24px 70px rgba(16,24,40,.18);
    text-align:left;
}

.bo_sch h3 {
    margin:0;
    padding:18px 20px;
    border-bottom:1px solid var(--board-line);
    font-weight:650;
}

.bo_sch form {
    display:block;
    padding:20px;
}

.bo_sch select,
.bo_sch .sch_input {
    width:100%;
    height:44px;
    border:1px solid var(--board-line-dark);
    border-radius:8px;
    background:#fff;
    color:var(--board-text);
    outline:none;
}

.bo_sch select:focus,
.bo_sch .sch_input:focus {
    border-color:var(--board-primary);
    box-shadow:0 0 0 3px rgba(24,63,122,.08);
}

.bo_sch select {
    padding:0 12px;
}

.bo_sch .sch_bar {
    display:flex;
    gap:8px;
    width:100%;
    margin-top:12px;
}

.bo_sch .sch_input {
    flex:1 1 auto;
    min-width:0;
    padding:0 12px;
}

.bo_sch .sch_btn {
    flex:0 0 auto;
    min-width:70px;
    height:44px;
    padding:0 14px;
    border:1px solid var(--board-primary);
    border-radius:8px;
    background:var(--board-primary);
    color:#fff;
    cursor:pointer;
}

.bo_sch .bo_sch_cls {
    position:absolute;
    top:10px;
    right:10px;
    min-height:36px;
    padding:0 10px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:var(--board-sub);
    cursor:pointer;
}

.bo_sch .bo_sch_cls:hover {
    background:var(--board-bg);
    color:var(--board-text);
}

/* ------------------------------
   write
------------------------------ */
#bo_w {
    margin-bottom:30px;
}

#bo_w form {
    max-width:100%;
}

#bo_w .write_div {
    position:relative;
    margin:12px 0;
}

#bo_w .bo_w_info {
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:10px;
}

#bo_w .bo_w_info .frm_input,
#bo_w #wr_password,
#bo_w #wr_homepage {
    float:none;
    width:100%;
    margin:0;
}

#bo_w .frm_input,
#bo_w select,
#bo_w textarea,
.bo_vc_w .frm_input,
.bo_vc_w textarea {
    border:1px solid var(--board-line-dark);
    border-radius:8px;
    background:#fff;
    color:var(--board-text);
    outline:none;
    transition:border-color .18s ease, box-shadow .18s ease;
}

#bo_w .frm_input:focus,
#bo_w select:focus,
#bo_w textarea:focus,
.bo_vc_w .frm_input:focus,
.bo_vc_w textarea:focus {
    border-color:var(--board-primary);
    box-shadow:0 0 0 3px rgba(24,63,122,.08);
}

#bo_w input.frm_input,
#bo_w select {
    min-height:44px;
    padding:0 12px;
}

#bo_w .full_input {
    width:100%;
}

#bo_w .half_input {
    width:100%;
}

#bo_w .bo_w_select select {
    width:100%;
}

#bo_w .bo_v_option {
    display:flex;
    flex-wrap:wrap;
    gap:12px 18px;
    margin:0;
    padding:12px 14px;
    border:1px solid var(--board-line);
    border-radius:8px;
    background:var(--board-bg);
    list-style:none;
}

#bo_w .bo_v_option li {
    float:none;
    margin:0;
    padding:0;
}

#bo_w .bo_w_tit #autosave_wrapper {
    display:flex;
    align-items:stretch;
    gap:8px;
    margin:0;
}

#bo_w .bo_w_tit .frm_input {
    flex:1 1 auto;
    min-width:0;
    padding-right:12px;
}

#bo_w .bo_w_tit #btn_autosave {
    position:static;
    flex:0 0 auto;
    min-height:44px;
    padding:0 12px;
    border:1px solid var(--board-line-dark);
    border-radius:8px;
    background:#fff;
    color:var(--board-sub);
    line-height:1.2;
    cursor:pointer;
}

#char_count_desc {
    margin:0 0 7px;
    color:var(--board-sub);
}

#char_count_wrap {
    margin:7px 0 0;
    text-align:right;
    color:var(--board-sub);
}

#char_count {
    color:var(--board-text);
    font-weight:600;
}

#bo_w .wr_content {
    width:100%;
}

#bo_w .wr_content textarea {
    width:100%;
    min-height:260px;
    padding:14px;
    line-height:1.7;
    resize:vertical;
}

#bo_w .wr_content.smarteditor2 iframe {
    background:#fff;
}

#bo_w .bo_w_link,
#bo_w .bo_w_flie .file_wr {
    display:flex;
    align-items:center;
    gap:10px;
}

#bo_w .bo_w_link label,
#bo_w .bo_w_flie .lb_icon {
    position:static;
    flex:0 0 auto;
    width:auto;
    height:auto;
    padding:0;
    color:var(--board-sub);
    line-height:1.3;
    white-space:nowrap;
}

#bo_w .bo_w_link .frm_input {
    flex:1 1 auto;
    min-width:0;
    padding-left:12px;
}

#bo_w .bo_w_flie {
    padding:14px;
    border:1px solid var(--board-line);
    border-radius:10px;
    background:#fbfcfd;
}

#bo_w .bo_w_flie .file_wr {
    height:auto;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
}

#bo_w .bo_w_flie .frm_file {
    flex:1 1 auto;
    min-width:0;
    margin:0;
    padding:7px 0;
}

#bo_w .bo_w_flie .frm_input {
    margin:10px 0 0;
}

#bo_w .bo_w_flie .file_del {
    position:static;
    display:block;
    margin-top:10px;
    color:var(--board-sub);
}

#bo_w .btn_confirm {
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:28px;
}

#bo_w .btn_confirm .btn {
    min-width:100px;
}

/* autosave */
#autosave_wrapper {
    position:relative;
}

#autosave_pop {
    display:none;
    position:absolute !important;
    top:calc(100% + 8px);
    right:0;
    z-index:30;
    width:min(380px, 100%);
    max-height:260px;
    border:1px solid var(--board-line);
    border-radius:10px;
    background:#fff;
    box-shadow:0 16px 40px rgba(16,24,40,.12);
    overflow:hidden;
}

#autosave_pop ul {
    max-height:200px;
    margin:0;
    padding:10px;
    overflow-y:auto;
    list-style:none;
}

#autosave_pop li {
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:9px 7px;
    border-bottom:1px solid var(--board-line);
}

#autosave_pop li:last-child {
    border-bottom:0;
}

#autosave_pop a {
    min-width:0;
    overflow:hidden;
    color:var(--board-text);
    text-overflow:ellipsis;
    white-space:nowrap;
}

#autosave_pop span {
    flex:0 0 auto;
    color:var(--board-sub);
}

.autosave_close {
    width:100%;
    min-height:38px;
    border:0;
    border-top:1px solid var(--board-line);
    background:#fff;
    color:var(--board-sub);
    cursor:pointer;
}

.autosave_close:hover {
    background:var(--board-bg);
    color:var(--board-text);
}

.autosave_content {
    display:none;
}

.autosave_del {
    width:22px;
    height:22px;
    border:0;
    background:url(./img/close_btn.png) no-repeat 50% 50%;
    text-indent:-9999px;
    overflow:hidden;
}

/* ------------------------------
   view
------------------------------ */
#bo_v {
    margin-bottom:30px;
    background:#fff;
}

#bo_v_title {
    margin:0;
    padding:0 0 22px;
    border-bottom:2px solid var(--board-text);
}

#bo_v_title .bo_v_cate {
    display:inline-block;
    margin-bottom:8px;
    padding:5px 8px;
    border-radius:6px;
    background:var(--board-primary-soft);
    color:var(--board-primary);
    line-height:1.2;
    font-weight:600;
}

#bo_v_title .bo_v_tit {
    display:block;
    color:var(--board-text);
    line-height:1.45;
    word-break:break-word;
}

#bo_v_info {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:16px 0;
    border-bottom:1px solid var(--board-line);
}

#bo_v_info .profile_info {
    display:flex;
    align-items:center;
    min-width:0;
    margin:0;
    float:none;
}

#bo_v_info .pf_img {
    flex:0 0 auto;
    margin-right:10px;
    float:none;
}

#bo_v_info .pf_img img {
    display:block;
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
}

#bo_v_info .profile_info_ct {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:5px 14px;
    min-width:0;
    padding:0;
    float:none;
    color:var(--board-sub);
    line-height:1.5;
}

#bo_v_info .info_writer {
    flex-basis:100%;
    color:var(--board-text);
}

#bo_v_info .info_label {
    margin-right:4px;
    color:#8a929c;
    font-weight:400;
}

#bo_v_info .info_meta a {
    color:var(--board-sub);
}

#bo_v_top {
    flex:0 0 auto;
}

.bo_v_com {
    float:none;
    margin:0;
}

#bo_v_share {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    min-height:20px;
    padding:18px 0 6px;
}

#bo_v_share .btn {
    min-height:36px;
}

#bo_v_atc {
    min-height:220px;
}

#bo_v_img {
    width:100%;
    overflow:hidden;
}

#bo_v_img img {
    max-width:100%;
    height:auto;
    margin:0 0 18px;
}

#bo_v_con {
    width:100%;
    min-height:200px;
    margin:18px 0 34px;
    color:var(--board-text);
    line-height:1.75;
    word-break:break-word;
    overflow:hidden;
}

#bo_v_con a {
    color:var(--board-primary);
    text-decoration:underline;
}

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

#bo_v_act {
    display:flex;
    justify-content:center;
    gap:8px;
    margin:20px 0 34px;
    text-align:center;
}

#bo_v_act .bo_v_act_gng {
    position:relative;
}

#bo_v_act .bo_v_good,
#bo_v_act .bo_v_nogood {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-width:90px;
    min-height:42px;
    padding:0 14px;
    border:1px solid var(--board-line-dark);
    border-radius:999px;
    background:#fff;
    color:var(--board-sub);
    line-height:1;
}

#bo_v_act .bo_v_good:hover,
#bo_v_act .bo_v_nogood:hover {
    border-color:var(--board-primary);
    color:var(--board-primary);
}

#bo_v_act_good,
#bo_v_act_nogood {
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:50%;
    z-index:9999;
    width:190px;
    transform:translateX(-50%);
    padding:10px;
    border-radius:8px;
    background:#253041;
    color:#fff;
    text-align:center;
}

#bo_v_file,
#bo_v_link {
    margin:26px 0;
}

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

#bo_v_file li,
#bo_v_link li {
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:4px 12px;
    padding:14px 16px;
    border:1px solid var(--board-line);
    border-radius:9px;
    background:#fbfcfd;
}

#bo_v_file li + li,
#bo_v_link li + li {
    margin-top:8px;
}

#bo_v_file .item_label,
#bo_v_link .item_label {
    grid-row:1 / span 2;
    align-self:start;
    padding:4px 7px;
    border-radius:5px;
    background:var(--board-primary-soft);
    color:var(--board-primary);
    line-height:1.2;
    font-weight:600;
}

#bo_v_file a,
#bo_v_link a {
    min-width:0;
    color:var(--board-text);
    word-break:break-all;
}

#bo_v_file a:hover,
#bo_v_link a:hover {
    color:var(--board-primary);
}

#bo_v_file li > br,
#bo_v_link li > br {
    display:none;
}

#bo_v_file .bo_v_file_cnt,
#bo_v_link .bo_v_link_cnt {
    grid-column:2;
    color:var(--board-sub);
    line-height:1.4;
}

.bo_v_nb {
    margin:28px 0;
    padding:0;
    border-top:1px solid var(--board-line-dark);
    border-bottom:1px solid var(--board-line-dark);
    list-style:none;
}

.bo_v_nb li {
    display:grid;
    grid-template-columns:82px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    padding:13px 4px;
    border-bottom:1px solid var(--board-line);
}

.bo_v_nb li:last-child {
    border-bottom:0;
}

.bo_v_nb li:hover {
    background:#fbfcfd;
}

.bo_v_nb .nb_tit,
.bo_v_nb .nb_date {
    color:var(--board-sub);
}

.bo_v_nb a {
    min-width:0;
    overflow:hidden;
    color:var(--board-text);
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* SNS skin compatibility */
#bo_v_sns {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    float:none;
    margin:0;
    padding:0;
    list-style:none;
}

#bo_v_sns li {
    float:none;
    width:auto;
    margin:0;
}

#bo_v_sns li a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:0 12px;
    border-radius:7px;
    color:#fff;
}

#bo_v_sns li img {
    margin-right:5px;
    vertical-align:middle;
}

#bo_v_sns .sns_f {background:#3b5997}
#bo_v_sns .sns_t {background:#09aeee}
#bo_v_sns .sns_g {background:#ea4026}
#bo_v_sns .sns_k {background:#fbe300;color:#222}

/* ------------------------------
   comments compatibility
------------------------------ */
.cmt_btn {
    width:100%;
    margin:34px 0 0;
    padding:0 0 14px;
    border:0;
    border-bottom:1px solid var(--board-line-dark);
    background:#fff;
    color:var(--board-text);
    text-align:left;
    font-weight:650;
    cursor:pointer;
}

.cmt_btn span.total {
    color:var(--board-primary);
}

.cmt_btn span.cmt_more {
    float:right;
    width:15px;
    height:10px;
    margin-top:5px;
    background:url(./img/btn_cmt.png) no-repeat right 2px;
}

.cmt_btn_op span.cmt_more {
    background-position:right -8px;
}

#bo_vc article {
    position:relative;
    margin:0;
    padding:20px 0;
    border-bottom:1px solid var(--board-line);
}

#bo_vc article:after,
.bo_vc_w:after,
.bo_vc_w_info:after {
    display:block;
    visibility:hidden;
    clear:both;
    content:"";
}

#bo_vc article .pf_img {
    float:left;
    margin-right:10px;
}

#bo_vc article .pf_img img {
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
}

#bo_vc article .cm_wrap {
    float:left;
    width:calc(100% - 54px);
}

#bo_vc header {
    position:relative;
}

#bo_vc .member,
#bo_vc .guest,
#bo_vc .sv_member,
#bo_vc .sv_guest {
    font-weight:650;
}

.bo_vc_hdinfo {
    color:var(--board-sub);
}

#bo_vc .cmt_contents {
    padding:8px 0 0;
    line-height:1.7;
}

#bo_vc_empty {
    padding:50px 0 !important;
    color:var(--board-sub);
    text-align:center;
}

#bo_vc .bo_vl_opt {
    position:absolute;
    top:0;
    right:0;
}

.bo_vc_act {
    display:none;
    position:absolute;
    top:38px;
    right:0;
    z-index:9999;
    min-width:74px;
    margin:0;
    padding:5px;
    border:1px solid var(--board-line);
    border-radius:8px;
    background:#fff;
    box-shadow:0 10px 25px rgba(16,24,40,.10);
    list-style:none;
}

.bo_vc_act li a {
    display:block;
    padding:8px 10px;
    border-radius:5px;
    color:var(--board-text);
}

.bo_vc_act li a:hover {
    background:var(--board-bg);
    color:var(--board-primary);
}

.bo_vc_w {
    position:relative;
    margin:20px 0;
}

.bo_vc_w textarea {
    width:100%;
    height:130px;
    padding:12px;
    resize:vertical;
}

.bo_vc_w_info {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:10px 0;
    float:none;
}

.bo_vc_w_info .frm_input {
    min-height:42px;
    padding:0 10px;
    float:none;
}

.bo_vc_w_info #captcha {
    flex-basis:100%;
    padding-top:5px;
}

.bo_vc_w .btn_confirm {
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:8px;
    clear:both;
    margin-top:10px;
}

.bo_vc_w .btn_submit {
    min-height:42px;
    padding:0 18px;
}

.secret_cm {
    display:inline-flex;
    align-items:center;
    margin-right:auto;
}

#bo_vc_send_sns,
#bo_vc_sns {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
    float:none;
    margin:0;
    padding:0;
    list-style:none;
}

#bo_vc_sns li {
    margin:0;
}


/* ------------------------------
   simple list / direct actions
------------------------------ */
.bo_list_head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin:0 0 18px;
}

.bo_list_head #bo_list_total {
    flex:0 0 auto;
    margin:0;
    color:var(--board-sub);
}

.bo_list_head #bo_list_total strong {
    color:var(--board-primary);
    font-weight:700;
}

.bo_search_inline {
    margin-left:auto;
}

.bo_search_inline form {
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
}

.bo_search_inline select,
.bo_search_inline .sch_input,
.bo_search_inline .sch_btn {
    min-height:46px;
    border:1px solid var(--board-line-dark);
    border-radius:9px;
    background:#fff;
    font:inherit;
    outline:none;
}

.bo_search_inline select {
    width:100px;
    padding:0 30px 0 12px;
    color:var(--board-text);
}

.bo_search_inline .sch_bar {
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
}

.bo_search_inline .sch_input {
    width:270px;
    padding:0 14px;
    color:var(--board-text);
}

.bo_search_inline .sch_input::placeholder {
    color:#9ca4af;
}

.bo_search_inline select:focus,
.bo_search_inline .sch_input:focus {
    border-color:var(--board-primary);
    box-shadow:0 0 0 3px rgba(24,63,122,.07);
}

.bo_search_inline .sch_btn {
    min-width:70px;
    padding:0 16px;
    border-color:var(--board-primary);
    background:#fff;
    color:var(--board-primary);
    font-weight:600;
    cursor:pointer;
    transition:.18s ease;
}

.bo_search_inline .sch_btn:hover,
.bo_search_inline .sch_btn:focus {
    background:var(--board-primary);
    color:#fff;
}

#bo_list .tbl_wrap {
    border-top:2px solid var(--board-primary);
    border-bottom:1px solid var(--board-line-dark);
}

#bo_list thead th {
    background:#f6f8fa;
    color:var(--board-text);
}

#bo_list tbody td {
    background:#fff;
}

#bo_list tbody tr:hover td {
    background:#fafbfd;
}

#bo_list .empty_table {
    height:178px;
    padding:40px 15px !important;
    color:#7c838d;
}

.bo_list_actions {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin:24px 0 0;
}

.bo_action_group {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:7px;
}

.bo_action_btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 16px;
    border:1px solid var(--board-line-dark);
    border-radius:8px;
    background:#fff;
    color:var(--board-text);
    font:inherit;
    font-weight:500;
    line-height:1;
    cursor:pointer;
    transition:.18s ease;
}

.bo_action_btn:hover,
.bo_action_btn:focus {
    border-color:var(--board-primary);
    background:var(--board-primary-soft);
    color:var(--board-primary);
}

.bo_action_primary {
    border-color:var(--board-primary);
    color:var(--board-primary);
    font-weight:600;
}

.bo_action_delete {
    color:var(--board-danger);
}

#bo_v_top .btn_bo_user {
    width:100%;
    justify-content:flex-end;
}

#bo_v_top .btn_bo_user .btn_delete {
    color:var(--board-danger);
}

#bo_v_top .btn_bo_user .btn_delete:hover,
#bo_v_top .btn_bo_user .btn_delete:focus {
    border-color:var(--board-danger);
    background:#fff7f7;
    color:var(--board-danger);
}

/* ------------------------------
   mobile
------------------------------ */
@media (max-width:768px) {
    .bo_list_head {
        align-items:stretch;
        flex-direction:column;
        gap:10px;
        margin-bottom:14px;
    }

    .bo_search_inline {
        width:100%;
        margin-left:0;
    }

    .bo_search_inline form {
        width:100%;
    }

    .bo_search_inline select {
        flex:0 0 92px;
        width:92px;
        min-height:42px;
        font-size:14px;
    }

    .bo_search_inline .sch_bar {
        flex:1 1 auto;
        min-width:0;
    }

    .bo_search_inline .sch_input {
        flex:1 1 auto;
        width:auto;
        min-width:0;
        min-height:42px;
        font-size:16px;
    }

    .bo_search_inline .sch_btn {
        min-width:64px;
        min-height:42px;
        padding:0 12px;
        font-size:14px;
    }

    .bo_list_actions {
        align-items:stretch;
        flex-direction:column;
        gap:10px;
        margin-top:18px;
    }

    .bo_action_group {
        width:100%;
    }

    .bo_action_right {
        justify-content:flex-end;
    }

    .bo_action_btn {
        min-height:38px;
        padding:0 12px;
        font-size:14px;
    }


    #bo_list,
    #bo_v,
    #bo_w {
        width:100% !important;
        font-size:14px;
    }

    .btn_bo_user .btn,
    .btn_bo_user button.btn,
    #bo_v_share .btn,
    #bo_w .btn,
    .bo_vc_w .btn_submit {
        min-height:38px;
        padding:0 12px;
        font-size:14px;
    }

    #bo_btn_top {
        align-items:flex-start;
        flex-direction:column;
    }

    #bo_list_total {
        width:100%;
        font-size:13px;
    }

    #bo_btn_top .btn_bo_user {
        width:100%;
        justify-content:flex-end;
    }

    #bo_cate {
        margin-bottom:18px;
        overflow-x:auto;
        scrollbar-width:none;
    }

    #bo_cate::-webkit-scrollbar {
        display:none;
    }

    #bo_cate ul {
        flex-wrap:nowrap;
        width:max-content;
        min-width:100%;
    }

    #bo_cate a {
        padding:8px 12px;
        font-size:13px;
        white-space:nowrap;
    }

    #bo_list th,
    #bo_list td {
        padding:13px 8px;
    }

    #bo_list .td_num2,
    #bo_list .td_name,
    #bo_list .td_num,
    #bo_list .td_good,
    #bo_list .td_nogood,
    #bo_list .td_datetime {
        display:none;
    }

    #bo_list .td_chk {
        display:table-cell;
        width:42px;
    }

    #bo_list .td_subject {
        display:table-cell;
        width:auto;
    }

    #bo_list .bo_tit {
        font-size:14px;
    }

    .bo_mobile_meta {
        display:flex;
        flex-wrap:wrap;
        gap:4px 10px;
        margin-top:6px;
        color:var(--board-sub);
        font-size:12px;
        font-weight:400;
    }

    .bo_cate_link {
        margin-right:5px;
        padding:2px 6px;
        font-size:12px;
    }

    #bo_list .cnt_cmt,
    #bo_list .new_icon,
    #bo_list .hot_icon {
        font-size:11px;
    }

    .pg_page,
    .pg_current {
        min-width:34px;
        height:34px;
        font-size:13px;
    }

    .bo_sch h3 {
        padding:16px 18px;
        font-size:16px;
    }

    .bo_sch form {
        padding:18px;
    }

    .bo_sch select,
    .bo_sch .sch_input,
    .bo_sch .sch_btn {
        font-size:16px;
    }

    #bo_w .bo_w_info {
        grid-template-columns:1fr;
    }

    #bo_w input.frm_input,
    #bo_w select,
    #bo_w textarea,
    #bo_w .frm_file {
        font-size:16px;
    }

    #bo_w .bo_w_tit #autosave_wrapper {
        display:block;
    }

    #bo_w .bo_w_tit #btn_autosave {
        width:100%;
        margin-top:8px;
        font-size:13px;
    }

    #bo_w .bo_w_link,
    #bo_w .bo_w_flie .file_wr {
        align-items:stretch;
        flex-direction:column;
        gap:7px;
    }

    #bo_w .bo_w_link label,
    #bo_w .bo_w_flie .lb_icon {
        font-size:13px;
        font-weight:600;
    }

    #bo_w .bo_w_flie {
        padding:12px;
    }

    #bo_w .btn_confirm {
        justify-content:stretch;
    }

    #bo_w .btn_confirm .btn {
        flex:1 1 0;
        min-width:0;
    }

    #bo_v_title {
        padding-bottom:18px;
    }

    #bo_v_title .bo_v_tit {
        font-size:20px;
    }

    #bo_v_title .bo_v_cate {
        font-size:12px;
    }

    #bo_v_info {
        align-items:stretch;
        flex-direction:column;
        gap:12px;
        padding:14px 0;
    }

    #bo_v_info .pf_img img {
        width:38px;
        height:38px;
    }

    #bo_v_info .profile_info_ct {
        gap:4px 10px;
        font-size:12px;
    }

    #bo_v_top,
    #bo_v_top .btn_bo_user {
        width:100%;
    }

    #bo_v_top .btn_bo_user {
        justify-content:flex-end;
    }

    #bo_v_share {
        padding-top:12px;
    }

    #bo_v_con {
        margin-top:14px;
        font-size:14px;
        line-height:1.75;
    }

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

    #bo_v_file .item_label,
    #bo_v_link .item_label,
    #bo_v_file .bo_v_file_cnt,
    #bo_v_link .bo_v_link_cnt {
        font-size:12px;
    }

    .bo_v_nb li {
        grid-template-columns:60px minmax(0,1fr);
        gap:8px;
        padding:12px 2px;
    }

    .bo_v_nb .nb_tit,
    .bo_v_nb a {
        font-size:13px;
    }

    .bo_v_nb .nb_date {
        display:none;
    }

    #bo_vc article .pf_img {
        display:none;
    }

    #bo_vc article .cm_wrap {
        width:100%;
        float:none;
    }

    .bo_vc_w_info {
        flex-direction:column;
    }

    .bo_vc_w_info .frm_input {
        width:100%;
        font-size:16px;
    }
}

@media (max-width:480px) {
    .bo_search_inline form {
        display:grid;
        grid-template-columns:88px minmax(0,1fr);
        gap:7px;
    }

    .bo_search_inline select {
        width:88px;
        min-width:0;
        font-size:13px;
    }

    .bo_search_inline .sch_bar {
        min-width:0;
    }

    .bo_search_inline .sch_btn {
        min-width:56px;
        padding:0 9px;
        font-size:13px;
    }

    .bo_action_group {
        gap:5px;
    }

    .bo_action_btn {
        min-height:36px;
        padding:0 10px;
        font-size:13px;
    }


    #bo_list,
    #bo_v,
    #bo_w {
        font-size:13px;
    }

    .btn_bo_user {
        gap:5px;
    }

    .btn_bo_user .btn,
    .btn_bo_user button.btn {
        min-height:36px;
        padding:0 10px;
        font-size:13px;
    }

    #bo_btn_top .btn_bo_user {
        justify-content:flex-start;
    }

    .more_opt {
        right:auto;
        left:0;
    }

    #bo_v_top .more_opt {
        right:0;
        left:auto;
    }

    #bo_v_file li,
    #bo_v_link li {
        grid-template-columns:1fr;
    }

    #bo_v_file .item_label,
    #bo_v_link .item_label {
        grid-row:auto;
        width:max-content;
    }

    #bo_v_file .bo_v_file_cnt,
    #bo_v_link .bo_v_link_cnt {
        grid-column:1;
    }

    #bo_w .bo_v_option {
        gap:10px 14px;
    }
}


/* ------------------------------
   write simple table layout v2
------------------------------ */
#bo_w.bo_w_simple {
    margin-bottom:30px;
}

#bo_w.bo_w_simple form {
    width:100%;
    max-width:100%;
}

#bo_w .bo_w_simple_form {
    border-top:2px solid var(--board-primary);
    border-bottom:1px solid var(--board-line);
}

#bo_w .bo_w_simple_form .write_div {
    margin:0;
}

#bo_w .bo_w_row {
    display:grid;
    grid-template-columns:170px minmax(0, 1fr);
    margin:0;
    border-bottom:1px solid var(--board-line);
}

#bo_w .bo_w_row:last-child {
    border-bottom:0;
}

#bo_w .bo_w_label {
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    min-height:68px;
    padding:20px 18px;
    background:#f6f8fb;
    color:var(--board-text);
    font-weight:600;
    line-height:1.5;
}

#bo_w .bo_w_label label,
#bo_w .bo_w_label span {
    color:inherit;
    font-weight:inherit;
}

#bo_w .required_mark {
    color:#f15b5b;
}

#bo_w .bo_w_field {
    min-width:0;
    padding:12px 16px;
    background:#fff;
}

#bo_w .bo_w_field > *:first-child {
    margin-top:0;
}

#bo_w .bo_w_field > *:last-child {
    margin-bottom:0;
}

#bo_w .bo_w_info {
    display:block;
}

#bo_w input.frm_input,
#bo_w select,
#bo_w textarea,
#bo_w .frm_file {
    width:100%;
    min-height:42px;
    border:1px solid var(--board-line-dark);
    border-radius:6px;
    background:#fff;
}

#bo_w input.frm_input,
#bo_w select {
    padding:0 14px;
}

#bo_w textarea {
    padding:14px;
}

#bo_w .bo_v_option {
    display:flex;
    flex-wrap:wrap;
    gap:10px 18px;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    list-style:none;
}

#bo_w .chk_box input[type="checkbox"] + label {
    color:var(--board-text);
    font-weight:500;
}

#bo_w .bo_w_subject_wrap {
    display:flex;
    align-items:center;
    gap:8px;
}

#bo_w .bo_w_subject_wrap .frm_input {
    flex:1 1 auto;
    min-width:0;
}

#bo_w .bo_w_subject_wrap #btn_autosave {
    position:static;
    flex:0 0 auto;
    min-height:42px;
    padding:0 12px;
    border:1px solid var(--board-line-dark);
    border-radius:6px;
    background:#fff;
    color:var(--board-sub);
    cursor:pointer;
}

#bo_w .wr_content {
    width:100%;
}

#bo_w .wr_content textarea {
    min-height:320px;
    line-height:1.6;
    resize:vertical;
}

#bo_w .wr_content.smarteditor2 iframe {
    background:#fff;
}

#bo_w .file_wr {
    margin:0;
}

#bo_w .bo_w_file_row .frm_input {
    margin-top:10px;
}

#bo_w .file_del {
    display:block;
    margin-top:10px;
    color:var(--board-sub);
}

#bo_w .bo_w_captcha_field {
    overflow:hidden;
}

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

#bo_w .btn_confirm .btn {
    min-width:110px;
}

@media (max-width: 768px) {
    #bo_w .bo_w_row {
        grid-template-columns:1fr;
    }

    #bo_w .bo_w_label {
        min-height:auto;
        padding:12px 14px;
        font-size:14px;
    }

    #bo_w .bo_w_field {
        padding:12px 14px;
    }

    #bo_w input.frm_input,
    #bo_w select,
    #bo_w textarea,
    #bo_w .frm_file {
        font-size:16px;
    }

    #bo_w .bo_w_subject_wrap {
        display:block;
    }

    #bo_w .bo_w_subject_wrap #btn_autosave {
        width:100%;
        margin-top:8px;
        font-size:13px;
    }

    #bo_w .bo_v_option {
        gap:8px 14px;
    }

    #bo_w .btn_confirm {
        justify-content:stretch;
    }

    #bo_w .btn_confirm .btn {
        flex:1 1 0;
        min-width:0;
        font-size:14px;
    }
}

/* ==========================================================
   SIMPLE GALLERY LIST
   - desktop font-size is inherited from the site
   - mobile font-size is declared only in media queries
========================================================== */
#bo_gall.bo_gallery_simple {
    position:relative;
    max-width:100%;
    margin-bottom:30px;
    color:var(--board-text);
    box-sizing:border-box;
}

#bo_gall.bo_gallery_simple * {
    box-sizing:border-box;
}

#bo_gall.bo_gallery_simple a {
    text-decoration:none;
}

#bo_gall.bo_gallery_simple button,
#bo_gall.bo_gallery_simple input,
#bo_gall.bo_gallery_simple select {
    font:inherit;
}

#bo_gall .bo_list_head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}

#bo_gall #bo_list_total {
    flex:0 0 auto;
    color:var(--board-sub);
}

#bo_gall #bo_list_total strong {
    color:var(--board-primary);
    font-weight:700;
}

#bo_gall .bo_search_inline {
    margin-left:auto;
}

#bo_gall .bo_search_inline form {
    display:flex;
    align-items:stretch;
    gap:8px;
}

#bo_gall .bo_search_inline select,
#bo_gall .bo_search_inline .sch_input,
#bo_gall .bo_search_inline .sch_btn {
    min-height:44px;
    border:1px solid var(--board-line-dark);
    border-radius:8px;
    background:#fff;
    color:var(--board-text);
    outline:none;
}

#bo_gall .bo_search_inline select {
    min-width:110px;
    padding:0 34px 0 12px;
}

#bo_gall .bo_search_inline .sch_bar {
    display:flex;
    align-items:stretch;
    min-width:300px;
}

#bo_gall .bo_search_inline .sch_input {
    flex:1 1 auto;
    min-width:0;
    padding:0 12px;
    border-radius:8px 0 0 8px;
}

#bo_gall .bo_search_inline .sch_btn {
    flex:0 0 auto;
    padding:0 16px;
    border-left:0;
    border-radius:0 8px 8px 0;
    color:var(--board-primary);
    font-weight:600;
    cursor:pointer;
}

#bo_gall .bo_search_inline select:focus,
#bo_gall .bo_search_inline .sch_input:focus {
    border-color:var(--board-primary);
    box-shadow:0 0 0 3px rgba(24,63,122,.08);
}

#bo_gall .gall_select_all {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    min-height:48px;
    padding:0 4px;
    border-top:2px solid var(--board-primary);
    border-bottom:1px solid var(--board-line);
}

#bo_gall .gall_simple_grid {
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:28px 20px;
    margin:0;
    padding:24px 0 0;
    list-style:none;
    border-top:2px solid var(--board-primary);
}

#bo_gall .gall_select_all + .gall_simple_grid {
    border-top:0;
}
#bo_gall .gall_cols_1 { grid-template-columns:1fr; }
#bo_gall .gall_cols_2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
#bo_gall .gall_cols_3 { grid-template-columns:repeat(3, minmax(0, 1fr)); }
#bo_gall .gall_cols_4 { grid-template-columns:repeat(4, minmax(0, 1fr)); }
#bo_gall .gall_cols_5 { grid-template-columns:repeat(5, minmax(0, 1fr)); }
#bo_gall .gall_cols_6 { grid-template-columns:repeat(6, minmax(0, 1fr)); }


#bo_gall .gall_li {
    position:relative;
    min-width:0;
    margin:0;
    padding:0;
}

#bo_gall .gall_card {
    position:relative;
    height:100%;
    border:1px solid var(--board-line);
    border-radius:10px;
    background:#fff;
    overflow:hidden;
    transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

#bo_gall .gall_card:hover {
    border-color:#c8d2df;
    transform:translateY(-2px);
    box-shadow:0 10px 26px rgba(24,39,62,.06);
}

#bo_gall .gall_now .gall_card {
    border-color:var(--board-primary);
}

#bo_gall .gall_chk {
    position:absolute;
    top:10px;
    left:10px;
    z-index:3;
    min-width:24px;
    min-height:24px;
    padding:3px;
    border-radius:6px;
    background:rgba(255,255,255,.92);
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

#bo_gall .gall_thumb {
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:4 / 3;
    overflow:hidden;
    background:#f3f5f7;
}

#bo_gall .gall_thumb img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .28s ease;
}

#bo_gall .gall_card:hover .gall_thumb img {
    transform:scale(1.025);
}

#bo_gall .no_image,
#bo_gall .gall_notice_thumb {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    color:#9aa2ad;
    font-weight:600;
    letter-spacing:.04em;
}

#bo_gall .gall_notice_thumb {
    background:var(--board-primary-soft);
    color:var(--board-primary);
}

#bo_gall .gall_body {
    padding:16px 16px 15px;
}

#bo_gall .bo_cate_link {
    display:inline-flex;
    align-items:center;
    min-height:24px;
    margin-bottom:9px;
    padding:3px 8px;
    border-radius:5px;
    background:var(--board-primary-soft);
    color:var(--board-primary);
    font-weight:500;
}

#bo_gall .gall_title {
    display:block;
    min-width:0;
    color:var(--board-text);
    font-weight:650;
    line-height:1.45;
    word-break:keep-all;
    overflow-wrap:anywhere;
}

#bo_gall .gall_title:hover {
    color:var(--board-primary);
}

#bo_gall .gall_title .new_icon,
#bo_gall .cnt_cmt {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-left:5px;
    color:var(--board-primary);
    font-weight:700;
}

#bo_gall .gall_summary {
    display:-webkit-box;
    margin:9px 0 0;
    color:var(--board-sub);
    line-height:1.55;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

#bo_gall .gall_meta {
    display:flex;
    flex-wrap:wrap;
    gap:5px 12px;
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid var(--board-line);
    color:var(--board-sub);
    line-height:1.4;
}

#bo_gall .gall_meta span {
    position:relative;
}

#bo_gall .gall_meta span + span:before {
    content:"";
    position:absolute;
    left:-7px;
    top:50%;
    width:2px;
    height:2px;
    border-radius:50%;
    background:#aab1ba;
    transform:translateY(-50%);
}

#bo_gall .empty_list {
    grid-column:1 / -1;
    padding:90px 20px;
    border-bottom:1px solid var(--board-line);
    color:var(--board-sub);
    text-align:center;
}

#bo_gall .bo_list_actions {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid var(--board-line);
}

#bo_gall .bo_action_group {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
}

#bo_gall .bo_action_btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 14px;
    border:1px solid var(--board-line-dark);
    border-radius:8px;
    background:#fff;
    color:var(--board-text);
    font-weight:500;
    line-height:1;
    cursor:pointer;
}

#bo_gall .bo_action_btn:hover,
#bo_gall .bo_action_btn:focus {
    border-color:var(--board-primary);
    color:var(--board-primary);
    background:var(--board-primary-soft);
}

#bo_gall .bo_action_primary {
    border-color:var(--board-primary);
    background:var(--board-primary);
    color:#fff;
}

#bo_gall .bo_action_primary:hover,
#bo_gall .bo_action_primary:focus {
    background:#123463;
    color:#fff;
}

#bo_gall .bo_action_delete:hover,
#bo_gall .bo_action_delete:focus {
    border-color:var(--board-danger);
    color:var(--board-danger);
    background:#fff8f8;
}

@media (max-width: 1200px) {
    #bo_gall .gall_simple_grid {
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }

    #bo_gall .gall_cols_1 { grid-template-columns:1fr; }
    #bo_gall .gall_cols_2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    #bo_gall .bo_list_head {
        align-items:stretch;
        flex-direction:column;
        gap:12px;
    }

    #bo_gall .bo_search_inline {
        width:100%;
        margin-left:0;
    }

    #bo_gall .bo_search_inline form {
        width:100%;
    }

    #bo_gall .bo_search_inline .sch_bar {
        flex:1 1 auto;
        min-width:0;
    }

    #bo_gall .gall_simple_grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    #bo_gall.bo_gallery_simple {
        font-size:13px;
    }

    #bo_gall .bo_search_inline select,
    #bo_gall .bo_search_inline .sch_input,
    #bo_gall .bo_search_inline .sch_btn {
        font-size:16px;
    }

    #bo_gall .bo_search_inline select {
        min-width:96px;
    }

    #bo_gall .gall_simple_grid {
        gap:18px 12px;
        padding-top:18px;
    }

    #bo_gall .gall_body {
        padding:13px;
    }

    #bo_gall .gall_title {
        font-size:14px;
    }

    #bo_gall .gall_summary,
    #bo_gall .gall_meta,
    #bo_gall .bo_cate_link {
        font-size:12px;
    }

    #bo_gall .bo_list_actions {
        align-items:stretch;
        flex-direction:column;
    }

    #bo_gall .bo_action_group {
        width:100%;
    }

    #bo_gall .bo_action_btn {
        min-height:38px;
        padding:0 11px;
        font-size:13px;
    }

    #bo_gall .bo_action_right {
        justify-content:flex-end;
    }
}

@media (max-width: 520px) {
    #bo_gall .bo_search_inline form {
        flex-direction:column;
    }

    #bo_gall .bo_search_inline select,
    #bo_gall .bo_search_inline .sch_bar {
        width:100%;
    }

    #bo_gall .gall_simple_grid {
        grid-template-columns:1fr;
    }

    #bo_gall .gall_thumb {
        aspect-ratio:16 / 10;
    }
}

/* simple comment actions */
#bo_v .cmt_btn {
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    margin:24px 0 0;
    padding:14px 0;
    border:0;
    border-top:1px solid var(--board-line);
    border-bottom:1px solid var(--board-line);
    background:#fff;
    color:var(--board-text);
    font:inherit;
    text-align:left;
    cursor:pointer;
}

#bo_v .cmt_btn .total b {
    font-weight:650;
}

#bo_v .cmt_toggle_text {
    color:var(--board-sub);
    font-weight:500;
}

#bo_v .bo_vl_opt_simple {
    position:static;
    margin-left:auto;
}

#bo_v .bo_vc_act_simple {
    position:static;
    display:flex !important;
    align-items:center;
    gap:5px;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
    list-style:none;
}

#bo_v .bo_vc_act_simple li {
    margin:0;
    padding:0;
    border:0;
}

#bo_v .bo_vc_act_simple a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 10px;
    border:1px solid var(--board-line-dark);
    border-radius:7px;
    background:#fff;
    color:var(--board-sub);
    line-height:1;
}

#bo_v .bo_vc_act_simple a:hover,
#bo_v .bo_vc_act_simple a:focus {
    border-color:var(--board-primary);
    color:var(--board-primary);
    background:var(--board-primary-soft);
}

@media (max-width:768px) {
    #bo_v .cmt_btn,
    #bo_v .bo_vc_act_simple a {
        font-size:13px;
    }
}

#bo_v #bo_vc {
    display:none;
}
