@charset "utf-8";

/* 리스트 스타일 모바일 목록 */
.wr-photo-img img {
  width: 50px;
  height: 50px;
}
@media all and (max-width: 767px) {
  .responsive #bo_list .float-left.float-md-none {
    margin-right: 1rem;
  }
  .responsive #bo_list .na-title {
    margin-bottom: 0.14rem;
  }
  .responsive .wr-photo-img.nw-5 {
    width: auto !important;
  }
}

/* 갤러리 스타일 */
#bo_gallery .chk-box {
  position: absolute;
  bottom: 5px;
  right: 10px;
  z-index: 2;
}
#bo_gallery .wr-now {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

/* 웹진 스타일 */
#bo_webzine .chk-box {
  position: absolute;
  bottom: 5px;
  right: 10px;
  z-index: 2;
}
#bo_webzine .wr-now {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

/* 게시판 읽기 */
#bo_v_title {
  font-size: 23px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: -1px;
}
#bo_v_con {
  min-height: 200px;
  word-break: break-all;
  overflow: hidden;
}
@media all and (max-width: 575px) {
  .responsive #bo_v_title {
    font-size: 20px;
    line-height: 1.5;
  }
  .responsive #bo_v_con {
    min-height: 140px;
  }
}

#bo_v_con img {
  max-width: 100%;
  height: auto;
}
#bo_v_img {
  width: 100%;
  text-align: center;
  overflow: hidden;
  zoom: 1;
}
#bo_v_img:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_img a.view_image {
  display: block;
}
#bo_v_img img {
  margin-bottom: 1rem;
}

/* 게시판 읽기 : SNS 공유 */
#bo_v_sns_icon {
  margin: -5px auto;
}
#bo_v_sns_icon img {
  width: 40px;
  border-radius: 50%;
  margin: 5px;
}

/* 게시판 댓글 : 내용 */
.cmt-reply {
  top: 0;
  left: -16px;
}
.by-writer {
  background: #fbefef !important;
  border-top: 1px solid #f6cece !important;
}
.cmt-content {
  word-break: break-all;
  overflow: hidden;
}
.cmt-content img {
  max-width: 100%;
  height: auto;
}

/* 게시판 댓글 : 대댓글, 수정, 삭제 */
.cmt-btn ul {
  list-style: none;
  margin: 0;
}
.cmt-btn ul > li {
  float: left;
  font-size: 12px;
  padding: 0 10px;
}
.cmt-btn ul > li::before {
  float: left;
  color: #ccc;
  content: "|";
  margin-left: -12px;
}
.cmt-btn ul > li:last-child {
  padding-right: 0;
}
.cmt-btn ul > li:first-child::before,
.cmt-btn ul > li.no-bar::before {
  content: "";
  margin-left: 0;
}
.cmt-btn ul > li > a {
  float: left;
  color: #888;
  white-space: nowrap;
}

/* 게시판 댓글 : 쓰기폼 */
#fviewcomment #wr_content {
  resize: none;
}
@media all and (max-width: 575px) {
  .responsive .cmt-box {
    border-right: 0 !important;
  }
  .responsive #bo_vc_w .cmt-box {
    border-left: 0 !important;
    border-radius: 0 !important;
  }
  .responsive #bo_vc_login {
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
  }
}

/* 게시판 댓글 : SNS 등록 */
#bo_vc_opt ol {
  margin: 0;
  padding: 0;
  list-style: none;
  zoom: 1;
  background: #ccc;
  border-radius: 3px;
}
#bo_vc_opt ol:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_vc_opt ol li {
  float: left;
  margin: 0;
}
#bo_vc_send_sns ul {
  margin: 0;
  padding: 0;
  list-style: none;
  zoom: 1;
}
#bo_vc_send_sns ul:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_vc_send_sns ul li {
  float: left;
  margin: 0 1rem 0 0;
}
#bo_vc_send_sns input {
  margin: 0 0 0 0.5rem;
}

/* 게시판 쓰기 */
#bo_w .list-group-item {
  padding-left: 0;
  padding-right: 0;
  border-left: 0;
  border-right: 0;
}
#bo_w #wr_content {
  margin-bottom: 1rem !important;
}
@media all and (max-width: 575px) {
  #bo_w .list-group-item {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .responsive #bo_w #wr_content {
    max-height: 160px !important;
  }
}

/* ===== 게시판 리스트 제목 영역 확장(우측 여백 최소화) ===== */

/* 제목 셀 안에서 제목 박스가 전체 폭을 쓰도록 */
#bo_list .na-title {
  float: none !important; /* 기존 float-md-left 효과 무력화 */
  width: 100%;
}

/* 체크박스 + 제목 + 댓글수 를 한 줄 플렉스로 배치 */
#bo_list .na-title .na-item {
  display: flex;
  align-items: center;
}

/* 제목 부분 */
#bo_list .na-title .na-subject {
  flex: 1 1 auto; /* 남는 가로폭을 대부분 제목이 사용 */
  min-width: 0; /* flex-item 줄바꿈/줄임 허용 */

  /* ↓ 옵션 1: 2줄까지만 보이게 (여백 최소 + 가독성) */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 여기 숫자 조절하면 줄수 조절 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;

  /* 필요시 글자 굵기/크기도 여기서 조절 가능 */
  /* font-weight: 500; */
}

/* 댓글 숫자 뱃지 */
#bo_list .na-title .na-info {
  flex: none;
  margin-left: 0.5rem;
}
