.page-tai-xiu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #FFFFFF; /* Assuming body background is light */
}

.page-tai-xiu__hero-section {
  padding-top: 10px; /* Small top padding as body padding-top is handled by shared */
  padding-bottom: 40px;
  background-color: #FFFFFF;
}

.page-tai-xiu__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 24px;
}

.page-tai-xiu__hero-content {
  flex: 1 1 50%;
  max-width: 50%;
  color: #333333;
}

.page-tai-xiu__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #017439;
  margin-bottom: 16px;
}

.page-tai-xiu__hero-description {
  font-size: 18px;
  margin-bottom: 24px;
  color: #555555;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-tai-xiu__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-tai-xiu__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-tai-xiu__hero-image {
  flex: 1 1 40%;
  max-width: 40%;
  text-align: center;
}

.page-tai-xiu__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-tai-xiu__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 32px;
}

.page-tai-xiu__text-block {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.page-tai-xiu__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-tai-xiu__dark-section .page-tai-xiu__section-title {
  color: #FFFFFF;
}

.page-tai-xiu__dark-section .page-tai-xiu__text-block,
.page-tai-xiu__dark-section .page-tai-xiu__unordered-list li {
  color: #f0f0f0;
}

.page-tai-xiu__flex-columns {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-tai-xiu__content-column,
.page-tai-xiu__image-column {
  flex: 1;
}

.page-tai-xiu__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__ordered-list,
.page-tai-xiu__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 24px;
}

.page-tai-xiu__ordered-list li,
.page-tai-xiu__unordered-list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
}

.page-tai-xiu__unordered-list li::before {
  content: '✓ ';
  color: #017439;
  font-weight: bold;
  margin-right: 8px;
}

.page-tai-xiu__mt-20 {
  margin-top: 20px;
}

/* FAQ Section */
.page-tai-xiu__faq-list {
  margin-top: 32px;
}

.page-tai-xiu__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.page-tai-xiu__faq-item summary {
  display: block;
  padding: 18px 24px;
  cursor: pointer;
  outline: none;
  user-select: none;
  font-weight: 600;
  font-size: 18px;
  color: #017439;
  position: relative;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.page-tai-xiu__faq-toggle {
  font-size: 24px;
  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: 0 24px 18px;
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tai-xiu__hero-container {
    padding: 30px 16px;
  }
  .page-tai-xiu__main-title {
    font-size: 36px;
  }
  .page-tai-xiu__hero-description {
    font-size: 16px;
  }
  .page-tai-xiu__section-title {
    font-size: 28px;
  }
  .page-tai-xiu__flex-columns {
    flex-direction: column;
  }
  .page-tai-xiu__hero-content,
  .page-tai-xiu__hero-image {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .page-tai-xiu__reverse-columns-mobile {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-tai-xiu__hero-section {
    padding-top: 10px !important;
  }
  .page-tai-xiu__hero-container {
    padding: 20px 15px;
  }
  .page-tai-xiu__main-title {
    font-size: 28px;
    text-align: center;
  }
  .page-tai-xiu__hero-description {
    font-size: 15px;
    text-align: center;
  }
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .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__hero-image {
    order: -1; /* Image appears above text on mobile */
  }
  .page-tai-xiu__section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .page-tai-xiu__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-tai-xiu__text-block,
  .page-tai-xiu__ordered-list li,
  .page-tai-xiu__unordered-list li,
  .page-tai-xiu__faq-answer p {
    font-size: 15px;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-tai-xiu__faq-answer {
    padding: 0 20px 15px;
  }
  .page-tai-xiu__flex-columns {
    gap: 20px;
  }
}