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

:root {
  --color-primary: #C61F1F;
  --color-secondary: #E53030;
  --color-background-dark: #140C0C;
  --color-card-bg: #2A1212;
  --color-text-main: #FFF1E8;
  --color-border: #6A1E1E;
  --color-gold: #F3C54D;
  --color-deep-red: #7E0D0D;
  --gradient-button: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-blog-huong-dan-dang-ky-8kbets {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for assumed light body background */
  background-color: var(--color-background); /* Inherit from shared, assume light */
}

.page-blog-huong-dan-dang-ky-8kbets__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared */
  padding-bottom: 60px;
  background-color: var(--color-background-dark);
  color: var(--color-text-main);
}

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

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

.page-blog-huong-dan-dang-ky-8kbets__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--color-gold); /* Using gold for main title */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-blog-huong-dan-dang-ky-8kbets__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--color-text-main);
}

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

.page-blog-huong-dan-dang-ky-8kbets__btn-primary,
.page-blog-huong-dan-dang-ky-8kbets__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  font-size: 1.05rem;
}

.page-blog-huong-dan-dang-ky-8kbets__btn-primary {
  background: var(--gradient-button);
  color: #ffffff; /* White text on gradient button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-dang-ky-8kbets__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-8kbets__btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.page-blog-huong-dan-dang-ky-8kbets__btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-background-dark);
}

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

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

.page-blog-huong-dan-dang-ky-8kbets__section-spacing {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-blog-huong-dan-dang-ky-8kbets__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-8kbets__content-area {
  background-color: #ffffff; /* Light background for main content */
  color: #333333;
}

.page-blog-huong-dan-dang-ky-8kbets__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--color-deep-red);
}

.page-blog-huong-dan-dang-ky-8kbets__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.page-blog-huong-dan-dang-ky-8kbets p {
  margin-bottom: 1em;
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-blog-huong-dan-dang-ky-8kbets__guide-section {
  background-color: var(--color-card-bg);
  color: var(--color-text-main);
}

.page-blog-huong-dan-dang-ky-8kbets__guide-section .page-blog-huong-dan-dang-ky-8kbets__section-title {
  color: var(--color-gold);
}

.page-blog-huong-dan-dang-ky-8kbets__section-description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: var(--color-text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-dang-ky-8kbets__guide-step {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-blog-huong-dan-dang-ky-8kbets__guide-step:last-of-type {
  margin-bottom: 0;
}

.page-blog-huong-dan-dang-ky-8kbets__guide-step--reverse {
  flex-direction: row-reverse;
}

.page-blog-huong-dan-dang-ky-8kbets__guide-media {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-8kbets__guide-media img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  margin: 0 auto;
}

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

.page-blog-huong-dan-dang-ky-8kbets__step-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-gold);
}

.page-blog-huong-dan-dang-ky-8kbets__checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-8kbets__checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-blog-huong-dan-dang-ky-8kbets__checklist li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
}

.page-blog-huong-dan-dang-ky-8kbets__important-notes-section {
  background-color: #f8f8f8; /* Slightly off-white background */
  color: #333333;
}

.page-blog-huong-dan-dang-ky-8kbets__important-notes-section .page-blog-huong-dan-dang-ky-8kbets__section-title {
  color: var(--color-deep-red);
}

.page-blog-huong-dan-dang-ky-8kbets__faq-section {
  background-color: var(--color-background-dark);
  color: var(--color-text-main);
}

.page-blog-huong-dan-dang-ky-8kbets__faq-section .page-blog-huong-dan-dang-ky-8kbets__section-title {
  color: var(--color-gold);
}

.page-blog-huong-dan-dang-ky-8kbets__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-8kbets__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text-main);
}

.page-blog-huong-dan-dang-ky-8kbets__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-huong-dan-dang-ky-8kbets__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--color-gold);
}

.page-blog-huong-dan-dang-ky-8kbets__faq-item[open] .page-blog-huong-dan-dang-ky-8kbets__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-huong-dan-dang-ky-8kbets__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--color-text-main);
}

.page-blog-huong-dan-dang-ky-8kbets__cta-bottom-section {
  background-color: var(--color-deep-red);
  color: #ffffff;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-8kbets__cta-bottom-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-huong-dan-dang-ky-8kbets__cta-bottom-section .page-blog-huong-dan-dang-ky-8kbets__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-8kbets__cta-bottom-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ffffff;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-8kbets {
    font-size: 15px;
    line-height: 1.5;
  }

  /* HERO Section */
  .page-blog-huong-dan-dang-ky-8kbets__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-huong-dan-dang-ky-8kbets__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-blog-huong-dan-dang-ky-8kbets__hero-content,
  .page-blog-huong-dan-dang-ky-8kbets__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-blog-huong-dan-dang-ky-8kbets__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-8kbets__hero-description {
    font-size: 1rem;
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-8kbets__cta-group {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  /* Buttons */
  .page-blog-huong-dan-dang-ky-8kbets__btn-primary,
  .page-blog-huong-dan-dang-ky-8kbets__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 1rem !important;
    padding: 12px 20px !important;
  }

  /* Content Sections */
  .page-blog-huong-dan-dang-ky-8kbets__section-spacing {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-blog-huong-dan-dang-ky-8kbets__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-8kbets__section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-blog-huong-dan-dang-ky-8kbets__sub-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-8kbets p {
    font-size: 0.95rem;
  }

  /* Guide Steps */
  .page-blog-huong-dan-dang-ky-8kbets__guide-step {
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
  }

  .page-blog-huong-dan-dang-ky-8kbets__guide-step--reverse {
    flex-direction: column;
  }

  .page-blog-huong-dan-dang-ky-8kbets__guide-media,
  .page-blog-huong-dan-dang-ky-8kbets__guide-content {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-blog-huong-dan-dang-ky-8kbets__guide-media img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-dang-ky-8kbets__step-title {
    font-size: clamp(1.3rem, 6.5vw, 1.8rem);
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-8kbets__section-description {
    font-size: 1rem;
    padding: 0 10px;
  }

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

  /* FAQ Section */
  .page-blog-huong-dan-dang-ky-8kbets__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-huong-dan-dang-ky-8kbets__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* CTA Bottom Section */
  .page-blog-huong-dan-dang-ky-8kbets__cta-bottom-section .page-blog-huong-dan-dang-ky-8kbets__section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
}