@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: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  border-radius: 3px;
  box-shadow: 3px 6px 6px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
  overflow: hidden;
}

.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 li::before {
  content: "|";
  color: #ccc;
  margin-right: 0.5rem;
}

.cmt-action-list li:first-child::before {
  content: "";
}

.cmt-action-list a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cmt-action-list a:hover {
  color: #DE5533;
  text-decoration: underline;
}

.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;
}

/*--------------------------------------------
  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;
}
