/* ===== CATEGORY PAGE LIKE BIGBOSS SAMPLE ===== */
/* ===== BIGBOSS HEADER ===== */
/* ===== BIGBOSS HEADER MENU ===== */

.bb-topbar {
  width: 100%;
  height: 50px;
  background: #302a2e;
  color: #ffffff;
  position: relative;
  z-index: 9999;
}

.bb-menu-wrap {
  width: 1180px;
  height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 0;
  padding: 0;
  gap: 0;
}

.bb-menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  text-transform: uppercase;
}

.bb-menu-item:hover {
  background: #252126;
  color: #ffff00 !important;
}

.bb-topbar {
  width: 100%;
  height: 48px;
  background: #302a2e;
  color: #ffffff;
  position: relative;
  z-index: 999;
}

.bb-menu-wrap {
  width: 1180px;
  height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin: 0;
  padding: 0;
}

.bb-menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 48px;
  text-decoration: none !important;
  white-space: nowrap;
  text-transform: uppercase;
}

.bb-menu-item:hover {
  background: #252126;
  color: #ffff00 !important;
}

.bb-category-page {
  width: 100%;
  min-height: 100vh;
  background: #302b2f;
  color: #ffffff;
  padding: 24px 0 50px;
  font-family: Arial, Helvetica, sans-serif;
}

.bb-category-container {
  width: 1180px;
  margin: 0 auto;
}

.bb-breadcrumb {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.bb-breadcrumb a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.bb-breadcrumb a:hover {
  color: #ffff00 !important;
}

.bb-breadcrumb span {
  display: inline-block;
  margin: 0 5px;
  color: #ffffff;
}

.bb-category-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

.bb-category-main {
  min-width: 0;
}

.bb-category-title {
  margin: 0 0 22px;
  color: #ffff00;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.bb-list-wrap {
  width: 100%;
}

.bb-article-list {
  width: 100%;
}

.bb-article-item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 18px;
  padding: 0 0 20px;
  margin: 0 0 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.55);
}

.bb-article-thumb {
  width: 250px;
  height: 145px;
  overflow: hidden;
  background: #211d21;
}

.bb-article-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.bb-article-thumb mip-img,
.bb-article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
}

.bb-article-thumb mip-img {
  overflow: hidden;
}

.bb-article-thumb mip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-article-info h2 {
  margin: 2px 0 10px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
}

.bb-article-info h2 a {
  color: #ffffff;
  text-decoration: none;
}

.bb-article-info h2 a:hover {
  color: #ffff00;
}

.bb-article-desc {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.7;
}

.bb-read-more {
  display: inline-block;
  color: #ffff00;
  font-size: 15px;
  text-decoration: none;
}

.bb-read-more:hover {
  text-decoration: underline;
}

.bb-category-sidebar {
  width: 300px;
}

.bb-side-box {
  margin: 0 0 20px;
  background: transparent;
}

.bb-side-box h3 {
  position: relative;
  margin: 0;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  background: #626262;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  overflow: hidden;
}

.bb-side-box h3:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 40px solid #777777;
  border-left: 22px solid transparent;
  width: 80px;
  height: 0;
}

.bb-side-category,
.bb-side-posts {
  list-style: none;
  margin: 0;
  padding: 10px 20px 12px;
  background: #2b262a;
}

.bb-side-category li,
.bb-side-posts li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
}

.bb-side-category li:last-child,
.bb-side-posts li:last-child {
  border-bottom: 0;
}

.bb-side-category a,
.bb-side-posts a {
  display: block;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.55;
  text-decoration: none;
}

.bb-side-category a:hover,
.bb-side-posts a:hover {
  color: #ffff00;
}

.bb-single-page {
  background: transparent;
  color: #ffffff;
}

.bb-single-content {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.8;
}

.bb-single-content p {
  color: #ffffff;
}

.bb-pagination {
  margin: 25px 0;
  text-align: center;
}

.bb-pagination a,
.bb-pagination span {
  display: inline-block;
  margin: 0 3px;
  padding: 6px 10px;
  background: #4b454a;
  color: #ffffff;
  border-radius: 2px;
  text-decoration: none;
}

.bb-pagination .current,
.bb-pagination span.current {
  background: #ffff00;
  color: #111111;
}

@media (max-width: 900px) {
  .bb-category-container {
    width: auto;
    padding: 0 15px;
  }

  .bb-category-layout {
    display: block;
  }

  .bb-category-sidebar {
    width: auto;
    margin-top: 25px;
  }

  .bb-article-item {
    grid-template-columns: 120px 1fr;
    gap: 12px;
  }

  .bb-article-thumb {
    width: 120px;
    height: 85px;
  }

  .bb-article-info h2 {
    font-size: 16px;
  }

  .bb-article-desc {
    font-size: 13px;
  }
}
/* ===== FIX BREADCRUMB COLOR ===== */

.bb-category-page .bb-breadcrumb,
.bb-category-page .bb-breadcrumb a,
.bb-category-page .bb-breadcrumb a:link,
.bb-category-page .bb-breadcrumb a:visited,
.bb-category-page .bb-breadcrumb a:hover,
.bb-category-page .bb-breadcrumb a:active,
.bb-category-page .bb-breadcrumb span {
  color: #ffffff !important;
  text-decoration: none !important;
}

.bb-category-page .bb-breadcrumb {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 600;
}

.bb-category-page .bb-breadcrumb a:hover {
  color: #ffff00 !important;
}

.bb-category-page .bb-breadcrumb span {
  display: inline-block;
  margin: 0 5px;
}
/* Fix breadcrumb link color */
.bb-breadcrumb,
.bb-breadcrumb a,
.bb-breadcrumb a:link,
.bb-breadcrumb a:visited,
.bb-breadcrumb span {
  color: #ffffff !important;
  text-decoration: none !important;
}

.bb-breadcrumb a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}
.bb-crumb-home {
  color: #ffffff !important;
  text-decoration: none !important;
}
/* ===== FORCE FIX HEADER MENU ===== */

mip-fixed[type="top"] {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  background: #302a2e !important;
  overflow: visible !important;
  z-index: 99999 !important;
}

.bb-topbar {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  background: #302a2e !important;
  color: #ffffff !important;
  position: relative !important;
  z-index: 99999 !important;
}

.bb-menu-wrap {
  width: 1180px !important;
  height: 50px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #302a2e !important;
}

.bb-main-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #302a2e !important;
}

.bb-main-menu .bb-menu-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 50px !important;
  padding: 0 24px !important;
  color: #ffffff !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 50px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
}

.bb-main-menu .bb-menu-item:hover {
  background: #252126 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Breadcrumb trắng như mẫu */
.bb-category-page .bb-breadcrumb,
.bb-category-page .bb-breadcrumb a,
.bb-category-page .bb-breadcrumb a:link,
.bb-category-page .bb-breadcrumb a:visited,
.bb-category-page .bb-breadcrumb a:hover,
.bb-category-page .bb-breadcrumb a:active,
.bb-category-page .bb-breadcrumb span {
  color: #ffffff !important;
  text-decoration: none !important;
}
/* ===== BIGBOSS TOP MENU ===== */

.bb-topbar {
  width: 100%;
  background: linear-gradient(to right, #3a2f33, #2d272b, #3a2f33);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 9999;
}

.bb-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 0 10px;
}

.bb-main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
}

.bb-main-menu .bb-menu-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 26px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.2s ease;
  position: relative;
}

.bb-main-menu .bb-menu-item:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none !important;
}

.bb-main-menu .bb-menu-item:visited,
.bb-main-menu .bb-menu-item:link,
.bb-main-menu .bb-menu-item:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* mục đang active */
.bb-main-menu .bb-menu-item.current,
.bb-main-menu .bb-menu-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

/* chống CSS hệ thống đè */
.bb-topbar a,
.bb-main-menu a,
.bb-main-menu a span {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* mobile */
@media (max-width: 991px) {
  .bb-topbar-inner {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .bb-main-menu {
    justify-content: flex-start;
    min-width: max-content;
  }

  .bb-main-menu .bb-menu-item {
    padding: 0 18px;
    font-size: 14px;
  }
}
