/* hoichoi Custom Styles */

/* Global Text Styles */
body {
  font-weight: 600;
  font-size: 16px;
}

/* =========================================== */
/*  Header Styles
/* =========================================== */
.hc_header {
  background: #f8f8f8;
}

.hc_header .header {
  background: #f8f8f8;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hc_header .logo a {
  text-decoration: none;
}

.hc_header .nav-wrapper {
  display: flex;
  align-items: center;
}

.hc_header .logo h1 {
  color: #E50914;
  font-size: 32px;
  font-weight: 700;
}

.hc_header .user-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hc_header .user-nav a,
.hc_header .user-nav .whatsapp-btn {
  color: #333;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #333;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
}

.hc_header .user-nav a:hover,
.hc_header .user-nav .whatsapp-btn:hover {
  background: #f5f5f5;
}

.hc_header .user-nav .sign-in {
  background: #E50914;
  color: #fff;
  border-color: #E50914;
}

.hc_header .user-nav .sign-in:hover {
  background: #c40812;
}

.hc_header .menu-button {
  display: none;
}

.hc_header .language-selector {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  padding: 8px 16px;
  border: 1px solid #333;
  border-radius: 20px;
  background: transparent;
}

.hc_header .user-info {
  position: relative;
}

.hc_header .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
  display: block !important;
}

.hc_header .dropdown-menu a:hover,
.hc_header .dropdown-menu button:hover {
  background: #f5f5f5;
}

.hc_header .logo {
  display: flex;
  align-items: center;
}

.hc_header .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hc_header .logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

/* Admin Panel Styles */
.admin-sidebar button:hover {
  background: rgba(229, 9, 20, 0.1) !important;
}

/* =========================================== */
/*  Hero Section Styles
/* =========================================== */
.hero {
  background: #f8f8f8;
  padding: 40px 0 0;
  position: relative;
  overflow: visible;
  margin-bottom: 0;
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 260px;
}

.hero .welcome_text {
  color: #333;
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero .__circle {
  position: absolute;
  left: -150px;
  bottom: -120px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #B00813 0%, #8B0000 100%);
  border-radius: 50%;
  z-index: 1;
}

.hero .search-full {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.hero .search-input {
  width: 100%;
  padding: 16px 70px 16px 24px;
  border: 2px solid #333;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  outline: none;
}

.hero .search-submit {
  position: absolute;
  right: 6px;
  width: 48px;
  height: 48px;
  background: #E50914;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero .search-submit:hover {
  background: #c40812;
}

.hero .search-submit svg {
  color: #fff;
}

/* =========================================== */
/*  Categories Section Styles
/* =========================================== */
.home__categories {
  background: #14272e;
  padding: 80px 0 80px;
  position: relative;
  margin-top: 0;
  z-index: 10;
}

.home__categories .container {
  position: relative;
  z-index: 2;
}

.home__categories .__kb {
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 15px;
}

.home__categories .__kb_info {
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 50px;
  opacity: 0.9;
}

.home__categories .blocks-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.home__categories .blocks-item {
  margin: 0;
}

.home__categories .blocks-item-link {
  display: flex;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 16px;
  min-height: 80px;
}

.home__categories .blocks-item-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.home__categories .category-icon {
  color: #E50914;
  font-size: 28px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home__categories .blocks-item-title {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.home__categories .blocks-item-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

/* =========================================== */
/*  Promoted Articles Section Styles
/* =========================================== */
.home_recent_articles {
  background: #fff;
  padding: 60px 0 100px;
  margin: 0;
}

.home_recent_articles .__kb {
  color: #333;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 15px;
}

.home_recent_articles .__kb_info {
  color: #666;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 50px;
}

.home_recent_articles .promoted-articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.home_recent_articles .promoted-articles-item {
  margin: 0;
}

.home_recent_articles .promoted-articles-item a {
  display: block;
  padding: 24px;
  background: #f8f8f8;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.home_recent_articles .promoted-articles-item a:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home_recent_articles .promoted-title {
  color: #333;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

/* =========================================== */
/*  Help Section Styles
/* =========================================== */
.support__blocks {
  background: #fef5f5;
  padding: 0 0 100px;
  position: relative;
  margin: 0;
}

.support__blocks .container {
  position: relative;
  z-index: 2;
  padding-top: 60px;
}

.support__blocks .__kb {
  color: #333;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 15px;
}

.support__blocks .__kb_info {
  color: #666;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 50px;
}

.support__blocks .blocks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.support__blocks .blocks-item {
  flex: 0 0 calc(33.333% - 16px);
  max-width: 310px;
  margin: 0;
}

.support__blocks .blocks-item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
}

.support__blocks .blocks-item-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.support__blocks .category-icon {
  color: #E50914;
  font-size: 48px;
  margin-bottom: 16px;
}

.support__blocks .category-icon .clone {
  display: none;
}

.support__blocks .blocks-item-title {
  color: #333;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.support__blocks .blocks-item-description {
  color: #666;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

/* =========================================== */
/*  Footer Styles
/* =========================================== */
.footer {
  background: #14272e;
  color: #fff;
  padding: 150px 0 30px;
  position: relative;
  margin-top: 0;
}

.footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 120px;
  background: #fef5f5;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.footer .social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer .social-links a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer .social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.footer .footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer .footer-bottom p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.8;
}

/* =========================================== */
/*  Responsive Styles
/* =========================================== */
@media (max-width: 1024px) {
  .home__categories .blocks-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .support__blocks .blocks-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 0 0;
  }

  .hero .hero-inner {
    padding-bottom: 180px;
  }

  .hero .welcome_text {
    font-size: 36px;
  }

  .hero .__circle {
    width: 250px;
    height: 250px;
    left: -80px;
    bottom: -60px;
  }

  .home__categories {
    padding: 60px 0 60px;
  }

  .home__categories .blocks-list,
  .home_recent_articles .promoted-articles {
    grid-template-columns: 1fr;
  }

  .support__blocks .blocks-item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer {
    padding: 100px 0 30px;
  }

  .footer::before {
    height: 80px;
    top: -2px;
    left: -2px;
    right: -2px;
  }

  .hc_header .menu-button {
    display: block;
    background: transparent;
    border: 1px solid #333;
    padding: 8px;
    border-radius: 20px;
    cursor: pointer;
  }

  .hc_header .user-nav {
    position: absolute;
    top: 70px;
    right: 24px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .hc_header .user-nav.open {
    display: flex;
  }
}

/* =========================================== */
/*  Container
/* =========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
