.dnw-title-review{
    margin-top: 30px;
}

.box-product-slug{
    margin-bottom: 10px;
}
.box-product-slug a {
    border-radius: 8px;
    height: auto;
    line-height: 1;
    border: 1px solid #eaecf0;
    font-size: 14px;
    color: #333;
    display: inline-block;
    min-width: 67px;
    padding: 12px 15px;
    text-align: center;
    margin-bottom: 5px;
    margin-right: 2px;
    vertical-align: top;
    position: relative;
    text-decoration: none;
    transition: .2s;
}
.box-product-slug a.active {
    border-color: #bbddfd;
    color: #fff;
    background-color: var(--primary-color);
}
li.html.custom.html_topbar_left svg {
    padding-right: 5px;
    color: red;
}

/* Style Scrollbar for WebKit Browsers (MacBook Safari, Chrome) */
::-webkit-scrollbar {
  width: 8px; /* Chiều dày thanh cuộn dọc */
  height: 4px; /* Chiều dày thanh cuộn ngang (nhỏ hơn) */
}

::-webkit-scrollbar-thumb {
  background-color: #333; /* Màu xám đậm cho dark mode */
  border-radius: 10px; /* Góc bo tròn */
}

::-webkit-scrollbar-thumb:hover {
  background-color: red; /* Màu sáng hơn khi hover */
}

::-webkit-scrollbar-track {
  background-color: #222; /* Nền thanh cuộn */
  border-radius: 10px; /* Bo tròn góc */
}


.s-dv {
padding: 5px 10px; 
    display: flex;
    gap: 5px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch; 
 
}
.s-dv .label:hover {background:red;color:white}
.s-dv .label {
    scroll-snap-align: start; 
    flex-shrink: 0; 
    background-color: #444; 
  color:white;
    padding: 0px 7px; 
    border-radius: 99px; 
    white-space: nowrap; 
   font-size: 10px; 
}
.giatien {
  
  font-weight: bold;
  color: red;
  display: inline-block;
  animation: led-run 0.2s linear infinite;
}

@keyframes led-run {
  0% {
    color: red;
  
  }
  50% {
    color: yellow;

  }
  100% {
    color: red;

  }
}

.widget>ul>li>a{
    border-color: transparent;
    background: linear-gradient(to bottom, #212121, #131313);
    padding:8px;display:block;
		width:100%;
}


body,.header-main ,#main.dark{ background-image:url('http://cdn.dcodes.net/2/bg_images/dark/d59.png')!important; }
.row.row-small {
    background: #111;
}
.header:not(.transparent) .header-bottom-nav.nav > li > a:hover {
    color: red!important;
}
a.button.secondary.small.bookdienthoai {    border: none;
    background: linear-gradient(45deg, #4361ee, #f72585)!important;
    padding: 5px 20px!important;
    border-radius: 5px!important;width:100%;
}
a.button.secondary.small.bookdienthoai:hover{box-shadow: 0 0 10px #4361ee, 0 0 20px #f72585, 0 0 30px #4361ee;}
.widget {
    margin-bottom: 1.5em;
    background: #111;
    padding: 10px;
}
span.widget-title {
    font-size: 1em;
    font-weight: 600;
    width: 100%;
    background: var(--fs-color-primary)!important;
    display: block;
    padding: 10px;
    color: #ffffff;margin-bottom:10px;border-radius:5px 5px 0 0}
nav.rank-math-breadcrumb {

    margin-top: 10px;
}

.dark .is-divider {
    background-color: hsla(0, 0%, 100%, .3);
    display: none;
}
.page-wrapper {
   
    padding-top: 10px;
}
.post-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;    text-align: left;
    align-items: center;
}
body,*,html {
  font-family: Arial, Helvetica, sans-serif;
}

.header-bottom {
    background-color: #121212;
    background: linear-gradient(to bottom, #212121, #131313);
}


span.border {
    border: 1px solid skyblue;
    font-size: 100%;
    padding: 2px;
    border-radius: 99px;
}
a.khuvuc {
    font-weight: 300;
    font-size: 90%; 
	line-height: 22px;
}

a.nav-top-link {font-weight:bold}
a.nav-top-link img {
    position: absolute;
    right: -30px;
    width: 32px;
    top: -12px;
}

.header-bottom-nav > li > a {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.header-bottom-nav > li > a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: transparent;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.header-bottom-nav > li:nth-child(1) > a::before { background-color: #ff5733; }
.header-bottom-nav > li:nth-child(2) > a::before { background-color: #33ff57; }
.header-bottom-nav > li:nth-child(3) > a::before { background-color: #3357ff; }
.header-bottom-nav > li:nth-child(4) > a::before { background-color: #ff33a1; }
.header-bottom-nav > li:nth-child(5) > a::before { background-color: #f5a623; }
.header-bottom-nav > li:nth-child(6) > a::before { background-color: #ffcc00; }
.header-bottom-nav > li:nth-child(7) > a::before { background-color: #00bfff; }
.header-bottom-nav > li:nth-child(8) > a::before { background-color: #8a2be2; }
.header-bottom-nav > li:nth-child(9) > a::before { background-color: #ff4500; }
.header-bottom-nav > li:nth-child(10) > a::before { background-color: #2e8b57; }

.header-bottom-nav > li > a:hover::before {
    width: 100%;
}

.timkiem h2 {
  color: var(--fs-color-primary)!important;; 
}
.nhan-list {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}
.nhan-item:nth-child(1) {
    background-color: #e74c3c;
}
.nhan-item:nth-child(2) {
    background-color: #3498db;
}
.nhan-item:nth-child(3) {
    background-color: #f1c40f;
}
.nhan-item {
    padding: 2px 10px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    border-radius: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
}
span.separator {color:#c40062;}
nav.rank-math-breadcrumb {
   
    padding: 0 10px;
    border-left: 2px solid #c40062;
}

.searchform .button.icon i {
    color: var(--fs-color-primary)!important;
}
.button span {
    line-height: 1;
    letter-spacing: -0.8px;
}
b,strong {font-weight:600;}
.we-filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0;
}
.header-button a {
    background: var(--fs-color-primary)!important;
    color: #ffffff !important;
   padding:0px  20px!important;
}
.we-filter-form input[type="text"], 
.we-filter-form select, 
.we-filter-form button {
  flex: 1;
  min-width: 200px;
  padding: 10px;
  font-size: 16px;line-height: 1;background: #333 !important;border:1px solid #303030!important;border-radius: 5px;
}

.we-filter-form button {
background-color: var(--fs-color-primary)!important;
  color: white;
  border: none;
  cursor: pointer;
}

.we-filter-form button:hover {
  background-color: #0030b3;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .we-filter-form {
    flex-direction: column;gap: 0px;
    align-items: stretch;
  }

  .we-filter-form input[type="text"], 
  .we-filter-form select, 
  .we-filter-form button {
    min-width: unset;
    width: 100%;
  }
}


/* span.section-title-main {
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    padding: 5px 30px;
    background: var(--fs-color-primary)!important;
} */
span.section-title-main {
    padding: 5px 30px;
    background: var(--fs-color-primary) !important;
    border-radius: 99px;
}
.header-main {
    border-bottom: 1px solid #444;
}



/* .post-content h2 {
    border-left: 2px solid #0fc7fa;
    margin-top: 20px;
    padding: 0 10px;
} */


/* CSS cho lưới danh mục */
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.category-item {
    border: 1px solid #222;
    padding: 10px;
    text-align: center;
    
    border-radius: 5px;
}

.category-item h3 {
    margin: 0 0 8px;
}

.category-item a {
    text-decoration: underline; color:#777
    
}

.category-item a:hover {
  color:skyblue
}

/* Responsive cho màn hình di động */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.post-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}


.post-grid .post-item {
    width: calc(25% - 20px);
    margin: 10px !important;
    display: flex;
    flex-direction: column;
	padding:10px;
}

.post-thumbnail {
    position: relative;
    padding-top: 100%; /* This creates a square aspect ratio */
    overflow: hidden;
}

.square-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 10px 0;
}


@media (max-width: 768px) {
    .post-item {
        width: calc(50% - 20px);
    }
}
.post-meta {
 
    font-weight: bold;
}
.post-meta i {
    color: var(--fs-color-primary)!important;
    padding-right: 5px;
    margin-left: 5px;
}




.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.pagination .page-numbers {
    margin: 0 5px;
    padding: 5px 15px;
    text-decoration: none;
    font-size: 16px;
    color: #333;
    background-color: #f2f2f2;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .page-numbers:hover {
    background-color: #3d4b07;
    color: #fff;
    border-color: #3d4b07;
}

.pagination .current {
    font-weight: bold;
    background-color: #c7d534;
    color: #fff;
    border-color: #c7d534;
}

.pagination .next {
    font-size: 14px;
    color: #007bff;
}

.pagination .next:hover {
    color: #0056b3;
}

@media screen and (max-width: 768px) {
    .pagination .page-numbers {
        padding: 8px 12px;
        font-size: 14px;
    }

    .pagination .next {
        font-size: 12px;
    }
}
h2.post-title {
    font-weight: bold;
    line-height: 1;
    text-align: center;
}
.post-item {
    background: #222;
}
.thongtin .dark, .dark p, .dark td {
    color: #f1f1f1;
    color: #ffe30d;
}
.we-filter-form select {color:#fff !important ;}
.al-box.info {
    background-color: #1c2a38 !important;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.post-grid .post-item {
        width: calc(50% - 20px);
    }
.box-link {display: block!important;}
}
.box-link {
    display: flex;
    column-gap: 20px;
	padding-bottom:20px; padding-top:20px;
}
.link-dan a{
    color: #fff828!important; font-size:18px;
}

/* LAYOUT CHÍNH */
.page-container {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR DESKTOP */
@media (min-width: 769px) {
  .sidebar-container {
    width: 300px;
    flex-shrink: 0;
    position: relative;
  }

  .main-sidebar {
    width: 300px;
    height: calc(100vh - var(--header-height, 0px));
    position: sticky;
    top: var(--header-height, 0px);
    overflow-y: auto;
	background: #111111;
    padding: 10px;
  }

  .main-content {
    flex-grow: 1;
    padding: 20px 40px;
    margin-left: 0px;
  }

  /* Khi sidebar ẩn */
  body.sidebar-hidden .main-sidebar {
    transform: translateX(-2000%);
  }
  body.sidebar-hidden .main-content {
    margin-left: -300px;
  }
}

/* SIDEBAR MOBILE */
@media (max-width: 768px) {
  .main-sidebar {
    position: fixed;
	overflow-y: auto;
    top: 63px;
    left: -280px;
    width: 280px;
    height: 89vh;
    z-index: 1000;
    transition: transform 0.3s ease;
	background: #111111;padding:10px;
  }

  body.sidebar-mobile-active .main-sidebar {
    transform: translateX(100%);
  }
}

/* FOOTER FIX */
.site-footer {
  margin-top: auto;
}
.dashicons-menu:before {
    content: "\f333";
    color: #e7e7e7;
}
.dashicons, .dashicons-before:before {font-size: 29px!important;}