@charset "utf-8";

/*--------------------------------------------
  1. Utilities & Responsive Overrides
--------------------------------------------*/
.text-truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@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; }
  .responsive #bo_w #wr_content { max-height: 160px !important; }
}

/*--------------------------------------------
  2. Layout & Containers
--------------------------------------------*/
#bo_list_wrap {
  background-color: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 6px 6px rgba(0,0,0,0.05);
}
#bo_v {
  background-color: #fff !important;
  border-top: 2px solid #DE5533;
  box-shadow: 0 6px 6px rgba(0,0,0,0.05);
}
#bo_webzine .chk-box {
  position: absolute;
  bottom: 5px;
  right: 10px;
  z-index: 2;
}
#bo_webzine .wr-now {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
  z-index: 1;
}

/*--------------------------------------------
  3. Title & Headings
--------------------------------------------*/
#bo_v_title {
  background: none;
  background-color: #fff;
  font-size: 1.5rem;
  color: #DE5533;
  font-weight: 700;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 5px;
}

/*--------------------------------------------
  4. Content Area
--------------------------------------------*/
#bo_v_con {
  background-color: #fff;
  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;
}
#bo_v_img {
  width: 100%; text-align: center; overflow: hidden; zoom: 1;
}
#bo_v_img:after { content: ""; display: block; clear: both; visibility: hidden; }
#bo_v_img a.view_image { display: block; }
#bo_v_img img { margin-bottom: 1rem; max-width: 100%; height: auto; }

/*--------------------------------------------
  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;
}
.card-text { color: #6c757d; }

/*--------------------------------------------
  6. Buttons & Actions
--------------------------------------------*/
#bo_v_btn {
  text-align: right;
  padding: 0.5rem 1rem;
}
#bo_v_btn .btn {
  color: #000;
  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;
}

/*--------------------------------------------
  7. 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: #fff;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s 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;
}

/*--------------------------------------------
  8. Gallery & 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); }

/*--------------------------------------------
  9. Forms & Write Utility
--------------------------------------------*/
#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; }

/*--------------------------------------------
 10. Pagination Utility
--------------------------------------------*/
#fboardlist { padding-bottom: 30px; }


/* Override colored background for comment toolbar buttons */
.btn_comment {
  background: transparent !important;
  border: none !important;
}
