 /* Sidebar styles */
.sidebar {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-item {
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sidebar-heading h2 {
  font-size: 20px;
  color: #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Recent posts styles */
.recent-posts .content ul {
  list-style: none;
  padding: 0;
}

.recent-posts .content ul li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.recent-posts .content ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-posts .content ul li a {
  text-decoration: none;
  color: #111827;
  transition: color 0.2s ease;
}

.recent-posts .content ul li a:hover {
  color: #f48840;
}

.recent-posts .content h5 {
  font-size: 15px;
  margin: 0;
  line-height: 1.35;
}

.recent-posts .content span {
  font-size: 12px;
  color: #6b7280;
}

/* Categories styles */
.categories .content ul {
  list-style: none;
  padding: 0;
}

.categories .content ul li {
  margin-bottom: 10px;
}

.categories .content ul li a {
  text-decoration: none;
  color: #374151;
  transition: color 0.2s ease;
  display: block;
}

.categories .content ul li a:hover { color: #f48840; }

/* Tags styles */
.tags .content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.tags .content ul li {
  margin: 0 10px 10px 0;
}

.tags .content ul li a {
  text-decoration: none;
  color: #555;
  background-color: #e0e0e0;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  transition: all 0.3s ease;
  display: inline-block;
}

.tags .content ul li a:hover {
  background-color: #f48840 ;
  color: #fff !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .sidebar {
    margin-top: 30px;
  }
}
  .col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 100%;
    max-width: 100%;
}



/* menu danh muc */
.category-list {
  list-style-type: none;
  padding-left: 0;
}

.category-item {
  margin-bottom: 10px;
}

.subcategory-list {
  list-style-type: none;
  padding-left: 40px !important;
  margin-top: 5px;
  display: none; /* Ban đầu ẩn mục con */
}

.category-link {
  cursor: pointer;
  display: block;
  padding: 5px 0;
  position: relative;
  font-weight: bold;
}

.category-link::before {
  content: '▶';
  display: inline-block;
  margin-right: 5px;
  transition: transform 0.3s;
  font-size: 0.8em;
}

.category-link.active::before {
  transform: rotate(90deg);
}

.subcategory-item {
  margin-top: 5px;
}

.subcategory-link {
  display: block;
  padding: 3px 0;
  position: relative;
}

.subcategory-link::before {
  content: '•';
  position: absolute;
  left: -15px;
}

/* Hiển thị mục con khi category-link được click */
.category-link.active + .subcategory-list {
  display: block;
}
.sidebar .categories ul li a:hover {
	color: #f48840;
}
.sticky-sidebar { position: sticky; top: 80px; }
div[id^="ezoic-pub-ad-placeholder-"] { margin: 12px 0; }
.featured-block { display: none; }



    #tag-list, #hidden-tags {
      list-style-type: none;
      padding: 0;
      text-align: left;
    }
    #toggle-tags {
      background-color: #4e888d; /* Orange color */
      border: none;
      color: white;
      padding: 5px 10px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 14px;
      margin: 15px 0;
      cursor: pointer;
      border-radius: 5px;
      transition: background-color 0.3s;
    }
    #toggle-tags:hover {
      background-color: #f48840; /* Lighter orange on hover */
    }

    .category-list {
      list-style: none;
      padding: 0;
    }

    .category-item {
      margin-bottom: 10px;
    }

    .subcategory-list {
      display: none;
      list-style: none;
      padding-left: 20px;
      margin-top: 5px;
    }

    .category-item.active .subcategory-list {
      display: block;
    }

    .category-link {
      display: block;
      padding: 5px 10px;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .subcategory-link {
      display: block;
      padding: 5px 10px;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    /* Style cho active links */
    .category-link.active,
    .subcategory-link.active {
      background-color: rgba(244,136,64,0.08);
      color: #f48840;
      border-radius: 6px;
    }


    .subcategory-item.active > .subcategory-link {
      font-weight: bold;
    }

    @media (max-width: 768px) {
    .sidebar-ads {
        display: none;
    }
}

.content {
     margin-top: -20px;

}
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-item {
    margin: 0;
    padding: 0;
}

.category-item a {
    display: inline-block;
    padding: 5px 15px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-item a:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .category-list {
        gap: 8px;
    }

    .category-item a {
        padding: 4px 12px;
        font-size: 13px;
    }
}


   /* tiktok */
 .tiktok-content {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 10px 10px;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, sans-serif;
    margin-bottom: 20px;
}

.tiktok-header h2 {
  font-size: 24px;
  color: #111;
  margin-bottom: 12px;
}

.tiktok-username {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.tiktok-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}
  .follow-button {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, #ff0050 0%, #ff4081 50%, #e91e63 100%);
            color: white;
            text-decoration: none;
            padding: 10px 15px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow:
                0 8px 24px rgba(255, 0, 80, 0.3),
                0 4px 12px rgba(255, 0, 80, 0.2);
            position: relative;
            overflow: hidden;
        }

        .follow-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .follow-button:hover {
            transform: translateY(-2px);
            box-shadow:
                0 12px 32px rgba(255, 0, 80, 0.4),
                0 6px 16px rgba(255, 0, 80, 0.3);
        }

        .follow-button:hover::before {
            left: 100%;
        }

        .follow-button:active {
            transform: translateY(0px);
        }

        .follow-button span {
            font-size: 1.2rem;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-4px);
            }
            60% {
                transform: translateY(-2px);
            }
        }

@media (max-width: 576px) {
  .tiktok-content {
    padding: 20px 16px;
  }

  .follow-button {
    font-size: 14px;
    padding: 8px 16px;
  }
}
/* end tiktok */

