@charset "utf-8";

:root {
  --primary-color: #a9784f;
  --primary-dark: #7e5436;
  --primary-soft: rgba(169, 120, 79, 0.12);
  --accent-color: #8a6041;
  --accent-hover: #6f4a31;
  --success-color: #328a55;
  --warning-color: #c98a2d;
  --danger-color: #d76f54;
  --bg-color: #f8f4ef;
  --bg-soft: #fbf6ef;
  --white-color: #fffdf9;
  --text-main: #3f2f24;
  --text-sub: #6f5a49;
  --text-muted: #9a8776;
  --border-color: #eadfd2;
  --shadow-xs: 0 2px 8px rgba(105, 74, 45, 0.05);
  --shadow-sm: 0 6px 18px rgba(105, 74, 45, 0.08);
  --shadow-md: 0 20px 40px rgba(105, 74, 45, 0.09);
  --shadow-lg: 0 24px 60px rgba(126, 84, 54, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.25s ease;
}

#bo_list,
#bo_v,
#bo_w,
#bo_vc,
#bo_vc_w,
.bo_sch,
.btn,
button,
a,
input,
select,
textarea {
  box-sizing: border-box;
}

#bo_list a,
#bo_v a,
#bo_w a {
  transition: var(--transition);
}

#bo_list,
#bo_v,
#bo_w {
  position: relative;
  width: 100% !important;
  max-width: 1100px;
  margin: 0 auto 32px;
}

.board_theme_shell {
  position: relative;
}

.board_visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
}

.board_visual:before,
.board_visual:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.board_visual:before {
  width: 240px;
  height: 240px;
  right: -60px;
  top: -80px;
}

.board_visual:after {
  width: 160px;
  height: 160px;
  right: 160px;
  bottom: -90px;
}

.board_visual_inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.board_visual_eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.board_visual_title {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

.board_visual_desc {
  margin: 16px 0 0;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.7;
}

.board_visual_meta {
  min-width: 220px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  text-align: right;
}

.board_visual_meta strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
  color: #fff;
}

.board_visual_meta span {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
}

.board_card {
  background: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.board_card + .board_card {
  margin-top: 20px;
}

.board_section_title {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text-main);
}

.board_section_desc {
  margin: -12px 0 24px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.6;
}

/* 카테고리 */
#bo_cate {
  margin: 0 0 20px;
}
#bo_cate h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
#bo_cate ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#bo_cate li {
  list-style: none;
}
#bo_cate a {
  display: block;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-sub);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
#bo_cate a:hover,
#bo_cate a:focus,
#bo_cate #bo_cate_on {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* 리스트 상단 */
#bo_btn_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

#bo_list_total {
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 600;
}

#bo_list_total strong,
#bo_list_total span {
  color: var(--text-main);
}

.btn_bo_user {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn_bo_user .btn,
.icon_btn_write,
.icon_btn_cancel,
.btn_submit,
.btn_b01,
.icon_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
}

.btn_bo_user .btn:hover,
.icon_btn_cancel:hover {
  transform: translateY(-2px);
  border-color: #d8c8b8;
  background: #fff;
}

.icon_btn_write,
.btn_submit,
#btn_submit,
.sch_btn,
.btn_main_submit {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 10px 24px rgba(126, 84, 54, 0.22);
}

.icon_btn_write:hover,
.btn_submit:hover,
#btn_submit:hover,
.sch_btn:hover,
.btn_main_submit:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

.more_opt {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  min-width: 140px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: none;
}

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

.more_opt a,
.more_opt button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-main);
  font-size: 14px;
  cursor: pointer;
}

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

.btn_more_opt {
  position: relative;
}

/* 표 */
.tbl_wrap {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: #fff;
}

.tbl_wrap table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.tbl_wrap thead th {
  padding: 17px 14px;
  background: #fcf6ee;
  border-bottom: 1px solid var(--border-color);
  color: #5b412f;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.tbl_wrap tbody td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
  background: #fff;
}

.tbl_wrap tbody tr:hover td {
  background: #fffdf9;
}

.tbl_wrap tbody tr:last-child td {
  border-bottom: 0;
}

#bo_list .td_chk,
#bo_list .td_num,
#bo_list .td_num2,
#bo_list .td_datetime,
#bo_list .td_state {
  text-align: center;
  white-space: nowrap;
}

#bo_list .td_chk { width: 52px; }
#bo_list .td_num,
#bo_list .td_num2 { width: 88px; color: var(--text-sub); }
#bo_list .td_datetime { width: 132px; color: var(--text-sub); }
#bo_list .td_state { width: 118px; }

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

.notice_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff4d4;
  color: #b7791f;
  font-size: 12px;
  font-weight: 800;
}

.td_subject {
  padding-left: 20px !important;
}

.bo_cate_link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  margin-bottom: 8px;
  background: var(--primary-soft);
  color: var(--primary-color);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.bo_cate_link:hover {
  background: var(--primary-color);
  color: #fff;
}

.bo_tit {
  color: var(--text-main);
}

.bo_tit > a {
  color: var(--text-main);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}

.bo_tit > a:hover {
  color: var(--primary-color);
}

.cnt_cmt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ffe8e8;
  color: var(--danger-color);
  font-size: 11px;
  font-weight: 800;
}

.bo_tit i,
.bo_tit svg,
.btn svg,
.nb_tit svg,
.board_meta_badge svg {
  width: 16px;
  height: 16px;
}

.m_con {
  display: none;
}

.btn__ {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3ece3;
  color: #8d6041;
  font-size: 12px;
  font-weight: 800;
}

.btn__.on {
  background: rgba(15, 157, 88, 0.12);
  color: var(--success-color);
}

.empty_table {
  padding: 60px 20px !important;
  text-align: center;
  color: var(--text-sub);
  font-size: 15px;
}

.bo_fx {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

/* 페이지네이션 */
.pg_wrap {
  margin-top: 28px;
  text-align: center;
}

.pg {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pg_page,
.pg_current {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
}

.pg_current,
.pg_page:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* 보기 */
#bo_v {
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}

#bo_v .board_card {
  overflow: hidden;
}

#bo_v_title {
  margin: 0;
}

#bo_v_title .bo_v_cate {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
}

#bo_v_title .bo_v_tit {
  display: block;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--text-main);
}

#bo_v_info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

#bo_v_info h2,
#bo_v_atc_title,
#bo_v_file h2,
#bo_v_link h2,
#bo_vc h2,
#bo_vc_w h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.profile_info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.profile_info_ct {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.9;
}

.profile_info_ct strong {
  color: var(--text-main);
  font-weight: 800;
}

.profile_info_ct a {
  color: var(--primary-color);
  text-decoration: none;
}

.if_date {
  display: block;
  margin-top: 6px;
}

#bo_v_top {
  margin-left: auto;
}

#bo_v_atc {
  padding-top: 30px;
}

#bo_v_con {
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.9;
}

#bo_v_con img,
#bo_v_img img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 20px 0;
}

#bo_v_file,
#bo_v_link {
  margin-top: 24px;
}

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

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

#bo_v_file a,
#bo_v_link a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-soft);
  color: var(--text-main);
  text-decoration: none;
}

#bo_v_file a:hover,
#bo_v_link a:hover {
  border-color: rgba(126, 84, 54, 0.22);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.bo_v_file_cnt,
.bo_v_link_cnt {
  display: block;
  margin-top: 4px;
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 500;
}

.bo_v_nb {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.bo_v_nb li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}

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

.bo_v_nb li:hover {
  background: var(--bg-soft);
}

.bo_v_nb .nb_tit {
  min-width: 84px;
  color: var(--text-sub);
  font-weight: 800;
}

.bo_v_nb a {
  flex: 1;
  color: var(--text-main);
  text-decoration: none;
}

.bo_v_nb a:hover {
  color: var(--primary-color);
}

.bo_v_nb .nb_date {
  color: var(--text-sub);
  font-size: 13px;
}

#bo_v_act {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 10px;
}

#bo_v_act a,
#bo_v_act span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

#bo_v_act a:hover {
  color: var(--primary-color);
  border-color: rgba(126, 84, 54, 0.20);
  transform: translateY(-2px);
}

/* 댓글 */
.cmt_btn {
  width: 100%;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

.cmt_btn .total {
  color: var(--text-main);
}

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

#bo_vc {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 10px 28px 4px;
  box-shadow: var(--shadow-sm);
}

#bo_vc article {
  position: relative;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

#bo_vc article:last-child {
  border-bottom: 0;
}

#bo_vc article header {
  margin-bottom: 10px;
  color: var(--text-sub);
  font-size: 14px;
}

#bo_vc .cmt_contents {
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.8;
}

#bo_vc_empty {
  padding: 28px 0 34px;
  margin: 0;
  text-align: center;
  color: var(--text-sub);
}

.bo_vl_opt {
  position: absolute;
  right: 0;
  top: 24px;
}

.bo_vc_act {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 110px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: none;
}

.bo_vc_act a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-main);
  text-decoration: none;
}

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

.bo_vc_w {
  margin-top: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px;
}

.bo_vc_w textarea,
.frm_input,
.frm_file,
select,
textarea {
  width: 100%;
  border: 1px solid #eadfd2;
  border-radius: 10px;
  background: #fdfdfd;
  color: var(--text-main);
  padding: 14px 16px;
  font-size: 15px;
  transition: var(--transition);
}

.bo_vc_w textarea {
  min-height: 120px;
  resize: vertical;
}

.bo_vc_w textarea:focus,
.frm_input:focus,
.frm_file:focus,
select:focus,
textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(169, 120, 79, 0.14);
}

.bo_vc_w_wr {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  align-items: flex-end;
}

.bo_vc_w_info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
}

.bo_vc_w_info .frm_input {
  max-width: 200px;
}

/* 글쓰기 */
#bo_w {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

#fwrite {
  width: 100% !important;
}

.write_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.write_div {
  margin-bottom: 22px;
}

.write_div:last-child {
  margin-bottom: 0;
}

.field_box {
  margin-bottom: 0;
}

.field_box.full {
  grid-column: 1 / -1;
}

.field_label {
  display: block;
  margin-bottom: 10px;
  color: #444;
  font-size: 15px;
  font-weight: 700;
}

.full_input {
  width: 100% !important;
}

.half_input {
  width: 100% !important;
}

.bo_v_option {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bo_w_flie .file_wr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px dashed #d8c8b8;
  border-radius: 12px;
  background: #fffdf9;
}

.bo_w_flie .frm_file {
  border: 0;
  background: transparent;
  padding: 0;
}

#char_count_desc,
#char_count_wrap {
  color: var(--text-sub);
  font-size: 13px;
}

.wr_content textarea,
.wr_content iframe,
.wr_content .cke,
.wr_content .tox-tinymce {
  width: 100% !important;
}

.btn_confirm {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

/* 체크박스 */
.chk_box input[type="checkbox"] {
  display: none;
}

.chk_box label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.chk_box label span {
  width: 20px;
  height: 20px;
  border: 2px solid #d7c4b1;
  border-radius: 5px;
  background: #fff;
  transition: var(--transition);
}

.chk_box input[type="checkbox"]:checked + label span {
  background: var(--primary-color);
  border-color: var(--primary-color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}

/* 검색 레이어 */
.bo_sch_wrap {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.bo_sch_bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(4px);
}

.bo_sch {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 560px;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.bo_sch form {
  display: grid;
  gap: 14px;
}

.sch_bar {
  display: flex;
  overflow: hidden;
  border: 1px solid #eadfd2;
  border-radius: 10px;
}

.sch_input {
  flex: 1;
  border: 0 !important;
  box-shadow: none !important;
}

.sch_btn {
  min-width: 56px;
  border-radius: 0;
}

.bo_sch_cls {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #fbf3e9;
  color: var(--text-main);
  cursor: pointer;
}

/* 공통 유틸 */
.sound_only,
.blind {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

.file_del,
.secret_cm {
  display: inline-flex;
  align-items: center;
}

#autosave_wrapper {
  margin-bottom: 0;
}

#autosave_pop {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fffdf9;
}

#btn_autosave,
.btn_frmline {
  margin-top: 12px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-main);
  font-weight: 700;
}

@media (max-width: 991px) {
  .board_visual {
    padding: 36px 28px;
    border-radius: 22px;
  }

  .board_visual_inner,
  #bo_v_info,
  .bo_vc_w_wr {
    flex-direction: column;
    align-items: stretch;
  }

  .board_visual_meta {
    text-align: left;
    min-width: 0;
  }

  .board_card {
    padding: 24px;
  }

  .write_grid {
    grid-template-columns: 1fr;
  }

  .field_box.full {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  #bo_btn_top {
    flex-direction: column;
    align-items: stretch;
  }

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

  .board_visual_title {
    font-size: 30px;
  }

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

  .board_card,
  #bo_vc,
  .bo_vc_w {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tbl_wrap {
    border-radius: 16px;
  }

  .btn_confirm {
    flex-direction: column;
  }

  .icon_btn_write,
  .icon_btn_cancel,
  .btn_submit,
  #btn_submit {
    width: 100%;
  }
}

@media (max-width: 640px) {
  #bo_list thead {
    display: none;
  }

  #bo_list .tbl_wrap,
  #bo_list table,
  #bo_list tbody,
  #bo_list tr,
  #bo_list td {
    display: block;
    width: 100%;
  }

  #bo_list .tbl_wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  #bo_list tbody {
    display: grid;
    gap: 14px;
  }

  #bo_list tr {
    position: relative;
    padding: 18px 16px 16px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-xs);
  }

  #bo_list tbody td {
    padding: 0;
    border: 0;
    background: transparent !important;
  }

  #bo_list .td_chk,
  #bo_list .td_num2,
  #bo_list .td_subject,
  #bo_list .td_datetime,
  #bo_list .td_state {
    display: block;
    width: 100%;
    text-align: left;
  }

  #bo_list .td_chk {
    position: absolute;
    top: 16px;
    left: 16px;
    width: auto;
    margin: 0;
    z-index: 2;
  }

  #bo_list .td_chk label {
    display: inline-flex;
  }

  #bo_list .td_num2 {
    padding-left: 42px;
    margin-bottom: 12px;
    color: var(--text-sub);
    font-size: 13px;
    font-weight: 700;
  }

  #bo_list .td_subject {
    padding: 0 96px 0 0 !important;
  }

  #bo_list .td_datetime {
    display: none;
  }

  #bo_list .td_state {
    position: absolute;
    top: 16px;
    right: 16px;
    width: auto;
    margin: 0;
  }

  #bo_list .td_state .btn__ {
    min-width: 74px;
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  #bo_list .bo_cate_link {
    margin-bottom: 10px;
    max-width: calc(100% - 8px);
  }

  #bo_list .bo_tit > a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    padding-right: 0;
    font-size: 18px;
    line-height: 1.5;
    word-break: keep-all;
  }

  #bo_list .bo_tit > i[data-feather="download"],
  #bo_list .bo_tit > i[data-feather="link-2"],
  #bo_list .bo_tit > i[data-feather="check"] {
    display: none;
  }

  #bo_list .cnt_cmt {
    vertical-align: middle;
    margin-left: 6px;
  }

  .m_con {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 12px;
    color: var(--text-sub);
    font-size: 12px;
    line-height: 1.5;
  }

  .m_con span {
    position: relative;
    padding-right: 10px;
  }

  .m_con span:not(:last-child):after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 3px;
    height: 3px;
    margin-top: -1px;
    border-radius: 50%;
    background: #ded0c1;
  }

  .board_visual {
    padding: 32px 22px;
  }

  .board_visual_title {
    font-size: 26px;
  }

  .board_visual_desc {
    font-size: 14px;
  }

  .board_section_title {
    font-size: 20px;
  }

  .profile_info_ct {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  #bo_list tr {
    padding: 16px 14px 14px;
  }

  #bo_list .td_chk {
    top: 14px;
    left: 14px;
  }

  #bo_list .td_state {
    top: 14px;
    right: 14px;
  }

  #bo_list .td_num2 {
    padding-left: 40px;
    margin-bottom: 10px;
  }

  #bo_list .td_subject {
    padding-right: 84px !important;
  }

  #bo_list .bo_tit > a {
    font-size: 17px;
  }

  .m_con {
    gap: 6px 8px;
    font-size: 11.5px;
  }
}