.page-tai-xiu {
  background-color: #0A0A0A; /* Custom background color */
  color: #FFF6D6; /* Custom main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-tai-xiu__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-tai-xiu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 60px;
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-tai-xiu__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
}

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

.page-tai-xiu__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-tai-xiu__hero-title {
  font-size: 3em;
  color: #FFD36B; /* Accent color for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-tai-xiu__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 40px;
}

.page-tai-xiu__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Buttons */
.page-tai-xiu__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  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%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text for light gradient button */
  border: none;
}

.page-tai-xiu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-tai-xiu__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
}

.page-tai-xiu__btn-outline {
  background: transparent;
  color: #FFD36B;
  border: 1px solid #FFD36B;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-tai-xiu__btn-outline:hover {
  background: #FFD36B;
  color: #0A0A0A;
}

/* Content Grid Sections */
.page-tai-xiu__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-tai-xiu__text-block {
  padding: 20px;
}

.page-tai-xiu__sub-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-tai-xiu__image-block {
  text-align: center;
}

.page-tai-xiu__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3); /* Glow effect */
  display: block;
  margin: 0 auto;
}

/* Benefits Grid */
.page-tai-xiu__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tai-xiu__card {
  background-color: #111111; /* Custom Card BG */
  border: 1px solid #3A2A12; /* Custom Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards in a grid have equal height */
}

.page-tai-xiu__card-icon {
  width: 80px; /* Adjusted to be larger than 200x200 placeholder size for display */
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  box-shadow: 0 0 10px #FFD36B; /* Glow */
}

.page-tai-xiu__card-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tai-xiu__card-text {
  color: #FFF6D6;
  font-size: 0.95em;
  flex-grow: 1; /* Allow text to grow and push buttons to bottom */
}

.page-tai-xiu__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

/* Steps Grid */
.page-tai-xiu__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tai-xiu__step-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-tai-xiu__step-text {
  color: #FFF6D6;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Strategies Grid */
.page-tai-xiu__strategies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tai-xiu__strategy-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-tai-xiu__promo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.page-tai-xiu__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-tai-xiu__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

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

.page-tai-xiu__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-tai-xiu__faq-question::marker {
  display: none; /* Hide default marker for other browsers */
}

.page-tai-xiu__faq-toggle {
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 1.5em;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
  transform: rotate(45deg); /* Change to X when open */
}

.page-tai-xiu__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: #FFF6D6;
}

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

.page-tai-xiu__cta-final-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0A0A0A;
}

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

  .page-tai-xiu__hero-title {
    font-size: 2.5em;
  }

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

  .page-tai-xiu__content-grid {
    grid-template-columns: 1fr;
  }

  .page-tai-xiu__image-block {
    order: -1; /* Image first on smaller screens */
  }

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

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

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

  /* HERO 主图区域 */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }

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

  .page-tai-xiu__hero-title {
    font-size: clamp(1.8em, 5vw, 2.2em) !important; /* Responsive font size */
    margin-bottom: 15px;
  }

  .page-tai-xiu__hero-description {
    font-size: 1em !important;
    margin-bottom: 30px;
  }

  /* 按钮与按钮容器 */
  .page-tai-xiu__hero-buttons,
  .page-tai-xiu__cta-wrapper,
  .page-tai-xiu__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-tai-xiu__btn,
  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .page-tai-xiu__btn-outline,
  .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: 12px 20px !important;
    font-size: 1em !important;
  }

  /* 通用图片与容器 */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-tai-xiu__section,
  .page-tai-xiu__card,
  .page-tai-xiu__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Content Grid */
  .page-tai-xiu__content-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-tai-xiu__text-block {
    padding: 10px !important;
  }

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

  .page-tai-xiu__sub-title {
    font-size: 1.4em !important;
  }

  /* Card Grids (Benefits, Steps, Strategies, Promotions) */
  .page-tai-xiu__benefits-grid,
  .page-tai-xiu__steps-grid,
  .page-tai-xiu__strategies-grid,
  .page-tai-xiu__promo-grid {
    grid-template-columns: 1fr !important; /* Single column for cards */
    gap: 20px !important;
  }

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

  .page-tai-xiu__card-icon {
    width: 60px !important;
    height: 60px !important;
  }

  .page-tai-xiu__card-title {
    font-size: 1.2em !important;
  }

  .page-tai-xiu__promo-image {
    height: 150px !important;
  }

  /* FAQ */
  .page-tai-xiu__faq-list {
    margin-top: 20px !important;
  }
}