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

.page-tai-xiu__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as per rules */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  position: relative;
}

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

.page-tai-xiu__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  z-index: 1;
  position: relative; /* Ensure content is above any potential background elements */
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-tai-xiu__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

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

.page-tai-xiu__btn {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  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, #FFA53A 0%, #D96800 100%);
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
}

.page-tai-xiu__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
}

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

.page-tai-xiu__btn-secondary:hover {
  background: #A84F0C; /* Border color as hover background */
  color: #FFF3E6; /* Main text color for hover */
  transform: translateY(-2px);
}

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

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

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

.page-tai-xiu__sub-title {
  font-size: 1.8em;
  color: #FFA53A; /* Auxiliary brand color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tai-xiu p {
  margin-bottom: 15px;
  color: #FFF3E6;
  font-size: 1em;
}

.page-tai-xiu__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #FFF3E6;
  font-size: 1em;
}

.page-tai-xiu__list li {
  margin-bottom: 8px;
}

.page-tai-xiu__faq-section {
  background-color: #17191F; /* Card BG for FAQ section */
  padding: 60px 0;
}

.page-tai-xiu__faq-item {
  margin-bottom: 15px;
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  overflow: hidden;
}

.page-tai-xiu__faq-details {
  background-color: #17191F;
  color: #FFF3E6;
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #FFA53A; /* Auxiliary color for question */
  list-style: none;
}

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

.page-tai-xiu__faq-question .page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FF8C1A;
  transition: transform 0.3s ease;
}

.page-tai-xiu__faq-details[open] .page-tai-xiu__faq-toggle {
  transform: rotate(45deg);
}

.page-tai-xiu__faq-answer {
  padding: 0 20px 15px 20px;
  color: #FFF3E6;
  font-size: 0.95em;
  line-height: 1.5;
}

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

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

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

  .page-tai-xiu__section-title {
    font-size: 2em;
  }

  .page-tai-xiu__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 顶区标题 + 双 CTA */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important;
  }

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

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

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

  .page-tai-xiu__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px; /* Adjust padding for smaller screens */
  }

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

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

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

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

  .page-tai-xiu p, .page-tai-xiu__list li {
    font-size: 0.95em;
  }

  /* 通用图片与 figure */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  /* 按钮与按钮容器 - already covered in .page-tai-xiu__btn and .page-tai-xiu__cta-buttons */

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

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

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