.page-tai-xiu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-tai-xiu__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-tai-xiu__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6; /* Text Main */
  line-height: 1.2;
}

.page-tai-xiu__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
  text-align: center;
}

.page-tai-xiu__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Background */
}

.page-tai-xiu__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 16px;
}

.page-tai-xiu__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-tai-xiu__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 800;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tai-xiu__hero-description {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary,
.page-tai-xiu__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
}

.page-tai-xiu__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px #FFD36B;
}

.page-tai-xiu__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #3A2A12; /* Border */
}

.page-tai-xiu__btn-secondary:hover {
  background: #222222;
  color: #F2C14E;
}

.page-tai-xiu__btn-tertiary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 1px solid #3A2A12; /* Border */
  padding: 10px 20px;
  font-size: 1em;
}

.page-tai-xiu__btn-tertiary:hover {
  background: #222222;
  color: #FFD36B;
}

.page-tai-xiu__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-tai-xiu__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__intro-section,
.page-tai-xiu__guide-section,
.page-tai-xiu__strategy-section,
.page-tai-xiu__faq-section,
.page-tai-xiu__cta-bottom-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-tai-xiu__intro-section .page-tai-xiu__section-title {
  margin-bottom: 20px;
}

.page-tai-xiu__intro-section .page-tai-xiu__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-tai-xiu__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-tai-xiu__feature-item {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
}

.page-tai-xiu__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F2C14E; /* Main color */
  box-shadow: 0 0 0 8px rgba(242, 193, 78, 0.2);
}

.page-tai-xiu__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-tai-xiu__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-tai-xiu__feature-description {
  color: #FFF6D6; /* Text Main */
}

.page-tai-xiu__guide-section .page-tai-xiu__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-tai-xiu__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-tai-xiu__step-item {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
}

.page-tai-xiu__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-tai-xiu__step-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-tai-xiu__step-description {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-tai-xiu__strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-tai-xiu__strategy-card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
  text-align: center;
}

.page-tai-xiu__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-tai-xiu__card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-tai-xiu__card-description {
  color: #FFF6D6; /* Text Main */
}

.page-tai-xiu__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-tai-xiu__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* 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.2em;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color */
  cursor: pointer;
  background-color: #1a1a1a;
  user-select: none;
  list-style: none;
}

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

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-tai-xiu__faq-answer {
  padding: 0 25px 20px;
  color: #FFF6D6; /* Text Main */
  font-size: 1.1em;
}

.page-tai-xiu__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

.page-tai-xiu__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-tai-xiu__cta-bottom-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__cta-bottom-section .page-tai-xiu__section-title {
  color: #F2C14E;
  margin-bottom: 25px;
}

.page-tai-xiu__cta-bottom-section .page-tai-xiu__text-block {
  color: #FFF6D6;
  margin-bottom: 40px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-tai-xiu__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-tai-xiu__hero-content {
    text-align: center;
  }

  .page-tai-xiu__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 15px;
  }

  /* HERO Section */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-tai-xiu__hero-container {
    padding: 40px 15px;
    gap: 30px;
  }

  .page-tai-xiu__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .page-tai-xiu__btn-tertiary,
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-tai-xiu__hero-image {
    order: -1; /* Image above content on mobile */
  }

  .page-tai-xiu__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Intro Section - Feature Grid */
  .page-tai-xiu__intro-section,
  .page-tai-xiu__guide-section,
  .page-tai-xiu__strategy-section,
  .page-tai-xiu__faq-section,
  .page-tai-xiu__cta-bottom-section {
    padding: 40px 0;
  }

  .page-tai-xiu__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-tai-xiu__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-tai-xiu__text-block {
    font-size: 1em;
  }

  .page-tai-xiu__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tai-xiu__icon-box-media {
    width: 200px;
    height: 200px;
    border-width: 3px;
    box-shadow: 0 0 0 6px rgba(242, 193, 78, 0.2);
  }

  /* Guide Section - Steps Grid */
  .page-tai-xiu__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tai-xiu__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Strategy Section - Strategy Cards */
  .page-tai-xiu__strategy-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tai-xiu__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ Section */
  .page-tai-xiu__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-tai-xiu__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }

  /* General Image Rules for Content Area */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-tai-xiu__section,
  .page-tai-xiu__card,
  .page-tai-xiu__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}