.page-tai-xiu-meo-choi-hieu-qua {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

.page-tai-xiu-meo-choi-hieu-qua__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-tai-xiu-meo-choi-hieu-qua__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-tai-xiu-meo-choi-hieu-qua__section--light {
  background-color: #FFFFFF;
  color: #333333;
}

.page-tai-xiu-meo-choi-hieu-qua__section--dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-tai-xiu-meo-choi-hieu-qua__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-tai-xiu-meo-choi-hieu-qua__section-title--white {
  color: #ffffff;
}

.page-tai-xiu-meo-choi-hieu-qua__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
}

.page-tai-xiu-meo-choi-hieu-qua__article-body--white-text p,
.page-tai-xiu-meo-choi-hieu-qua__article-body--white-text li {
  color: #ffffff;
}

.page-tai-xiu-meo-choi-hieu-qua__article-body h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tai-xiu-meo-choi-hieu-qua__article-body--white-text h3 {
  color: #ffffff;
}

.page-tai-xiu-meo-choi-hieu-qua__article-body p {
  margin-bottom: 15px;
}

.page-tai-xiu-meo-choi-hieu-qua__article-body ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-tai-xiu-meo-choi-hieu-qua__article-body li {
  margin-bottom: 8px;
}

.page-tai-xiu-meo-choi-hieu-qua__article-body a {
  color: #EA7C07;
  text-decoration: underline;
}

/* Hero Section */
.page-tai-xiu-meo-choi-hieu-qua__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image then text */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-tai-xiu-meo-choi-hieu-qua__hero-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.page-tai-xiu-meo-choi-hieu-qua__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-tai-xiu-meo-choi-hieu-qua__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
}

.page-tai-xiu-meo-choi-hieu-qua__hero-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-tai-xiu-meo-choi-hieu-qua__hero-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu-meo-choi-hieu-qua__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-tai-xiu-meo-choi-hieu-qua__btn-primary,
.page-tai-xiu-meo-choi-hieu-qua__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu-meo-choi-hieu-qua__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-tai-xiu-meo-choi-hieu-qua__btn-primary:hover {
  background-color: #1a7fb2;
  border-color: #1a7fb2;
}

.page-tai-xiu-meo-choi-hieu-qua__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-tai-xiu-meo-choi-hieu-qua__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a7fb2;
  border-color: #1a7fb2;
}

.page-tai-xiu-meo-choi-hieu-qua__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 8px;
}

.page-tai-xiu-meo-choi-hieu-qua__cta-section--final {
  margin-top: 60px;
  background-color: #e0f2f7;
}

.page-tai-xiu-meo-choi-hieu-qua__cta-section p {
  font-size: 20px;
  margin-bottom: 25px;
  color: #333333;
  font-weight: 500;
}

.page-tai-xiu-meo-choi-hieu-qua__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-tai-xiu-meo-choi-hieu-qua__article-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-tai-xiu-meo-choi-hieu-qua__article-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-tai-xiu-meo-choi-hieu-qua__article-figure figcaption {
  font-style: italic;
  font-size: 15px;
  color: #666666;
  margin-top: 10px;
}

.page-tai-xiu-meo-choi-hieu-qua__article-body--white-text figcaption {
  color: #e0e0e0;
}

/* FAQ Section */
details.page-tai-xiu-meo-choi-hieu-qua__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-tai-xiu-meo-choi-hieu-qua__faq-item summary.page-tai-xiu-meo-choi-hieu-qua__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-tai-xiu-meo-choi-hieu-qua__faq-item summary.page-tai-xiu-meo-choi-hieu-qua__faq-question::-webkit-details-marker {
  display: none;
}
details.page-tai-xiu-meo-choi-hieu-qua__faq-item summary.page-tai-xiu-meo-choi-hieu-qua__faq-question:hover {
  background: #f5f5f5;
}
.page-tai-xiu-meo-choi-hieu-qua__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-tai-xiu-meo-choi-hieu-qua__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-tai-xiu-meo-choi-hieu-qua__faq-item .page-tai-xiu-meo-choi-hieu-qua__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}
.page-tai-xiu-meo-choi-hieu-qua__faq-answer p {
  margin-top: 10px;
  color: #555555;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-tai-xiu-meo-choi-hieu-qua__hero-content {
    margin-top: -60px;
    max-width: 700px;
  }
  .page-tai-xiu-meo-choi-hieu-qua__hero-title {
    font-size: clamp(26px, 3.8vw, 44px);
  }
  .page-tai-xiu-meo-choi-hieu-qua__hero-description {
    font-size: 17px;
  }
  .page-tai-xiu-meo-choi-hieu-qua__section-title {
    font-size: clamp(22px, 3.2vw, 32px);
  }
  .page-tai-xiu-meo-choi-hieu-qua__article-body {
    font-size: 16px;
  }
  .page-tai-xiu-meo-choi-hieu-qua__article-body h3 {
    font-size: clamp(18px, 2.2vw, 26px);
  }
  .page-tai-xiu-meo-choi-hieu-qua__hero-actions,
  .page-tai-xiu-meo-choi-hieu-qua__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .page-tai-xiu-meo-choi-hieu-qua__btn-primary,
  .page-tai-xiu-meo-choi-hieu-qua__btn-secondary {
    width: 80%;
    padding: 12px 25px;
  }
}

@media (max-width: 849px) {
  .page-tai-xiu-meo-choi-hieu-qua__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu-meo-choi-hieu-qua__hero-image {
    height: auto; /* Allow height to adjust */
    max-height: 400px; /* Max height for mobile hero */
  }
  .page-tai-xiu-meo-choi-hieu-qua__hero-content {
    margin-top: -40px; /* Adjust overlap */
    padding: 25px 15px;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu-meo-choi-hieu-qua__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tai-xiu-meo-choi-hieu-qua__section {
    padding: 30px 0;
    margin-bottom: 15px;
  }

  .page-tai-xiu-meo-choi-hieu-qua__section-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-tai-xiu-meo-choi-hieu-qua__article-body {
    font-size: 15px;
    padding: 0 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tai-xiu-meo-choi-hieu-qua__article-body h3 {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* General image responsive styles */
  .page-tai-xiu-meo-choi-hieu-qua img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-tai-xiu-meo-choi-hieu-qua__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Hero Section Mobile */
  .page-tai-xiu-meo-choi-hieu-qua__hero-section {
    padding-top: 10px; /* Ensure small top padding */
    margin-bottom: 30px;
  }
  .page-tai-xiu-meo-choi-hieu-qua__hero-image {
    height: auto;
    max-height: 300px; /* Further adjust for smaller screens */
  }
  .page-tai-xiu-meo-choi-hieu-qua__hero-content {
    margin-top: -30px;
    padding: 20px 15px;
    max-width: calc(100% - 30px);
  }
  .page-tai-xiu-meo-choi-hieu-qua__hero-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-tai-xiu-meo-choi-hieu-qua__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-tai-xiu-meo-choi-hieu-qua__hero-actions,
  .page-tai-xiu-meo-choi-hieu-qua__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tai-xiu-meo-choi-hieu-qua__btn-primary,
  .page-tai-xiu-meo-choi-hieu-qua__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* FAQ Mobile */
  details.page-tai-xiu-meo-choi-hieu-qua__faq-item summary.page-tai-xiu-meo-choi-hieu-qua__faq-question {
    padding: 15px;
  }
  .page-tai-xiu-meo-choi-hieu-qua__faq-qtext {
    font-size: 15px;
  }
  details.page-tai-xiu-meo-choi-hieu-qua__faq-item .page-tai-xiu-meo-choi-hieu-qua__faq-answer {
    padding: 0 15px 15px;
  }
}