/* ============================================================
   법도 유류분소송센터 — GnuBoard basic skin premium overrides
   Loaded after the core/basic skin styles.
   ============================================================ */

.yb-board-shell{
  position:relative;clear:both;width:100%;overflow:hidden;
  color:var(--ink,#182335);background-color:var(--paper,#f7f4ee);
  background-image:
    radial-gradient(circle at 8% 8%,rgba(184,146,63,.09),transparent 24%),
    radial-gradient(circle at 94% 82%,rgba(13,33,60,.07),transparent 27%);
}
.yb-board-shell::after{content:"";display:block;clear:both}
.yb-board-shell #aside{display:none!important}
.yb-board-shell #container{
  float:none!important;width:100%!important;max-width:1240px!important;min-height:420px;
  margin:0 auto!important;padding:88px 28px 118px!important;background:transparent!important;
}
.yb-board-shell #container_title{display:none!important}
.yb-board-shell a{transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.yb-board-shell img{max-width:100%;height:auto}
.yb-board-shell table{width:100%;border-collapse:separate;border-spacing:0}
.yb-board-shell .sound_only,.yb-board-shell legend{
  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;white-space:nowrap!important;border:0!important;
}

/* ---------- shared board surface ---------- */
#bo_list,#bo_gall,#bo_v,#bo_w,#bo_vc,#bo_sch{
  color:var(--ink,#182335);font-family:'Pretendard Variable',Pretendard,'Malgun Gothic',sans-serif;
}
#bo_list,#bo_gall,#bo_v,#bo_w{width:100%!important;margin:0!important}
#bo_list::after,#bo_gall::after,#bo_v::after,#bo_w::after{content:"";display:block;clear:both}
.yb-board-shell .tbl_wrap{overflow:hidden;border:1px solid rgba(13,33,60,.105);border-radius:18px;background:#fff;box-shadow:0 20px 56px rgba(6,20,38,.09)}
.yb-board-shell .empty_table,.yb-board-shell .empty_list{padding:90px 20px!important;color:#728095!important;text-align:center!important;background:#fff!important;font-size:15px!important}

/* ---------- controls and buttons ---------- */
.yb-board-shell .btn,.yb-board-shell a.btn,.yb-board-shell button.btn,
.yb-board-shell .btn_b01,.yb-board-shell .btn_b02,.yb-board-shell .btn_b03,
.yb-board-shell .btn_submit,.yb-board-shell .btn_cancel,.yb-board-shell .btn_admin{
  display:inline-flex!important;align-items:center;justify-content:center;min-height:44px!important;
  padding:10px 18px!important;border-radius:9px!important;border:1px solid transparent!important;
  box-shadow:none!important;font-size:13.5px!important;font-weight:750!important;line-height:1.2!important;
  text-decoration:none!important;cursor:pointer!important;transition:.2s ease!important;
}
.yb-board-shell .btn_b01,.yb-board-shell .btn_cancel{
  color:#3e4c60!important;background:#fff!important;border-color:#cfd6df!important;
}
.yb-board-shell .btn_b01:hover,.yb-board-shell .btn_cancel:hover{
  color:var(--navy,#0d213c)!important;background:#f7f8fa!important;border-color:#9faab8!important;
}
.yb-board-shell .btn_b02,.yb-board-shell .btn_submit{
  color:#fff!important;background:linear-gradient(135deg,var(--gold-700,#8e6c27),var(--gold-2,#d2ad5c))!important;
  border-color:rgba(142,108,39,.24)!important;box-shadow:0 10px 24px rgba(142,108,39,.20)!important;
}
.yb-board-shell .btn_b02:hover,.yb-board-shell .btn_submit:hover{
  color:#fff!important;transform:translateY(-2px)!important;box-shadow:0 14px 31px rgba(142,108,39,.29)!important;
}
.yb-board-shell .btn_b03,.yb-board-shell .btn_admin{
  color:#fff!important;background:var(--navy,#0d213c)!important;border-color:var(--navy,#0d213c)!important;
}
.yb-board-shell .btn_b03:hover,.yb-board-shell .btn_admin:hover{background:var(--navy-2,#153654)!important;transform:translateY(-1px)!important}
.yb-board-shell .btn_bo_user,.yb-board-shell .btn_bo_adm{display:flex!important;align-items:center;gap:7px;flex-wrap:wrap;margin:0!important;padding:0!important}
.yb-board-shell .btn_bo_user li,.yb-board-shell .btn_bo_adm li{float:none!important;margin:0!important}
.yb-board-shell .bo_fx{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0 0!important;padding:0!important}
.yb-board-shell .bo_fx::after{display:none!important}

/* ---------- list toolbar ---------- */
#bo_list #bo_btn_top,#bo_gall #bo_btn_top{
  display:flex!important;align-items:center;justify-content:space-between;gap:18px;
  min-height:48px;margin:0 0 18px!important;padding:0!important;
}
#bo_list #bo_list_total,#bo_gall #bo_list_total{
  float:none!important;position:static!important;margin:0!important;padding:0!important;
  color:#68758a!important;font-size:13.5px!important;line-height:1.4!important;
}
#bo_list #bo_list_total span,#bo_gall #bo_list_total span{color:var(--gold-700,#8e6c27);font-weight:800}
#bo_list #bo_list_total::before,#bo_gall #bo_list_total::before{
  content:"";display:inline-block;width:7px;height:7px;margin-right:8px;transform:translateY(-1px) rotate(45deg);background:var(--gold,#b8923f);
}

/* ---------- board list table ---------- */
#bo_list .tbl_head01{overflow:hidden!important;border-radius:18px!important}
#bo_list .tbl_head01 table{border:0!important;background:#fff!important}
#bo_list .tbl_head01 thead th{
  height:auto!important;padding:18px 13px!important;color:#fff!important;
  background:linear-gradient(110deg,var(--navy-950,#061426),var(--navy-2,#153654))!important;
  border:0!important;border-right:1px solid rgba(255,255,255,.08)!important;
  font-size:13px!important;font-weight:750!important;letter-spacing:.01em!important;line-height:1.35!important;
}
#bo_list .tbl_head01 thead th:last-child{border-right:0!important}
#bo_list .tbl_head01 tbody tr{background:#fff!important;transition:background .18s ease!important}
#bo_list .tbl_head01 tbody tr:nth-child(even){background:#fcfbf8!important}
#bo_list .tbl_head01 tbody tr:hover{background:#f9f5eb!important}
#bo_list .tbl_head01 tbody td{
  height:auto!important;padding:20px 13px!important;color:#5e697b!important;background:transparent!important;
  border:0!important;border-bottom:1px solid #e7eaf0!important;font-size:13.5px!important;line-height:1.55!important;
}
#bo_list .tbl_head01 tbody tr:last-child td{border-bottom:0!important}
#bo_list .td_chk{width:46px!important;text-align:center!important}
#bo_list .td_num,#bo_list .td_num2{width:62px!important;color:#8893a2!important;text-align:center!important}
#bo_list .td_name,#bo_list .td_nick,#bo_list .td_mb_id{width:110px!important;text-align:center!important}
#bo_list .td_date,#bo_list .td_datetime{width:105px!important;color:#7c8797!important;text-align:center!important;white-space:nowrap!important}
#bo_list .td_hit,#bo_list .td_good,#bo_list .td_nogood{width:68px!important;text-align:center!important}
#bo_list .td_subject{padding-left:20px!important;text-align:left!important}
#bo_list .td_subject a,#bo_list .bo_tit{
  color:#19283d!important;font-size:15.5px!important;font-weight:700!important;line-height:1.55!important;word-break:keep-all!important;
}
#bo_list .td_subject a:hover,#bo_list .bo_tit:hover{color:var(--gold-700,#8e6c27)!important}
#bo_list .bo_notice{
  display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;height:25px!important;
  margin-right:8px!important;padding:3px 9px!important;color:var(--gold-pale,#f1dfb4)!important;
  background:var(--navy,#0d213c)!important;border-radius:999px!important;font-size:10.5px!important;font-weight:800!important;
}
#bo_list tr.bo_notice,#bo_list tr.bo_notice td{background:#fbf7ed!important}
#bo_list .bo_tit .fa-lock,#bo_list .bo_tit .fa-download,#bo_list .bo_tit .fa-link{color:var(--gold-700,#8e6c27)!important}
#bo_list .bo_cate_link{
  display:inline-flex!important;margin-right:8px!important;padding:3px 8px!important;color:var(--gold-700,#8e6c27)!important;
  background:#f8f0df!important;border:1px solid #ead8af!important;border-radius:6px!important;font-size:10.5px!important;font-weight:750!important;
}
#bo_list .cnt_cmt{color:var(--gold-700,#8e6c27)!important;font-size:11px!important;font-weight:800!important}
#bo_list .sv_member,#bo_list .sv_guest{color:#59667a!important}
#bo_list .icon_new,#bo_list .icon_hot,#bo_list .icon_file,#bo_list .icon_link{display:inline-block!important;width:auto!important;max-height:15px!important;margin-left:4px!important;vertical-align:-2px!important}

/* ---------- category navigation ---------- */
#bo_cate{margin:0 0 24px!important;padding:0!important}
#bo_cate ul{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:0!important;padding:0!important}
#bo_cate li{float:none!important;margin:0!important}
#bo_cate a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;
  padding:8px 15px!important;color:#586579!important;background:#fff!important;
  border:1px solid #d9dee6!important;border-radius:999px!important;font-size:12.5px!important;font-weight:700!important;
}
#bo_cate a:hover,#bo_cate #bo_cate_on{
  color:#fff!important;background:var(--navy,#0d213c)!important;border-color:var(--navy,#0d213c)!important;
  box-shadow:0 8px 19px rgba(6,20,38,.13)!important;
}
#bo_cate #bo_cate_on::after{display:none!important}

/* ---------- gallery skin ---------- */
#bo_gall .gall_row{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px!important;
  margin:0!important;padding:0!important;
}
#bo_gall .gall_li{
  float:none!important;width:auto!important;margin:0!important;padding:0!important;
  list-style:none!important;background:#fff!important;border:1px solid rgba(13,33,60,.10)!important;
  border-radius:18px!important;box-shadow:0 16px 42px rgba(6,20,38,.08)!important;overflow:hidden!important;
  transition:transform .23s ease,box-shadow .23s ease,border-color .23s ease!important;
}
#bo_gall .gall_li:hover{transform:translateY(-6px)!important;border-color:rgba(184,146,63,.35)!important;box-shadow:0 24px 58px rgba(6,20,38,.13)!important}
#bo_gall .gall_box,#bo_gall .gall_con{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#bo_gall .gall_chk{position:absolute!important;z-index:4!important;margin:12px!important}
#bo_gall .gall_href{display:block!important;overflow:hidden!important;aspect-ratio:16/10!important;background:#e9edf2!important}
#bo_gall .gall_href img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .65s ease!important}
#bo_gall .gall_li:hover .gall_href img{transform:scale(1.035)!important}
#bo_gall .gall_text_href{display:block!important;padding:20px 21px 8px!important;color:#1a293e!important;font-size:16px!important;font-weight:750!important;line-height:1.55!important;word-break:keep-all!important}
#bo_gall .gall_text_href:hover{color:var(--gold-700,#8e6c27)!important}
#bo_gall .gall_info{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;padding:7px 21px 20px!important;color:#7a8697!important;font-size:12px!important}
#bo_gall .gall_date{margin-left:auto!important}
#bo_gall .gall_content{padding:0 21px 20px!important;color:#657186!important;font-size:13px!important;line-height:1.7!important}

/* ---------- pagination ---------- */
.yb-board-shell .pg_wrap{display:block!important;clear:both!important;margin:34px 0 0!important;text-align:center!important}
.yb-board-shell .pg{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}
.yb-board-shell .pg_page,.yb-board-shell .pg_current{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;
  margin:0!important;padding:0!important;color:#566378!important;background:#fff!important;border:1px solid #dce1e8!important;
  border-radius:9px!important;box-shadow:none!important;font-size:12.5px!important;font-weight:700!important;line-height:1!important;
}
.yb-board-shell .pg_page:hover{color:var(--gold-700,#8e6c27)!important;border-color:rgba(184,146,63,.55)!important;background:#fcf8ef!important}
.yb-board-shell .pg_current{color:#fff!important;background:var(--navy,#0d213c)!important;border-color:var(--navy,#0d213c)!important;box-shadow:0 8px 18px rgba(6,20,38,.16)!important}
.yb-board-shell .pg_start,.yb-board-shell .pg_prev,.yb-board-shell .pg_next,.yb-board-shell .pg_end{font-size:0!important}
.yb-board-shell .pg_start::after,.yb-board-shell .pg_prev::after,.yb-board-shell .pg_next::after,.yb-board-shell .pg_end::after{font-size:10.5px!important;line-height:1!important;color:#34445b!important;text-indent:0!important}
.yb-board-shell .pg_start::after{content:"처음"!important}
.yb-board-shell .pg_prev::after{content:"이전"!important}
.yb-board-shell .pg_next::after{content:"다음"!important}
.yb-board-shell .pg_end::after{content:"끝"!important}

/* ---------- board search ---------- */
#bo_sch{
  position:relative!important;display:flex!important;align-items:stretch!important;width:min(100%,620px)!important;
  height:auto!important;margin:35px auto 0!important;padding:9px!important;background:#fff!important;
  border:1px solid #d9dfe7!important;border-radius:14px!important;box-shadow:0 15px 38px rgba(6,20,38,.08)!important;
}
#bo_sch select{
  flex:0 0 128px!important;width:128px!important;height:44px!important;margin:0!important;padding:0 34px 0 13px!important;
  color:#435064!important;background-color:#f6f7f9!important;border:0!important;border-right:1px solid #dfe3e9!important;
  border-radius:9px 0 0 9px!important;font-size:13px!important;
}
#bo_sch .sch_input,#bo_sch input[type=text]{
  flex:1 1 auto!important;width:auto!important;min-width:0!important;height:44px!important;margin:0!important;padding:0 15px!important;
  color:#1e2d43!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:14px!important;
}
#bo_sch .sch_btn,#bo_sch button{
  flex:0 0 48px!important;width:48px!important;height:44px!important;margin:0!important;padding:0!important;
  color:#fff!important;background:var(--navy,#0d213c)!important;border:0!important;border-radius:9px!important;
  font-size:15px!important;cursor:pointer!important;transition:.18s ease!important;
}
#bo_sch .sch_btn:hover,#bo_sch button:hover{background:var(--gold-700,#8e6c27)!important}

/* ---------- view page ---------- */
#bo_v{
  overflow:hidden!important;background:#fff!important;border:1px solid rgba(13,33,60,.105)!important;
  border-radius:22px!important;box-shadow:0 24px 70px rgba(6,20,38,.11)!important;
}
#bo_v .bo_v_table{display:block!important;margin:0!important;padding:23px 34px!important;color:var(--gold-700,#8e6c27)!important;background:#faf7f0!important;border-bottom:1px solid #ebe3d3!important;font-size:12.5px!important;font-weight:800!important;letter-spacing:.04em!important}
#bo_v #bo_v_title{margin:0!important;padding:43px 44px 24px!important;background:#fff!important;border:0!important}
#bo_v #bo_v_title .bo_v_tit,#bo_v .bo_v_tit{
  display:block!important;color:var(--navy-950,#061426)!important;font-family:'Noto Serif KR',serif!important;
  font-size:clamp(30px,3.4vw,44px)!important;font-weight:700!important;line-height:1.42!important;letter-spacing:-.04em!important;
  word-break:keep-all!important;text-wrap:balance!important;
}
#bo_v #bo_v_info{
  display:flex!important;align-items:center!important;gap:13px!important;min-height:66px!important;margin:0!important;padding:0 44px 26px!important;
  color:#758195!important;background:#fff!important;border-bottom:1px solid #e9ecf1!important;font-size:12.5px!important;line-height:1.5!important;
}
#bo_v #bo_v_info::after{display:none!important}
#bo_v .profile_info{display:flex!important;align-items:center!important;gap:11px!important}
#bo_v .pf_img{width:42px!important;height:42px!important;margin:0!important;border-radius:50%!important;overflow:hidden!important;background:#eef1f5!important}
#bo_v .pf_img img{width:100%!important;height:100%!important;object-fit:cover!important}
#bo_v .profile_info_ct{color:#27364b!important;font-weight:750!important}
#bo_v .bo_v_com{display:inline-flex!important;align-items:center!important;gap:5px!important;color:#7a8697!important}
#bo_v #bo_v_atc{min-height:260px!important;margin:0!important;padding:0 44px 50px!important;background:#fff!important}
#bo_v #bo_v_img{width:100%!important;margin:34px 0!important}
#bo_v #bo_v_img img{max-width:100%!important;height:auto!important;margin:0 auto 18px!important;border-radius:14px!important}
#bo_v #bo_v_con{
  width:100%!important;min-height:250px!important;margin:0!important;padding:44px 0 28px!important;
  color:#2f3c4f!important;font-size:17px!important;line-height:1.95!important;word-break:normal!important;overflow-wrap:anywhere!important;
}
#bo_v #bo_v_con p{margin:0 0 18px!important}
#bo_v #bo_v_con img{max-width:100%!important;height:auto!important}
#bo_v #bo_v_file,#bo_v #bo_v_link{
  margin:0 44px!important;padding:18px 20px!important;background:#f8f8f6!important;border:1px solid #e4e7eb!important;border-radius:12px!important;
}
#bo_v #bo_v_file h2,#bo_v #bo_v_link h2{margin:0 0 9px!important;color:var(--navy,#0d213c)!important;font-size:13px!important}
#bo_v #bo_v_file ul,#bo_v #bo_v_link ul{margin:0!important;padding:0!important}
#bo_v #bo_v_file li,#bo_v #bo_v_link li{padding:8px 0!important;border:0!important;color:#5f6c7e!important;font-size:13px!important}
#bo_v #bo_v_file a,#bo_v #bo_v_link a{color:var(--gold-700,#8e6c27)!important;font-weight:700!important}
#bo_v #bo_v_act_good{display:flex!important;justify-content:center!important;gap:10px!important;margin:18px 0 42px!important}
#bo_v #bo_v_act_good a,#bo_v #bo_v_act_good button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:76px!important;min-height:42px!important;padding:8px 14px!important;color:#59667a!important;background:#fff!important;border:1px solid #d8dee6!important;border-radius:999px!important}
#bo_v #bo_v_share{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;margin:0 44px 24px!important}
#bo_v #bo_v_top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0!important;padding:25px 34px!important;background:#f8f9fa!important;border-top:1px solid #e6e9ee!important}
#bo_v #bo_v_top::after{display:none!important}
#bo_v .bo_v_left,#bo_v .bo_v_right{display:flex!important;gap:7px!important;float:none!important;margin:0!important}

/* previous / next article */
#bo_v .bo_v_nb{margin:28px 0 0!important;padding:0!important;background:#fff!important;border:1px solid rgba(13,33,60,.10)!important;border-radius:15px!important;box-shadow:0 13px 35px rgba(6,20,38,.07)!important;overflow:hidden!important}
#bo_v .bo_v_nb li{display:grid!important;grid-template-columns:105px minmax(0,1fr) auto!important;align-items:center!important;min-height:58px!important;margin:0!important;padding:0 20px!important;border:0!important;border-bottom:1px solid #e8ebef!important}
#bo_v .bo_v_nb li:last-child{border-bottom:0!important}
#bo_v .bo_v_nb .nb_tit{color:#68758a!important;font-size:12.5px!important;font-weight:700!important}
#bo_v .bo_v_nb a{min-width:0!important;color:#25344a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:14px!important}
#bo_v .bo_v_nb a:hover{color:var(--gold-700,#8e6c27)!important}
#bo_v .bo_v_nb .nb_date{color:#8993a2!important;font-size:12px!important;white-space:nowrap!important}

/* ---------- comments ---------- */
#bo_vc{margin:34px 0 0!important;padding:32px!important;background:#fff!important;border:1px solid rgba(13,33,60,.10)!important;border-radius:18px!important;box-shadow:0 15px 40px rgba(6,20,38,.07)!important}
#bo_vc h2{margin:0 0 20px!important;color:var(--navy-950,#061426)!important;font-family:'Noto Serif KR',serif!important;font-size:20px!important}
#bo_vc article{padding:24px 0!important;border:0!important;border-top:1px solid #e6e9ee!important}
#bo_vc article:first-of-type{border-top:0!important}
#bo_vc .cmt_contents{color:#3d4a5d!important;font-size:14.5px!important;line-height:1.8!important}
#bo_vc .cmt_btn{color:var(--gold-700,#8e6c27)!important;background:transparent!important;border:0!important;font-size:12px!important;font-weight:750!important}
#bo_vc_w{margin:22px 0 0!important;padding:26px!important;background:#f8f8f5!important;border:1px solid #e1e5ea!important;border-radius:15px!important}
#bo_vc_w textarea{width:100%!important;min-height:130px!important;padding:15px!important;color:#26354a!important;background:#fff!important;border:1px solid #ccd4de!important;border-radius:10px!important;resize:vertical!important}

/* ---------- write form ---------- */
#bo_w{
  padding:43px 44px 46px!important;background:#fff!important;border:1px solid rgba(13,33,60,.105)!important;
  border-radius:22px!important;box-shadow:0 24px 70px rgba(6,20,38,.11)!important;
}
#bo_w .write_div{position:relative!important;margin:0 0 17px!important;padding:0!important}
#bo_w .bo_w_info{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important}
#bo_w .bo_w_info::after{display:none!important}
#bo_w .bo_w_tit{margin-bottom:19px!important}
#bo_w .frm_input,#bo_w input[type=text],#bo_w input[type=password],#bo_w input[type=email],#bo_w input[type=tel],
#bo_w select,#bo_w textarea{
  width:100%!important;min-height:48px!important;margin:0!important;padding:11px 14px!important;
  color:#223147!important;background:#fff!important;border:1px solid #ccd4df!important;border-radius:9px!important;
  box-shadow:inset 0 1px 2px rgba(6,20,38,.025)!important;font-size:14px!important;line-height:1.5!important;
  transition:border-color .18s ease,box-shadow .18s ease!important;
}
#bo_w .frm_input:focus,#bo_w input:focus,#bo_w select:focus,#bo_w textarea:focus{
  border-color:var(--gold,#b8923f)!important;box-shadow:0 0 0 3px rgba(184,146,63,.13)!important;outline:0!important;
}
#bo_w .required{background-image:none!important}
#bo_w select{width:auto!important;min-width:150px!important;padding-right:36px!important}
#bo_w textarea{min-height:240px!important;resize:vertical!important}
#bo_w .bo_w_link,#bo_w .bo_w_flie,#bo_w .bo_w_file{padding:17px!important;background:#f8f8f5!important;border:1px solid #e1e5ea!important;border-radius:11px!important}
#bo_w input[type=file]{width:100%!important;padding:10px!important;color:#5f6b7d!important;background:#fff!important;border:1px dashed #c9d1dc!important;border-radius:8px!important}
#bo_w label{color:#445166!important;font-size:13.5px!important;font-weight:700!important}
#bo_w #wr_content,#bo_w .cke_sc,#bo_w .cke_chrome{max-width:100%!important}
#bo_w .cke_chrome{overflow:hidden!important;border:1px solid #ccd4df!important;border-radius:10px!important;box-shadow:none!important}
#bo_w .btn_confirm{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin:31px 0 0!important;padding:26px 0 0!important;border-top:1px solid #e6e9ee!important;text-align:center!important}
#bo_w .btn_confirm::after{display:none!important}
#bo_w .btn_confirm .btn{float:none!important;margin:0!important}

/* form helpers: captcha, autosave, privacy */
.yb-board-shell #captcha{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:14px 0!important;padding:15px!important;background:#f7f8fa!important;border:1px solid #e0e4e9!important;border-radius:11px!important}
.yb-board-shell #captcha img{border-radius:7px!important}
.yb-board-shell #captcha_key{width:135px!important;height:44px!important;border:1px solid #ccd4df!important;border-radius:8px!important}
.yb-board-shell #autosave_wrapper{max-width:100%!important}
.yb-board-shell .bo_w_agree,.yb-board-shell .privacy_box{padding:20px!important;color:#5c697b!important;background:#f8f8f5!important;border:1px solid #e1e5ea!important;border-radius:12px!important;font-size:13px!important;line-height:1.75!important}

/* ---------- common form controls outside #bo_w ---------- */
.yb-board-shell input[type=checkbox],.yb-board-shell input[type=radio]{accent-color:var(--gold-700,#8e6c27)}
.yb-board-shell .frm_input,.yb-board-shell .sch_input{
  color:#27364b;background:#fff;border:1px solid #cfd6df;border-radius:8px;
}

/* ---------- tablet ---------- */
@media (max-width:1180px){
  .yb-board-shell #container{padding:74px 24px 96px!important}
  #bo_gall .gall_row{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- mobile ---------- */
@media (max-width:760px){
  .yb-board-shell #container{min-height:360px;padding:58px 20px 78px!important}
  .yb-board-shell .tbl_wrap{border-radius:14px;box-shadow:0 13px 35px rgba(6,20,38,.075)}
  #bo_list #bo_btn_top,#bo_gall #bo_btn_top{align-items:flex-start;gap:12px;margin-bottom:14px!important}
  #bo_list #bo_list_total,#bo_gall #bo_list_total{padding-top:7px!important;font-size:12px!important}
  .yb-board-shell .btn,.yb-board-shell a.btn,.yb-board-shell button.btn,
  .yb-board-shell .btn_b01,.yb-board-shell .btn_b02,.yb-board-shell .btn_b03,
  .yb-board-shell .btn_submit,.yb-board-shell .btn_cancel,.yb-board-shell .btn_admin{
    min-height:41px!important;padding:9px 13px!important;font-size:12.5px!important;
  }
  #bo_list .tbl_head01{overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  #bo_list .tbl_head01 table,#bo_list .tbl_head01 tbody{display:block!important;width:100%!important;background:transparent!important}
  #bo_list .tbl_head01 thead{display:none!important}
  #bo_list .tbl_head01 tbody tr{
    position:relative!important;display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;
    width:100%!important;min-height:76px!important;margin-bottom:10px!important;padding:17px 17px!important;
    background:#fff!important;border:1px solid rgba(13,33,60,.10)!important;border-radius:13px!important;
    box-shadow:0 9px 25px rgba(6,20,38,.06)!important;
  }
  #bo_list .tbl_head01 tbody tr:nth-child(even),#bo_list .tbl_head01 tbody tr:hover{background:#fff!important}
  #bo_list .tbl_head01 tbody td{display:none!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important}
  #bo_list .tbl_head01 tbody td.empty_table,
  #bo_list .tbl_head01 tbody td.empty_list{
    display:flex!important;grid-column:1/-1!important;align-items:center!important;justify-content:center!important;
    min-height:102px!important;padding:28px 14px!important;color:#728095!important;text-align:center!important;font-size:14px!important;
  }
  #bo_list .tbl_head01 tbody .td_chk{display:block!important;grid-column:1!important;grid-row:1!important;width:auto!important;padding-top:3px!important;text-align:left!important}
  #bo_list .tbl_head01 tbody .td_num,#bo_list .tbl_head01 tbody .td_num2{display:block!important;grid-column:1!important;grid-row:1!important;width:auto!important;padding-top:2px!important;text-align:left!important;font-size:11.5px!important}
  #bo_list .tbl_head01 tbody .td_chk+.td_num,#bo_list .tbl_head01 tbody .td_chk+.td_num2{display:none!important}
  #bo_list .tbl_head01 tbody .td_subject{display:block!important;grid-column:2!important;grid-row:1!important;width:auto!important;text-align:left!important}
  #bo_list .td_subject a,#bo_list .bo_tit{font-size:14.5px!important;line-height:1.55!important;word-break:break-word!important}
  #bo_list .bo_notice{min-width:38px!important;height:22px!important;margin-right:5px!important;padding:2px 7px!important;font-size:9.5px!important}
  #bo_list .bo_cate_link{margin-right:5px!important;font-size:9.5px!important}
  #bo_cate{overflow:visible!important;margin:0 0 20px!important;padding:0!important}
  #bo_cate ul{width:100%!important;max-width:none!important;flex-wrap:wrap!important}
  #bo_cate a{min-height:35px!important;padding:7px 13px!important;font-size:11.5px!important}
  .yb-board-shell .bo_fx{align-items:flex-start;flex-direction:column;margin-top:18px!important}
  .yb-board-shell .bo_fx>*{max-width:100%}
  .yb-board-shell .pg_wrap{margin-top:25px!important;overflow-x:auto!important;padding-bottom:3px!important}
  .yb-board-shell .pg{gap:4px!important;min-width:max-content!important}
  .yb-board-shell .pg_page,.yb-board-shell .pg_current{width:34px!important;height:34px!important;border-radius:8px!important;font-size:11.5px!important}
  #bo_sch{width:100%!important;margin-top:26px!important;padding:7px!important;border-radius:12px!important}
  #bo_sch select{flex-basis:102px!important;width:102px!important;height:42px!important;padding-left:9px!important;font-size:11.5px!important}
  #bo_sch .sch_input,#bo_sch input[type=text]{height:42px!important;padding-inline:10px!important;font-size:13px!important}
  #bo_sch .sch_btn,#bo_sch button{flex-basis:43px!important;width:43px!important;height:42px!important}
  #bo_gall .gall_row{grid-template-columns:1fr;gap:16px!important}
  #bo_gall .gall_text_href{padding:17px 18px 7px!important;font-size:15px!important}
  #bo_gall .gall_info{padding:6px 18px 17px!important}
  #bo_v{border-radius:16px!important;box-shadow:0 16px 44px rgba(6,20,38,.09)!important}
  #bo_v .bo_v_table{padding:17px 20px!important;font-size:11.5px!important}
  #bo_v #bo_v_title{padding:29px 21px 17px!important}
  #bo_v #bo_v_title .bo_v_tit,#bo_v .bo_v_tit{font-size:clamp(26px,7.4vw,34px)!important;line-height:1.48!important;word-break:break-word!important}
  #bo_v #bo_v_info{align-items:flex-start!important;flex-wrap:wrap!important;gap:8px 11px!important;min-height:0!important;padding:0 21px 20px!important;font-size:11.5px!important}
  #bo_v .pf_img{width:36px!important;height:36px!important}
  #bo_v #bo_v_atc{min-height:210px!important;padding:0 21px 35px!important}
  #bo_v #bo_v_con{min-height:220px!important;padding:31px 0 20px!important;font-size:15.5px!important;line-height:1.9!important}
  #bo_v #bo_v_file,#bo_v #bo_v_link{margin:0 21px!important;padding:14px 16px!important}
  #bo_v #bo_v_share{margin:0 21px 19px!important}
  #bo_v #bo_v_top{align-items:flex-start!important;flex-direction:column!important;padding:19px 17px!important}
  #bo_v .bo_v_left,#bo_v .bo_v_right{width:100%!important;flex-wrap:wrap!important}
  #bo_v .bo_v_nb li{grid-template-columns:72px minmax(0,1fr)!important;min-height:54px!important;padding:0 15px!important}
  #bo_v .bo_v_nb .nb_date{display:none!important}
  #bo_vc{padding:23px 20px!important;border-radius:14px!important}
  #bo_vc_w{padding:19px 17px!important}
  #bo_w{padding:29px 21px 32px!important;border-radius:16px!important;box-shadow:0 16px 44px rgba(6,20,38,.09)!important}
  #bo_w .bo_w_info{grid-template-columns:1fr!important;gap:12px!important}
  #bo_w .frm_input,#bo_w input[type=text],#bo_w input[type=password],#bo_w input[type=email],#bo_w input[type=tel],#bo_w select,#bo_w textarea{font-size:13.5px!important}
  #bo_w select{width:100%!important}
  #bo_w .bo_w_link,#bo_w .bo_w_flie,#bo_w .bo_w_file{padding:14px!important}
  #bo_w .btn_confirm{align-items:stretch!important;flex-direction:column!important;gap:8px!important}
  #bo_w .btn_confirm .btn,#bo_w .btn_confirm a,#bo_w .btn_confirm button{width:100%!important}
}

@media (max-width:420px){
  .yb-board-shell #container{padding-inline:16px!important}
  #bo_list .tbl_head01 tbody tr{grid-template-columns:31px minmax(0,1fr)!important;padding:15px 13px!important}
  #bo_sch select{flex-basis:86px!important;width:86px!important}
  #bo_v #bo_v_title{padding-inline:18px!important}
  #bo_v #bo_v_info,#bo_v #bo_v_atc{padding-left:18px!important;padding-right:18px!important}
  #bo_w{padding-inline:17px!important}
}

@media (prefers-reduced-motion:reduce){
  .yb-board-shell *,#bo_gall .gall_li,#bo_gall .gall_href img{transition-duration:.01ms!important}
}
