.page-huong-dan-choi {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set for clarity, though body is default white */
}

.page-huong-dan-choi__top-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

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

.page-huong-dan-choi__main-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive H1, avoiding fixed large size */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-huong-dan-choi__description {
  font-size: 18px;
  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: 30px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-huong-dan-choi__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box; /* Button responsiveness */
  white-space: normal; /* Button text wrap */
  word-wrap: break-word; /* Button text wrap */
}

.page-huong-dan-choi__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-huong-dan-choi__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-huong-dan-choi__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-huong-dan-choi__btn-secondary:hover {
  background-color: #e0f0f8;
  color: #26A9E0;
}

.page-huong-dan-choi__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-huong-dan-choi__section {
  margin-bottom: 50px;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-huong-dan-choi__sub-title {
  font-size: 22px;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-huong-dan-choi__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-huong-dan-choi__feature-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.page-huong-dan-choi__feature-title,
.page-huong-dan-choi__step-title,
.page-huong-dan-choi__tip-title {
  font-size: 20px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-huong-dan-choi__feature-figure,
.page-huong-dan-choi__step-figure,
.page-huong-dan-choi__content-figure {
  margin: 20px auto;
  max-width: 100%;
  text-align: center;
}

.page-huong-dan-choi__feature-figure img,
.page-huong-dan-choi__step-figure img,
.page-huong-dan-choi__content-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

.page-huong-dan-choi__feature-figure figcaption,
.page-huong-dan-choi__step-figure figcaption,
.page-huong-dan-choi__content-figure figcaption {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.page-huong-dan-choi__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 30px;
}

.page-huong-dan-choi__step-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi__list,
.page-huong-dan-choi__ordered-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-huong-dan-choi__ordered-list {
  list-style-type: decimal;
}

.page-huong-dan-choi__list-highlight {
  color: #26A9E0;
}

.page-huong-dan-choi__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-huong-dan-choi__tip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-huong-dan-choi__tip-card {
  background-color: #e0f0f8;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-huong-dan-choi__top-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

  .page-huong-dan-choi__container {
    padding: 0 15px;
  }

  .page-huong-dan-choi__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-huong-dan-choi__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-huong-dan-choi__cta-buttons {
    flex-direction: column; /* Buttons stack vertically */
    gap: 10px;
    margin-top: 20px;
    padding: 0 15px; /* Add padding to container */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-huong-dan-choi__btn {
    padding: 12px 20px;
    font-size: 15px;
    width: 100% !important; /* Force full width for buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-huong-dan-choi__article-wrap {
    padding: 20px 15px;
  }

  .page-huong-dan-choi__section {
    margin-bottom: 30px;
    padding: 20px;
  }

  .page-huong-dan-choi__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

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

  .page-huong-dan-choi__feature-grid,
  .page-huong-dan-choi__tip-cards {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    margin-top: 20px;
  }

  .page-huong-dan-choi__feature-item,
  .page-huong-dan-choi__step-item,
  .page-huong-dan-choi__tip-card {
    padding: 20px;
  }

  /* Image responsiveness */
  .page-huong-dan-choi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Override min-width for mobile */
    min-height: unset !important; /* Override min-height for mobile */
  }

  .page-huong-dan-choi__section,
  .page-huong-dan-choi__card,
  .page-huong-dan-choi__container,
  .page-huong-dan-choi__feature-item,
  .page-huong-dan-choi__step-item,
  .page-huong-dan-choi__tip-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-huong-dan-choi__cta-center {
    padding: 0 15px; /* Ensure buttons in center are also contained */
    box-sizing: border-box;
  }
  .page-huong-dan-choi__cta-center .page-huong-dan-choi__btn {
    width: 100% !important;
  }
}

/* @media (max-width: 1024px) rules (tablet) */
@media (max-width: 1024px) {
  .page-huong-dan-choi__container {
    max-width: 900px;
  }
  .page-huong-dan-choi__article-wrap {
    max-width: 900px;
  }
  .page-huong-dan-choi__feature-grid,
  .page-huong-dan-choi__tip-cards {
    gap: 25px;
  }
}