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

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

.page-tai-xiu__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #FF8C1A; /* Main color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tai-xiu__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF3E6;
}

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

.page-tai-xiu__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 30px;
}

.page-tai-xiu__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #FFF3E6;
}

.page-tai-xiu__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Clamp for H1 */
  font-weight: 700;
  color: #FF8C1A;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-tai-xiu__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

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

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary,
.page-tai-xiu__btn-link,
.page-tai-xiu__btn-text-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-tai-xiu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-tai-xiu__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Main color */
  border: 2px solid #A84F0C; /* Border color */
}

.page-tai-xiu__btn-secondary:hover {
  background-color: #2a2d38;
  color: #FFA53A;
  border-color: #FF8C1A;
}

.page-tai-xiu__hero-image {
  flex: 1 1 40%;
  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.5);
}

/* Intro Section */
.page-tai-xiu__intro-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-tai-xiu__feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-tai-xiu__feature-item {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border color */
}

.page-tai-xiu__icon-box-media {
  width: 160px; /* Adjust size for better fit */
  height: 160px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FF8C1A; /* Main color for border */
  box-shadow: 0 0 0 8px rgba(255, 140, 26, 0.2);
}

.page-tai-xiu__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure image is also round */
  display: block;
}

.page-tai-xiu__feature-title {
  font-size: 1.5em;
  color: #FF8C1A;
  margin-bottom: 10px;
}

.page-tai-xiu__feature-text {
  color: #FFF3E6;
  font-size: 1em;
}

/* Guide Section */
.page-tai-xiu__guide-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-tai-xiu__guide-item {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border color */
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-tai-xiu__step-number {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(255, 140, 26, 0.4);
}

.page-tai-xiu__step-title {
  font-size: 1.4em;
  color: #FF8C1A;
  margin-bottom: 10px;
}

.page-tai-xiu__step-text {
  color: #FFF3E6;
  font-size: 1em;
  flex-grow: 1; /* Pushes button to bottom */
  margin-bottom: 20px;
}

.page-tai-xiu__btn-text-link {
  color: #FFA53A;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Aligns button to bottom */
  white-space: normal; /* Allow text wrap for these links */
}

.page-tai-xiu__btn-text-link:hover {
  text-decoration: underline;
  color: #FF8C1A;
}


/* Promo Section */
.page-tai-xiu__promo-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-tai-xiu__promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-tai-xiu__promo-card {
  flex: 1 1 45%;
  max-width: 500px;
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border color */
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-tai-xiu__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
}

.page-tai-xiu__promo-card h3 {
  font-size: 1.5em;
  color: #FF8C1A;
  padding: 20px 20px 10px;
}

.page-tai-xiu__promo-card p {
  color: #FFF3E6;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-tai-xiu__btn-link {
  display: block;
  padding: 12px 20px;
  background-color: #D96800; /* Deep Orange */
  color: #FFF3E6;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border-radius: 0 0 12px 12px;
  margin-top: auto;
}

.page-tai-xiu__btn-link:hover {
  background-color: #FFA53A;
}

.page-tai-xiu__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-tai-xiu__faq-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-tai-xiu__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FF8C1A;
  cursor: pointer;
  background-color: #17191F;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question {
  border-bottom-color: #A84F0C;
  background-color: #2a2d38;
}

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #FFA53A;
  margin-left: 15px;
}

.page-tai-xiu__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF3E6;
}

/* General image responsive styles */
.page-tai-xiu img:not(.page-tai-xiu__icon-box-media img) {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-tai-xiu__container {
    padding: 20px 15px;
  }

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

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

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

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

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

  .page-tai-xiu__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-tai-xiu__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-tai-xiu__hero-image {
    flex: 1 1 100%;
    padding: 0 15px; /* Ensure image container has padding */
  }

  .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 {
    padding: 40px 0;
  }

  .page-tai-xiu__feature-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-tai-xiu__feature-item {
    max-width: 100%;
    padding: 25px;
    margin: 0 15px; /* Add horizontal margin */
  }

  .page-tai-xiu__icon-box-media {
    width: 120px; /* Adjust size for mobile */
    height: 120px;
    border: 3px solid #FF8C1A;
    box-shadow: 0 0 0 6px rgba(255, 140, 26, 0.2);
  }

  .page-tai-xiu__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Retain object-fit for round images */
  }

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

  .page-tai-xiu__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 15px; /* Add horizontal margin */
  }

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

  .page-tai-xiu__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }

  .page-tai-xiu__step-title {
    font-size: 1.2em;
  }

  .page-tai-xiu__step-text {
    font-size: 0.95em;
  }

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

  .page-tai-xiu__promo-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-tai-xiu__promo-card {
    max-width: 100%;
    margin: 0 15px; /* Add horizontal margin */
  }

  .page-tai-xiu__promo-image {
    height: 200px; /* Adjust height for mobile */
  }

  .page-tai-xiu__promo-card h3 {
    font-size: 1.3em;
    padding: 15px 15px 8px;
  }

  .page-tai-xiu__promo-card p {
    padding: 0 15px 15px;
  }

  .page-tai-xiu__cta-bottom {
    margin-top: 30px;
    padding: 0 15px;
  }

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

  .page-tai-xiu__faq-list {
    margin: 30px 15px 0;
  }

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

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

  /* Universal image and container responsive styles */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important; /* Ensure padding/border is included */
  }

  .page-tai-xiu__container,
  .page-tai-xiu__feature-item,
  .page-tai-xiu__guide-item,
  .page-tai-xiu__promo-card,
  .page-tai-xiu__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}