/* ===== BLOG TYPE (scoped cho template Blog type) ===== */

/* Khối content của trang */
.content-blog-type {
  width: 90%;
  margin: auto;
}
.content-blog-type h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 24px 0 10px;
}
.content-blog-type .underLine {
  width: 80px;
  height: 3px;
  background: #f4c100;
  border-radius: 2px;
  margin: 8px 0 20px;
}

/* Gạch chân vàng */
.underLine {
  width: 20%;
  margin: 10px 0;
  background-color: #f4c100;
  height: 3px;
}

/* Vùng content chính và sidebar trong layout blog type */
.content-blog-type .content {
  padding-left: 0;
}

/* Card bài viết dạng ngang */
.blogInCat {
  margin: 36px 0;
  background-color: #00000003;
}
.blogInCat img {
  width: 100%;
  aspect-ratio: 16/9;
  padding: 0;
  height: fit-content;
  object-fit: cover;
}
.blogInCat h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin: 2px 0 6px;
  color: #2b2b2b;
  transition: color 0.15s ease;
}
.blogInCat a {
  text-decoration: none;
}
.blogInCat h2:hover {
  color: #26528c;
  transition: all 0.8s;
}
.blogInCat .postSummary p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #4b4b4b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Thông tin nhỏ: comment / view */
.postInfo {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin: 8px 0 12px;
  font-size: 13.5px;
  color: #6f7480;
  font-weight: 500;
}
.postInfo .ct-1:first-child {
  width: 33% !important;
}
.postInfo .ct-1 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.postInfo .ct-1::before {
  content: "•";
  color: #c6cad1;
}

/* Nút Read more */
.readMore a {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #e5bf3c;
  border: 2px solid #e5bf3c;
  background: #fff;
  border-radius: 999px;
  transition: all 0.18s ease;
}
.readMore a:hover {
  background: #e5bf3c;
  color: #fff;
  transform: translateY(-1px);
}

/* Phần sidebar (đúng class bạn đang dùng) */
.content-single-blog .content {
  margin: 30px 0;
  padding-left: 0;
}
.content-single-blog .content p {
  color: #000000bf;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
}
.content-single-blog .content li {
  color: #000000bf;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.content-single-blog .content strong {
  font-weight: unset !important;
}
.content-single-blog .sidebar {
  margin: 30px 0;
}
.content-single-blog h1 {
  font-size: 36px;
  font-weight: 600;
  color: #000000;
}
.content-single-blog h2 {
  font-size: 26px;
  font-weight: 600;
  color: #000000;
}
.content-single-blog h3 {
  font-size: 22px;
  font-weight: 600;
  color: #000000;
}
.content-single-blog h4 {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
}

/* Nút Load more */
.loadMorePostBlog {
  display: inline-block;
  margin: 32px 0 80px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: #26528c;
  border: 2px solid #26528c;
  background: transparent;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.loadMorePostBlog:hover {
  background: #26528c;
  color: #fff;
}

/* ===== BLOG TYPE – SIDEBAR ===== */

/* Tiêu đề + underline dùng chung */
.sidebar-content .sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: #26528c;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  margin-top: 20px;
}

/* Underline đã tách trước đó (dùng lại) */
/* .underLine { width:20%; height:3px; background:#f4c100; margin:10px 0; } */

/* Danh mục */
.sidebar-content .listCategory ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
  position: relative;
}
.sidebar-content .listCategory ul li a {
  color: unset;
  text-decoration: none;
  color: #7f7979;
}
.sidebar-content .listCategory ul li a:hover {
  color: #f57b24;
}

/* Recent Post */
.sidebar-content .recentPost ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
  position: relative;
}
.sidebar-content .recentPost ul li a {
  color: unset;
  text-decoration: none;
  color: #7f7979;
}
.sidebar-content .recentPost ul li a:hover {
  color: #f57b24;
}
.sidebar-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-content li a {
  color: #3e3e3e;
  font-size: 15px;
  text-decoration: none;
}
.sidebar-content li a:hover {
  color: #26528c;
}
/* Tag (ô nhãn điểm đến) */
.sidebar-content .tag-content {
  margin: 30px 0;
}
.sidebar-content .tag-content a {
  border: 1px solid #26528c;
  color: #26528c;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin: 0 10px 10px 0;
  transition: all 0.18s ease;
}
.sidebar-content .tag-content a:hover {
  background: #26528c;
  color: #fff;
}

/* Related tours */
.sidebar-content .tour-content a {
  color: unset;
  text-decoration: none;
  margin-bottom: 20px;
  display: block;
}
.sidebar-content .tour-content a h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: #2f2f2f;
  margin: 0 0 4px;
}
.sidebar-content .tour-content a span {
  display: inline-block;
  margin-right: 14px;
  color: #6c6b6b;
  font-size: 13.5px;
}
.sidebar-content .tour-content a h4:hover {
  color: #ffa897;
}

/* Same Category */
.sidebar-content .sameCategory a {
  color: #595555;
  text-decoration: none;
  margin-bottom: 20px;
  display: block;
}
.sidebar-content .sameCategory a:hover h4 {
  color: #f57b4e;
  transition: all 0.6s;
}
.sidebar-content .sameCategory h3 {
  color: #717473;
  margin: 50px 0 12px 0;
  font-weight: 400;
}

/* Dòng mũi tên ở cuối mục sidebar list (nếu bạn dùng) */
.content-single-blog .sidebar ul li::after {
  content: "\F138";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 0;
}

/* Nhỏ cho khu info (đang dùng trong Same Category) — đã tách ở bước trước
.postInfo { display:flex; }
.postInfo .ct-1:first-child{ width:33% !important; }
.postInfo .ct-1{ font-size:14px; width:22%; font-weight:200; }
*/
/* ===== SAME CATEGORY – đồng bộ với card bên trái ===== */
.sidebar-content .sameCategory {
  margin-top: 8px;
}

.sidebar-content .sameCategory h3 {
  font-size: 15px;
  font-weight: 700;
  color: #26528c;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

/* Gạch nhấn giống phần lớn */
.sidebar-content .sameCategory + .underLine,
.sidebar-content .sameCategory .underLine {
  width: 80px;
  height: 3px;
  background: #f4c100;
  border-radius: 2px;
  margin: 8px 0 16px;
}

/* Mỗi item là 1 "mini-card" gọn */
.sidebar-content .sameCategory .titleSamePost {
  display: block;
  padding: 12px 12px 10px;
  margin: 0 0 10px;
  text-decoration: none;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.18s ease, transform 0.18s ease,
    border-color 0.18s ease;
}
.sidebar-content .sameCategory .titleSamePost:hover {
  border-color: #e9edf5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

/* Tiêu đề đồng bộ cỡ & weight với list bên trái */
.sidebar-content .sameCategory .titleSamePost h4 {
  margin: 0 0 6px;
  font-size: 16.5px; /* tương ứng ~22px ở cột trái */
  font-weight: 600;
  line-height: 1.3;
  color: #2b2b2b;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* clamp 2 dòng cho gọn */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-content .sameCategory .titleSamePost:hover h4 {
  color: #26528c;
}

/* Meta line: Comment • Views (đồng bộ .postInfo bên trái) */
.sidebar-content .sameCategory .postInfo {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin: 2px 0 0;
  font-size: 13.5px;
  color: #6f7480;
  font-weight: 500;
}
/* Bỏ width cứng 33%/22% ở block global, cho co tự nhiên */
.sidebar-content .sameCategory .postInfo .ct-1 {
  width: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Dấu chấm phân tách • */
.sidebar-content .sameCategory .postInfo .ct-1::before {
  content: "•";
  color: #c6cad1;
}
/* Item đầu không cần dấu chấm đầu dòng */
.sidebar-content .sameCategory .postInfo .ct-1:first-child::before {
  content: "";
}
@media (min-width: 1200px) {
  .sidebar-content {
    position: sticky;
    top: 24px;
  }
}
.sidebar-content li {
  margin-bottom: 8px;
}
.postInfo {
  gap: 14px;
  color: #6f7480;
  font-weight: 500;
}
.postInfo .ct-1 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.postInfo .ct-1::before {
  content: "•";
  color: #c6cad1;
}
.postInfo .ct-1:first-child::before {
  content: "";
}
/* ================================
   BLOG SINGLE (Default Blog Post)
   ================================ */

/* Khối nội dung & Typography (đã có ở bước trước – lặp lại để hoàn thiện scope) */
.content-single-blog .content {
  margin: 30px 0;
  padding-left: 0;
}
.content-single-blog .content p {
  color: #000000bf;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
}
.content-single-blog .content li {
  color: #000000bf;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.content-single-blog .content strong {
  /* giữ nguyên như bản tổng */
  font-weight: unset !important;
}
.content-single-blog h1 {
  font-size: 36px;
  font-weight: 600;
  color: #000000;
}
.content-single-blog h2 {
  font-size: 26px;
  font-weight: 600;
  color: #000000;
}
.content-single-blog h3 {
  font-size: 22px;
  font-weight: 600;
  color: #000000;
}
.content-single-blog h4 {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
}

/* Ảnh mở bài + info line dưới ảnh */
.imgCTN img {
  width: 100%;
  aspect-ratio: 39/27;
}
.imgCTN span {
  margin-right: 25px;
  font-size: 16px;
  color: #717171;
  font-weight: 300;
}
.imgCTN .info-po {
  margin-top: 12px;
}

/* Gạch nhấn dùng chung
   (nếu file đã có .underLine thì không cần thêm) */
/* .underLine { width: 20%; margin: 10px 0; background:#f4c100; height: 3px; } */

/* Ẩn rating/khối cột WPDiscuz cho trang blog single */
.blog-single .wpdiscuz-post-rating-wrap {
  display: none !important;
}
.blog-single .wpd-form-row .wpd-form-col-left,
.blog-single .wpd-form-row .wpd-form-col-right {
  display: none !important;
}

/* Sidebar trong trang single (đã dùng chung sidebar-content) – giữ nguyên phần đã tách */
/* .content-single-blog .sidebar { margin: 30px 0; } */

/* Pin block Same Category khi cuộn (class do JS thêm) */
.sameCategoryFixed {
  position: fixed;
  bottom: 0;
  background: #f6f6f6;
  border-radius: 20px;
  z-index: 9999;
  padding: 20px;
}
/* =========================================
   SINGLE POST – POLISHED (scoped cho post)
   ========================================= */
.blog-single .content-single-blog {
  width: 92%;
  margin: 26px auto 70px;
}

/* 2 cột cân thoáng hơn */
.blog-single .content-single-blog .content {
  padding-right: 28px;
  margin: 0;
}

/* Typography chính */
.blog-single .content-single-blog .content h1 {
  font-size: 34px;
  line-height: 1.22;
  font-weight: 800;
  color: #1f1f1f;
  margin: 10px 0 16px;
}
.blog-single .content-single-blog .content h2 {
  font-size: 26px;
  line-height: 1.28;
  font-weight: 700;
  margin: 26px 0 10px;
  color: #242424;
}
.blog-single .content-single-blog .content h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  margin: 22px 0 8px;
  color: #2a2a2a;
}
.blog-single .content-single-blog .content p,
.blog-single .content-single-blog .content li {
  font-size: 16.5px;
  line-height: 1.75;
  color: #2e2e2e;
}
.blog-single .content-single-blog .content strong {
  font-weight: 700 !important; /* trả strong về đúng nghĩa nhấn */
}

/* Link trong bài: underline khi hover cho sang */
.blog-single .content-single-blog .content a {
  color: #26528c;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(38, 82, 140, 0.35);
  transition: box-shadow 0.15s ease, color 0.15s ease;
}
.blog-single .content-single-blog .content a:hover {
  color: #163a66;
  box-shadow: inset 0 -2px 0 rgba(38, 82, 140, 0.55);
}

/* Ảnh mở bài */
.blog-single .imgCTN {
  margin-bottom: 14px;
}
.blog-single .imgCTN img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Meta bar dưới ảnh (ngày • comment • views) */
.blog-single .imgCTN .info-po {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: #6f7480;
  font-size: 14px;
  font-weight: 600;
}
.blog-single .imgCTN .info-po .ct-1 {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.blog-single .imgCTN .info-po .ct-1::before {
  content: "•";
  color: #c6cad1;
}
.blog-single .imgCTN .info-po .ct-1:first-of-type::before {
  content: "";
}

/* Gạch nhấn ngắn, tinh tế */
.blog-single .imgCTN + .underLine {
  width: 84px;
  height: 3px;
  background: #f4c100;
  border-radius: 2px;
  margin: 8px 0 18px;
}

/* Ảnh trong nội dung */
.blog-single .content-single-blog .content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 10px auto 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

/* Gallery 2–3 ảnh: khoảng cách đều */
.blog-single .content-single-blog .content figure,
.blog-single .content-single-blog .content .wp-block-gallery {
  margin: 12px 0 20px;
}
.blog-single .content-single-blog .content figcaption {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  margin-top: 6px;
}

/* Danh sách gọn gàng */
.blog-single .content-single-blog .content ul,
.blog-single .content-single-blog .content ol {
  padding-left: 20px;
  margin: 12px 0 16px;
}
.blog-single .content-single-blog .content ul li {
  margin: 4px 0;
}

/* Blockquote cao cấp */
.blog-single .content-single-blog .content blockquote {
  margin: 18px 0;
  padding: 14px 16px 14px 18px;
  border-left: 4px solid #f4c100;
  background: #fff8df;
  border-radius: 8px;
  color: #3a3a3a;
  font-style: italic;
}

/* Bảng trong bài */
.blog-single .content-single-blog .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 15px;
}
.blog-single .content-single-blog .content table td,
.blog-single .content-single-blog .content table th {
  border: 1px solid #e7e7e7;
  padding: 10px 12px;
}
.blog-single .content-single-blog .content table th {
  background: #f6f8fb;
  font-weight: 700;
}

/* Nút trong bài (nếu có shortcode/CTA) */
.blog-single .content-single-blog .content .venus-btn,
.blog-single .content-single-blog .content a.button {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: #f4c100;
  color: #1f1f1f;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.blog-single .content-single-blog .content .venus-btn:hover,
.blog-single .content-single-blog .content a.button:hover {
  background: #e5bf3c;
  color: #fff;
  transform: translateY(-1px);
}

/* Sidebar gọn – sticky (thay cho script nếu muốn) */
@media (min-width: 1200px) {
  .blog-single .content-single-blog .sidebar {
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }
}
/* Sidebar blocks nhịp dọc nhẹ */
.blog-single .sidebar-content > div {
  margin-bottom: 28px;
}
.blog-single .sidebar-content .sidebar-title {
  font-size: 15px;
  font-weight: 800;
  color: #26528c;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.blog-single .sidebar-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-single .sidebar-content li a {
  color: #3e3e3e;
  font-size: 15px;
  text-decoration: none;
}
.blog-single .sidebar-content li a:hover {
  color: #26528c;
}

/* “Same Category” đồng bộ kiểu mini-card */
.blog-single .sidebar-content .sameCategory .titleSamePost {
  display: block;
  padding: 12px 12px 10px;
  margin: 0 0 10px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.18s ease, transform 0.18s ease,
    border-color 0.18s ease;
}
.blog-single .sidebar-content .sameCategory .titleSamePost:hover {
  border-color: #e9edf5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.blog-single .sidebar-content .sameCategory .titleSamePost h4 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #2b2b2b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-single .sidebar-content .sameCategory .postInfo {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin: 2px 0 0;
  font-size: 13.5px;
  color: #6f7480;
  font-weight: 600;
}
.blog-single .sidebar-content .sameCategory .postInfo .ct-1 {
  width: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-single .sidebar-content .sameCategory .postInfo .ct-1::before {
  content: "•";
  color: #c6cad1;
}
.blog-single
  .sidebar-content
  .sameCategory
  .postInfo
  .ct-1:first-child::before {
  content: "";
}

/* Comment area (WPDiscuz) – khoảng cách & ẩn phần thừa */
.blog-single .comment {
  margin-top: 26px;
  padding-top: 8px;
  border-top: 1px solid #eee;
}
.blog-single .wpdiscuz-post-rating-wrap {
  display: none !important;
}
.blog-single .wpd-form-row .wpd-form-col-left,
.blog-single .wpd-form-row .wpd-form-col-right {
  display: none !important;
}

/* Mobile tweaks */
@media (max-width: 991.98px) {
  .blog-single .content-single-blog .content {
    padding-right: 0;
  }
  .blog-single .content-single-blog {
    width: 95%;
  }
  .blog-single .imgCTN img {
    border-radius: 10px;
  }
}
.blog-single {
  width: 90%;
  margin: auto;
  padding: 20px 0;
}
