/* style/blog-huong-dan-dang-ky-8kbet.css */

/* Base styles for the page content */
.page-blog-huong-dan-dang-ky-8kbet {
  font-family: Arial, sans-serif;
  color: #FFF5E1; /* Main text color for dark background */
  background-color: #B71C1C; /* Main background color */
  line-height: 1.6;
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-8kbet__hero-section {
  padding-top: 10px; /* Rely on body padding for header offset */
  padding-bottom: 60px;
  background-color: #7A0E0E; /* Deep Red background */
  color: #FFF5E1;
}

.page-blog-huong-dan-dang-ky-8kbet__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
}

.page-blog-huong-dan-dang-ky-8kbet__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-blog-huong-dan-dang-ky-8kbet__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD86A; /* Gold color for title */
  text-shadow: 0 0 8px rgba(255, 216, 106, 0.5); /* Subtle glow */
}

.page-blog-huong-dan-dang-ky-8kbet__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-blog-huong-dan-dang-ky-8kbet__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-huong-dan-dang-ky-8kbet__btn-primary,
.page-blog-huong-dan-dang-ky-8kbet__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-huong-dan-dang-ky-8kbet__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red text for contrast */
  border: 2px solid #F4D34D;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-blog-huong-dan-dang-ky-8kbet__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-8kbet__btn-secondary {
  background: transparent;
  color: #FFD86A;
  border: 2px solid #F4D34D;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.2);
}

.page-blog-huong-dan-dang-ky-8kbet__btn-secondary:hover {
  background: rgba(255, 216, 106, 0.1);
  color: #FFF5E1;
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.4);
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-8kbet__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-8kbet__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-blog-huong-dan-dang-ky-8kbet__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #B71C1C; /* Consistent dark background */
}

.page-blog-huong-dan-dang-ky-8kbet__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #FFD86A; /* Gold color for section titles */
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 5px rgba(255, 216, 106, 0.3);
}

.page-blog-huong-dan-dang-ky-8kbet__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #FFF5E1;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #D32F2F; /* Card BG color as separator */
  padding-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-8kbet__text-block p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-blog-huong-dan-dang-ky-8kbet__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-8kbet__list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-blog-huong-dan-dang-ky-8kbet__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Tips Section */
.page-blog-huong-dan-dang-ky-8kbet__tips-section {
  background-color: #7A0E0E; /* Deep Red background */
  padding: 40px;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-huong-dan-dang-ky-8kbet__tips-section .page-blog-huong-dan-dang-ky-8kbet__section-title {
  color: #FFD86A;
}

.page-blog-huong-dan-dang-ky-8kbet__tips-section .page-blog-huong-dan-dang-ky-8kbet__list {
  list-style: decimal;
  margin-left: 30px;
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-8kbet__faq-section {
  margin-top: 60px;
  padding: 40px 0;
}

.page-blog-huong-dan-dang-ky-8kbet__faq-item {
  background-color: #D32F2F; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #FFF5E1;
}

.page-blog-huong-dan-dang-ky-8kbet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #E53935; /* Auxiliary color for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-blog-huong-dan-dang-ky-8kbet__faq-question:hover {
  background-color: #C91F17; /* Main color on hover */
}

.page-blog-huong-dan-dang-ky-8kbet__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFD86A; /* Gold color for toggle icon */
}

.page-blog-huong-dan-dang-ky-8kbet__faq-item[open] .page-blog-huong-dan-dang-ky-8kbet__faq-toggle {
  content: "−"; /* Changed by JS */
}

.page-blog-huong-dan-dang-ky-8kbet__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF5E1;
}

.page-blog-huong-dan-dang-ky-8kbet__faq-answer p {
  margin-top: 15px;
}

/* CTA Bottom */
.page-blog-huong-dan-dang-ky-8kbet__cta-bottom {
  text-align: center;
  margin-top: 60px;
  background-color: #7A0E0E; /* Deep Red background */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-huong-dan-dang-ky-8kbet__cta-text {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 30px;
  color: #FFF5E1;
}

/* General image responsive styles */
.page-blog-huong-dan-dang-ky-8kbet img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-8kbet {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO section */
  .page-blog-huong-dan-dang-ky-8kbet__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
    padding-bottom: 30px;
  }
  .page-blog-huong-dan-dang-ky-8kbet__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 20px;
  }
  .page-blog-huong-dan-dang-ky-8kbet__main-title {
    font-size: 2.2rem; /* Specific size for mobile for H1 */
    text-align: center;
  }
  .page-blog-huong-dan-dang-ky-8kbet__description {
    text-align: center;
    font-size: 1rem;
  }
  .page-blog-huong-dan-dang-ky-8kbet__cta-buttons {
    flex-direction: column; /* Buttons stack vertically */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container for buttons */
  }
  .page-blog-huong-dan-dang-ky-8kbet__btn-primary,
  .page-blog-huong-dan-dang-ky-8kbet__btn-secondary {
    width: 100% !important; /* Force full width */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-blog-huong-dan-dang-ky-8kbet__hero-image {
    width: 100%;
    order: -1; /* Image above text for mobile */
  }

  /* Content Area & Sections */
  .page-blog-huong-dan-dang-ky-8kbet__content-area,
  .page-blog-huong-dan-dang-ky-8kbet__tips-section,
  .page-blog-huong-dan-dang-ky-8kbet__faq-section,
  .page-blog-huong-dan-dang-ky-8kbet__cta-bottom {
    padding: 30px 15px !important; /* Adjust padding for mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-huong-dan-dang-ky-8kbet__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-blog-huong-dan-dang-ky-8kbet__sub-title {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-blog-huong-dan-dang-ky-8kbet__text-block p,
  .page-blog-huong-dan-dang-ky-8kbet__list li,
  .page-blog-huong-dan-dang-ky-8kbet__faq-answer p {
    font-size: 0.95rem;
  }

  /* Images */
  .page-blog-huong-dan-dang-ky-8kbet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }

  /* FAQ */
  .page-blog-huong-dan-dang-ky-8kbet__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-blog-huong-dan-dang-ky-8kbet__faq-answer {
    padding: 0 20px 15px;
  }
  .page-blog-huong-dan-dang-ky-8kbet__faq-toggle {
    font-size: 1.3rem;
  }

  /* CTA Bottom */
  .page-blog-huong-dan-dang-ky-8kbet__cta-text {
    font-size: 1rem;
  }
}