.page-tai-xiu {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
}

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

.page-tai-xiu__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
  line-height: 1.2;
}

.page-tai-xiu__section-description {
  font-size: clamp(16px, 2vw, 18px);
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main-color, #FFF6D6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Hero Section */
.page-tai-xiu__hero-section {
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  padding-bottom: 60px;
  background-color: var(--background-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
}

.page-tai-xiu__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

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

.page-tai-xiu__hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

.page-tai-xiu__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.5;
  margin-bottom: 30px;
  color: var(--text-main-color, #FFF6D6);
}

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

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

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

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

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
}

.page-tai-xiu__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-tai-xiu__btn-secondary {
  background: transparent;
  color: var(--text-main-color, #FFF6D6);
  border: 2px solid var(--border-color, #3A2A12);
}

.page-tai-xiu__btn-secondary:hover {
  background: var(--glow-color, #FFD36B);
  color: #111111;
  border-color: var(--glow-color, #FFD36B);
}

.page-tai-xiu__btn-link {
  background: transparent;
  color: var(--primary-color, #F2C14E);
  border: 1px solid var(--primary-color, #F2C14E);
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
}

.page-tai-xiu__btn-link:hover {
  background: var(--primary-color, #F2C14E);
  color: #111111;
}

/* Intro Section */
.page-tai-xiu__intro-section {
  padding: 60px 0;
  background-color: var(--card-bg-color, #111111);
}

.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: var(--card-bg-color, #111111);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #3A2A12);
}

.page-tai-xiu__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--glow-color, #FFD36B);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

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

.page-tai-xiu__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF6D6);
}

.page-tai-xiu__feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main-color, #FFF6D6);
}

/* Guide Section */
.page-tai-xiu__guide-section {
  padding: 60px 0;
  background-color: var(--background-color, #0A0A0A);
}

.page-tai-xiu__guide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-tai-xiu__guide-steps {
  flex: 1 1 50%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-tai-xiu__step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-tai-xiu__step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(242, 193, 78, 0.4);
}

.page-tai-xiu__step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  margin-top: 5px;
  margin-bottom: 5px;
}

.page-tai-xiu__step-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main-color, #FFF6D6);
  flex: 1;
}

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

.page-tai-xiu__guide-visual {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Strategies Section */
.page-tai-xiu__strategies-section {
  padding: 60px 0;
  background-color: var(--card-bg-color, #111111);
}

.page-tai-xiu__strategy-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

.page-tai-xiu__strategy-visual {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

/* Promo Section */
.page-tai-xiu__promo-section {
  padding: 60px 0;
  background-color: var(--background-color, #0A0A0A);
}

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

.page-tai-xiu__promo-card {
  background-color: var(--card-bg-color, #111111);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #3A2A12);
  display: flex;
  flex-direction: column;
}

.page-tai-xiu__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-tai-xiu__promo-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  padding: 20px 20px 10px;
}

.page-tai-xiu__promo-card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main-color, #FFF6D6);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-tai-xiu__promo-card .page-tai-xiu__btn-link {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* FAQ Section */
.page-tai-xiu__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg-color, #111111);
}

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

.page-tai-xiu__faq-item {
  background-color: var(--background-color, #0A0A0A);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color, #FFF6D6);
}

.page-tai-xiu__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--text-main-color, #FFF6D6);
}

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

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-tai-xiu__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color, #F2C14E);
}

.page-tai-xiu__faq-answer {
  padding: 0 20px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main-color, #FFF6D6);
}

/* CTA Bottom Section */
.page-tai-xiu__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-color, #0A0A0A);
}

.page-tai-xiu__cta-bottom-section .page-tai-xiu__btn-primary {
  margin-top: 30px;
}

/* Global Image Styles for content area */
.page-tai-xiu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tai-xiu__hero-container {
    gap: 30px;
    padding: 30px 16px;
  }

  .page-tai-xiu__hero-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .page-tai-xiu__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }

  .page-tai-xiu__section-title {
    font-size: clamp(26px, 3.5vw, 34px);
  }

  .page-tai-xiu__feature-item {
    padding: 25px;
  }

  .page-tai-xiu__icon-box-media {
    width: 180px;
    height: 180px;
  }

  .page-tai-xiu__promo-image {
    height: 180px;
  }

  .page-tai-xiu__promo-card-title {
    font-size: 20px;
  }

  .page-tai-xiu__faq-item summary {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* General content area padding */
  .page-tai-xiu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-tai-xiu__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 15px !important;
  }

  .page-tai-xiu__hero-content {
    order: 2;
    text-align: center;
    flex: 1 1 100%;
  }

  .page-tai-xiu__hero-image {
    order: 1;
    flex: 1 1 100%;
  }

  .page-tai-xiu__hero-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .page-tai-xiu__hero-description {
    font-size: 16px;
  }

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

  /* Buttons - All buttons and their containers */
  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .page-tai-xiu__btn-link,
  .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-cta-buttons,
  .page-tai-xiu__cta-buttons,
  .page-tai-xiu__button-group,
  .page-tai-xiu__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-tai-xiu__hero-cta-buttons {
    flex-direction: column;
  }

  /* Module 1 - Intro Section (Feature Grid) */
  .page-tai-xiu__intro-section {
    padding: 40px 0 !important;
  }

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

  .page-tai-xiu__icon-box-media {
    width: 160px;
    height: 160px;
    border-width: 3px;
  }

  /* Guide Section */
  .page-tai-xiu__guide-section {
    padding: 40px 0 !important;
  }

  .page-tai-xiu__guide-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-tai-xiu__guide-steps {
    flex: 1 1 100%;
  }

  .page-tai-xiu__guide-image {
    flex: 1 1 100%;
  }

  .page-tai-xiu__step-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 10px;
  }

  .page-tai-xiu__step-number {
    margin-bottom: 5px;
  }

  .page-tai-xiu__step-title {
    margin-top: 0;
  }

  /* Strategies Section */
  .page-tai-xiu__strategies-section {
    padding: 40px 0 !important;
  }

  /* Promo Section */
  .page-tai-xiu__promo-section {
    padding: 40px 0 !important;
  }

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

  .page-tai-xiu__promo-image {
    height: 160px;
  }

  .page-tai-xiu__promo-card-title {
    font-size: 20px;
  }

  /* FAQ Section */
  .page-tai-xiu__faq-section {
    padding: 40px 0 !important;
  }

  .page-tai-xiu__faq-item summary {
    padding: 15px;
    font-size: 16px;
  }

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

  /* CTA Bottom Section */
  .page-tai-xiu__cta-bottom-section {
    padding: 40px 0 !important;
  }

  /* Generic image rules for content area */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tai-xiu__section,
  .page-tai-xiu__card,
  .page-tai-xiu__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}