@charset "utf-8";

/*--------------------------------------------
  1. Utilities
--------------------------------------------*/
.text-truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*--------------------------------------------
  2. 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);
}

#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 {
  background: #fff;
  color: #333;
  font-size: 1rem;
  padding: 1.5rem;
  margin: 1rem 0;
  min-height: 200px;
  word-break: break-word;
  overflow: hidden;
}

/*--------------------------------------------
  4. 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;
}

/*--------------------------------------------
  5. Images & Thumbnails
--------------------------------------------*/
#bo_v_con img,
.gallery-thumb img.transition-scale {
  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;
}

/* Hover-scale on thumbnails */
.gallery-thumb img.transition-scale {
  transition: transform 0.3s ease;
}
.gallery-thumb:hover img.transition-scale {
  transform: scale(1.05);
}

/*--------------------------------------------
  6. Gallery Cards
--------------------------------------------*/
.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);
}

/*--------------------------------------------
  7. Buttons
--------------------------------------------*/
.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;
}

/*--------------------------------------------
  8. Comment Section
--------------------------------------------*/
#bo_vc,
.cmt-box {
  background-color: #fff;
  margin-top: 2rem;
  border-radius: 5px;
}

.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;
}
.cmt-content {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  word-break: break-word;
  overflow: hidden;
}
.cmt-content img {
  max-width: 100%;
  height: auto;
}
.cmt-btn ul {
  margin: 0;
  padding: 0;
}
.cmt-btn ul > li {
  float: left;
  font-size: 12px;
  padding: 0 10px;
}
.cmt-btn ul > li::before {
  content: "|";
  color: #ccc;
  margin-left: -12px;
}
.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;
}

/* textarea in comments */
#fviewcomment #wr_content {
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.75rem;
  resize: none;
  color: #333;
  border-radius: 4px;
}
#bo_vc .no_comment {
  color: #999;
  padding: 1rem 0;
  text-align: center;
}
#bo_vc input[type="submit"],
#bo_vc .btn {
  background: #DE5533;
  border: none;
  color: #fff;
  padding: 0.5rem 1.25rem;
  font-weight: bold;
  transition: background 0.3s ease;
}
#bo_vc .btn:hover {
  background: #c14624;
}

/*--------------------------------------------
  9. 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;
  }
}

/*--------------------------------------------
 10. Responsive Overrides
--------------------------------------------*/
@media all and (max-width:767px) {
  .responsive #bo_list .float-left.float-md-none {
    margin-right: 0.75rem;
  }
  .responsive #bo_list .na-title {
    margin-bottom: 0.14rem;
  }
}
@media all and (max-width:575px) {
  .responsive #bo_v_title {
    font-size: 20px;
    line-height: 1.5;
  }
  .responsive #bo_v_con {
    min-height: 140px;
  }
}

/* Override colored background for comment toolbar buttons */
.btn_comment {
  background: transparent !important;
  border: none !important;
}

