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

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

.page-tai-xiu__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background-color: #E53935; /* Main color as background */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-tai-xiu__hero-content-wrap {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: 20px;
}

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

.page-tai-xiu__description {
  font-size: 1.1rem;
  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-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
  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);
}

.page-tai-xiu__btn--secondary {
  background: #ffffff; /* Card BG */
  color: #E53935; /* Main color */
  border: 2px solid #E53935;
  box-shadow: 0 4px 15px rgba(255, 90, 79, 0.2);
}

.page-tai-xiu__btn--secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-tai-xiu__section {
  padding: 60px 0;
  background-color: #F5F7FA; /* Background */
  color: #333333; /* Text Main */
}

.page-tai-xiu__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #E53935; /* Main color */
}

.page-tai-xiu__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #333333;
}

.page-tai-xiu p {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.7;
}

.page-tai-xiu a {
  color: #E53935;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tai-xiu a:hover {
  text-decoration: underline;
  color: #FF5A4F;
}

.page-tai-xiu__unordered-list,
.page-tai-xiu__ordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-tai-xiu__unordered-list li,
.page-tai-xiu__ordered-list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-tai-xiu__unordered-list li strong,
.page-tai-xiu__ordered-list li strong {
  color: #E53935;
}

.page-tai-xiu__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-tai-xiu__image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-tai-xiu__figcaption {
  font-style: italic;
  font-size: 0.9rem;
  color: #555555;
  margin-top: 10px;
  padding: 10px;
  background-color: #ffffff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-tai-xiu__dark-section {
  background-color: #E53935; /* Main color */
  color: #ffffff;
}

.page-tai-xiu__dark-section .page-tai-xiu__section-title,
.page-tai-xiu__dark-section .page-tai-xiu__sub-title {
  color: #ffffff;
}

.page-tai-xiu__dark-section a {
  color: #FF5A4F;
}

.page-tai-xiu__dark-section a:hover {
  color: #ffffff;
}

.page-tai-xiu__faq-section {
  background-color: #ffffff; /* Card BG */
}

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

.page-tai-xiu__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #E0E0E0; /* 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.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  user-select: none;
  position: relative;
  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.5rem;
  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;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

.page-tai-xiu__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

.page-tai-xiu__cta-buttons--final {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #E0E0E0;
}

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

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

  .page-tai-xiu__description {
    font-size: 1rem;
  }

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

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

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

  .page-tai-xiu__hero-image-wrapper {
    max-height: 300px;
  }

  .page-tai-xiu__hero-content-wrap {
    padding: 15px;
  }

  .page-tai-xiu__main-title {
    font-size: 2.2rem !important;
    margin-bottom: 10px;
  }

  .page-tai-xiu__description {
    font-size: 0.95rem !important;
    margin-bottom: 20px;
  }

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-tai-xiu__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. 单栏长文容器 */
  .page-tai-xiu__article-wrap {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-tai-xiu__sub-title {
    font-size: 1.3rem !important;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-tai-xiu p,
  .page-tai-xiu__unordered-list li,
  .page-tai-xiu__ordered-list li {
    font-size: 0.95rem !important;
  }

  /* 3. 通用图片与 figure */
  .page-tai-xiu__figure {
    margin: 20px auto;
    border-radius: 4px;
  }

  .page-tai-xiu__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
  }

  .page-tai-xiu__figcaption {
    font-size: 0.85rem;
    padding: 8px;
  }

  /* 4. 按钮与按钮容器 (already covered above in .page-tai-xiu__cta-buttons and .page-tai-xiu__btn) */
  .page-tai-xiu__cta-buttons--center,
  .page-tai-xiu__cta-buttons--final {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 5. 注册教程与 FAQ 区块 */
  .page-tai-xiu__faq-question {
    padding: 15px 20px;
    font-size: 1rem !important;
  }

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

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

  .page-tai-xiu__faq-toggle {
    font-size: 1.3rem;
  }
}