/*
Theme Name: Natafu
Template: flatsome
Author: PDK
Version: 1.0
*/

/* =============================
   GLOBAL FONT SIZE ADJUSTMENTS
   ============================= */
body {
  font-size: 16px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3; /* Điều chỉnh line-height cho tiêu đề */
}
p,
li,
a {
  line-height: 1.5; /* Điều chỉnh line-height cho text */
}
/* =============================
   RESET & BASE
   ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif !important; /* THAY ĐỔI FONT CHỮ */
  color: #333;
  line-height: 1.6;
  background: #f0f2f5; /* Nền xám nhạt cho toàn bộ trang */
}

/* Áp dụng Roboto cho tất cả các tiêu đề và text để đảm bảo nhất quán */
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.widget-title,
.page-title,
.tv-main-header .logo span,
.tv-main-header .main-nav-ul li a,
.tv-main-header .lang a,
.tv-hero-content h1,
.tv-hero-titles .yellow-pages-text,
.tv-search-form input,
.tv-search-form button,
.feature-box h4,
.feature-box p,
.tv-image-category-title,
.tv-image-category-item h4,
.tv-alphabet-grid-title,
.tv-alphabet-grid-item a,
.tv-info-block-title,
.tv-info-block-description,
.tv-info-block-list li,
.tv-az-title,
.tv-az-description,
.alphabet-list a,
.tv-bottom-cta-text,
.tv-bottom-cta-zalo,
.tv-bottom-cta-wrap .button,
#tv-footer,
#tv-footer p,
#tv-footer a,
.tv-registration-form label,
.tv-registration-form input,
.tv-registration-form textarea,
.tv-registration-form select,
.tv-registration-form .button,
.tv-archive-header .page-title,
.tv-archive-header .description,
.tv-company-item h3,
.tv-company-item p,
.tv-company-item a,
.tv-action-button,
.tv-sidebar-cta .widget-title,
.tv-sidebar-cta p,
.tv-sidebar-cta a,
.tv-single-company-main-content .entry-title,
.tv-single-company-main-content .entry-meta .badge,
.tv-company-tabs .tabs-nav .tab-item,
.tab-pane,
.tab-pane h3,
.tab-pane p,
.tab-pane li,
.tv-single-company-contact-person h3,
.tv-single-company-contact-person p,
.tv-single-company-contact-person a {
  font-family: 'Roboto', Arial, sans-serif !important; /* Áp dụng !important cho tất cả các phần tử text */
}

a {
  color: #000;
  text-decoration: none;
}
a:hover {
  color: #333; /* Màu hover nhẹ nhàng hơn */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center {
  text-align: left;
}
.text-right {
  text-align: right;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.tv-page-section {
  padding-top: 50px;
  padding-bottom: 50px;
}
.tv-section-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
}
.tv-section-title i {
  color: #ffd700;
  font-size: 24px;
}
.button.primary {
  background: #ffd700;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.button.primary:hover {
  background: #e6c500;
}
.button.large {
  padding: 15px 35px;
  font-size: 18px;
}
.button.small {
  padding: 8px 15px;
  font-size: 16px;
}

/* =============================
   MAIN HEADER (Hợp nhất Top Bar & Header)
   ============================= */
.tv-main-header {
  background: #fff; /* Nền trắng */
  padding: 10px 0; /* Giảm padding trên dưới */
  border-bottom: 1px solid #eee; /* Thêm border dưới nhẹ */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Thêm đổ bóng nhẹ */
  position: relative; /* Thêm để menu hamburger hoạt động */
  z-index: 99; /* Đảm bảo header luôn ở trên */
}

.tv-main-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-left-section {
  display: flex;
  align-items: center;
  gap: 25px; /* Khoảng cách giữa logo và menu trái */
}

.tv-main-header .logo {
  display: flex;
  align-items: center;
  gap: 8px; /* Giảm khoảng cách giữa icon và text logo */
  font-weight: 700;
  font-size: 20px;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  flex-shrink: 0; /* Ngăn logo bị co lại */
}
.tv-main-header .logo .naf-logo {
  /* Style cho icon NAF */
  height: 20px; /* Kích thước icon nhỏ hơn */
  width: auto;
  vertical-align: middle;
}
.tv-main-header .logo span {
  font-size: 20px; /* Kích thước text logo nhỏ hơn */
  font-weight: 900;
  vertical-align: middle;
}

/* Ẩn menu mobile mặc định */
.main-nav-ul-left,
.main-nav-ul-right {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap; /* Cho phép xuống dòng trên màn hình nhỏ */
  gap: 15px; /* Khoảng cách giữa các item menu */
}

.main-nav-ul-left li a,
.main-nav-ul-right li a {
  text-decoration: none;
  font-weight: 600;
  color: #000;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px; /* Khoảng cách giữa icon và text trong item menu */
  white-space: nowrap; /* Ngăn text trong item menu xuống dòng */
  font-size: 16px; /* Kích thước font nhỏ hơn cho menu */
  margin-top: 9px; /* Đảm bảo không có margin-bottom */
  margin-bottom: 0; /* Đảm bảo không có margin-bottom */
}
.main-nav-ul-left li a:hover,
.main-nav-ul-right li a:hover {
  color: #ffd700; /* Màu hover vàng */
}
.main-nav-ul-left li a i,
.main-nav-ul-right li a i {
  font-size: 16px; /* Kích thước icon nhỏ hơn */
  color: #0a0a0a; /* Icon màu vàng */
  vertical-align: middle; /* THÊM DÒNG NÀY ĐỂ CĂN CHỈNH DỌC */
}

.header-right-section {
  flex: 1; /* Cho phép phần phải chiếm không gian còn lại */
  display: flex;
  justify-content: flex-end; /* Căn các item menu sang phải */
  align-items: center; /* Căn giữa dọc */
  gap: 15px; /* Khoảng cách giữa các item */
}

.tv-main-header .lang {
  font-weight: 600;
  font-size: 16px; /* Kích thước font nhỏ hơn */
  text-transform: uppercase;
  color: #000;
  flex-shrink: 0; /* Ngăn ngôn ngữ bị co lại */
  /* margin-left: 15px; */ /* Đã chuyển sang gap */
}
.tv-main-header .lang a {
  color: #000;
}
.tv-main-header .lang a:hover {
  color: #333;
}

/* Hamburger menu icon */
.hamburger-menu {
  display: none; /* Mặc định ẩn trên desktop */
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 100; /* Đảm bảo nút hamburger nằm trên menu */
}
.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}
.hamburger-menu span:last-child {
  margin-bottom: 0;
}
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  display: none; /* Ẩn mặc định */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 98;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-menu {
  display: none; /* Ẩn mặc định */
  position: fixed;
  top: 0;
  right: -300px; /* Bắt đầu từ ngoài màn hình */
  width: 300px; /* Chiều rộng menu mobile */
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 99;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
}
.mobile-nav-menu.active {
  right: 0; /* Hiện menu */
}

.mobile-nav-menu ul {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}
.mobile-nav-menu ul li {
  border-bottom: 1px solid #eee;
}
.mobile-nav-menu ul li:last-child {
  border-bottom: none;
}
.mobile-nav-menu ul li a {
  display: block;
  padding: 15px 20px;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 15px;
}
.mobile-nav-menu ul li a i {
  margin-right: 10px;
  color: #ffd700;
  font-size: 16px;
}
.mobile-nav-menu ul li a:hover {
  background: #f0f0f0;
  color: #ffd700;
}
.mobile-nav-menu .lang-mobile {
  padding: 15px 20px;
  font-weight: 600;
  text-transform: uppercase;
  border-top: 1px solid #eee;
  color: #000;
  font-size: 15px;
}

/* Responsive adjustments for header */
@media (max-width: 1024px) {
  .header-left-section {
    gap: 15px;
  }
  .main-nav-ul-right {
    gap: 10px; /* Giảm khoảng cách thêm trên tablet */
  }
  .main-nav-ul-left li a,
  .main-nav-ul-right li a {
    font-size: 14px;
  }
  .main-nav-ul-left li a i,
  .main-nav-ul-right li a i {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .header-left-section {
    width: auto;
    gap: 10px;
  }
  .tv-main-header .logo span {
    font-size: 18px; /* Giảm kích thước logo trên mobile */
  }
  .tv-main-header .logo .naf-logo {
    height: 18px;
  }

  .main-nav-ul-left,
  .main-nav-ul-right,
  .tv-main-header .lang {
    display: none; /* Ẩn menu và ngôn ngữ trên desktop */
  }

  .header-right-section {
    flex: none; /* Bỏ flex-grow */
    justify-content: flex-end;
    gap: 10px;
  }

  .hamburger-menu {
    display: block; /* Hiện hamburger menu */
  }
  .mobile-nav-overlay,
  .mobile-nav-menu {
    display: block; /* Hiện overlay và menu mobile */
  }
}

/* =============================
   HERO SECTION (Full)
   ============================= */
.tv-hero-full-wrap {
  background: #ffd700; /* Màu vàng */
  padding: 60px 0 120px; /* Tăng padding dưới để feature boxes chồng lên */
  position: relative;
  text-align: center;
  z-index: 5; /* Đảm bảo hero nằm trên các phần khác nếu cần */
}

.tv-hero-content {
  max-width: 950px;
  margin: 0 auto;
}

.tv-hero-titles .yellow-pages-text {
  display: inline-block;
  background: #000;
  color: #ffd700;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tv-hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  color: #000;
  margin: 0 0 30px;
  text-transform: uppercase;
}

/* === SEARCH FORM === */
.tv-search-form {
  display: flex;
  align-items: center;
  max-width: 950px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative; /* Để nút tìm kiếm tròn nằm đúng vị trí */
  z-index: 10; /* Đảm bảo form nằm trên các phần khác */
}

.tv-search-form input {
  flex: 1;
  border: none;
  outline: none;
  box-shadow: none;
  margin: 0;
  padding: 15px 20px;
  font-size: 16px;
  height: 60px;
  box-sizing: border-box;
}

.tv-search-form input + input {
  border-left: 1px solid #eee;
}

.tv-search-form button {
  all: unset;
  background: #000; /* Nút tìm kiếm màu đen */
  color: #ffd700;
  font-weight: bold;
  padding: 0;
  width: 60px; /* Kích thước cố định cho nút tròn */
  height: 60px;
  border-radius: 50%; /* Nút tròn */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  /* margin-right: 0; */ /* Xóa margin-right */
  position: absolute; /* Đặt nút tìm kiếm tuyệt đối */
  right: 0;
  top: 0;
}

.tv-search-form button:hover {
  background: #333;
}

.tv-search-form button i {
  font-size: 18px;
}

/* Responsive adjustments for Hero Section */
@media (max-width: 768px) {
  .tv-hero-full-wrap {
    padding: 40px 0 80px; /* Giảm padding */
  }
  .tv-hero-titles .yellow-pages-text {
    font-size: 16px;
    padding: 4px 12px;
  }
  .tv-hero-content h1 {
    font-size: 32px; /* Giảm font size */
    margin-bottom: 20px;
  }
  .tv-search-form {
    flex-direction: column; /* Xếp chồng input trên mobile */
    border-radius: 10px;
    max-width: 90%; /* Giảm chiều rộng */
  }
  .tv-search-form input {
    width: 100%;
    border-left: none; /* Xóa border giữa các input */
    border-bottom: 1px solid #eee; /* Thêm border dưới */
    height: 50px; /* Giảm chiều cao input */
    padding: 12px 15px;
    font-size: 15px;
  }
  .tv-search-form input:last-of-type {
    border-bottom: none; /* Xóa border dưới cho input cuối cùng */
  }
  .tv-search-form button {
    position: static; /* Đặt nút tìm kiếm về vị trí bình thường */
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    border-radius: 0 0 10px 10px; /* Bo góc dưới */
    height: 50px; /* Giảm chiều cao nút */
  }
}

@media (max-width: 480px) {
  .tv-hero-full-wrap {
    padding: 30px 0 60px;
  }
  .tv-hero-content h1 {
    font-size: 26px;
  }
  .tv-search-form {
    max-width: 95%;
  }
}

/* =============================
   FEATURE BOXES (Dưới Hero)
   ============================= */
.tv-features-container {
  display: flex;
  justify-content: center; /* Căn giữa các hộp */
  gap: 15px; /* Giảm khoảng cách giữa các hộp */
  max-width: 1100px; /* Rộng hơn hero content */
  margin: -80px auto 0; /* Dịch chuyển lên trên */
  position: relative;
  z-index: 10;
  padding: 0 15px; /* Thêm padding ngang để tránh dính vào cạnh */
}

.feature-box {
  flex: 1; /* Cho phép các hộp co giãn đều */
  min-width: 280px; /* Đảm bảo chiều rộng tối thiểu để chữ không bị xuống dòng quá sớm */
  max-width: 350px; /* Chiều rộng tối đa cho mỗi hộp */
  display: flex;
  align-items: flex-start;
  gap: 10px; /* Giảm khoảng cách giữa icon và text */
  background: #fff;
  margin-top: 20px;
  padding: 18px 20px; /* Giảm padding trên dưới */
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #ffd700;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-box .icon-wrap {
  min-width: 35px; /* Kích thước icon nhỏ hơn */
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Ngăn icon bị co lại */
}
.feature-box .icon-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.feature-box h4 {
  font-size: 15px; /* Kích thước font nhỏ hơn cho tiêu đề chính */
  font-weight: bold;
  margin: 0; /* Xóa margin-bottom */
  line-height: 1.2; /* Điều chỉnh line-height để chữ gọn hơn */
  white-space: nowrap; /* Đảm bảo tiêu đề nằm trên một dòng */
  overflow: hidden; /* Ẩn phần chữ bị tràn */
  text-overflow: ellipsis; /* Thêm dấu ... nếu chữ bị tràn */
}

.feature-box h4 span {
  color: #ff6600;
  font-weight: 600;
  font-size: 16px; /* Kích thước font nhỏ hơn cho tiêu đề phụ */
  white-space: nowrap; /* Đảm bảo tiêu đề phụ nằm trên một dòng */
}

.feature-box p {
  font-size: 14px; /* Kích thước font nhỏ hơn cho mô tả */
  color: #666;
  margin: 5px 0 0; /* Khoảng cách trên và xóa margin-bottom */
  line-height: 1.4; /* Điều chỉnh line-height */
}

/* Responsive adjustments for Feature Boxes */
@media (max-width: 1024px) {
  .tv-features-container {
    flex-wrap: wrap;
    margin-top: 5px; /* Giảm dịch chuyển lên trên trên tablet */
    justify-content: center;
  }
  .feature-box {
    flex-basis: calc(50% - 15px); /* 2 cột trên tablet, tính cả gap */
    max-width: calc(50% - 15px);
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .tv-features-container {
    flex-direction: column;
    align-items: center;
    margin-top: 1px; /* Giảm dịch chuyển lên trên trên mobile */
    gap: 1px; /* Giảm gap trên mobile */
  }
  .feature-box {
    flex-basis: 90%; /* 1 cột trên mobile, chiếm 90% chiều rộng */
    max-width: 90%;
    margin-bottom: 2px; /* Giảm margin bottom */
    padding: 15px; /* Giảm padding */
    text-align: left; /* Căn trái text trong box */
  }
  .feature-box h4 {
    white-space: normal; /* Cho phép tiêu đề xuống dòng trên mobile nếu cần */
    overflow: visible;
    text-overflow: clip;
    font-size: 16px;
  }
  .feature-box h4 span {
    font-size: 14px;
  }
  .feature-box p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .feature-box {
    display: none;
  }
}

/* =============================
   MAIN CATEGORY GRID STATIC (Bao bọc các khối danh mục ảnh)
   ============================= */

.tv-main-category-grid-wrap-static {
  /* CONTAINER CHÍNH DẠNG LƯỚI TĨNH */
  padding-top: 30px;
  padding-bottom: 30px;
  background: #f0f2f5; /* Nền xám nhạt */
}
.tv-main-category-grid-wrap-static .tv-section-title {
  margin-bottom: 30px;
}

.tv-static-category-grid {
  /* LƯỚI 3 CỘT CHO CÁC KHỐI NGÀNH CHA */
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* 3 cột, co giãn */
  gap: 20px; /* Khoảng cách giữa các khối Ngành cha */
}

.tv-static-category-item-box {
  /* Mỗi khối Ngành cha */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px; /* Giảm padding */
  height: auto; /* Chiều cao tự động */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.tv-static-category-item-box:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.tv-static-category-item-title {
  /* Tiêu đề của khối Ngành cha */
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  width: 100%;
  border-bottom: 1px dashed #eee;
  padding-bottom: 10px;
}
.tv-static-category-item-title a {
  color: inherit;
}
.tv-static-category-item-title a:hover {
  color: #ffd700;
}

.tv-static-sub-items-grid {
  /* Lưới 3 cột cho các ngành con nhỏ */
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cột đều nhau */
  gap: 10px; /* Khoảng cách giữa các ngành con nhỏ */
  width: 100%;
}

.tv-static-sub-category-item {
  /* Mỗi ngành con nhỏ nhất */
  background: #fff; /* Nền trắng */
  border: 1px solid #ddd;
  border-radius: 8px; /* Bo góc */
  padding: 5px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s ease;
}
.tv-static-sub-category-item:hover {
  background: #ffd700;
  border-color: #ffd700;
  color: #000;
}
.tv-static-sub-category-item a {
  display: block;
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tv-nested-sub-category-thumbnail {
  /* Giữ nguyên style này cho ảnh */
  width: 90px;
  height: 90px;
  overflow: hidden;
  margin-bottom: 5px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.tv-nested-sub-category-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tv-static-sub-category-item p {
  font-size: 11px;
  color: #333;
  margin: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.tv-static-sub-category-item:hover p {
  color: #000;
}

/* LOẠI BỎ CÁC QUY TẮC OWL CAROUSEL CHO SLIDER CHÍNH VÀ SLIDER CON */
.tv-category-slider.owl-carousel {
  display: block;
} /* Đảm bảo ẩn */
.tv-category-slider.owl-carousel .owl-stage-outer {
  display: none;
}
.tv-category-slider.owl-carousel .owl-nav {
  display: none;
}
.tv-category-slider.owl-carousel .owl-dots {
  display: none;
}

/* =============================
   RESPONSIVE ADJUSTMENTS FOR STATIC CATEGORY GRID
   ============================= */
@media (max-width: 1024px) {
  .tv-static-category-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cột trên tablet */
    gap: 15px;
  }
  .tv-static-sub-items-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(80px, 1fr)
    ); /* 2-3 cột cho ngành con trên tablet */
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .tv-main-category-slider-wrap .tv-section-title {
    font-size: 18px;
    text-align: center;
  }
  .tv-static-category-grid {
    grid-template-columns: 1fr; /* 1 cột trên mobile */
    gap: 15px;
  }
  .tv-static-category-item-box {
    align-items: center;
    text-align: center;
  }
  .tv-static-category-item-title {
    text-align: center;
  }
  .tv-static-sub-items-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(70px, 1fr)
    ); /* 2-3 cột cho ngành con trên mobile */
    gap: 8px;
  }
}

/* =============================
   IMAGE CATEGORY GRID
   ============================= */
/* Các quy tắc này vẫn giữ nguyên hoặc điều chỉnh nhỏ nếu cần */
.tv-image-category-section {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* padding đã được điều chỉnh ở trên */
  /* margin-bottom đã được điều chỉnh ở trên */
}

.tv-image-category-title {
  font-size: 20px; /* Giảm kích thước font cho tiêu đề khối lớn */
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 20px; /* Giảm khoảng cách dưới tiêu đề */
  border-bottom: 1px solid #eee; /* Đường kẻ dưới mỏng hơn */
  padding-bottom: 10px;
}

.tv-image-category-section .row {
  margin-left: -10px; /* Điều chỉnh margin cho row để kiểm soát gap */
  margin-right: -10px;
}

.tv-image-category-section .col {
  padding-left: 10px; /* Điều chỉnh padding cho col */
  padding-right: 10px;
  margin-bottom: 20px; /* Khoảng cách dưới mỗi cột */
}

.tv-image-category-item {
  background: #fff; /* Nền trắng cho hộp con */
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 10px; /* Padding bên trong hộp con */
  height: 100%;
  display: flex; /* Sử dụng flexbox để căn chỉnh nội dung */
  flex-direction: column; /* Xếp ảnh và text theo cột */
  align-items: center; /* Căn giữa nội dung theo chiều ngang */
  justify-content: center; /* Căn giữa nội dung theo chiều dọc */
  transition: all 0.2s ease;
}

.tv-image-category-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.tv-image-category-item a {
  display: flex; /* Cho phép link là flex container */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  width: 100%; /* Đảm bảo link chiếm toàn bộ chiều rộng */
  height: 100%; /* Đảm bảo link chiếm toàn bộ chiều cao */
}

.tv-image-category-thumbnail {
  width: 100%; /* Chiếm toàn bộ chiều rộng của padding */
  padding-top: 75%; /* Tỷ lệ 4:3 (75%) hoặc 1:1 (100%) nếu muốn vuông */
  position: relative;
  overflow: hidden;
  margin-bottom: 8px; /* Khoảng cách với text */
  border-radius: 3px;
  display: flex; /* Sử dụng flexbox để căn giữa ảnh */
  align-items: center;
  justify-content: center;
  background: #fff;
}

.tv-image-category-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Giữ tỷ lệ ảnh và căn giữa */
}

.tv-image-category-item h4 {
  font-size: 16px; /* Giảm kích thước font cho text dưới ảnh */
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.3;
  text-align: center; /* Căn giữa text */
}

/* Responsive adjustments for MAIN CATEGORY GRID CONTAINER */
@media (max-width: 1024px) {
  .tv-main-category-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .tv-main-category-grid-container .tv-image-category-section {
    flex-basis: calc(50% - 10px); /* 2 cột trên tablet */
    max-width: calc(50% - 10px);
    margin-bottom: 0; /* Xóa margin-bottom nếu đã có gap */
  }
}

@media (max-width: 768px) {
  .tv-main-category-grid-container {
    flex-direction: column;
    gap: 15px; /* Khoảng cách giữa các khối lớn trên mobile */
    align-items: center;
  }
  .tv-main-category-grid-container .tv-image-category-section {
    flex-basis: 95%; /* 1 cột trên mobile */
    max-width: 95%;
    padding: 20px; /* Đảm bảo padding nhất quán */
  }
  .tv-image-category-section .row.large-columns-3 .col {
    flex-basis: calc(
      50% - 10px
    ); /* Giữ 2 cột cho các item con bên trong khối */
    max-width: calc(50% - 10px);
    margin-bottom: 15px; /* Giảm margin bottom */
  }
  .tv-image-category-title {
    font-size: 18px;
    text-align: center;
  }
  .tv-image-category-item h4 {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .tv-image-category-section .row.large-columns-3 .col {
    flex-basis: 100%; /* 1 cột cho các item con trên mobile nhỏ */
    max-width: 100%;
    margin-bottom: 10px;
  }
  .tv-main-category-grid-container .tv-image-category-section {
    max-width: 100%; /* Full width */
  }
}

/* =============================
   ALPHABETICAL CATEGORY GRID (NIÊN GIÁM NGÀNH NGHỀ)
   ============================= */
.tv-alphabet-grid-wrap {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 30px;
}

.tv-alphabet-grid-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}

.tv-alphabet-grid-item {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 12px 15px;
  height: 100%;
  transition: all 0.2s ease;
}
.tv-alphabet-grid-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  background: #ffd700;
  border-color: #ffd700;
}
.tv-alphabet-grid-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}
.tv-alphabet-grid-item a:hover {
  color: #000;
}
.tv-alphabet-grid-item i {
  color: #ffd700;
  font-size: 18px;
}
.tv-alphabet-grid-item:hover i {
  color: #000;
}

/* Responsive adjustments for Alphabetical Category Grid */
@media (max-width: 1024px) {
  .tv-alphabet-grid-wrap {
    padding: 25px;
  }
  .tv-alphabet-grid-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .tv-alphabet-grid-wrap .row.large-columns-3 .col {
    flex-basis: calc(50% - 10px);
    max-width: calc(50% - 10px);
    margin-bottom: 15px;
  }
  .tv-alphabet-grid-item a {
    font-size: 15px;
  }
  .tv-alphabet-grid-item i {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .tv-alphabet-grid-wrap {
    padding: 20px;
    margin-bottom: 20px;
  }
  .tv-alphabet-grid-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .tv-alphabet-grid-wrap .row.large-columns-3 .col {
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }
  .tv-alphabet-grid-item {
    padding: 10px 12px;
  }
  .tv-alphabet-grid-item a {
    font-size: 16px;
    justify-content: center; /* Căn giữa trên mobile */
  }
  .tv-alphabet-grid-item i {
    font-size: 16px;
  }
}

/* =============================
   INFO BLOCK (Laptop & Sách)
   ============================= */
.tv-info-block-wrap {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 10px;
  margin-bottom: 30px;
}

.tv-info-block-image {
  max-width: 100%;
  height: auto;
}

.tv-info-block-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
}

.tv-info-block-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

.tv-info-block-list {
  list-style: none;
  padding-left: 0;
}
.tv-info-block-list li {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tv-info-block-list li i {
  color: #ffd700;
  font-size: 18px;
}

/* Responsive adjustments for Info Block */
@media (max-width: 1024px) {
  .tv-info-block-wrap {
    padding: 40px;
  }
  .tv-info-block-wrap .row {
    flex-direction: column; /* Xếp cột thành hàng trên tablet */
  }
  .tv-info-block-wrap .col {
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Khoảng cách giữa các khối */
    padding-bottom: 0;
    text-align: center; /* Căn giữa nội dung */
  }
  .tv-info-block-wrap .col:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .tv-info-block-title {
    font-size: 28px;
  }
  .tv-info-block-description {
    font-size: 15px;
  }
  .tv-info-block-list li {
    justify-content: left; /* Căn giữa list item */
  }
}

@media (max-width: 768px) {
  .tv-info-block-wrap {
    padding: 30px 20px;
    margin-bottom: 20px;
    padding-bottom: 0;
  }
  .tv-info-block-title {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .tv-info-block-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .tv-info-block-list li {
    font-size: 14px;
    margin-bottom: 8px;
    justify-content: left;
  }
  .tv-info-block-list li i {
    font-size: 16px;
  }
}

/* =============================
   ALPHABET INDEX (Bottom)
   ============================= */
.tv-az-wrap-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 30px;
  max-width: 1200px;
  margin: 0 auto 30px; /* Thêm margin-bottom để nhất quán */
}

.tv-az-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.tv-az-title i {
  color: #ffd700;
  font-size: 24px;
}

.tv-az-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px; /* Khoảng cách với khối A-Z */
  text-align: center; /* Căn giữa mô tả */
}

.tv-alphabet-bottom-inner {
  display: flex;
  align-items: center; /* Căn giữa dọc các phần tử */
  justify-content: center; /* Căn giữa ngang */
  flex-wrap: wrap; /* Cho phép xuống dòng trên mobile */
  gap: 15px; /* Khoảng cách giữa "Tìm ngành theo" và các chữ cái */
}

.tv-alphabet-label {
  font-size: 15px;
  color: #666;
  font-weight: bold;
  flex-shrink: 0; /* Ngăn text bị co lại */
}

.alphabet-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Căn giữa các chữ cái */
  gap: 8px;
  margin: 0; /* Xóa margin-top */
}

.alphabet-list a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.alphabet-list a:hover {
  background: #ffd700;
  border-color: #ffd700;
  color: #000;
}

/* Responsive adjustments for ALPHABET INDEX (Bottom) */
@media (max-width: 768px) {
  .tv-az-wrap-container {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  .tv-az-title {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .tv-az-description {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .tv-alphabet-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .tv-alphabet-label {
    margin-bottom: 5px;
    font-size: 16px;
  }
  .alphabet-list {
    justify-content: center;
    gap: 6px;
  }
  .alphabet-list a {
    padding: 5px 10px;
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .tv-az-title {
    font-size: 20px;
  }
}

/* =============================
   BOTTOM CTA (Bạn là doanh nghiệp?)
   ============================= */
.tv-bottom-cta-wrap {
  background: #fff; /* Nền trắng cho khối CTA */
  border-radius: 8px;
  padding: 10px 30px;
  margin-top: 30px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Thêm đổ bóng */
  display: flex; /* Sử dụng flexbox để căn chỉnh nội dung */
  align-items: center; /* Căn giữa theo chiều dọc */
  justify-content: space-between; /* Đẩy nội dung và nút ra hai bên */
  flex-wrap: wrap; /* Cho phép xuống dòng trên mobile */
  /* gap: 20px; Khoảng cách giữa các phần tử */
}

.tv-bottom-cta-text {
  font-size: 18px;
  font-weight: bold;
  color: #333; /* Màu chữ đen */
  margin-bottom: 0; /* Xóa margin-bottom */
  margin-top: 15px; /* Xóa margin-bottom */
  flex-basis: auto; /* Tự động điều chỉnh */
  max-width: 100%; /* Giới hạn chiều rộng trên desktop */
  text-align: left; /* Căn trái */
  padding-right: 55px; /* Giữ padding */
  flex-grow: 1; /* Cho phép giãn nở */
}

.tv-bottom-cta-zalo {
  font-size: 16px;
  color: #666; /* Màu chữ xám */
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px; /* Khoảng cách với text phía trên */
  margin-bottom: 0;
  flex-basis: auto; /* Tự động điều chỉnh */
  text-align: left; /* Căn trái */
}
.tv-bottom-cta-zalo i {
  font-size: 20px;
  color: #25d366; /* Màu xanh Zalo */
}

.tv-bottom-cta-wrap .button {
  background: #ff6600; /* MÀU CAM NỔI BẬT */
  color: #fff; /* Chữ trắng */
  border: none;
  margin-top: 35px;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  text-align: right; /* <= Sửa dòng này */
  flex-shrink: 0; /* Ngăn nút bị co lại */
  margin-left: auto; /* Đẩy nút sang phải trên desktop */
}
.tv-bottom-cta-wrap .button:hover {
  background: #e65c00; /* Màu cam đậm hơn khi hover */
}

/* Responsive adjustments for BOTTOM CTA */
@media (max-width: 1024px) {
  .tv-bottom-cta-wrap {
    flex-direction: column; /* Xếp chồng trên tablet */
    text-align: center;
    padding: 20px;
  }
  .tv-bottom-cta-text,
  .tv-bottom-cta-zalo {
    max-width: 100%;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0; /* Xóa padding right */
  }
  .tv-bottom-cta-text {
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 10px;
  }
  .tv-bottom-cta-zalo {
    justify-content: center; /* Căn giữa icon và text Zalo */
    font-size: 15px;
    margin-bottom: 15px; /* Thêm khoảng cách */
  }
  .tv-bottom-cta-wrap .button {
    margin: 10px auto 0 auto; /* Đảm bảo nút được căn giữa ngang */
    text-align: center; /* Đảm bảo text trong nút cũng căn giữa */
    width: auto; /* Để nút co giãn theo nội dung */
  }
}
@media (max-width: 768px) {
  .tv-bottom-cta-wrap {
    /* padding: 15px;
    margin-top: 20px;
    margin-bottom: 0; */
    display: none;
  }
  .tv-bottom-cta-text {
    font-size: 16px;
  }
  .tv-bottom-cta-zalo {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .tv-bottom-cta-wrap .button {
    margin: 10px auto 0 auto; /* Đảm bảo nút được căn giữa ngang */
    text-align: center; /* Đảm bảo text trong nút cũng căn giữa */
    padding: 10px 20px;
    font-size: 15px;
  }
}

/* =============================
   FOOTER STYLE
   ============================= */
#tv-footer {
  background: #ffd700;
  padding: 30px 0;
  text-align: center;
}

.tv-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-menu-wrap {
  margin-bottom: 20px;
}

.footer-menu-inner {
  background: #fff;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.footer-menu-list {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
  justify-content: center; /* Căn giữa menu item */
}

.footer-menu-list li a {
  color: #333;
  font-weight: 500;
  font-size: 16px; /* Giảm font size */
}

.footer-company-info-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  font-size: 16px;
}

.footer-bct-badge {
  flex: 0 0 auto;
  margin-top: 10px; /* Căn chỉnh với text */
}
.footer-bct-badge img {
  max-height: 80px;
  width: auto;
}

.footer-text-block {
  flex: 1;
  min-width: 250px;
}
.footer-text-block p {
  margin-bottom: 5px;
  line-height: 1.5;
}
.footer-text-block p strong {
  color: #000;
}

.tv-copyright {
  margin-top: 20px;
  font-size: 16px;
  color: #333;
}

/* Responsive adjustments for FOOTER */
@media (max-width: 1024px) {
  #tv-footer {
    padding: 25px 0;
  }
  .footer-menu-inner {
    padding: 6px 15px;
  }
  .footer-menu-list {
    gap: 10px;
  }
  .footer-menu-list li a {
    font-size: 16px;
  }
  .footer-company-info-wrap {
    flex-direction: column; /* Xếp cột thành hàng */
    align-items: center; /* Căn giữa */
    text-align: center;
    gap: 20px;
  }
  .footer-bct-badge {
    margin-bottom: 10px;
    margin-top: 0;
  }
  .footer-text-block {
    min-width: unset;
    max-width: 90%;
  }
  .footer-text-block p {
    font-size: 16px;
  }
  .tv-copyright {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  #tv-footer {
    padding: 20px 0;
  }
  .footer-menu-inner {
    display: none;
  }
  .footer-menu-list {
    flex-direction: column; /* Xếp menu thành 1 cột */
    gap: 5px;
  }
  .footer-menu-list li a {
    font-size: 14px;
  }
  .footer-text-block {
    max-width: 95%;
  }
}

/* =============================
   FORM ALERTS (Giữ nguyên)
   ============================= */
.tv-alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.tv-alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.tv-alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.tv-alert-danger ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  margin-bottom: 0;
}
.tv-alert-danger li {
  margin-bottom: 5px;
}

/* =============================
   SINGLE COMPANY PAGE STYLE (single-doanh_nghiep.php)
   ============================= */
.tv-single-company-page {
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 10px;
  padding-right: 10px; /* Thêm padding ngang */
  justify-items: center;
}

/* Cấu trúc 3 cột chính của trang */
.tv-single-company-page .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%; /* Full width */
  max-width: 100%; /* Hoặc 100% nếu muốn tràn toàn màn hình */
  margin: 0 auto; /* Căn giữa */
  gap: 10px;
}

.tv-single-company-main-content {
  flex-basis: 68%; /* 50% chiều rộng */
  max-width: 68%;
  padding-left: 0;
  padding-right: 0;
}

.tv-single-company-right-sidebar {
  flex-basis: 30%; /* 30% chiều rộng */
  max-width: 30%;
  padding-left: 0;
  padding-right: 0;
  margin-right: 0;
}

/* Sidebar trái (giữ nguyên style từ tv-industry-sidebar-menu) */
.tv-single-company-left-sidebar .tv-industry-sidebar-menu {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px 0 20px 20px;
}
.tv-single-company-left-sidebar .tv-industry-sidebar-menu .widget-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}
.tv-single-company-left-sidebar .tv-industry-sidebar-menu .tv-industry-list {
  list-style: none;
  padding-left: 0;
}
.tv-single-company-left-sidebar .tv-industry-sidebar-menu .tv-industry-list li {
  margin-bottom: 0;
  border-bottom: 1px solid #eee;
}
.tv-single-company-left-sidebar
  .tv-industry-sidebar-menu
  .tv-industry-list
  li:last-child {
  border-bottom: none;
}
.tv-single-company-left-sidebar
  .tv-industry-sidebar-menu
  .tv-industry-list
  li
  a {
  display: block;
  padding: 8px 0;
  font-size: 16px;
  color: #555;
  transition: color 0.2s;
}
.tv-single-company-left-sidebar
  .tv-industry-sidebar-menu
  .tv-industry-list
  li
  a:hover,
.tv-single-company-left-sidebar
  .tv-industry-sidebar-menu
  .tv-industry-list
  li
  a.current-term {
  color: #ffd700;
  font-weight: bold;
}
.tv-single-company-left-sidebar
  .tv-industry-sidebar-menu
  .tv-industry-sub-list {
  display: none;
}

/* Khối Tỉnh/Thành phố & Ngành xem thêm */
.tv-single-company-city,
.tv-single-company-more-industry {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-top: 20px; /* Thêm margin-top cho các khối này */
}
.tv-single-company-city .widget-title,
.tv-single-company-more-industry .widget-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}
.tv-single-company-city ul,
.tv-single-company-more-industry ul {
  list-style: none;
  padding-left: 0;
}
.tv-single-company-city li,
.tv-single-company-more-industry li {
  margin-bottom: 5px;
}
.tv-single-company-city li a,
.tv-single-company-more-industry li a {
  font-size: 16px;
  color: #555;
  transition: color 0.2s;
}
.tv-single-company-city li a:hover,
.tv-single-company-more-industry li a:hover {
  color: #ffd700;
}

/* Main Content - Article */
.tv-single-company-main-content .tv-company-article {
  background: none; /* Xóa nền trắng của article */
  padding: 0; /* Xóa padding của article */
  border-radius: 0;
  box-shadow: none;
}

/* Box 1: Tên doanh nghiệp, Badge, Logo, Thông tin liên hệ cơ bản */
.tv-company-box-1 {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 25px;
}
.tv-company-box-1 .tv-box-1-grid {
  display: grid;
  grid-template-columns: 8% auto 1fr; /* Cột 1: 5%, Cột 2: auto, Cột 3: 1fr */
  grid-template-rows: auto auto auto; /* Hàng 0, Hàng 1 */
  grid-template-areas:
    'order-num company-title badges-right' /* Hàng 0 */
    'badges-left badges-left badges-right-empty' /* Hàng 1 */
    'logo-col contact-info-col contact-info-col'; /* Hàng 2-6 */
  gap: 10px 15px; /* Khoảng cách giữa các ô grid (row-gap column-gap) */
}

/* Định vị các phần tử trong Box 1 Grid */
.tv-box-1-row-0 {
  grid-area: order-num / 1 / order-num / 3;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tv-company-order-number {
  background: #ffd700;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  flex-shrink: 0;
}
.tv-company-box-1 .entry-title {
  grid-area: company-title;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin: 0;
  flex-grow: 1;
}

.tv-box-1-row-1 {
  grid-area: badges-left / 1 / badges-left / 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eee;
}
.tv-company-badges-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tv-company-sponsor-badge {
  background: #ff6600;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tv-company-sponsor-badge i {
  font-size: 10px;
}
.tv-company-badges-right {
  grid-area: badges-right;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
} /* Căn phải */
.tv-verified-badge {
  background: none;
  color: #000;
  font-size: 14px;
  font-weight: normal;
  padding: 0;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tv-verified-badge img {
  height: 20px;
  width: auto;
  vertical-align: middle;
}

.tv-box-1-row-2-6 {
  grid-area: logo-col / 1 / contact-info-col / 3;
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.tv-company-logo-col {
  flex-basis: 25%;
  max-width: 25%;
  flex-shrink: 0;
} /* Cột logo chiếm 25% */
.tv-company-logo {
  width: 100%;
  height: 100px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tv-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tv-company-contact-info-col {
  flex-basis: 75%;
  max-width: 75%;
  display: flex;
  flex-direction: column;
  gap: 5px;
} /* Cột thông tin chiếm 75% */
.tv-company-contact-info-col p {
  font-size: 16px;
  color: #555;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-company-contact-info-col p i {
  color: #ffd700;
  font-size: 16px;
}
.tv-company-contact-info-col p a {
  color: #007bff;
  text-decoration: underline;
}
.tv-company-contact-info-col p a:hover {
  color: #ffd700;
}
.tv-company-contact-info-col .zalo-icon i {
  color: #25d366;
}

/* Box 2: Hồ sơ công ty (Thông tin chi tiết) */
.tv-company-box-2 {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 25px;
}
.tv-box-2-grid {
  display: grid;
  grid-template-columns: 30% 1fr; /* Cột 1: 30% (label), Cột 2: 1fr (value) */
  gap: 10px 15px; /* Khoảng cách giữa các hàng và cột */
  align-items: baseline; /* Căn chỉnh các hàng theo baseline */
}
.tv-box-2-label {
  /* Cột 1: Icon và Label */
  display: flex;
  align-items: baseline; /* Căn chỉnh icon và text theo baseline */
  gap: 8px;
  font-size: 16px;
  color: #555;
  font-weight: bold; /* Label in đậm */
}
.tv-box-2-label i {
  color: #ffd700;
  font-size: 16px;
  flex-shrink: 0;
}
.tv-box-2-label strong {
  color: #333;
}
.tv-box-2-value {
  /* Cột 2: Giá trị */
  font-size: 16px;
  color: #333;
}
.tv-box-2-value a {
  color: #007bff;
  text-decoration: underline;
}
.tv-box-2-value a:hover {
  color: #ffd700;
}

/* Box 3: Các nút tab (Giữ nguyên, nhưng sẽ cần CSS để trông như các nút điều hướng) */
.tv-company-box-3 {
  background: #f0f2f5; /* Nền xám nhạt cho thanh tab */
  border-radius: 8px; /* Bo góc */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 0; /* Không có padding */
  margin-bottom: 25px; /* Khoảng cách với box tiếp theo */
  overflow: hidden; /* Đảm bảo nội dung không tràn */
}
.tv-company-tabs {
  margin-top: 0; /* Xóa margin-top */
}
.tv-company-tabs .tabs-nav {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: nowrap; /* Ngăn xuống dòng */
  overflow-x: auto; /* Cho phép cuộn ngang */
  -webkit-overflow-scrolling: touch; /* Mượt trên iOS */
  scroll-snap-type: x mandatory; /* Snap vào các tab */
  margin-bottom: 0;
  background: none;
  border-radius: 0;
  overflow: visible;
}
.tv-company-tabs .tabs-nav::-webkit-scrollbar {
  height: 0; /* Ẩn scrollbar */
}
.tv-company-tabs .tabs-nav .tab-item {
  flex-shrink: 0; /* Ngăn tab co lại */
  scroll-snap-align: start; /* Snap vào đầu tab */
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  color: #666;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: 0;
  background: none;
  flex-grow: 1; /* Cho phép các nút chiếm đều không gian */
  text-align: center; /* Căn giữa text */
  border-right: 1px solid #eee; /* Đường kẻ phân cách dọc */
  min-width: 120px; /* Chiều rộng tối thiểu cho mỗi tab */
}
.tv-company-tabs .tabs-nav .tab-item:last-child {
  border-right: none; /* Xóa border phải cho nút cuối */
}
.tv-company-tabs .tabs-nav .tab-item:hover {
  color: #ffd700;
}
.tv-company-tabs .tabs-nav .tab-item.active {
  color: #ffd700;
  background: #fff; /* Nền trắng cho tab active */
}

/* Box 4, 5, 6, 7: Nội dung các section */
.tv-company-box-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 25px;
  text-align: justify;
}

/* Tiêu đề trong tab */
.tab-content-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 10px;
}

/* Tab Giới thiệu chung */
.tab-pane .company-excerpt {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  white-space: normal; /* Đảm bảo ngắt dòng bình thường */
  word-break: break-word; /* Cho phép ngắt từ nếu cần */
}
.tab-pane .company-full-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}
.tab-pane .tv-company-highlights h3 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-top: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tab-pane .tv-company-highlights h3:before {
  content: '\f0da'; /* Icon mũi tên */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #ffd700;
  font-size: 16px;
}
.tab-pane .tv-company-highlights ul {
  list-style: none;
  padding-left: 0;
}
.tab-pane .tv-company-highlights li {
  font-size: 16px;
  color: #555;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tab-pane .tv-company-highlights li i {
  color: #ffd700; /* Icon ngôi sao màu vàng */
  font-size: 14px;
}
.tab-pane .company-special-note,
.tab-pane .company-clients {
  font-size: 16px;
  color: #555;
  margin-bottom: 5px;
}
.tab-pane .company-special-note strong,
.tab-pane .company-clients strong {
  color: #333;
}

/* Tab Sản phẩm dịch vụ (Box 5) */
.tv-company-main-products-tab.tv-grid-3-columns ul {
  list-style: none;
  padding-left: 0;
  display: grid; /* SỬ DỤNG CSS GRID */
  grid-template-columns: repeat(3, 1fr); /* 3 cột đều nhau */
  gap: 10px 20px; /* Khoảng cách giữa các hàng và cột */
}
.tv-company-main-products-tab li {
  font-size: 16px;
  color: #555;
  margin-bottom: 0; /* Xóa margin-bottom */
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-company-main-products-tab li i {
  color: #ffd700;
  font-size: 14px;
}

/* Tab Thư viện ảnh (Box 6) */
.tv-company-box-content .tv-product-service-gallery-tab.tv-grid-5-columns {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(100px, 1fr)
  ); /* 5 cột tối đa, co giãn */
  gap: 15px; /* Khoảng cách giữa các ảnh */
}
/* Xóa khung nền, padding, border */
.tv-company-box-content .tv-gallery-item-wrap {
  position: relative;
  width: 100%;
  height: 100px; /* bạn set chiều cao tùy ý */
  overflow: hidden;
  border-radius: 6px; /* nếu muốn bo góc */
}

/* Link bao quanh ảnh chiếm full */
.tv-company-box-content .tv-gallery-item-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Ảnh chiếm trọn khung */
.tv-company-box-content .tv-product-service-gallery-tab img {
  width: 100%;
  height: 100% !important;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
}

/* Ẩn luôn phần tên ảnh bên dưới */
.tv-company-box-content .tv-gallery-item-wrap .product-title {
  display: none;
}

/* Thêm hiệu ứng hover đẹp */
.tv-company-box-content .tv-gallery-item-wrap a:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Tab Hồ sơ công ty (Box 7) */
.tv-box-7-grid {
  display: grid;
  grid-template-columns: 30% 1fr; /* Cột 1: 30% (label), Cột 2: 1fr (value) */
  gap: 10px 15px; /* Khoảng cách giữa các hàng và cột */
  align-items: baseline; /* Căn chỉnh các hàng theo baseline */
}
.tv-box-7-label {
  /* Cột 1: Icon và Label */
  display: flex;
  align-items: baseline; /* Căn chỉnh icon và text theo baseline */
  gap: 8px;
  font-size: 15px;
  color: #555;
  font-weight: bold; /* Label in đậm */
}
.tv-box-7-label i {
  color: #ffd700;
  font-size: 15px;
  flex-shrink: 0;
}
.tv-box-7-label strong {
  color: #333;
}
.tv-box-7-value {
  /* Cột 2: Giá trị */
  font-size: 16px;
  color: #333;
}
.tv-box-7-value a {
  color: #007bff;
  text-decoration: underline;
}
.tv-box-7-value a:hover {
  color: #ffd700;
}

/* Khối Thông tin liên hệ người đại diện */
.tv-single-company-contact-person {
  background: #ffd700; /* Nền vàng */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 10px;
  text-align: center; /* Căn giữa nội dung */
  margin-bottom: 30px; /* Thêm margin-bottom */
}
.tv-single-company-contact-person .widget-title {
  font-size: 18px;
  font-weight: bold;
  color: #000; /* Chữ đen */
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #000; /* Đường kẻ đen */
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center; /* Căn giữa tiêu đề */
  gap: 10px;
}
.tv-single-company-contact-person .widget-title i {
  color: #000; /* Icon đen */
  font-size: 16px;
}
.tv-single-company-contact-person p {
  font-size: 14px;
  color: #333; /* Chữ đen */
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: left;
  gap: 6px;
  width: auto;
  flex-wrap: nowrap;
}
.tv-single-company-contact-person p strong {
  color: #000;
}
.tv-single-company-contact-person p i {
  color: #000; /* Icon đen */
  font-size: 16px;
  margin-top: 3px;
}
.tv-single-company-contact-person p a {
  color: #007bff;
  text-decoration: underline;
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
}
.tv-single-company-contact-person p a:hover {
  color: #333;
}

/* Banner quảng cáo lớn (giữ nguyên style từ tv-industry-banner-ads) */
.tv-single-company-right-sidebar .tv-industry-banner-ads {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px;
  margin-bottom: 30px;
  text-align: center;
}
.tv-single-company-right-sidebar .tv-industry-banner-ads img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* CTA "Bạn là doanh nghiệp?" (giữ nguyên style từ tv-sidebar-cta) */
.tv-single-company-right-sidebar .tv-sidebar-cta {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-top: 0;
  text-align: center;
}
.tv-single-company-right-sidebar .tv-sidebar-cta .widget-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
  display: inline-block;
  text-align: center;
}
.tv-single-company-right-sidebar .tv-sidebar-cta-button {
  background: #ffd700;
  color: #000;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  display: block;
  width: 100%;
  margin: 20px 0;
}
.tv-single-company-right-sidebar .tv-sidebar-cta-button:hover {
  background: #e6c500;
}
.tv-single-company-right-sidebar .tv-sidebar-cta-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  text-align: left;
}
.tv-single-company-right-sidebar .tv-sidebar-cta-list li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-single-company-right-sidebar .tv-sidebar-cta-list li i {
  color: #ffd700;
  font-size: 16px;
}
.tv-single-company-right-sidebar .tv-sidebar-cta-contact {
  font-size: 16px;
  color: #666;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.tv-single-company-right-sidebar .tv-sidebar-cta-zalo-info {
  font-size: 15px;
  color: #333;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tv-single-company-right-sidebar .tv-sidebar-cta-zalo-info i {
  color: #25d366;
  font-size: 18px;
}

/* =============================
   RESPONSIVE ADJUSTMENTS FOR SINGLE COMPANY PAGE
   ============================= */
@media (max-width: 1024px) {
  .tv-single-company-page {
    padding-left: 15px;
    padding-right: 15px;
  }
  .tv-single-company-page .row {
    gap: 15px;
  }
  /* Chuyển sang 2 cột: main content + right sidebar, left sidebar xếp cuối */
  .tv-single-company-main-content {
    flex-basis: calc(65% - 15px); /* 65% cho main content */
    max-width: calc(65% - 15px);
  }
  .tv-single-company-right-sidebar {
    flex-basis: 35%; /* 35% cho right sidebar */
    max-width: 35%;
  }
  .tv-single-company-left-sidebar {
    flex-basis: 100%; /* Sidebar trái chiếm toàn bộ chiều rộng */
    max-width: 100%;
    margin-top: 30px; /* Đẩy xuống dưới cùng */
    order: 3; /* Đặt thứ tự hiển thị sau cùng */
  }
  .tv-single-company-left-sidebar .tv-industry-sidebar-menu,
  .tv-single-company-city,
  .tv-single-company-more-industry {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px;
  }

  /* Responsive cho Box 1 */
  .tv-company-box-1 .tv-box-1-grid {
    grid-template-columns: 1fr; /* 1 cột trên tablet */
    grid-template-rows: auto;
    grid-template-areas:
      'order-num'
      'company-title'
      'badges-left'
      'badges-right'
      'logo-col'
      'contact-info-col';
    gap: 10px;
  }
  .tv-box-1-row-0 {
    grid-area: order-num;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 5px;
  }
  .tv-company-order-number {
    font-size: 16px;
    padding: 4px 8px;
  }
  .tv-company-box-1 .entry-title {
    grid-area: company-title;
    width: 100%;
    font-size: 24px;
    text-align: center; /* Căn giữa tiêu đề */
  }
  .tv-box-1-row-1 {
    grid-area: badges-left;
    flex-direction: column;
    align-items: center; /* Căn giữa */
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
    gap: 5px;
  }
  .tv-company-badges-left {
    flex-direction: row; /* Giữ hàng cho badge sponsor */
    justify-content: center;
    width: 100%;
  }
  .tv-company-badges-right {
    grid-area: badges-right;
    flex-direction: row; /* Giữ hàng cho badge verified */
    justify-content: center;
    width: 100%;
    margin-top: 5px;
    border-bottom: 1px dashed #eee; /* Di chuyển border xuống đây */
    padding-bottom: 10px;
  }
  .tv-verified-badge,
  .tv-company-sponsor-badge {
    position: static;
  }
  .tv-box-1-row-2-6 {
    grid-area: logo-col;
    flex-direction: column;
    align-items: center; /* Căn giữa */
    text-align: left;
    gap: 10px;
    margin-top: 10px;
  }
  .tv-company-logo-col {
    flex-basis: auto;
    max-width: 120px; /* Giới hạn kích thước logo */
  }
  .tv-company-logo {
    width: 120px;
    height: 120px;
  }
  .tv-company-contact-info-col {
    grid-area: contact-info-col;
    flex-basis: auto;
    max-width: 100%;
    align-items: flex-start; /* Căn giữa các dòng thông tin */
  }
  .tv-company-contact-info-col p {
    font-size: 14px;
    justify-content: left;
  }

  .tv-company-contact-info-col p i {
    font-size: 14px;
    align-content: flex-start;
  }

  .tv-single-company-contact-person p {
    font-size: 14px; /* Giảm font size của thông tin liên hệ */
  }

  /* Responsive cho Box 2 */
  .tv-company-box-2 .tv-box-2-grid {
    grid-template-columns: 40% 1fr; /* 1 cột trên tablet */
    gap: 10px;
  }
  .tv-box-2-label {
    font-size: 15px;
    justify-content: left;
    text-align: left;
  }
  .tv-box-2-value {
    font-size: 15px;
    text-align: justify;
  }

  /* Responsive cho Tabs */
  .tv-company-tabs .tabs-nav .tab-item {
    font-size: 16px;
    padding: 8px 10px;
    min-width: 100px; /* Giảm min-width cho tab */
  }
  .tab-pane .tv-company-main-products-tab ul {
    grid-template-columns: repeat(2, 1fr); /* 2 cột sản phẩm trên tablet */
    gap: 10px;
  }
  .tab-pane .tv-company-main-products-tab li {
    font-size: 16px;
  }
  .tv-company-box-content .tv-product-service-gallery-tab.tv-grid-5-columns {
    grid-template-columns: repeat(
      auto-fit,
      minmax(80px, 1fr)
    ); /* 80px min-width */
    gap: 10px;
  }
  .tv-company-box-content .tv-gallery-item-wrap {
    height: 80px; /* Giảm chiều cao ảnh */
  }
  .tab-pane .tv-company-highlights h3,
  .tab-pane .tv-company-highlights li {
    font-size: 16px;
  }
  .tab-pane .company-excerpt,
  .tab-pane .company-full-description {
    font-size: 16px;
  }

  /* Responsive cho Box 7 */
  .tv-box-7-grid {
    grid-template-columns: 1fr; /* 1 cột trên mobile */
    gap: 10px;
  }
  .tv-box-7-label {
    justify-content: flex-start;
    text-align: left;
  }
  .tv-box-7-value {
    text-align: justify;
  }
}

@media (max-width: 768px) {
  .tv-single-company-page {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0;
  }
  .tv-single-company-page .row {
    flex-direction: column; /* Toàn bộ thành 1 cột */
    gap: 20px;
  }
  .tv-single-company-main-content,
  .tv-single-company-right-sidebar,
  .tv-single-company-left-sidebar {
    flex-basis: 100%; /* Chiếm toàn bộ chiều rộng */
    max-width: 100%;
    margin-top: 0; /* Xóa margin-top */
  }
  .tv-single-company-main-content {
    order: 1; /* Main content lên đầu */
  }
  .tv-single-company-right-sidebar {
    order: 2; /* Sidebar phải thứ 2 */
  }
  .tv-single-company-left-sidebar {
    order: 3; /* Sidebar trái thứ 3 */
  }

  .tv-company-box-1,
  .tv-company-box-2,
  .tv-company-box-3,
  .tv-company-box-content,
  .tv-single-company-contact-person,
  .tv-single-company-right-sidebar .tv-industry-banner-ads,
  .tv-single-company-right-sidebar .tv-sidebar-cta,
  .tv-single-company-left-sidebar .tv-industry-sidebar-menu,
  .tv-single-company-city,
  .tv-single-company-more-industry {
    padding: 15px; /* Giảm padding chung */
    margin-bottom: 20px; /* Giảm margin bottom */
  }
  .tv-company-box-1 .entry-title {
    font-size: 20px;
  }
  .tv-single-company-contact-person .widget-title {
    font-size: 16px;
  }
  .tv-company-tabs .tabs-nav {
    flex-wrap: nowrap; /* Cho phép tab xuống dòng */
    overflow-x: hidden; /* Ẩn scroll ngang nếu không cần */
    scroll-snap-type: none; /* Tắt snap */
    justify-content: center;
  }
  .tv-company-tabs .tabs-nav .tab-item {
    flex-basis: calc(50% - 2px); /* 2 cột tab trên mobile */
    max-width: calc(50% - 2px);
    border-right: none; /* Xóa border phải */
    border-bottom: 1px solid #eee; /* Thêm border dưới */
    max-width: 100px;
    font-size: 16px;
  }
  .tv-company-tabs .tabs-nav .tab-item:nth-child(even) {
    border-right: none;
  }
  .tv-company-tabs .tabs-nav .tab-item:last-child {
    border-bottom: none;
  }
  .tv-company-tabs .tabs-nav .tab-item.active {
    background: #f0f2f5; /* Nền active có thể là nền của box cha */
  }

  .tab-pane .tv-company-main-products-tab ul {
    grid-template-columns: 1fr; /* 1 cột sản phẩm trên mobile */
  }
  .tv-company-box-content .tv-product-service-gallery-tab.tv-grid-5-columns {
    grid-template-columns: repeat(
      auto-fit,
      minmax(55px, 1fr)
    ); /* 60px min-width */
    gap: 8px;
  }
  .tv-company-box-content .tv-gallery-item-wrap {
    height: 60px; /* Giảm chiều cao ảnh */
  }
  .tv-single-company-right-sidebar .tv-sidebar-cta .widget-title {
    font-size: 16px;
  }
  .tv-box-7-label {
    justify-content: flex-start;
    text-align: left;
  }
  .tv-box-7-value {
    text-align: justify;
  }
}

/* =============================
   GENERAL PAGE SECTIONS (Giữ nguyên)
   ============================= */
.tv-page-header {
  margin-bottom: 40px;
}
.tv-page-header h1 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}
.tv-page-header .description {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}
.tv-page-header .description strong {
  color: #ffd700;
}
/* Responsive general page sections */
@media (max-width: 768px) {
  .tv-page-header {
    margin-bottom: 30px;
    text-align: center;
  }
  .tv-page-header h1 {
    font-size: 28px;
  }
  .tv-page-header .description {
    font-size: 16px;
    padding: 0 10px;
    text-align: justify;
  }
}

/* =============================
   REGISTRATION FORM STYLE
   ============================= */
.tv-registration-page .tv-registration-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto 40px;
}

.tv-registration-form fieldset.form-section {
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
}

.tv-registration-form legend {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  padding: 0 10px;
  margin-left: -10px;
  margin-bottom: 20px;
  display: table;
}

.tv-registration-form .form-grid {
  /* Grid cho các trường input */
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(280px, 1fr)
  ); /* 2 cột, co giãn */
  gap: 15px 20px; /* Khoảng cách giữa các trường */
}

.tv-registration-form .form-row {
  margin-bottom: 0; /* Xóa margin-bottom */
}
.tv-registration-form .form-row.full-width {
  grid-column: 1 / -1; /* Chiếm toàn bộ chiều rộng */
}

.tv-registration-form label {
  display: flex; /* Sử dụng flexbox cho label để căn icon */
  align-items: center;
  gap: 8px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}
.tv-registration-form label i {
  color: #ffd700; /* Icon màu vàng */
  font-size: 16px;
}

.tv-registration-form label .required {
  color: #dc3545;
}

.tv-registration-form input[type='text'],
.tv-registration-form input[type='tel'],
.tv-registration-form input[type='email'],
.tv-registration-form input[type='url'],
.tv-registration-form textarea,
.tv-registration-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 15px;
  transition: border-color 0.2s;
}

.tv-registration-form input:focus,
.tv-registration-form textarea:focus,
.tv-registration-form select:focus {
  border-color: #ffd700;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.tv-registration-form textarea {
  min-height: 100px;
  resize: vertical;
}

.tv-registration-form .checkbox-group {
  display: flex;
  flex-wrap: wrap; /* Cho phép xuống dòng */
  gap: 10px; /* Khoảng cách giữa các checkbox */
}
.tv-registration-form .checkbox-group label {
  display: inline-flex; /* Sử dụng inline-flex để căn icon và text */
  align-items: center;
  font-weight: normal;
  margin-right: 0; /* Xóa margin-right mặc định */
  margin-bottom: 0;
  gap: 5px; /* Khoảng cách giữa checkbox và text */
}
.tv-registration-form .checkbox-group input[type='checkbox'] {
  margin-right: 0; /* Xóa margin-right mặc định */
}

.tv-registration-form .form-submit .button {
  background: #ffd700;
  color: #000;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  justify-content: center;
}

.tv-registration-form .form-submit .button:hover {
  background: #e6c500;
}

/* Responsive adjustments for Registration Form */
@media (max-width: 768px) {
  .tv-registration-page .tv-registration-form {
    padding: 20px;
    margin-bottom: 30px;
  }
  .tv-registration-form fieldset.form-section {
    padding: 15px;
    margin-bottom: 20px;
  }
  .tv-registration-form legend {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .tv-registration-form .form-grid {
    grid-template-columns: 1fr; /* 1 cột trên mobile */
    gap: 15px;
  }
  .tv-registration-form .checkbox-group {
    flex-direction: column; /* Xếp checkbox theo cột */
    align-items: flex-start;
    gap: 8px;
  }
  .tv-registration-form .checkbox-group label {
    margin-bottom: 0;
    font-size: 16px;
  }
  .tv-registration-form input[type='text'],
  .tv-registration-form input[type='tel'],
  .tv-registration-form input[type='email'],
  .tv-registration-form input[type='url'],
  .tv-registration-form textarea,
  .tv-registration-form select {
    font-size: 16px;
    padding: 8px 10px;
  }
  .tv-registration-form .form-submit .button {
    font-size: 15px;
    padding: 10px 20px;
  }
}
@media (max-width: 480px) {
  .tv-registration-page .tv-registration-form {
    padding: 15px;
  }
  .tv-registration-form legend {
    font-size: 16px;
  }
}

/* =============================
   ADVERTISING PAGE STYLE (Giữ nguyên)
   ============================= */
.tv-advertising-page {
  background: #f8f8f8;
  padding-bottom: 60px;
}

.tv-ads-banner-top {
  margin-bottom: 50px;
}

.tv-ads-section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.tv-ads-section h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tv-ads-section h2 i {
  color: #ffd700;
  font-size: 20px;
}

.tv-ads-section p {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.7;
}

.tv-ads-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.tv-ads-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-size: 15px;
}
.tv-ads-section ul li:before {
  content: '\f00c'; /* Font Awesome check icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #ffd700;
  position: absolute;
  left: 0;
  top: 0;
}

/* Contact Ads Section */
.tv-contact-ads-section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.tv-contact-ads-section h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.tv-contact-form .form-row {
  margin-bottom: 15px;
}
.tv-contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}
.tv-contact-form input[type='text'],
.tv-contact-form input[type='tel'],
.tv-contact-form input[type='url'],
.tv-contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 15px;
}
.tv-contact-form .button {
  background: #ffd700;
  color: #000;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.tv-contact-form .button:hover {
  background: #e6c500;
}

.tv-contact-info-wrap p {
  margin-bottom: 10px;
  font-size: 15px;
}
.tv-contact-info-wrap p strong {
  color: #000;
}
.tv-contact-info-wrap a {
  color: #007bff;
}
.tv-contact-info-wrap a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for Advertising Page */
@media (max-width: 768px) {
  .tv-advertising-page {
    padding-bottom: 40px;
  }
  .tv-ads-banner-top {
    margin-bottom: 30px;
  }
  .tv-ads-section {
    padding: 20px;
    margin-bottom: 30px;
  }
  .tv-ads-section h2,
  .tv-contact-ads-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .tv-ads-section p,
  .tv-ads-section ul li,
  .tv-contact-form input,
  .tv-contact-form textarea,
  .tv-contact-info-wrap p {
    font-size: 16px;
  }
  .tv-contact-form .button {
    font-size: 15px;
    padding: 10px 20px;
  }
}

/* =============================
   HIERARCHICAL INDUSTRY SIDEBAR (Giữ nguyên)
   ============================= */
.tv-industry-list ul {
  /* Style cho các danh mục con */
  list-style: none;
  padding-left: 15px; /* Thụt lề cho danh mục con */
  margin-top: 5px;
  margin-bottom: 5px;
}
.tv-industry-list li a {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  color: #555;
  transition: color 0.2s;
}
.tv-industry-list li a:hover,
.tv-industry-list li a.current-term {
  color: #ffd700;
  font-weight: bold;
}

/* Style riêng cho danh mục con */
.tv-industry-list .tv-industry-sub-list li a {
  font-size: 16px; /* Kích thước nhỏ hơn cho danh mục con */
  color: #777;
  padding-left: 0; /* Đảm bảo không có padding thừa */
}
.tv-industry-list .tv-industry-sub-list li a:hover,
.tv-industry-list .tv-industry-sub-list li a.current-term {
  color: #ffd700;
  font-weight: normal; /* Không in đậm quá nhiều */
}
.tv-industry-list .tv-industry-sub-list li a.current-term {
  font-weight: bold;
  color: #ffd700;
}

/* =============================
   FEATURED BUSINESSES SECTION (Giữ nguyên)
   ============================= */
.tv-featured-businesses-wrap {
  padding-top: 50px;
  padding-bottom: 50px;
  background: #f0f2f5; /* Nền màu xám nhạt */
}

.tv-featured-businesses-wrap .tv-section-title {
  font-size: 28px; /* Tái sử dụng từ .tv-section-title gốc */
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
}
.tv-featured-businesses-wrap .tv-section-title i {
  color: #ffd700;
  font-size: 24px;
}
.tv-featured-businesses-wrap .tv-section-description {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto 40px;
}

.tv-featured-company-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.tv-featured-company-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.tv-featured-company-item a {
  display: block; /* Để toàn bộ box là link */
  color: inherit;
}

.tv-featured-company-thumbnail {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}
.tv-featured-company-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tv-featured-company-thumbnail.no-image {
  font-size: 40px;
  color: #ccc;
}

.tv-featured-company-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}
.tv-featured-company-item .company-address {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* Responsive adjustments for Featured Businesses */
@media (max-width: 1024px) {
  .tv-featured-businesses-wrap .tv-section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .tv-featured-businesses-wrap .tv-section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .tv-featured-businesses-wrap .row .col {
    flex-basis: calc(50% - 15px); /* 2 cột trên tablet */
    max-width: calc(50% - 15px);
    margin-bottom: 20px;
  }
  .tv-featured-company-item h3 {
    font-size: 17px;
  }
  .tv-featured-company-item .company-address {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .tv-featured-businesses-wrap {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .tv-featured-businesses-wrap .tv-section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .tv-featured-businesses-wrap .tv-section-description {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  .tv-featured-businesses-wrap .row .col {
    flex-basis: 100%; /* 1 cột trên mobile */
    max-width: 90%; /* Giới hạn chiều rộng */
    margin: 0 auto 15px;
  }
  .tv-featured-company-item h3 {
    font-size: 16px;
  }
  .tv-featured-company-item .company-address {
    font-size: 14px;
  }
}

/* =============================
   SERVICE BOXES STYLE (Giữ nguyên)
   ============================= */
.tv-service-boxes-wrap {
  padding-top: 50px;
  padding-bottom: 50px;
  background: #fcfcfc; /* Nền nhẹ để phân biệt */
}

.tv-service-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.tv-service-box:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.tv-service-box a {
  display: block; /* Để toàn bộ box là link */
  color: inherit; /* Kế thừa màu chữ */
}

.tv-service-box .icon-circle {
  background: #ffd700;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.tv-service-box .icon-circle i {
  color: #000;
  font-size: 30px;
}

.tv-service-box h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}
.tv-service-box p {
  font-size: 15px;
  color: #666;
  margin: 0;
}

/* Responsive adjustments for Service Boxes */
@media (max-width: 1024px) {
  .tv-service-boxes-wrap .row .col {
    flex-basis: calc(50% - 15px); /* 2 cột trên tablet */
    max-width: calc(50% - 15px);
    margin-bottom: 20px;
  }
  .tv-service-box {
    padding: 25px;
  }
  .tv-service-box h3 {
    font-size: 20px;
  }
  .tv-service-box p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .tv-service-boxes-wrap {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .tv-service-boxes-wrap .row .col {
    flex-basis: 100%; /* 1 cột trên mobile */
    max-width: 90%;
    margin: 0 auto 15px;
  }
  .tv-service-box {
    padding: 20px;
  }
  .tv-service-box .icon-circle {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  .tv-service-box .icon-circle i {
    font-size: 24px;
  }
  .tv-service-box h3 {
    font-size: 18px;
  }
  .tv-service-box p {
    font-size: 16px;
  }
}

/* =============================
   CALL TO ACTION (CTA) STYLE (Giữ nguyên)
   ============================= */
.tv-cta-wrap {
  padding: 80px 20px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}
.tv-cta-wrap:before {
  /* Lớp phủ mờ cho ảnh nền */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.tv-cta-wrap h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
}
.tv-cta-wrap p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #fff;
}
.tv-cta-wrap .button.large {
  background: #ffd700;
  color: #000;
  border: none;
  padding: 15px 35px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
}
.tv-cta-wrap .button.large:hover {
  background: #e6c500;
}

/* Responsive adjustments for CTA */
@media (max-width: 768px) {
  .tv-cta-wrap {
    padding: 50px 15px;
  }
  .tv-cta-wrap h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .tv-cta-wrap p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .tv-cta-wrap .button.large {
    font-size: 16px;
    padding: 12px 25px;
  }
}
@media (max-width: 480px) {
  .tv-cta-wrap h2 {
    font-size: 24px;
  }
  .tv-cta-wrap p {
    font-size: 15px;
  }
}

/* =============================
   404 PAGE STYLE (Giữ nguyên)
   ============================= */
.tv-404-page {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #f8f8f8;
}
.tv-404-content {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.tv-404-title {
  font-size: 120px;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 20px;
  line-height: 1;
}
.tv-404-subtitle {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}
.tv-404-description {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}
.tv-404-button {
  /* Sử dụng lại style của button.primary.large */
  background: #ffd700;
  color: #000;
  border: none;
  padding: 15px 35px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
}
.tv-404-button:hover {
  background: #e6c500;
}

/* Responsive adjustments for 404 Page */
@media (max-width: 768px) {
  .tv-404-page {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .tv-404-content {
    padding: 30px;
  }
  .tv-404-title {
    font-size: 80px;
    margin-bottom: 15px;
  }
  .tv-404-subtitle {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .tv-404-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .tv-404-button {
    font-size: 16px;
    padding: 12px 25px;
  }
}
@media (max-width: 480px) {
  .tv-404-title {
    font-size: 60px;
  }
  .tv-404-subtitle {
    font-size: 24px;
  }
  .tv-404-description {
    font-size: 15px;
  }
}

/* =============================
   DEFAULT INDEX PAGE (Giữ nguyên)
   ============================= */
.tv-default-index {
  padding-top: 50px;
  padding-bottom: 50px;
}
.tv-default-index h1 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}
.tv-default-post-item {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}
.tv-default-post-item .entry-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
}
.tv-default-post-item .entry-title a {
  color: #000;
}
.tv-default-post-item .entry-title a:hover {
  color: #ffd700;
}
.tv-default-post-item .entry-meta {
  font-size: 16px;
  color: #777;
  margin-bottom: 15px;
}
.tv-default-post-item .entry-content {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

/* Responsive adjustments for Default Index Page */
@media (max-width: 768px) {
  .tv-default-index {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .tv-default-index h1 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
  }
  .tv-default-post-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  .tv-default-post-item .entry-title {
    font-size: 20px;
  }
  .tv-default-post-item .entry-meta,
  .tv-default-post-item .entry-content {
    font-size: 16px;
  }
}

/* =============================
   INDUSTRY DETAIL PAGE STYLE (taxonomy-nganhnghe.php)
   ============================= */
.tv-industry-detail-page {
  padding-top: 30px;
  padding-bottom: 0;
  justify-items: center;
}

.tv-industry-detail-page .container {
  display: flex;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  /* justify-items: center; */
}

.tv-industry-detail-page .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px; /* Khoảng cách giữa các cột */
  max-width: 100%; /* Full width */
  margin: 0 auto; /* Căn giữa */
}

.tv-industry-left-sidebar {
  flex-basis: 25%; /* 25% chiều rộng */
  max-width: 25%;
  padding-left: 0;
  padding-right: 0;
}

.tv-industry-main-content {
  flex: 1; /* chiếm hết phần còn lại */
  max-width: 50%; /* hoặc bạn muốn 50% thì fix luôn */
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 30px;
}
.tv-industry-sidebar-menu {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}
.tv-industry-sidebar-menu .widget-title {
  font-size: 18px; /* Giảm cỡ chữ */
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}
.tv-industry-sidebar-menu .tv-industry-list {
  list-style: none;
  padding-left: 0;
}
.tv-industry-sidebar-menu .tv-industry-list li {
  margin-bottom: 0; /* Xóa margin-bottom cũ */
  border-bottom: 1px solid #eee; /* THÊM GẠCH NGANG PHÂN CÁCH */
}
.tv-industry-sidebar-menu .tv-industry-list li:last-child {
  border-bottom: none;
}
.tv-industry-sidebar-menu .tv-industry-list li a {
  display: block;
  padding: 5px 0;
  font-size: 16px; /* Giữ nguyên hoặc giảm nhẹ */
  color: #555;
  transition: color 0.2s;
}
.tv-industry-sidebar-menu .tv-industry-list li a:hover,
.tv-industry-sidebar-menu .tv-industry-list li a.current-term {
  color: #ffd700;
  font-weight: bold;
}
/* Xóa style cho sub-list nếu không hiển thị cấp con */
.tv-industry-sidebar-menu .tv-industry-sub-list {
  display: none; /* Ẩn các cấp con trong sidebar trái */
}

/* Main Content Area */
.tv-industry-main-header {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 25px;
  border-bottom: none;
  display: flex; /* Sử dụng flexbox cho tiêu đề và ảnh */
  align-items: center; /* Căn giữa dọc */
  gap: 20px; /* Khoảng cách giữa ảnh và tiêu đề */
}
.tv-industry-header-image {
  /* Container cho ảnh đại diện ngành nghề */
  flex-shrink: 0;
  width: 60px; /* Kích thước ảnh nhỏ hơn */
  height: 60px;
  border-radius: 50%; /* Bo tròn ảnh */
  overflow: hidden;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tv-industry-header-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tv-industry-main-header .page-title {
  font-size: 24px; /* Giảm kích thước font */
  font-weight: bold;
  color: #8a2a51;
  margin-top: 0;
  margin-bottom: 0; /* Xóa margin-bottom */
}
.tv-industry-main-header .taxonomy-description {
  font-size: 16px; /* Giảm kích thước font */
  color: #666;
  margin-top: 5px; /* Khoảng cách với tiêu đề */
}

/* Style cho các box bao bọc nội dung chính */
.tv-main-content-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 25px;
}

/* Ngành tiêu điểm & Liên kết nhanh */
.tv-industry-focus-section,
.tv-quick-links-section {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.tv-tag-label {
  display: inline-block;
  background: #ffd700;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}
.tv-focus-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px; /* Khoảng cách giữa các item, 2 cột */
}
.tv-focus-list li {
  flex-basis: calc(50% - 15px); /* 2 cột */
  max-width: calc(50% - 15px);
  margin-bottom: 0;
  display: flex; /* THÊM DISPLAY: FLEX */
  align-items: baseline; /* CĂN CHỈNH DỌC THEO BASELINE */
  gap: 8px; /* Khoảng cách giữa mũi tên và text */
}
.tv-focus-list li a {
  font-size: 16px; /* Giảm kích thước font */
  color: #333;
}
.tv-focus-list li a:hover {
  color: #ffd700;
}
.tv-focus-list li:before {
  content: '\f0da'; /* Font Awesome angle-right */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #ffd700;
  font-size: 16px;
  flex-shrink: 0; /* Ngăn mũi tên bị co lại */
}

.tv-quick-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tv-quick-links-list a {
  font-size: 16px; /* Giảm kích thước font */
  color: #007bff;
  text-decoration: underline;
}
.tv-quick-links-list a:hover {
  color: #ffd700;
}

/* Khối danh mục con/sản phẩm (Hiển thị các ngành nghề con của ngành hiện tại) */
.tv-sub-category-blocks-container {
  margin-bottom: 25px; /* Thêm margin-bottom nếu cần khoảng cách với banner dưới */
}

.tv-sub-category-grid-wrapper {
  /* CONTAINER CHA LỚN MỚI */
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Khoảng cách giữa các item con */
  margin-bottom: 25px; /* Khoảng cách với khối quảng cáo dưới */
}

.tv-sub-category-item-box {
  flex-basis: 100%;
  max-width: 100%;
  margin-bottom: 10px; /* Xóa margin-bottom của từng item */
  padding: 20px; /* Padding bên trong mỗi item */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex; /* Sử dụng flexbox để căn chỉnh nội dung bên trong */
  flex-direction: column; /* Xếp tiêu đề, ảnh, mục con theo cột */
  align-items: flex-start; /* Căn trái nội dung */
  text-align: left; /* Căn trái text */
}

.tv-sub-category-item-title {
  /* Tiêu đề của mỗi box ngành con */
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  width: 100%; /* Chiếm toàn bộ chiều rộng */
}
.tv-sub-category-item-title a {
  color: #333;
}
.tv-sub-category-item-title a:hover {
  color: #ffd700;
}

.tv-sub-category-item-content {
  /* Bao bọc ảnh và chi tiết */
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%; /* Chiếm toàn bộ chiều rộng */
}

.tv-sub-category-image-wrap {
  /* Container cho ảnh đại diện ngành con */
  flex-shrink: 0; /* Ngăn ảnh bị co lại */
  width: 60px; /* Kích thước ảnh */
  height: 60px;
  border-radius: 50%; /* Bo tròn */
  overflow: hidden;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}
.tv-sub-category-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0; /* Xóa bo tròn nếu có */
  box-shadow: none; /* Xóa đổ bóng nếu có */
}

.tv-sub-category-details {
  /* Phần chứa main-link và sub-list */
  flex-grow: 1; /* Cho phép chiếm không gian còn lại */
}

.tv-sub-category-main-link {
  /* Đổi tên từ tv-sub-category-main-item */
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-sub-category-main-link i {
  color: #ffd700;
  font-size: 16px;
}
.tv-sub-category-main-link a {
  color: #333;
}
.tv-sub-category-main-link a:hover {
  color: #ffd700;
}

.tv-sub-category-sub-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  border-top: 1px dashed #eee;
  padding-top: 10px;
}
.tv-sub-category-sub-list li {
  margin-bottom: 5px;
  font-size: 16px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-sub-category-sub-list li a {
  color: #555;
}
.tv-sub-category-sub-list li a:hover {
  color: #ffd700;
}
.tv-sub-category-sub-list li i {
  color: #ffd700;
  font-size: 14px;
}

/* Company Listing Items */
.tv-company-listings-wrap {
  margin-bottom: 30px;
}

.tv-company-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  position: relative; /* Để badge YELLOW PAGES */
}
.tv-company-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.tv-company-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
}
.tv-company-logo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tv-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tv-company-title-info {
  flex-grow: 1;
  text-align: left;
}
.tv-company-title-info h3 {
  font-size: 18px; /* Giảm kích thước font */
  font-weight: bold;
  color: #000;
  margin-top: 0;
  margin-bottom: 5px;
}
.tv-company-title-info h3 a {
  color: #000;
}
.tv-company-title-info h3 a:hover {
  color: #ffd700;
}
.tv-company-title-info .company-address {
  font-size: 16px; /* Giảm kích thước font */
  color: #555;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-company-title-info .company-address i {
  color: #ffd700;
}
.tv-company-title-info .company-contact-info {
  font-size: 16px; /* Giảm kích thước font */
  color: #555;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px; /* Giảm khoảng cách giữa phone, email, website */
}
.tv-company-title-info .company-contact-info i {
  color: #ffd700;
  font-size: 14px; /* Giảm kích thước icon */
}
.tv-company-title-info .company-contact-info a {
  color: #007bff;
  text-decoration: underline;
}
.tv-company-title-info .company-contact-info a:hover {
  color: #ffd700;
}
.tv-company-title-info .company-contact-info .ml-10 {
  /* Class cho margin-left */
  margin-left: 10px;
}

/* Badge YELLOW PAGES */
.tv-yellow-pages-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffd700;
  color: #000;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 1;
}

.tv-company-body {
  margin-bottom: 15px;
}
.tv-company-body .company-excerpt {
  font-size: 16px; /* Giảm kích thước font */
  color: #666;
  margin-bottom: 15px;
}

.tv-company-related-industries,
.tv-company-main-products {
  margin-bottom: 15px;
}
.tv-company-related-industries p,
.tv-company-main-products p {
  font-size: 16px; /* Giảm kích thước font */
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-company-related-industries p i,
.tv-company-main-products p i {
  color: #ffd700;
}
.tv-company-related-industries ul,
.tv-company-main-products ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tv-company-related-industries li,
.tv-company-main-products li {
  background: #f0f0f0;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px; /* Giảm kích thước font */
  color: #555;
}
.tv-company-related-industries li a {
  color: #555;
}
.tv-company-related-industries li a:hover {
  color: #ffd700;
}

.tv-company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px dashed #eee;
  padding-top: 15px;
}
.tv-action-button {
  background: #c67b09; /* Màu xanh đậm hơn cho nút */
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 16px; /* Giảm kích thước font */
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tv-action-button:hover {
  background: #3a5775;
}

/* Sidebar phải */
.tv-industry-right-sidebar {
  flex: 0 0 25%;
  max-width: 25%;
  padding-left: 0;
  padding-right: 0;
}

.tv-industry-banner-ads {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px;
  margin-bottom: 30px;
  text-align: center;
}
.tv-industry-banner-ads img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.tv-industry-right-sidebar .tv-sidebar-cta {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-top: 0;
  text-align: center;
}
.tv-industry-right-sidebar .tv-sidebar-cta .widget-title {
  font-size: 18px; /* Giảm kích thước font */
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
  display: inline-block;
  text-align: center;
}

/* Nút "Đăng Trang vàng miễn phí!" */
.tv-sidebar-cta-button {
  background: #ffd700; /* Màu vàng theo mẫu */
  color: #000;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  display: block;
  width: 100%;
  margin: 20px 0;
}
.tv-sidebar-cta-button:hover {
  background: #e6c500;
}

/* Danh sách gạch đầu dòng */
.tv-sidebar-cta-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  text-align: left; /* Căn trái các mục */
}
.tv-sidebar-cta-list li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-sidebar-cta-list li i {
  color: #ffd700; /* Icon màu vàng */
  font-size: 16px;
}

/* Liên hệ Trang Vàng */
.tv-sidebar-cta-contact {
  font-size: 16px;
  color: #666;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.tv-sidebar-cta-zalo-info {
  font-size: 15px;
  color: #333;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tv-sidebar-cta-zalo-info i {
  color: #25d366;
  font-size: 18px;
}

/* =============================
   RESPONSIVE ADJUSTMENTS FOR INDUSTRY DETAIL PAGE
   ============================= */
@media (max-width: 1024px) {
  .tv-industry-detail-page .container {
    padding: 0 15px;
  }
  .tv-industry-detail-page .row {
    gap: 15px;
  }
  /* Chuyển sang 2 cột: main content + right sidebar, left sidebar xếp cuối */
  .tv-industry-main-content {
    flex-basis: calc(65% - 15px); /* 65% cho main content */
    max-width: calc(65% - 15px);
  }
  .tv-industry-right-sidebar {
    flex-basis: 35%; /* 35% cho right sidebar */
    max-width: 35%;
  }
  .tv-industry-left-sidebar {
    flex: 0 0 25%;
    max-width: 25%;
    margin-top: 30px; /* Đẩy xuống dưới cùng */
    order: 3; /* Đặt thứ tự hiển thị sau cùng */
  }
  .tv-industry-left-sidebar .tv-industry-sidebar-menu {
    padding-left: 20px;
    padding-right: 20px;
  }
  .tv-industry-main-header {
    padding: 20px;
  }
  .tv-industry-main-header .page-title {
    font-size: 20px;
  }
  .tv-industry-main-header .taxonomy-description {
    font-size: 16px;
  }
  .tv-main-content-box {
    padding: 20px;
    margin-bottom: 20px;
  }
  .tv-tag-label {
    font-size: 14px;
    padding: 2px 8px;
  }
  .tv-focus-list {
    gap: 10px 20px;
  }
  .tv-focus-list li {
    flex-basis: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
  .tv-focus-list li a {
    font-size: 16px;
  }
  .tv-quick-links-list a {
    font-size: 16px;
  }
  .tv-sub-category-grid-wrapper {
    gap: 15px; /* Giảm gap trên tablet */
  }
  .tv-sub-category-item-box {
    flex-basis: calc(50% - 7.5px); /* 2 cột trên tablet */
    max-width: calc(50% - 7.5px);
  }
  .tv-sub-category-item-title {
    font-size: 17px;
  }
  .tv-sub-category-main-link {
    font-size: 16px;
  }
  .tv-sub-category-sub-list li {
    font-size: 14px;
  }
  .tv-company-item {
    padding: 18px;
  }
  .tv-company-logo {
    width: 70px;
    height: 70px;
  }
  .tv-company-title-info h3 {
    font-size: 17px;
  }
  .tv-company-title-info .company-address,
  .tv-company-title-info .company-contact-info,
  .tv-company-body .company-excerpt,
  .tv-company-related-industries p,
  .tv-company-main-products p,
  .tv-company-related-industries li,
  .tv-company-main-products li {
    font-size: 14px;
  }
  .tv-action-button {
    font-size: 14px;
    padding: 7px 12px;
  }
  .tv-industry-right-sidebar .tv-sidebar-cta .widget-title,
  .tv-single-company-right-sidebar .tv-sidebar-cta .widget-title {
    font-size: 16px;
  }
  .tv-sidebar-cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  .tv-sidebar-cta-list li {
    font-size: 16px;
  }
  .tv-sidebar-cta-contact {
    font-size: 16px;
  }
  .tv-sidebar-cta-zalo-info {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .tv-industry-detail-page {
    padding-left: 10px;
    padding-right: 10px;
  }
  .tv-industry-detail-page .row {
    flex-direction: column; /* Toàn bộ thành 1 cột */
    gap: 20px;
    margin-top: -15px;
  }
  .tv-industry-main-content,
  .tv-industry-right-sidebar,
  .tv-industry-left-sidebar {
    flex-basis: 100%; /* Chiếm toàn bộ chiều rộng */
    max-width: 100%;
    margin-top: -20px; /* Xóa margin-top */
  }
  .tv-industry-main-content {
    order: 1; /* Main content lên đầu */
    padding-bottom: 0;
    margin-bottom: 5px;
  }
  .tv-industry-right-sidebar {
    order: 2; /* Sidebar phải thứ 2 */
    padding-bottom: 0;
  }
  .tv-industry-left-sidebar {
    order: 3; /* Sidebar trái thứ 3 */
    padding-bottom: 0;
  }

  .tv-industry-left-sidebar .tv-industry-sidebar-menu {
    padding: 15px;
    margin-bottom: 20px;
  }
  .tv-industry-main-header {
    flex-direction: column; /* Xếp ảnh và tiêu đề theo cột */
    text-align: center;
    padding: 15px;
    gap: 10px;
  }
  .tv-industry-header-image {
    width: 50px;
    height: 50px;
  }
  .tv-industry-main-header .page-title {
    font-size: 18px;
  }
  .tv-industry-main-header .taxonomy-description {
    font-size: 14px;
  }
  .tv-main-content-box {
    padding: 15px;
    margin-bottom: 15px;
    justify-items: flex-start;
  }
  .tv-focus-list {
    flex-direction: column; /* Xếp list focus thành 1 cột */
    gap: 8px;
  }
  .tv-focus-list li {
    flex-basis: 100%;
    max-width: 100%;
    justify-content: left; /* Căn giữa */
  }
  .tv-focus-list li a {
    font-size: 14px;
  }
  .tv-quick-links-list {
    justify-content: flex-start;
  }
  .tv-quick-links-list a {
    font-size: 14px;
  }
  .tv-sub-category-grid-wrapper {
    gap: 10px; /* Giảm gap trên mobile */
  }
  .tv-sub-category-item-box {
    flex-basis: calc(100% - 0px); /* 1 cột trên mobile */
    max-width: calc(100% - 0px);
    padding: 15px;
  }
  .tv-sub-category-item-content {
    flex-direction: column; /* Xếp ảnh và chi tiết theo cột trên mobile */
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .tv-sub-category-image-wrap {
    margin-bottom: 0;
  }
  .tv-sub-category-item-title {
    font-size: 16px;
  }
  .tv-sub-category-main-link,
  .tv-sub-category-sub-list li {
    justify-content: center; /* Căn giữa trên mobile */
    font-size: 14px;
  }
  .tv-sub-category-sub-list {
    margin-top: 8px;
    padding-top: 8px;
  }
  .tv-company-item {
    padding: 15px;
    margin-bottom: 15px;
  }
  .tv-company-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .tv-company-logo {
    width: 60px;
    height: 60px;
  }
  .tv-company-title-info {
    width: 100%;
  }
  .tv-company-title-info h3 {
    font-size: 16px;
  }
  .tv-company-title-info .company-address,
  .tv-company-title-info .company-contact-info {
    justify-content: center;
    flex-direction: column; /* Xếp thông tin liên hệ thành cột */
    gap: 5px;
    font-size: 14px;
  }
  .tv-company-title-info .company-contact-info .ml-10 {
    margin-left: 0;
  }
  .tv-yellow-pages-badge {
    position: static; /* Về vị trí bình thường */
    margin-bottom: 10px;
  }
  .tv-company-body .company-excerpt {
    font-size: 14px;
    margin-bottom: 7px;
  }
  .tv-company-related-industries p,
  .tv-company-main-products p {
    font-size: 14px;
  }
  .tv-company-related-industries ul,
  .tv-company-main-products ul {
    justify-content: center;
  }
  .tv-company-related-industries li,
  .tv-company-main-products li {
    font-size: 11px;
    padding: 4px 8px;
  }
  .tv-company-actions {
    justify-content: center;
  }
  .tv-action-button {
    font-size: 11px;
    padding: 7px 12px;
  }
  .tv-industry-banner-ads {
    padding: 10px;
    margin-bottom: 20px;
  }
  .tv-industry-right-sidebar .tv-sidebar-cta {
    padding: 15px;
  }
  .tv-industry-right-sidebar .tv-sidebar-cta .widget-title {
    font-size: 15px;
    padding-bottom: 8px;
  }
  .tv-sidebar-cta-button {
    font-size: 16px;
    padding: 10px 20px;
    margin: 15px 0;
  }
  .tv-sidebar-cta-list li {
    font-size: 14px;
  }
  .tv-sidebar-cta-contact {
    font-size: 14px;
  }
  .tv-sidebar-cta-zalo-info {
    font-size: 16px;
  }
}

/* =============================
   ARCHIVE COMPANY PAGES (taxonomy-nganhnghe.php, archive-doanh_nghiep.php, search.php)
   ============================= */
.tv-archive-company-page {
  padding-top: 30px;
  padding-bottom: 30px;
}

.tv-archive-main-content {
  padding-right: 20px; /* Khoảng cách với sidebar phải */
}

.tv-archive-header {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 25px;
  text-align: left; /* Căn trái tiêu đề */
}
.tv-archive-header .page-title {
  font-size: 28px; /* Giảm kích thước font */
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 10px;
}
.tv-archive-header .taxonomy-description {
  font-size: 15px;
  color: #666;
  max-width: none; /* Xóa max-width */
  margin: 0;
}

/* Container cho danh sách doanh nghiệp */
.tv-company-listings-wrap {
  margin-bottom: 30px;
}

/* Company Listing Items (Sử dụng CSS Grid) */
.tv-company-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  position: relative; /* Để badge YELLOW PAGES */

  display: grid; /* SỬ DỤNG CSS GRID */
  grid-template-columns: 8% 1fr; /* Hàng 0: 2 cột */
  grid-template-rows: auto auto auto auto auto auto auto auto; /* 8 hàng */
  grid-template-areas:
    'order-num company-title' /* Hàng 0 */
    'badges-left badges-right' /* Hàng 1 */
    'logo-col info-col' /* Hàng 2-5 (logo chiếm 4 hàng) */
    'logo-col info-col'
    'logo-col info-col'
    'logo-col info-col'
    'intro-row intro-row' /* Hàng 6: Giới thiệu (1 cột) */
    'gallery-row gallery-row' /* Hàng 7: Gallery (1 cột) */
    'actions-row actions-row'; /* Hàng 8: Nút hành động (1 cột) */
  gap: 10px 15px; /* Khoảng cách giữa các ô grid (row-gap column-gap) */
}
.tv-company-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Định vị các phần tử trong Grid */
.tv-grid-row-0 {
  grid-area: order-num / 1 / order-num / 3;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tv-company-order-number {
  grid-area: order-num;
  background: #ffd700;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  flex-shrink: 0;
}
.tv-grid-row-0 h3 {
  grid-area: company-title;
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin: 0;
  flex-grow: 1;
}
.tv-grid-row-0 h3 a {
  color: #000;
}
.tv-grid-row-0 h3 a:hover {
  color: #ffd700;
}

.tv-grid-row-1 {
  grid-area: badges-left / 1 / badges-right / 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eee;
}
.tv-company-badges-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tv-company-sponsor-badge {
  background: #ff6600;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tv-company-sponsor-badge i {
  font-size: 10px;
}
.tv-company-badges-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tv-verified-badge {
  background: none;
  color: #000;
  font-size: 14px;
  font-weight: normal;
  padding: 0;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tv-verified-badge img {
  height: 20px;
  width: auto;
  vertical-align: middle;
}

.tv-grid-row-2-5 {
  grid-area: logo-col / 1 / info-col / 3;
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.tv-company-logo-col {
  flex-basis: 20%;
  max-width: 20%;
  flex-shrink: 0;
} /* Cột logo chiếm 30% */
.tv-company-logo {
  width: 100%;
  height: 120px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tv-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tv-company-info-col {
  flex-basis: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
} /* Cột thông tin chiếm 70% */
.tv-company-info-col p {
  font-size: 16px;
  color: #555;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-company-info-col p i {
  color: #ffd700;
  font-size: 14px;
}
.tv-company-info-col p a {
  color: #007bff;
  text-decoration: underline;
  overflow-wrap: break-word;
  word-break: break-word;
}
.tv-company-info-col p a:hover {
  color: #ffd700;
}
.tv-company-info-col .zalo-icon i {
  color: #25d366;
}

.tv-grid-row-6 {
  grid-area: intro-row;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
}
.tv-grid-row-6 .company-excerpt {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
}
.tv-company-highlights ul {
  list-style: none;
  padding-left: 0;
}
.tv-company-highlights li {
  font-size: 16px;
  color: #555;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-company-highlights li i {
  color: #ffd700;
  font-size: 14px;
}
.company-special-note,
.company-clients {
  font-size: 16px;
  color: #666;
  margin-bottom: 5px;
}
.company-special-note strong,
.company-clients strong {
  color: #333;
}

.tv-grid-row-7 {
  grid-area: gallery-row;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
}
.tv-company-product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 15px;
  width: 100%;
  justify-content: flex-start; /* Căn trái các ảnh */
}
.tv-gallery-thumb-link {
  /* Link bao bọc ảnh */
  display: block;
  width: 90px;
  height: 90px;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 3px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Hiệu ứng hover */
}
.tv-gallery-thumb-link:hover {
  transform: scale(1.79); /* Phóng to nhẹ khi hover */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2; /* Đảm bảo ảnh phóng to nằm trên các ảnh khác */
}
.tv-company-product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none; /* Xóa border ở đây vì đã có ở link */
  border-radius: 0; /* Xóa border-radius ở đây */
}
.tv-gallery-more-button {
  background: #f0f0f0;
  color: #666;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 3px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  transition: background 0.2s;
}
.tv-gallery-more-button:hover {
  background: #e0e0e0;
  color: #333;
}

.tv-grid-row-8 {
  grid-area: actions-row;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
  justify-content: center;
}
.tv-action-button {
  background: #ffd700;
  color: #050505;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tv-action-button:hover {
  background: #f09206;
}

/* Pagination */
.pagination {
  text-align: center;
  margin-top: 30px;
}
.page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}
.page-numbers.current,
.page-numbers:hover {
  background: #ffd700;
  border-color: #ffd700;
  color: #000;
}
.pagination .prev,
.pagination .next {
  background: #f0f0f0;
  color: #666;
  font-weight: bold;
}
.pagination .prev:hover,
.pagination .next:hover {
  background: #e0e0e0;
  color: #333;
}

/* Archive Sidebar */
.tv-archive-sidebar {
  padding-left: 0; /* Xóa padding trái */
  padding-right: 0; /* Xóa padding phải */
}

.tv-industry-sidebar,
.tv-sidebar-cta {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px; /* Thêm margin bottom */
}
.tv-archive-sidebar .tv-sidebar-cta {
  margin-top: 0; /* Đảm bảo không có margin-top thừa */
}

.tv-industry-sidebar .widget-title,
.tv-sidebar-cta .widget-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
}

.tv-industry-list {
  list-style: none;
  padding-left: 0;
}
.tv-industry-list li {
  margin-bottom: 0;
  border-bottom: 1px solid #eee;
}
.tv-industry-list li:last-child {
  border-bottom: none;
}
.tv-industry-list li a {
  display: block;
  padding: 8px 0;
  font-size: 16px;
  color: #555;
  transition: color 0.2s;
}
.tv-industry-list li a:hover,
.tv-industry-list li a.current-term {
  color: #ffd700;
  font-weight: bold;
}
.tv-industry-sidebar-menu .tv-industry-sub-list {
  display: none;
}

.tv-sidebar-cta p {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
}
.tv-sidebar-cta .button {
  background: #ffd700;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
  margin-bottom: 10px;
}
.tv-sidebar-cta .button:hover {
  background: #e6c500;
}

/* =============================
   RESPONSIVE ADJUSTMENTS FOR ARCHIVE COMPANY PAGES
   ============================= */
@media (max-width: 1024px) {
  .tv-archive-company-page .container {
    padding: 0 15px;
  }
  .tv-archive-company-page .row {
    flex-direction: column; /* Xếp toàn bộ thành 1 cột */
    gap: 20px;
  }
  .tv-archive-main-content {
    flex-basis: 100%;
    max-width: 100%;
    padding-right: 0; /* Xóa padding */
    order: 1; /* Đảm bảo nội dung chính lên đầu */
  }
  .tv-archive-sidebar {
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 20px; /* Thêm khoảng cách */
    order: 2; /* Sidebar xuống dưới */
  }

  .tv-archive-header {
    padding: 20px;
    margin-bottom: 20px;
    text-align: center; /* Căn giữa tiêu đề */
  }
  .tv-archive-header .page-title {
    font-size: 24px;
  }
  .tv-archive-header .taxonomy-description {
    font-size: 16px;
  }

  /* Responsive cho Company Item Grid */
  .tv-company-item {
    grid-template-columns: 1fr; /* 1 cột trên tablet */
    grid-template-rows: auto;
    grid-template-areas:
      'order-num-title'
      'badges'
      'logo-info'
      'intro-row'
      'gallery-row'
      'actions-row';
    gap: 15px;
  }
  .tv-grid-row-0 {
    grid-area: order-num-title;
    flex-direction: column;
    align-items: center; /* Căn giữa */
    text-align: center;
    gap: 10px;
  }
  .tv-company-order-number {
    margin-bottom: 0;
    font-size: 16px;
    padding: 4px 8px;
  }
  .tv-grid-row-0 h3 {
    font-size: 18px;
  }
  .tv-grid-row-1 {
    grid-area: badges;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 1px dashed #eee; /* Giữ border */
    padding-bottom: 10px;
    margin-top: 10px;
    gap: 5px;
  }
  .tv-company-badges-left,
  .tv-company-badges-right {
    flex-direction: row; /* Giữ hàng */
    justify-content: center;
    width: 100%;
    gap: 8px;
  }
  .tv-verified-badge,
  .tv-company-sponsor-badge {
    font-size: 11px;
  }
  .tv-verified-badge img {
    height: 18px;
  }

  .tv-grid-row-2-5 {
    grid-area: logo-info;
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 15px;
    margin-top: 15px;
  }

  .tv-company-logo-col {
    flex-basis: auto;
    max-width: 120px; /* Giới hạn kích thước logo */
  }
  .tv-company-logo {
    width: 120px;
    height: 120px;
  }
  .tv-company-info-col {
    flex-basis: auto;
    max-width: 100%;
    align-items: flex-start;
  }
  .tv-company-info-col p {
    font-size: 16px;
    justify-content: flex-start;
  }
  .tv-company-info-col p i {
    font-size: 14px;
  }

  .tv-grid-row-6 {
    grid-area: intro-row;
    text-align: center;
  }
  .tv-grid-row-6 .company-excerpt {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: justify;
  }
  .tv-company-highlights li {
    font-size: 14px;
    justify-content: center;
  }
  .company-special-note,
  .company-clients {
    font-size: 14px;
  }

  .tv-grid-row-7 {
    grid-area: gallery-row;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
  }
  .tv-company-product-gallery {
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
  }
  .tv-gallery-thumb-link {
    width: 70px;
    height: 70px;
  }
  .tv-gallery-more-button {
    height: 50px;
    width: 50px;
    font-size: 11px;
  }

  .tv-grid-row-8 {
    grid-area: actions-row;
    justify-content: center;
    margin-top: 15px;
    padding-top: 15px;
  }
  .tv-action-button {
    width: 120px; /* Để nút co giãn theo nội dung */
    font-size: 10px;
    padding: 6px 10px;
    gap: 5px;
  }
  .pagination .page-numbers {
    padding: 6px 10px;
    font-size: 16px;
    margin: 0 3px;
  }
  .tv-industry-sidebar .widget-title,
  .tv-sidebar-cta .widget-title {
    font-size: 16px;
  }
  .tv-sidebar-cta p,
  .tv-industry-list li a {
    font-size: 16px;
  }
  .tv-sidebar-cta .button {
    font-size: 16px;
    padding: 8px 15px;
  }
}

@media (max-width: 480px) {
  .tv-archive-header .page-title {
    font-size: 20px;
  }
  .tv-grid-row-0 h3 {
    font-size: 16px;
  }
  .tv-company-logo {
    width: 90px;
    height: 90px;
  }
  .tv-company-info-col p {
    flex-direction: row;
    align-items: flex-start;
    gap: 2px;
  }
  .tv-company-product-gallery {
    /* Đảm bảo ảnh không quá nhỏ trên mobile cực nhỏ */
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    justify-content: center;
    gap: 2px;
    margin-top: 10px;
  }

  .tv-gallery-thumb-link {
    width: 60px;
    height: 60px;
  }
  .tv-gallery-more-button {
    height: 40px;
    width: 40px;
    font-size: 10px;
  }
  .tv-action-button {
    width: 100px; /* Nút hành động chiếm toàn bộ chiều rộng */
  }
}

/* =============================
   REGISTRATION FORM IMAGE UPLOAD
   ============================= */
.tv-registration-form .image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  border: 1px dashed #ddd;
  padding: 10px;
  min-height: 100px;
  align-items: center;
  justify-content: center;
}
.tv-registration-form .image-preview img {
  max-width: 100px;
  height: auto;
  border: 1px solid #eee;
  padding: 3px;
  border-radius: 3px;
}
.tv-registration-form .image-preview.gallery-preview {
  min-height: 120px;
}
.tv-registration-form .frontend-file-input {
  /* Style cho input type="file" */
  display: block; /* Chiếm toàn bộ chiều rộng */
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  background: #f9f9f9;
  cursor: pointer;
}
.tv-registration-form .frontend-file-input:hover {
  background: #eee;
}
.tv-registration-form .remove-image-button,
.tv-registration-form .remove-gallery-button {
  margin-right: 10px;
  margin-bottom: 10px;
  background: #dc3545; /* Màu đỏ cho nút xóa */
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.tv-registration-form .remove-image-button:hover,
.tv-registration-form .remove-gallery-button:hover {
  background: #c82333;
}
.tv-registration-form .upload-loading {
  /* Style cho loading spinner */
  display: flex;
  align-items: center;
  gap: 8px;
  color: #007bff;
  font-size: 16px;
}
.tv-registration-form .upload-loading i {
  font-size: 16px;
}

/* =============================
   HOMEPAGE TOP REGISTER BUTTON
   ============================= */
.tv-homepage-top-register-button-wrap {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 5px;
}
.tv-homepage-top-register-button {
  background: #ffd700; /* Màu vàng */
  color: #000;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-right: 0;
}
.tv-homepage-top-register-button:hover {
  background: #e6c500;
  transform: translateY(-5px) scale(1.02); /* DỊCH CHUYỂN LÊN VÀ PHÓNG TO NHẸ */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* ĐỔ BÓNG RÕ HƠN */
}

/* =============================
   FOOTER REGISTER BUTTON
   ============================= */
.tv-footer-register-button-wrap {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}
.tv-footer-register-button {
  background: #000; /* Màu đen */
  color: #ffd700; /* Chữ vàng */
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; /* THÊM HIỆU ỨNG CHUYỂN ĐỔI */
}
.tv-footer-register-button:hover {
  background: #333;
  transform: translateY(-5px) scale(1.02); /* DỊCH CHUYỂN LÊN VÀ PHÓNG TO NHẸ */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* ĐỔ BÓNG RÕ HƠN */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tv-company-info-col {
    flex-basis: 100%;
    max-width: 100%;
    align-items: flex-start;
  }
  .tv-homepage-top-register-button,
  .tv-footer-register-button {
    font-size: 16px;
    padding: 12px 25px;
    margin-right: 0;
  }
  .tv-homepage-top-register-button-wrap {
    text-align: center;
    margin-bottom: 5px;
    padding-bottom: 0;
  }
  .tv-main-category-grid-wrap-static {
    /* CONTAINER CHÍNH DẠNG LƯỚI TĨNH */
    padding-top: 5px;
    padding-bottom: 30px;
    background: #f0f2f5; /* Nền xám nhạt */
  }
  .tv-box-2-label {
    font-size: 16px;
    justify-content: left;
    text-align: left;
  }
  /* .tv-main-header {
    display: none;
  } */
}

@media (max-width: 480px) {
  .tv-homepage-top-register-button-wrap {
    text-align: center;
    margin-bottom: 5px;
    padding-bottom: 0;
  }
  .tv-homepage-top-register-button,
  .tv-footer-register-button {
    font-size: 16px;
    padding: 12px 25px;
    margin-right: 0;
  }
  .tv-main-category-grid-wrap-static {
    /* CONTAINER CHÍNH DẠNG LƯỚI TĨNH */
    padding-top: 5px;
    padding-bottom: 30px;
    background: #f0f2f5; /* Nền xám nhạt */
  }
  .tv-info-block-list li {
    font-size: 13px;
    margin-bottom: 8px;
    justify-content: left;
  }
  .tv-company-info-col p {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* căn đầu trên */
    justify-content: flex-start;
    gap: 6px;
    line-height: 1.4; /* kiểm soát chiều cao dòng */
    font-size: 16px;
  }

  .tv-company-info-col p i,
  .tv-company-info-col p svg {
    flex-shrink: 0; /* icon không bị co */
    margin-top: 3px; /* đẩy icon xuống 1 chút để cân với text */
  }

  .tv-grid-row-2-5 {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 15px;
    margin-top: 15px;
  }

  .tv-company-logo-col {
    margin: auto;
  }
  /* 
  .tv-main-header {
    display: none;
  } */
}

@media (max-width: 480px) {
  .tv-company-info-col {
    flex-basis: 100%;
    max-width: 100%;
    align-items: flex-start;
  }
  .tv-single-company-contact-person p {
    font-size: 16px;
    color: #333; /* Chữ đen */
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: left; /* Căn giữa */
    gap: 8px;
  }
  .tv-box-1-row-2-6 {
    grid-area: logo-col;
    flex-direction: column;
    align-items: flex-start; /* Căn giữa */
    text-align: left;
    gap: 10px;
    margin-top: 10px;
  }

  .tv-industry-detail-page .row {
    flex-direction: row; /* Toàn bộ thành 1 cột */
    gap: 20px;
    margin-top: -15px;
    padding-bottom: 10px;
  }
  .tv-info-block-wrap col {
    padding: 0;
    margin-bottom: 20px;
  }
  .tv-section-title {
    font-size: 20px;
  }
  .tv-company-contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 10px; /* khoảng cách giữa các dòng */
    font-size: 16px;
  }

  .tv-company-contact-info-col p {
    display: flex;
    align-items: flex-start; /* icon thẳng với đầu text */
    gap: 8px;
    margin: 0;
  }

  .tv-company-contact-info-col p i,
  .tv-company-contact-info-col p svg {
    flex: 0 0 20px; /* icon chiếm cố định 20px (căn trái) */
    text-align: center;
    line-height: 1;
    margin-top: 3px; /* chỉnh cho đẹp mắt */
  }

  .tv-company-contact-info-col p span {
    flex: 1; /* text chiếm phần còn lại */
    line-height: 1.5;
    display: block;
  }
  .button.small {
    padding: 4px 4px;
    font-size: 13px;
    justify-content: center;
    margin-right: 0;
  }

  .tv-box-7-grid {
    grid-template-columns: 30% 1fr; /* 1 cột trên mobile */
    gap: 10px;
  }
  .tv-box-7-value {
    text-align: left;
  }
  .tv-box-2-label {
    font-size: 16px;
    justify-content: left;
    text-align: left;
  }
  .tv-single-company-page {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0;
  }
}

/* =============================
   REGISTRATION FORM IMAGE UPLOAD (Cập nhật)
   ============================= */
.tv-registration-form .image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  border: 1px dashed #ddd;
  padding: 10px;
  min-height: 100px;
  align-items: center;
  justify-content: center;
}
.tv-registration-form .image-preview.gallery-preview {
  min-height: 120px;
}
.tv-registration-form .image-preview img {
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
  padding: 3px;
  border-radius: 3px;
}

/* Style cho từng item trong gallery preview */
.tv-registration-form .image-preview .gallery-item-wrapper {
  position: relative;
  width: 100px; /* Kích thước cố định cho mỗi thumbnail */
  height: 100px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}
.tv-registration-form .image-preview .gallery-item-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: none;
  padding: 0;
}
.tv-registration-form
  .image-preview
  .gallery-item-wrapper
  .remove-gallery-item-single {
  position: absolute;
  top: -8px; /* Dịch lên trên */
  right: -12px; /* Dịch sang phải */
  color: #f60f0f;
  line-height: 20px; /* Căn giữa X */
  text-align: center;
  cursor: pointer;
  font-weight: bold; /* Đảm bảo icon đậm */
  z-index: 10;
  display: flex; /* Dùng flexbox để căn giữa icon */
  align-items: center;
  justify-content: center;
  margin-right: 0;
}
.tv-registration-form
  .image-preview
  .gallery-item-wrapper
  .remove-gallery-item-single
  i {
  color: #fc0909; /* Đảm bảo icon màu trắng */
  font-size: 20px; /* Kích thước icon nhỏ hơn một chút so với font-size của button */
  line-height: 1; /* Đảm bảo icon không bị lệch */
}

/* .tv-registration-form .upload-image-button,
.tv-registration-form .remove-image-button,
.tv-registration-form .upload-gallery-button,
.tv-registration-form .remove-gallery-button {
  margin-right: 5px;
  margin-bottom: 5px;
} */

.button-post-data {
  display: flex;
  justify-content: center;
}

/* =============================
   MAIN HEADER (Hợp nhất Top Bar & Header)
   ============================= */
.tv-main-header {
  background: #fff; /* Nền trắng */
  padding: 10px 0; /* Giảm padding trên dưới */
  border-bottom: 1px solid #eee; /* Thêm border dưới nhẹ */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Thêm đổ bóng nhẹ */
}

.tv-main-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Đảm bảo căn giữa theo chiều dọc cho toàn bộ header */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-left-section {
  display: flex;
  align-items: center; /* Căn giữa theo chiều dọc cho logo và menu trái */
  gap: 25px; /* Khoảng cách giữa logo và menu trái */
}

/* ... (style cho logo và main-nav-ul-left giữ nguyên) ... */

.header-right-section {
  flex: 1;
  display: flex;
  justify-content: flex-end; /* Căn các item menu sang phải */
  align-items: center; /* Căn giữa nút và menu */
}

/* Nút "Trang chủ" trên mobile */
.tv-mobile-home-button {
  font-size: 14px;
  padding: 8px 12px;
  margin-right: 15px; /* Khoảng cách với menu phải */
  background: #ffd700;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.button.primary.tv-mobile-home-button {
  display: none;
}
.tv-mobile-home-button i {
  font-size: 14px;
}
.tv-mobile-home-button:hover {
  background: #e6c500;
}

/* ... (style cho main-nav-ul-right và lang giữ nguyên) ... */

/* RESPONSIVE ADJUSTMENTS FOR HEADER */
@media (max-width: 1024px) {
  /* ... (các quy tắc responsive hiện có) ... */
}

@media (max-width: 768px) {
  .tv-main-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0;
  }
  .header-right-section {
    width: 100%;
    justify-content: center;
    flex-direction: row; /* Xếp nút và menu theo cột */
    align-items: center;
    gap: 0;
  }
  .tv-mobile-home-button {
    display: flex !important; /* HIỂN THỊ NÚT TRANG CHỦ TRÊN MOBILE */
    margin-bottom: 10px; /* Khoảng cách với menu */
    margin: 0;
    width: 100%; /* Chiều rộng tự động */
    margin-right: 0;
    height: auto;
    align-items: center;
    border-radius: 0;
    justify-content: center;
  }

  .main-nav-ul-right {
    width: 100%;
  }
  .tv-main-header .lang {
    margin-top: 10px;
    margin-left: 0;
  }
  .header-left-section {
    display: none;
  }

  .tv-focus-list {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

.button.primary.tv-mobile-home-button {
  display: none;
}

.tv-yellow-pages-badge,
.tv-company-sponsor-badge,
.tv-verified-badge {
  /* Badge YELLOW PAGES / NHÀ TÀI TRỢ / ĐÃ XÁC THỰC */
  background: #ffd700;
  color: #000;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 1;
  flex-shrink: 0; /* Ngăn co lại */
  display: flex;
  align-items: center;
  gap: 5px;
}
.tv-company-sponsor-badge.tv-badge-global-pinned {
  /* MÀU CAM CHO VỊ TRÍ 1 */
  background: #ff6600;
  color: #fff;
}
.tv-company-sponsor-badge.tv-badge-category-pinned {
  /* MÀU XANH CHO VỊ TRÍ 2-10 */
  background: #05ee56; /* Màu xanh đậm */
  color: #fff;
}
.tv-verified-badge {
  background: none; /* Không có nền */
  color: #000;
  font-size: 12px;
  font-weight: normal;
  padding: 0;
  text-transform: none;
}
.tv-verified-badge img {
  height: 20px; /* Kích thước icon xác thực */
  width: auto;
  vertical-align: middle;
}

/* Header của nội dung chính */
.tv-industry-main-header {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 25px;
  border-bottom: none;
  display: flex;
  align-items: center; /* Căn giữa dọc */
  gap: 20px;
  flex-wrap: wrap; /* Cho phép xuống dòng */
}
.tv-industry-header-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tv-industry-header-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tv-industry-main-header .page-title {
  font-size: 24px; /* Giảm kích thước font */
  font-weight: bold;
  color: #8a2a51; /* Màu tím hồng theo mẫu */
  margin-top: 0;
  margin-bottom: 0;
  flex-grow: 1; /* Cho phép tiêu đề chiếm không gian còn lại */
}
.tv-industry-main-header .taxonomy-description {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
  width: 100%; /* Cho mô tả chiếm toàn bộ chiều rộng mới */
}

/* Breadcrumbs tùy chỉnh */
.tv-custom-breadcrumbs {
  font-size: 16px;
  color: #999;
  margin-top: 10px; /* Khoảng cách với tiêu đề */
  width: 100%; /* Chiếm toàn bộ chiều rộng */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px; /* Khoảng cách giữa các phần tử */
}
.tv-custom-breadcrumbs a {
  color: #007bff;
  text-decoration: underline;
}
.tv-custom-breadcrumbs a:hover {
  color: #ffd700;
}
.tv-custom-breadcrumbs i {
  font-size: 16px;
  color: #ccc;
  margin: 0 3px;
}
.tv-custom-breadcrumbs span {
  color: #333;
  font-weight: bold;
}
