.page-tai-xiu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Body background from custom colors */
}

.page-tai-xiu__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-tai-xiu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-bottom: 40px;
}

.page-tai-xiu__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-tai-xiu__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  box-sizing: border-box;
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-tai-xiu__description {
  font-size: clamp(1em, 1.5vw, 1.3em);
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-tai-xiu__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-tai-xiu__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
}

.page-tai-xiu__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-tai-xiu__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.2);
}

.page-tai-xiu__section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-tai-xiu__section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-tai-xiu__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-tai-xiu__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tai-xiu p {
  margin-bottom: 15px;
  color: #333333;
}

.page-tai-xiu strong {
  color: #E53935;
}

.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 12px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}

.page-tai-xiu__figcaption {
  font-style: italic;
  font-size: 0.9em;
  color: #555555;
  margin-top: 10px;
}

.page-tai-xiu__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-tai-xiu__list-item {
  margin-bottom: 8px;
  color: #333333;
}

.page-tai-xiu__list-item ul {
  list-style: circle;
  margin-left: 20px;
  margin-top: 5px;
}

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

.page-tai-xiu__card {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  color: #333333;
}

.page-tai-xiu__step-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tai-xiu__btn-link {
  background: #f0f0f0;
  color: #E53935;
  border: 1px solid #E0E0E0;
  padding: 8px 20px;
  border-radius: 20px;
  margin-top: 20px;
  display: inline-block;
}

.page-tai-xiu__btn-link:hover {
  background: #E53935;
  color: #ffffff;
  border-color: #E53935;
}

.page-tai-xiu__faq-section {
  padding-bottom: 80px;
}

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

.page-tai-xiu__faq-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  color: #E53935;
  list-style: none; /* For details/summary */
}

.page-tai-xiu__faq-item[open] > .page-tai-xiu__faq-question .page-tai-xiu__faq-toggle {
  content: "-";
}

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #E53935;
}

.page-tai-xiu__faq-answer {
  padding: 15px 25px 20px;
  background-color: #ffffff;
  border-top: 1px solid #E0E0E0;
  color: #333333;
}

.page-tai-xiu__faq-answer p {
  margin-bottom: 10px;
}

.page-tai-xiu__faq-answer .page-tai-xiu__btn-link {
  margin-top: 10px;
  margin-left: 0;
}

.page-tai-xiu__conclusion {
  padding-top: 40px;
  text-align: center;
}

.page-tai-xiu__cta-final {
  margin-top: 30px;
  margin-bottom: 20px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-tai-xiu__hero-content {
    padding: 60px 20px;
  }

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

  .page-tai-xiu__article-wrap {
    padding: 0 15px;
  }

  .page-tai-xiu__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-tai-xiu__description {
    font-size: clamp(0.9em, 1.6vw, 1.2em);
  }

  .page-tai-xiu__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }

  .page-tai-xiu__sub-title {
    font-size: clamp(1.3em, 2.8vw, 1.8em);
  }

  .page-tai-xiu__step-cards {
    gap: 20px;
  }

  .page-tai-xiu__card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-tai-xiu__hero-content {
    padding: 40px 15px !important;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
  }

  .page-tai-xiu__main-title {
    font-size: 2.2em !important; /* Fixed for mobile readability */
    margin-bottom: 15px !important;
  }

  .page-tai-xiu__description {
    font-size: 1em !important;
    margin-bottom: 25px !important;
  }

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

  /* 4. 按钮与按钮容器 */
  .page-tai-xiu__btn,
  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .page-tai-xiu__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    border-radius: 20px !important; /* Slightly smaller for mobile */
  }

  /* 2. 单栏长文容器 */
  .page-tai-xiu__section {
    padding: 30px 0 !important;
  }

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

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

  .page-tai-xiu__sub-title {
    font-size: 1.4em !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
  }

  .page-tai-xiu p,
  .page-tai-xiu li {
    font-size: 15px !important;
  }

  /* 3. 通用图片与 figure */
  .page-tai-xiu__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 6px !important;
  }

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

  .page-tai-xiu__figcaption {
    font-size: 0.85em !important;
  }

  .page-tai-xiu__list {
    margin-left: 20px !important;
  }

  .page-tai-xiu__step-cards {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin-top: 25px !important;
  }

  .page-tai-xiu__card {
    padding: 20px !important;
  }

  .page-tai-xiu__step-title {
    font-size: 1.3em !important;
    margin-bottom: 10px !important;
  }

  /* 5. FAQ 区块 */
  .page-tai-xiu__faq-item {
    margin-bottom: 10px !important;
    border-radius: 6px !important;
  }

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

  .page-tai-xiu__faq-toggle {
    font-size: 1.2em !important;
  }

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

  .page-tai-xiu__conclusion {
    padding-top: 30px !important;
  }

  .page-tai-xiu__cta-final {
    margin-top: 20px !important;
  }
}