.page-huong-dan-choi {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff;
}

.page-huong-dan-choi__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-huong-dan-choi__top-section {
  padding-top: 10px; /* Small top padding, body padding-top handled by shared.css */
  padding-bottom: 40px;
  text-align: center;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.page-huong-dan-choi__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #017439;
  max-width: 900px;
  margin: 20px auto 15px auto;
}

.page-huong-dan-choi__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-huong-dan-choi__top-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-huong-dan-choi__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-huong-dan-choi__btn--register {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register font color */
  border: 2px solid #C30808;
}

.page-huong-dan-choi__btn--register:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-huong-dan-choi__btn--login {
  background-color: #C30808; /* Login button color */
  color: #FFFF00; /* Login font color */
  border: 2px solid #C30808;
}

.page-huong-dan-choi__btn--login:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-huong-dan-choi__article-wrap {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.7;
  font-size: 1.05em;
  box-sizing: border-box;
}

.page-huong-dan-choi__content-section h2 {
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 2em;
  font-weight: bold;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-huong-dan-choi__content-section h3 {
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5em;
  font-weight: bold;
}

.page-huong-dan-choi__content-section p {
  margin-bottom: 15px;
}

.page-huong-dan-choi__list {
  margin-bottom: 15px;
  padding-left: 25px;
}

.page-huong-dan-choi__list li {
  margin-bottom: 8px;
}

.page-huong-dan-choi__list strong {
  color: #017439;
}

.page-huong-dan-choi__figure {
  margin: 25px 0;
  text-align: center;
}

.page-huong-dan-choi__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-choi__figcaption {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
}

.page-huong-dan-choi__cta-box {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
  text-align: center;
}

.page-huong-dan-choi__cta-box p {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333333;
}

.page-huong-dan-choi__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-huong-dan-choi__btn--download {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-huong-dan-choi__btn--download:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-huong-dan-choi__faq-section {
  margin-top: 30px;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

.page-huong-dan-choi__faq-question {
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-huong-dan-choi__faq-answer {
  margin-bottom: 15px;
  color: #555555;
}

.page-huong-dan-choi__bottom-cta {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-huong-dan-choi__btn--primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-huong-dan-choi__btn--primary:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-huong-dan-choi__copyright {
  text-align: center;
  font-size: 0.9em;
  color: #777777;
  margin-top: 40px;
  padding-bottom: 20px;
}

.page-huong-dan-choi a {
  color: #017439;
  text-decoration: underline;
}

.page-huong-dan-choi a:hover {
  color: #005a2e;
  text-decoration: none;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-huong-dan-choi__main-title {
    font-size: 2.5em;
  }
  .page-huong-dan-choi__article-wrap {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-huong-dan-choi__top-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-huong-dan-choi__main-title {
    font-size: 1.8em;
    margin: 15px auto 10px auto;
  }
  .page-huong-dan-choi__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-huong-dan-choi__top-cta {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  .page-huong-dan-choi__btn {
    padding: 12px 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. 单栏长文容器 */
  .page-huong-dan-choi__article-wrap {
    padding: 0 15px !important;
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-huong-dan-choi__content-section h2 {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 8px;
  }
  .page-huong-dan-choi__content-section h3 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-huong-dan-choi__content-section p,
  .page-huong-dan-choi__list li {
    font-size: 0.95em;
    line-height: 1.5;
  }
  .page-huong-dan-choi__cta-box {
    padding: 20px;
    margin: 25px 0;
  }
  .page-huong-dan-choi__cta-box p {
    font-size: 1em;
    margin-bottom: 15px;
  }

  /* 3. 通用图片与 figure */
  .page-huong-dan-choi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-huong-dan-choi__figure {
    margin: 20px 0;
  }
  .page-huong-dan-choi__figcaption {
    font-size: 0.85em;
  }

  /* 4. 按钮与按钮容器 */
  .page-huong-dan-choi__cta-buttons {
    flex-direction: column !important; /* Force vertical stacking for multiple buttons */
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-huong-dan-choi__btn--primary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 5. 注册教程与 FAQ 区块 */
  .page-huong-dan-choi__faq-section {
    padding-top: 15px;
  }
  .page-huong-dan-choi__faq-question {
    font-size: 1.1em;
    margin-top: 15px;
    margin-bottom: 8px;
  }
  .page-huong-dan-choi__faq-answer {
    font-size: 0.95em;
  }
  .page-huong-dan-choi__copyright {
    margin-top: 30px;
    padding-bottom: 15px;
  }
}