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

.page-tai-xiu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.page-tai-xiu__dark-bg {
  background: #E53935;
  color: #ffffff; /* White text on brand primary background */
}

.page-tai-xiu__light-bg {
  background: #F5F7FA;
  color: #333333; /* Dark text on light background */
}

.page-tai-xiu__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for desktop hero image */
  overflow: hidden;
}

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

.page-tai-xiu__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
  position: relative;
  z-index: 1;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: #ffffff; /* Card BG */
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-tai-xiu__tagline {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

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

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

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

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

.page-tai-xiu__btn-primary--small {
  padding: 10px 20px;
  font-size: 1rem;
}

.page-tai-xiu__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-tai-xiu__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF5A4F, #E53935);
  border-radius: 2px;
}

.page-tai-xiu__section-title--white {
  color: #ffffff;
}

.page-tai-xiu__section-title--white::after {
  background: #ffffff;
}

.page-tai-xiu__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
}

.page-tai-xiu__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
}

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

.page-tai-xiu__list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-tai-xiu__list--white li {
  color: #ffffff;
}

.page-tai-xiu__numbered-list {
  list-style: none;
  counter-reset: my-counter;
  padding: 0;
  margin-bottom: 20px;
}

.page-tai-xiu__numbered-list li {
  counter-increment: my-counter;
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-tai-xiu__numbered-list li::before {
  content: counter(my-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: #FF5A4F;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.page-tai-xiu__numbered-list--white li::before {
  background: #ffffff;
  color: #E53935;
}

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

.page-tai-xiu__card {
  background: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-tai-xiu__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-tai-xiu__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-tai-xiu__card p {
  font-size: 1rem;
  color: #333333;
  text-align: center;
  flex-grow: 1;
}

.page-tai-xiu__card .page-tai-xiu__btn-primary--small {
  margin-top: 20px;
}

.page-tai-xiu__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* FAQ Section */
details.page-tai-xiu__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-tai-xiu__faq-item summary.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-tai-xiu__faq-item summary.page-tai-xiu__faq-question::-webkit-details-marker {
  display: none;
}
details.page-tai-xiu__faq-item summary.page-tai-xiu__faq-question:hover {
  background: #f5f5f5;
}
.page-tai-xiu__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-tai-xiu__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-tai-xiu__faq-item .page-tai-xiu__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-tai-xiu__faq-answer p {
  font-size: 1rem;
  color: #333333;
  text-align: left;
}

.page-tai-xiu__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-tai-xiu__conclusion-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #ffffff;
}

/* General image responsiveness */
.page-tai-xiu img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-tai-xiu__tagline {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  }

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

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-tai-xiu__hero-section {
    padding-top: 10px;
  }
  .page-tai-xiu__hero-image-wrapper {
    max-height: 400px;
  }
  .page-tai-xiu__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  .page-tai-xiu__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-tai-xiu__tagline {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin-bottom: 20px;
  }
  .page-tai-xiu__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    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 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__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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 通用图片与容器 */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__container,
  .page-tai-xiu__section,
  .page-tai-xiu__card,
  .page-tai-xiu__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tai-xiu__content-image {
    margin: 20px auto;
    border-radius: 8px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-tai-xiu__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  .page-tai-xiu__section-title::after {
    width: 60px;
    height: 3px;
  }
  .page-tai-xiu__text-block p,
  .page-tai-xiu__list li,
  .page-tai-xiu__numbered-list li {
    font-size: 1rem;
    text-align: left; /* Align text left on mobile */
  }
  .page-tai-xiu__list,
  .page-tai-xiu__numbered-list {
    margin-left: 15px;
  }
  .page-tai-xiu__numbered-list li {
    padding-left: 35px;
  }
  .page-tai-xiu__numbered-list li::before {
    width: 25px;
    height: 25px;
    font-size: 1rem;
  }

  /* 产品展示图区域 (General cards grid adapts) */
  .page-tai-xiu__cards-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .page-tai-xiu__card {
    padding: 20px;
    border-radius: 8px;
  }
  .page-tai-xiu__card-title {
    font-size: 1.2rem;
  }
  .page-tai-xiu__card-image {
    margin-bottom: 15px;
  }

  /* FAQ */
  details.page-tai-xiu__faq-item summary.page-tai-xiu__faq-question { padding: 15px; }
  .page-tai-xiu__faq-qtext { font-size: 15px; }
  details.page-tai-xiu__faq-item .page-tai-xiu__faq-answer { padding: 0 15px 15px; }

  .page-tai-xiu__conclusion-section {
    padding: 40px 0;
  }
  .page-tai-xiu__conclusion-section p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-tai-xiu__cta-buttons--center {
    margin-top: 20px;
  }
}