.page-huong-dan-choi {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--background-color, #F5F7FA); /* Default body background if not set by shared */
}

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

/* 1. Top section title + CTAs */
.page-huong-dan-choi__hero-section {
  padding-top: 10px; /* Small top padding, not --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #F5F7FA;
  color: #333333;
}

.page-huong-dan-choi__main-title {
  font-weight: bold;
  color: #E53935;
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 2.8em); /* H1 font size with clamp */
  line-height: 1.2;
}

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

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

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

.page-huong-dan-choi__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-huong-dan-choi__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-huong-dan-choi__btn--secondary:hover {
  background-color: #E53935;
  color: #ffffff;
}

/* General Section Styling */
.page-huong-dan-choi__section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
  border-bottom: 1px solid #E0E0E0;
}

.page-huong-dan-choi__section:nth-of-type(even) {
  background-color: #F5F7FA;
}

.page-huong-dan-choi__section-title {
  font-size: 2.2em;
  color: #E53935;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-huong-dan-choi__sub-title {
  font-size: 1.6em;
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-huong-dan-choi p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-huong-dan-choi__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.05em;
}

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

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

/* 3. Universal images and figure */
.page-huong-dan-choi__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

/* Info and Warning Cards */
.page-huong-dan-choi__warning-card,
.page-huong-dan-choi__info-card {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-left: 5px solid #E53935;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-huong-dan-choi__warning-card {
  border-left-color: #FF5A4F; /* Warning specific color */
}

.page-huong-dan-choi__warning-title,
.page-huong-dan-choi__info-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 15px;
  color: #E53935;
}

.page-huong-dan-choi__warning-title {
  color: #FF5A4F;
}

/* Kết Luận Section */
.page-huong-dan-choi__ket-luan {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-huong-dan-choi__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }

  .page-huong-dan-choi__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  /* 1. Top section title + CTAs */
  .page-huong-dan-choi__hero-section {
    padding-top: 10px !important; /* Enforced small top padding */
    padding-bottom: 30px;
  }

  .page-huong-dan-choi__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
    margin-bottom: 15px;
    padding: 0 15px;
  }

  .page-huong-dan-choi__description {
    font-size: 1em;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .page-huong-dan-choi__cta-buttons {
    flex-direction: column; /* Buttons stack vertically */
    gap: 10px;
    padding: 0 15px;
  }

  /* 4. Buttons and button containers */
  .page-huong-dan-choi__btn {
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-choi__cta-buttons {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 2. Single column long text container */
  .page-huong-dan-choi__container {
    padding: 0 15px !important; /* Enforced padding */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-choi__section {
    padding: 40px 0;
  }

  .page-huong-dan-choi__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .page-huong-dan-choi__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-huong-dan-choi p,
  .page-huong-dan-choi__list li {
    font-size: 1em;
  }

  .page-huong-dan-choi__list {
    margin-left: 20px;
  }

  /* 3. Universal images and figure */
  .page-huong-dan-choi__figure {
    margin: 20px auto;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-huong-dan-choi__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-huong-dan-choi__figcaption {
    font-size: 0.85em;
  }

  /* 5. Registration tutorial and FAQ blocks (Info/Warning cards here) */
  .page-huong-dan-choi__warning-card,
  .page-huong-dan-choi__info-card {
    padding: 15px;
    margin-bottom: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-choi__warning-title,
  .page-huong-dan-choi__info-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-huong-dan-choi__ket-luan {
    padding-bottom: 50px;
  }
}