.page-tai-xiu {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Body 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__top-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #F5F7FA; /* Background */
  position: relative;
  overflow: hidden;
}

.page-tai-xiu__hero-image-wrapper {
  margin-bottom: 30px;
}

.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: #E53935; /* Primary color for emphasis */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-tai-xiu__description {
  font-size: 1.1em;
  color: #333333;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

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

.page-tai-xiu__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

.page-tai-xiu__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.6);
}

.page-tai-xiu__btn-secondary {
  background: #ffffff;
  color: #E53935; /* Primary color */
  border: 2px solid #E53935;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__section {
  padding: 40px 0;
  background-color: #F5F7FA; /* Background */
  border-bottom: 1px solid #E0E0E0; /* Border */
}

.page-tai-xiu__section:last-of-type {
  border-bottom: none;
}

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

.page-tai-xiu__heading {
  font-size: 2.2em;
  color: #E53935; /* Primary color */
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-tai-xiu__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

.page-tai-xiu__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-tai-xiu__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-tai-xiu__ordered-list,
.page-tai-xiu__unordered-list {
  margin: 20px 0 20px 25px;
  padding: 0;
  list-style-position: outside;
  color: #333333;
}

.page-tai-xiu__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-tai-xiu__list-item strong {
  color: #E53935;
}

.page-tai-xiu__list-item a {
  color: #E53935;
  text-decoration: underline;
}

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

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

.page-tai-xiu__faq-question {
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #E53935; /* Primary color */
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-tai-xiu__faq-question:hover {
  background-color: #f9f9f9;
}

.page-tai-xiu__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #333333;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-tai-xiu__faq-item.active .page-tai-xiu__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  padding-top: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-tai-xiu__top-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 20px;
  }

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

  .page-tai-xiu__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-tai-xiu__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-tai-xiu__description {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 5px;
  }

  .page-tai-xiu__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }

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

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

  .page-tai-xiu__article-wrap {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tai-xiu__heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-tai-xiu__paragraph {
    font-size: 0.95em;
    margin-bottom: 15px;
  }

  .page-tai-xiu__figure {
    margin: 20px auto;
  }

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

  .page-tai-xiu__ordered-list,
  .page-tai-xiu__unordered-list {
    margin: 15px 0 15px 20px;
  }

  .page-tai-xiu__list-item {
    font-size: 0.95em;
    margin-bottom: 8px;
  }

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

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

  .page-tai-xiu__cta-buttons--centered {
    margin-top: 20px;
    margin-bottom: 30px;
  }

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

@media (max-width: 1024px) {
  .page-tai-xiu__container {
    padding: 0 20px;
  }

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

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

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