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

.page-huong-dan-choi-no-hu {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

.page-huong-dan-choi-no-hu__hero-section {
  padding-top: 10px; /* Assuming shared.css handles body padding */
  padding-bottom: 60px;
  background-color: var(--background);
  color: var(--text-main);
}

.page-huong-dan-choi-no-hu__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.page-huong-dan-choi-no-hu__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-huong-dan-choi-no-hu__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold);
}

.page-huong-dan-choi-no-hu__hero-description {
  font-size: 1.125rem;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-huong-dan-choi-no-hu__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-huong-dan-choi-no-hu__btn-primary,
.page-huong-dan-choi-no-hu__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-huong-dan-choi-no-hu__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

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

.page-huong-dan-choi-no-hu__btn-secondary {
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.page-huong-dan-choi-no-hu__btn-secondary:hover {
  background-color: var(--gold);
  color: var(--background);
  transform: translateY(-2px);
}

.page-huong-dan-choi-no-hu__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-huong-dan-choi-no-hu__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-huong-dan-choi-no-hu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-huong-dan-choi-no-hu__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.page-huong-dan-choi-no-hu__section-description {
  font-size: 1.125rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main);
}

/* Intro Section */
.page-huong-dan-choi-no-hu__intro-section {
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
  padding: 80px 0;
}

.page-huong-dan-choi-no-hu__intro-section .page-huong-dan-choi-no-hu__section-title,
.page-huong-dan-choi-no-hu__intro-section .page-huong-dan-choi-no-hu__section-description {
  color: #333333;
}

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

.page-huong-dan-choi-no-hu__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-huong-dan-choi-no-hu__feature-item:hover {
  transform: translateY(-5px);
}

.page-huong-dan-choi-no-hu__icon-box-media {
  width: 150px; /* Recommended size for feature icons */
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.page-huong-dan-choi-no-hu__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-huong-dan-choi-no-hu__feature-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333333;
}

.page-huong-dan-choi-no-hu__feature-text {
  font-size: 1rem;
  color: #666666;
}

/* Guide Section */
.page-huong-dan-choi-no-hu__guide-section {
  background-color: var(--card-bg);
  color: var(--text-main);
  padding: 80px 0;
}

.page-huong-dan-choi-no-hu__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.page-huong-dan-choi-no-hu__step-item {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-huong-dan-choi-no-hu__step-item--reverse {
  flex-direction: row-reverse;
}

.page-huong-dan-choi-no-hu__step-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-huong-dan-choi-no-hu__step-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-huong-dan-choi-no-hu__step-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-huong-dan-choi-no-hu__btn-text {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.page-huong-dan-choi-no-hu__btn-text:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.page-huong-dan-choi-no-hu__step-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-huong-dan-choi-no-hu__step-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Tips Section */
.page-huong-dan-choi-no-hu__tips-section {
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
  padding: 80px 0;
}

.page-huong-dan-choi-no-hu__tips-section .page-huong-dan-choi-no-hu__section-title,
.page-huong-dan-choi-no-hu__tips-section .page-huong-dan-choi-no-hu__section-description {
  color: #333333;
}

.page-huong-dan-choi-no-hu__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-huong-dan-choi-no-hu__tip-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi-no-hu__tip-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--deep-red);
}

.page-huong-dan-choi-no-hu__tip-text {
  font-size: 1rem;
  color: #666666;
}

/* FAQ Section */
.page-huong-dan-choi-no-hu__faq-section {
  background-color: var(--card-bg);
  color: var(--text-main);
  padding: 80px 0;
}

.page-huong-dan-choi-no-hu__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-huong-dan-choi-no-hu__faq-item {
  margin-bottom: 15px;
  background-color: var(--background);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-huong-dan-choi-no-hu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--gold);
  background-color: var(--background);
  list-style: none; /* For details/summary */
}

.page-huong-dan-choi-no-hu__faq-question::-webkit-details-marker {
  display: none;
}

.page-huong-dan-choi-no-hu__faq-question::marker {
  display: none;
}

.page-huong-dan-choi-no-hu__faq-qtext {
  flex-grow: 1;
}

.page-huong-dan-choi-no-hu__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--text-main);
}

.page-huong-dan-choi-no-hu__faq-item[open] .page-huong-dan-choi-no-hu__faq-toggle {
  transform: rotate(45deg); /* Change + to X */
}

.page-huong-dan-choi-no-hu__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* General image rules */
.page-huong-dan-choi-no-hu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-huong-dan-choi-no-hu {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* HERO Section */
  .page-huong-dan-choi-no-hu__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
    padding-bottom: 40px;
  }
  .page-huong-dan-choi-no-hu__hero-container {
    flex-direction: column;
    padding: 20px 15px;
  }
  .page-huong-dan-choi-no-hu__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    text-align: center;
  }
  .page-huong-dan-choi-no-hu__hero-description {
    text-align: center;
    font-size: 1rem;
  }
  .page-huong-dan-choi-no-hu__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-huong-dan-choi-no-hu__btn-primary,
  .page-huong-dan-choi-no-hu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .page-huong-dan-choi-no-hu__hero-image {
    width: 100%;
    order: -1; /* Image above text on mobile */
  }
  .page-huong-dan-choi-no-hu__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* General container & sections */
  .page-huong-dan-choi-no-hu__container {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-huong-dan-choi-no-hu__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }
  .page-huong-dan-choi-no-hu__section-description {
    font-size: 1rem;
  }

  /* Module 1 (Intro Section) - Three columns to single column */
  .page-huong-dan-choi-no-hu__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-huong-dan-choi-no-hu__icon-box-media {
    width: 120px; /* Still square */
    height: 120px;
    border-width: 2px;
  }
  .page-huong-dan-choi-no-hu__icon-box-media img {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important; /* object-fit: cover handles aspect ratio */
  }
  .page-huong-dan-choi-no-hu__feature-item {
    padding: 20px;
  }
  .page-huong-dan-choi-no-hu__feature-title {
    font-size: 1.3rem;
  }

  /* Guide Section - Steps */
  .page-huong-dan-choi-no-hu__guide-steps {
    gap: 40px;
  }
  .page-huong-dan-choi-no-hu__step-item,
  .page-huong-dan-choi-no-hu__step-item--reverse {
    flex-direction: column;
    gap: 20px;
  }
  .page-huong-dan-choi-no-hu__step-content,
  .page-huong-dan-choi-no-hu__step-image {
    width: 100%;
    min-width: unset;
  }
  .page-huong-dan-choi-no-hu__step-title {
    font-size: 1.5rem;
    text-align: center;
  }
  .page-huong-dan-choi-no-hu__step-text {
    font-size: 1rem;
    text-align: justify;
  }
  .page-huong-dan-choi-no-hu__btn-text {
    margin: 0 auto; /* Center inline-block element */
    display: table;
  }
  .page-huong-dan-choi-no-hu__step-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Tips Section - List items */
  .page-huong-dan-choi-no-hu__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-huong-dan-choi-no-hu__tip-item {
    padding: 20px;
  }
  .page-huong-dan-choi-no-hu__tip-title {
    font-size: 1.2rem;
  }
  .page-huong-dan-choi-no-hu__tip-text {
    font-size: 0.95rem;
  }

  /* FAQ Section - Accordion items */
  .page-huong-dan-choi-no-hu__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-huong-dan-choi-no-hu__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }
  .page-huong-dan-choi-no-hu__faq-toggle {
    font-size: 1.3rem;
  }

  /* General image and button rules for mobile */
  .page-huong-dan-choi-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-huong-dan-choi-no-hu__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Ensure buttons stack vertically */
    gap: 10px;
  }
  .page-huong-dan-choi-no-hu__cta-button,
  .page-huong-dan-choi-no-hu__btn-primary,
  .page-huong-dan-choi-no-hu__btn-secondary,
  .page-huong-dan-choi-no-hu a[class*="button"],
  .page-huong-dan-choi-no-hu a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}