.page-tai-xiu {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  padding-top: 10px; /* Small top padding, shared handles body padding */
}

.page-tai-xiu__hero-section {
  background: linear-gradient(180deg, #C91F17 0%, #7A0E0E 100%); /* Deep Red */
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__content-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #FFD86A; /* Gold from button */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-tai-xiu__hero-description {
  font-size: 1.15rem;
  color: #FFF5E1;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-tai-xiu__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  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, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F4D34D; /* Gold border */
}

.page-tai-xiu__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__btn-secondary {
  background: #7A0E0E; /* Deep Red */
  color: #FFD86A; /* Gold */
  border: 2px solid #F4D34D; /* Gold border */
}

.page-tai-xiu__btn-secondary:hover {
  background: #C91F17; /* Main Color */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__btn-link {
  background: none;
  color: #FFD86A; /* Gold */
  border: 1px solid #FFD86A; /* Gold */
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9em;
  margin-top: 10px;
}

.page-tai-xiu__btn-link:hover {
  background: rgba(255, 216, 106, 0.1);
  color: #FFF5E1;
}

.page-tai-xiu__article-wrap {
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px 30px;
  background-color: #D32F2F; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__article {
  color: #FFF5E1; /* Text Main */
}

.page-tai-xiu__section-title {
  font-size: 2rem;
  color: #FFD86A; /* Gold */
  margin-top: 35px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
}

.page-tai-xiu__sub-title {
  font-size: 1.5rem;
  color: #F4D34D; /* Gold */
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tai-xiu p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #FFF5E1;
}

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

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

.page-tai-xiu__figure {
  margin: 25px 0;
  text-align: center;
}

.page-tai-xiu__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  border: 1px solid #F2B544; /* Border */
}

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

.page-tai-xiu__promo-box {
  background: linear-gradient(90deg, #7A0E0E 0%, #C91F17 100%);
  border: 2px solid #F2B544; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__promo-text {
  font-size: 1.2rem;
  color: #FFF5E1;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tai-xiu__step-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-tai-xiu__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #7A0E0E; /* Deep Red */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__step-title {
  font-size: 1.3rem;
  color: #FFD86A; /* Gold */
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-tai-xiu__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #7A0E0E; /* Deep Red */
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  color: #FFF5E1;
}

.page-tai-xiu__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  outline: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: #F4D34D; /* Gold */
  background-color: rgba(0, 0, 0, 0.1);
}

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

.page-tai-xiu__faq-item summary:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  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: 15px 20px 20px;
  font-size: 1rem;
  color: #FFF5E1;
}

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

.page-tai-xiu a:hover {
  color: #FFF5E1;
}

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

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

  .page-tai-xiu__hero-description {
    font-size: 1.05rem;
  }

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

  .page-tai-xiu__section-title {
    font-size: 1.8rem;
  }

  .page-tai-xiu__sub-title {
    font-size: 1.4rem;
  }

  .page-tai-xiu p,
  .page-tai-xiu__list-item {
    font-size: 1rem;
  }

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

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-tai-xiu {
    padding-top: 10px !important; /* Fixed top padding, shared handles body padding */
  }

  .page-tai-xiu__hero-section {
    padding: 25px 15px;
    margin-bottom: 15px;
  }

  .page-tai-xiu__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-tai-xiu__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

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

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

  .page-tai-xiu__section-title {
    font-size: 1.6rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-tai-xiu__sub-title {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-tai-xiu p,
  .page-tai-xiu__list-item,
  .page-tai-xiu__faq-answer {
    font-size: 0.95rem;
    line-height: 1.5;
  }

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

  .page-tai-xiu__promo-box {
    padding: 15px;
    margin: 20px 0;
  }

  .page-tai-xiu__promo-text {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

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

  .page-tai-xiu__figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* 4. 按钮与按钮容器 */
  .page-tai-xiu__btn,
  .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__cta-buttons {
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }

  /* 5. 注册教程与 FAQ 区块 */
  .page-tai-xiu__step-item {
    padding: 15px;
    margin-bottom: 10px;
  }

  .page-tai-xiu__step-title {
    font-size: 1.1rem;
  }

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

  .page-tai-xiu__faq-answer {
    padding: 12px 15px 15px;
  }
}