@charset "utf-8";

/*--------------------------------------------
  1. Layout & Containers
--------------------------------------------*/
#bo_list_wrap {
  background-color: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.05);
}

#bo_v {
  background-color: #fff !important;
  border-top: 2px solid #DE5533;
  box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.05);
}

/*--------------------------------------------
  2. Title & Headings
--------------------------------------------*/
#bo_v_title {
  background: none;
  background-color: white;
  font-size: 1.5rem;
  color: #DE5533;
  font-weight: 700;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 5px;
}

/*--------------------------------------------
  3. Content Area
--------------------------------------------*/
#bo_v_con {
  color: #333;
  font-size: 1rem;
  padding: 1.5rem;
  margin: 1rem 0;
  min-height: 200px;
  word-break: break-word;
  overflow: hidden;
}

#bo_v_info {
  font-size: 0.9rem;
  color: #888;
}

/*--------------------------------------------
  4. Buttons & Actions
--------------------------------------------*/
#bo_v_btn {
  text-align: right;
  padding: 0.5rem 1rem;
}

#bo_v_btn .btn {
  color: black;
  padding: 0.4rem 0.8rem;
  margin-left: 0.5rem;
}

#bo_v_btn .btn:hover {
  color: #DE5533;
}

.btn-safe-list {
  display: inline-flex;
  align-items: center;
  background-color: #DE5533;
  border: none;
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-safe-list:hover {
  background-color: #c14324;
  text-decoration: none;
}

.btn-safe-list i {
  font-size: 1rem;
}

#bo_v_bookmark {
  text-align: right;
  padding-right: 1.5rem;
  margin-top: -2rem;
}

/*--------------------------------------------
  5. Post Meta
--------------------------------------------*/
.post-meta-box {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
}

.post-meta-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.post-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.post-meta-list i {
  color: #999;
  font-size: 0.85rem;
}

/*--------------------------------------------
  6. Comments
--------------------------------------------*/
#bo_vc,
.cmt-box {
  background: #fff;
  margin-top: 2rem;
  border-radius: 5px;
}

#bo_vc .no_comment {
  color: #999;
  padding: 1rem 0;
  text-align: center;
}

#fviewcomment #wr_content {
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  padding: 0.75rem;
  resize: none;
  border-radius: 4px;
}

#bo_vc input[type="submit"],
#bo_vc .btn,
#fviewcomment .btn {
  background: #DE5533;
  border: none;
  color: white;
  padding: 0.5rem 1.25rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

#fviewcomment .btn:hover:not(.btn_comment) {
  background: #c14324;
}

.comment-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  overflow: visible;
  transition: background 0.15s ease;
}
.comment-card.border-top { border: 0 !important; }                                               /* 모든 테두리 제거(Bootstrap 포함) */
.comment-card.border-top + .comment-card.border-top { border-top: 1px solid #E5E8EC !important; } /* 댓글 사이 가로 구분선 */
.comment-card:hover { background: #FAFBFC; }                       /* 박스 대신 은은한 호버 배경 */

/* 답글: ↳ 화살표 제거 + 들여쓰기 해제(평평) + @부모닉네임 멘션 태그 */
.cmt-reply { display: none !important; }
.comment-card[style*="margin-left"] { margin-left: 30px !important; }  /* 답글: 원댓글보다 살짝 우측 들여쓰기 */
.cmt-mention {
  display: inline-block;
  margin-right: 5px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #EEF2FF;
  color: #3B5BDB;
  font-weight: 600;
  font-size: 0.9em;
  vertical-align: baseline;
}

.comment-card header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
}

.comment-card header ul,
.cmt-action-list {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.comment-card header li,
.cmt-action-list li {
  position: relative;
  font-size: 0.85rem;
}

.cmt-action-list {
  gap: 0.25rem;
  align-items: center;
}

.cmt-action-list li::before {
  content: "";
  margin: 0;
}

.cmt-action-list a {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  color: #667085;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.cmt-action-list a:hover {
  background: #F4F0EE;
  color: #DE5533;
  text-decoration: none;
}

.cmt-like i {
  color: #DE5533;
  margin-right: 0.3rem;
}

.comment-card .cmt-content {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  word-break: break-word;
  overflow: hidden;
}

/* 댓글 채팅형: 아바타 좌측 고정 / 닉네임·내용 같은 열 정렬 */
.comment-card .cmt-wrap.cmt-chat { position: relative; padding-left: 58px; }
.comment-card .cmt-wrap.cmt-chat .cmt-chat__avatar { position: absolute; left: 13px; top: 12px; width: 35px; line-height: 0; z-index: 2; }
.comment-card .cmt-wrap.cmt-chat .cmt-chat__avatar .lv-badge-wrap { width: 35px !important; }
.comment-card .cmt-wrap.cmt-chat > header { border-bottom: 0; padding-top: 0.6rem; padding-bottom: 0; padding-left: 0; }
.comment-card .cmt-wrap.cmt-chat > header > div { padding-left: 0 !important; padding-bottom: 0.15rem !important; }
.comment-card .cmt-wrap.cmt-chat .cmt-content { padding: 0.15rem 1rem 0.5rem 0 !important; font-size: 1.05rem; line-height: 1.55; }
/* 닉네임 폰트 키움 */
.comment-card .cmt-wrap.cmt-chat header ul > li:first-child,
.comment-card .cmt-wrap.cmt-chat header ul > li:first-child .sv_member { font-size: 1.05rem; font-weight: 600; color: #555 !important; }
/* 메타(IP·작성일) 톤 정리 — 닉네임은 그대로, 부가정보만 옅게 */
.comment-card .cmt-wrap.cmt-chat header ul > li:not(:first-child) { font-size: 0.78rem; color: #98A2B3; }
.comment-card .cmt-wrap.cmt-chat header ul > li .text-muted { color: #98A2B3 !important; }

/*--------------------------------------------
  7. Gallery Cards & Thumbnails
--------------------------------------------*/
.gallery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.gallery-thumb img.transition-scale {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover img.transition-scale {
  transform: scale(1.05);
}

/*--------------------------------------------
  8. Forms & Write
--------------------------------------------*/
#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) {
  .responsive #bo_w #wr_content {
    max-height: 160px !important;
  }
}

/*--------------------------------------------
  9. Pagination Utility
--------------------------------------------*/
#fboardlist {
  padding-bottom: 30px;
}

/* Override colored background for comment toolbar buttons */
.btn_comment {
  background: transparent !important;
  border: none !important;
}
