/* style/huong-dan-choi.css */

/* Base Styles */
.page-huong-dan-choi {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-huong-dan-choi__article-wrap {
  max-width: 900px; /* Adjusted for long-form content */
  margin: 0 auto;
  padding: 20px;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi__top-section {
  padding-top: 10px; /* Fixed header spacing - 10px top margin */
  padding-bottom: 40px;
  background-color: #2F6BFF; /* Main Color */
  color: #FFFFFF;
  text-align: center;
}

.page-huong-dan-choi__main-title {
  font-size: 2.8em; /* Using em for relative sizing */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

.page-huong-dan-choi__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-huong-dan-choi__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for mobile responsiveness */
  max-width: 100%; /* Crucial for mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-huong-dan-choi__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-huong-dan-choi__btn--primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-huong-dan-choi__btn--secondary {
  background-color: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi__btn--secondary:hover {
  background-color: #F4F7FB; /* Background */
  color: #2F6BFF;
  border-color: #2F6BFF;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-choi__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 25px;
}

.page-huong-dan-choi__content-section {
  padding: 30px 0;
  border-bottom: 1px solid #D6E2FF; /* Border color */
}

.page-huong-dan-choi__content-section:last-of-type {
  border-bottom: none;
}

.page-huong-dan-choi__section-title {
  font-size: 2em;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-huong-dan-choi__sub-title {
  font-size: 1.5em;
  color: #1F2D3D; /* Text Main */
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-huong-dan-choi p {
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-huong-dan-choi__ordered-list,
.page-huong-dan-choi__unordered-list {
  margin-bottom: 15px;
  padding-left: 25px;
  color: #1F2D3D; /* Text Main */
}

.page-huong-dan-choi__ordered-list li,
.page-huong-dan-choi__unordered-list li {
  margin-bottom: 8px;
}

.page-huong-dan-choi__info-card {
  background-color: #F4F7FB; /* Background */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-huong-dan-choi__card-title {
  font-size: 1.2em;
  color: #2F6BFF; /* Main Color */
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-huong-dan-choi__promo-box {
  background: linear-gradient(135deg, #6FA3FF 0%, #2F6BFF 100%); /* Auxiliary Color to Main Color */
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-huong-dan-choi__promo-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-huong-dan-choi__promo-box p {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #FFFFFF;
}

.page-huong-dan-choi__promo-box .page-huong-dan-choi__btn {
  background-color: #FFFFFF;
  color: #2F6BFF;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-choi__promo-box .page-huong-dan-choi__btn:hover {
  background-color: #F4F7FB;
  color: #2F6BFF;
}

.page-huong-dan-choi__faq-question {
  font-size: 1.2em;
  color: #000000; /* Custom Color_1776249996415 */
  margin-top: 20px;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  padding-right: 30px;
}

.page-huong-dan-choi__faq-answer {
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 3px solid #6FA3FF; /* Auxiliary Color */
  color: #1F2D3D; /* Text Main */
}

.page-huong-dan-choi__figure {
  margin: 25px 0;
  text-align: center;
  background-color: #F4F7FB;
  padding: 10px;
  border-radius: 8px;
}

.page-huong-dan-choi__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: cover;
}

.page-huong-dan-choi__figcaption {
  font-size: 0.9em;
  color: #1F2D3D; /* Text Main */
  margin-top: 10px;
  font-style: italic;
}

.page-huong-dan-choi__cta-buttons--bottom {
  margin-top: 40px;
  margin-bottom: 20px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-huong-dan-choi__main-title {
    font-size: 2.5em;
  }
  .page-huong-dan-choi__description {
    font-size: 1em;
  }
  .page-huong-dan-choi__article-wrap {
    padding: 15px;
    margin: 0 15px;
  }
  .page-huong-dan-choi__section-title {
    font-size: 1.8em;
  }
  .page-huong-dan-choi__sub-title {
    font-size: 1.3em;
  }
  .page-huong-dan-choi__promo-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-huong-dan-choi__top-section {
    padding-top: 10px !important; /* Enforce 10px top padding */
    padding-bottom: 30px;
  }
  .page-huong-dan-choi__container {
    padding: 0 15px;
  }
  .page-huong-dan-choi__main-title {
    font-size: 2em; /* Adjusted for mobile */
    margin-bottom: 15px;
  }
  .page-huong-dan-choi__description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  .page-huong-dan-choi__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Add padding to container */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box; /* Include padding in width */
  }
  .page-huong-dan-choi__btn {
    width: 100% !important; /* Buttons take full width */
    max-width: 100% !important;
    padding: 12px 15px; /* Adjust padding */
    font-size: 0.95em;
    white-space: normal !important; /* Allow text wrap */
    word-wrap: break-word !important; /* Allow text wrap */
    box-sizing: border-box !important;
  }
  .page-huong-dan-choi__btn--small {
    padding: 10px 15px;
    font-size: 0.9em;
  }

  /* 2. 单栏长文容器 */
  .page-huong-dan-choi__article-wrap {
    padding: 15px 0; /* Remove horizontal padding from article wrap */
    margin: 0; /* Remove side margins */
    border-radius: 0; /* No border radius on full-width mobile */
    box-shadow: none; /* No shadow on full-width mobile */
  }
  .page-huong-dan-choi__content-section {
    padding: 20px 15px; /* Add padding to inner sections */
    border-bottom: 1px solid #D6E2FF;
  }
  .page-huong-dan-choi__content-section:last-of-type {
    border-bottom: none;
  }
  .page-huong-dan-choi__section-title {
    font-size: 1.6em;
    margin-bottom: 15px;
  }
  .page-huong-dan-choi__sub-title {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .page-huong-dan-choi p,
  .page-huong-dan-choi__ordered-list,
  .page-huong-dan-choi__unordered-list {
    font-size: 0.95em;
    margin-bottom: 10px;
  }
  .page-huong-dan-choi__info-card,
  .page-huong-dan-choi__promo-box {
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .page-huong-dan-choi__card-title {
    font-size: 1.1em;
  }
  .page-huong-dan-choi__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
  }
  .page-huong-dan-choi__promo-box p {
    font-size: 0.95em;
    margin-bottom: 15px;
  }

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

  /* 4. 按钮与按钮容器 (already covered in top-section's cta-buttons) */
  /* Ensure any other button groups also stack or wrap */
  .page-huong-dan-choi__cta-buttons--bottom {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 5. FAQ 区块 */
  .page-huong-dan-choi__faq-question {
    font-size: 1.1em;
    padding-right: 20px;
  }
  .page-huong-dan-choi__faq-answer {
    font-size: 0.9em;
    padding-left: 8px;
  }
}