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

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

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

.page-tai-xiu__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #F2C14E; /* Main color */
  line-height: 1.2;
}

.page-tai-xiu__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6;
}

.page-tai-xiu__text-center {
  text-align: center;
}

/* Hero Section */
.page-tai-xiu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 700px; /* Limit height of the image wrapper */
  overflow: hidden;
}

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

.page-tai-xiu__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
}

.page-tai-xiu__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
  font-weight: 900;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

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

/* Buttons */
.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary,
.page-tai-xiu__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-tai-xiu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-tai-xiu__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Border color */
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-tai-xiu__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-tai-xiu__btn-tertiary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 1px solid #3A2A12; /* Border */
  font-size: 0.9em;
  padding: 10px 20px;
}

.page-tai-xiu__btn-tertiary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-tai-xiu__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-tai-xiu__button-group--center {
  margin-top: 40px;
}

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

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

.page-tai-xiu__content-grid--reverse .page-tai-xiu__text-block {
  order: 2;
}

.page-tai-xiu__content-grid--reverse .page-tai-xiu__image-block {
  order: 1;
}

.page-tai-xiu__text-block p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

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

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

/* Lists */
.page-tai-xiu__advantage-list,
.page-tai-xiu__step-list,
.page-tai-xiu__strategy-list,
.page-tai-xiu__app-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-tai-xiu__advantage-list li,
.page-tai-xiu__step-list li,
.page-tai-xiu__strategy-list li,
.page-tai-xiu__app-benefits li {
  background-color: #111111; /* Card BG */
  margin-bottom: 10px;
  padding: 15px;
  border-left: 5px solid #F2C14E; /* Main color */
  border-radius: 4px;
  color: #FFF6D6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__advantage-list li strong,
.page-tai-xiu__step-list li strong,
.page-tai-xiu__strategy-list li strong,
.page-tai-xiu__app-benefits li strong {
  color: #FFD36B; /* Glow */
}

/* Dark Section */
.page-tai-xiu__dark-section {
  background-color: #111111; /* Card BG */
}

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

.page-tai-xiu__promotion-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #3A2A12; /* Border */
}

.page-tai-xiu__card-bg {
  background-color: #111111;
  color: #FFF6D6;
}

.page-tai-xiu__card-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-tai-xiu__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-tai-xiu__card-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

.page-tai-xiu__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  cursor: pointer;
  outline: none;
}

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

.page-tai-xiu__faq-qtext {
  flex-grow: 1;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tai-xiu__hero-title {
    font-size: clamp(2em, 4.5vw, 3.2em);
  }

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

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

  .page-tai-xiu__content-grid--reverse .page-tai-xiu__text-block {
    order: initial;
  }

  .page-tai-xiu__content-grid--reverse .page-tai-xiu__image-block {
    order: initial;
  }

  .page-tai-xiu__promotion-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* General content area padding */
  .page-tai-xiu__container {
    padding: 0 15px !important;
  }

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

  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    min-height: auto;
  }

  .page-tai-xiu__hero-content {
    padding: 30px 15px;
    margin-top: 15px;
  }

  .page-tai-xiu__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }

  .page-tai-xiu__hero-description {
    font-size: 1em;
  }

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

  .page-tai-xiu__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Universal Image Responsiveness */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .page-tai-xiu__image-block, 
  .page-tai-xiu__hero-image-wrapper,
  .page-tai-xiu__card-image {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Universal Button Responsiveness */
  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .page-tai-xiu__btn-tertiary,
  .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 !important;
    padding-right: 15px !important;
  }

  .page-tai-xiu__button-group {
    flex-direction: column !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-tai-xiu__promotion-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-tai-xiu__card-image {
    height: 180px !important; /* Adjust fixed height for mobile card images */
  }

  .page-tai-xiu__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-tai-xiu__advantage-list li,
  .page-tai-xiu__step-list li,
  .page-tai-xiu__strategy-list li,
  .page-tai-xiu__app-benefits li {
    padding: 12px;
    font-size: 0.95em;
  }
}

/* Fixed Header & Main Content Spacing - body handles padding-top, sections use small top margin */
/* The body padding-top is assumed to be handled by shared.css: body { padding-top: var(--header-offset); } */
/* Thus, .page-tai-xiu__hero-section only needs a small padding-top */

/* Ensure contrast for text */
.page-tai-xiu p, .page-tai-xiu li, .page-tai-xiu__section-subtitle {
  color: #FFF6D6; /* Text Main */
}

.page-tai-xiu__card-title {
  color: #F2C14E; /* Main color */
}

.page-tai-xiu__dark-section {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

/* Placeholder styles for elements not present on this page, but required by '必写清单' (interpreted as general responsive guidelines) */
/* This page is not homepage, so no .page-tai-xiu__guide-box or .page-tai-xiu__home-content-box are generated */
/* .page-tai-xiu__blog-section is not a grid of cards, but a content section */

/* Example for .page-tai-xiu__hero-carousel-section (if it were a carousel) */
/* @media (max-width: 768px) {
  .page-tai-xiu__hero-carousel-section {
    padding-top: 10px !important;
    height: auto !important;
  }
  .page-tai-xiu__hero-slider {
    height: 250px !important; 
  }
  .page-tai-xiu__hero-slide {
    height: 250px !important; 
    background-size: cover !important;
    background-position: center !important;
  }
  .page-tai-xiu__hero-slider-prev, .page-tai-xiu__hero-slider-next {
    display: none !important;
  }
  .page-tai-xiu__hero-slider-dots {
    bottom: 10px !important;
  }
} */

/* Example for .page-tai-xiu__guide-box (if present, for homepage) */
/* @media (max-width: 768px) {
  .page-tai-xiu__guide-box {
    padding: 10px !important;
  }
  .page-tai-xiu__guide-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 8px !important;
  }
  .page-tai-xiu__guide-card {
    padding-top: 0 !important;
    flex: none !important;
    max-width: none !important;
  }
  .page-tai-xiu__guide-card--pos-1, .page-tai-xiu__guide-card--pos-2 {
    grid-column: span 3 !important;
  }
  .page-tai-xiu__guide-card--pos-3, .page-tai-xiu__guide-card--pos-4, .page-tai-xiu__guide-card--pos-5 {
    grid-column: span 2 !important;
  }
  .page-tai-xiu__guide-card img {
    aspect-ratio: 250/350 !important;
    object-fit: contain !important;
    width: 100% !important;
    height: auto !important;
  }
} */

/* Example for .page-tai-xiu__home-content-box (if present, for homepage) */
/* @media (max-width: 768px) {
  .page-tai-xiu__home-content-box {
    max-width: 100% !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px !important;
  }
  .page-tai-xiu__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }
} */

/* Example for .page-tai-xiu__blog-section (if it were a grid of blog cards) */
/* @media (max-width: 768px) {
  .page-tai-xiu__blog-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  .page-tai-xiu__blog-card {
    padding: 15px !important;
  }
} */