.page-tai-xiu {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-tai-xiu__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-tai-xiu__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up over image slightly for visual effect */
  background-color: rgba(255, 255, 255, 0.95); /* Card BG with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__main-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-tai-xiu__hero-description {
  font-size: 1.15rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__hero-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-tai-xiu__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-tai-xiu__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-tai-xiu__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Primary color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__btn-secondary:hover {
  background: #F4F7FB; /* Background */
  color: #2F6BFF;
  border-color: #4A8BFF;
}

.page-tai-xiu__article-wrap {
  max-width: 1150px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__section {
  padding: 40px;
}

.page-tai-xiu__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 25px;
  padding-top: 20px;
  border-bottom: 2px solid #D6E2FF; /* Border */
  padding-bottom: 10px;
}

.page-tai-xiu p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-tai-xiu a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-tai-xiu a:hover {
  text-decoration: underline;
}

.page-tai-xiu__figure {
  margin: 30px 0;
  text-align: center;
}

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

.page-tai-xiu__figcaption {
  font-style: italic;
  font-size: 0.95rem;
  color: #555;
  margin-top: 10px;
}

.page-tai-xiu__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__list--ordered {
  list-style: decimal;
}

.page-tai-xiu__list-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-tai-xiu__info-card,
.page-tai-xiu__strategy-card,
.page-tai-xiu__steps-card {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__card-title {
  font-size: 1.5rem;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tai-xiu__promo-box {
  background: #F4F7FB; /* Background */
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.page-tai-xiu__box-title {
  font-size: 1.8rem;
  color: #2F6BFF;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-tai-xiu__promo-cta,
.page-tai-xiu__register-cta,
.page-tai-xiu__final-cta {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-tai-xiu__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-tai-xiu__feature-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__feature-item .page-tai-xiu__card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-tai-xiu__faq-list {
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-tai-xiu__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  background-color: #F4F7FB; /* Background */
  border-bottom: 1px solid #D6E2FF;
  list-style: none;
}

.page-tai-xiu__faq-question::-webkit-details-marker, 
.page-tai-xiu__faq-question::marker {
  display: none;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question {
  background-color: #E0E8F5; /* Lighter background for open state */
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
  transform: rotate(45deg);
}

.page-tai-xiu__faq-qtext {
  flex-grow: 1;
}

.page-tai-xiu__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #2F6BFF;
}

.page-tai-xiu__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #333333;
  line-height: 1.6;
  background-color: #FFFFFF; /* Card BG */
}

.page-tai-xiu__btn-download {
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  margin-top: 15px;
}

.page-tai-xiu__btn-download:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
}

.page-tai-xiu__final-cta {
  margin-top: 50px;
  padding-bottom: 30px;
}

/* --- Media Queries --- */

@media (max-width: 1024px) {
  .page-tai-xiu__article-wrap {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-tai-xiu__section {
    padding: 30px;
  }

  .page-tai-xiu__hero-content {
    margin-top: -100px;
    padding: 15px;
  }

  .page-tai-xiu__main-title {
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  }

  .page-tai-xiu__hero-description {
    font-size: 1rem;
  }

  .page-tai-xiu__section-title {
    font-size: 2rem;
  }

  .page-tai-xiu p {
    font-size: 1rem;
  }

  .page-tai-xiu__card-title {
    font-size: 1.4rem;
  }

  .page-tai-xiu__box-title {
    font-size: 1.6rem;
  }

  .page-tai-xiu__faq-question {
    font-size: 1.05rem;
    padding: 15px 20px;
  }

  .page-tai-xiu__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 1. Top Section / CTA */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Specific for mobile */
    padding-bottom: 20px;
  }

  .page-tai-xiu__hero-image-wrapper {
    max-height: 300px;
  }

  .page-tai-xiu__hero-content {
    margin-top: -80px;
    padding: 15px;
    width: calc(100% - 30px); /* Ensure padding */
    box-sizing: border-box !important;
  }

  .page-tai-xiu__main-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-tai-xiu__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-tai-xiu__hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  /* 2. Single-column content container */
  .page-tai-xiu__article-wrap {
    margin: 20px auto;
    padding: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0;
    box-shadow: none;
  }

  .page-tai-xiu__section {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tai-xiu__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-top: 15px;
  }

  .page-tai-xiu p {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  /* 3. General images and figure */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 6px;
  }

  .page-tai-xiu__figure {
    margin: 20px 0;
  }

  .page-tai-xiu__figcaption {
    font-size: 0.85rem;
  }

  /* Card and box elements */
  .page-tai-xiu__info-card,
  .page-tai-xiu__strategy-card,
  .page-tai-xiu__steps-card,
  .page-tai-xiu__promo-box,
  .page-tai-xiu__feature-item {
    padding: 20px 15px !important;
    margin-bottom: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tai-xiu__card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .page-tai-xiu__box-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .page-tai-xiu__list {
    margin-left: 20px;
    margin-bottom: 15px;
  }

  .page-tai-xiu__list-item {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  /* Features grid */
  .page-tai-xiu__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  /* 4. Buttons and button containers */
  .page-tai-xiu__btn,
  .page-tai-xiu__hero-cta a,
  .page-tai-xiu__promo-cta a,
  .page-tai-xiu__register-cta a,
  .page-tai-xiu__final-cta a,
  .page-tai-xiu a[class*="button"],
  .page-tai-xiu 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: 12px 20px;
    font-size: 1rem;
  }

  .page-tai-xiu__hero-cta,
  .page-tai-xiu__promo-cta,
  .page-tai-xiu__register-cta,
  .page-tai-xiu__final-cta {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 5. Registration tutorial and FAQ blocks */
  .page-tai-xiu__faq-list {
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .page-tai-xiu__faq-item {
    margin-bottom: 10px;
    border-radius: 6px;
  }

  .page-tai-xiu__faq-question {
    font-size: 1rem;
    padding: 15px 18px;
  }

  .page-tai-xiu__faq-toggle {
    font-size: 1.5rem;
  }

  .page-tai-xiu__faq-answer {
    padding: 15px 18px;
    font-size: 0.95rem;
  }
}