.page-tai-xiu {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Assuming light body background */
}

.page-tai-xiu__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background-color: #f0f8ff; /* Light background for hero */
}

.page-tai-xiu__hero-image-wrap {
  width: 100%;
  max-width: 1920px; /* Max width for hero image container */
  margin-bottom: 20px;
}

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

.page-tai-xiu__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-tai-xiu__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-tai-xiu__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-tai-xiu__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tai-xiu__btn--primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-tai-xiu__btn--primary:hover {
  background-color: #1e87c0;
  transform: translateY(-2px);
}

.page-tai-xiu__btn--secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-tai-xiu__btn--secondary:hover {
  background-color: #e0f2f7;
  transform: translateY(-2px);
}

.page-tai-xiu__article-wrap {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-tai-xiu__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
}

.page-tai-xiu__article-wrap p {
  margin-bottom: 15px;
  color: #444444;
}

.page-tai-xiu__sub-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-tai-xiu__list,
.page-tai-xiu__ordered-list {
  margin-bottom: 20px;
  padding-left: 25px;
}

.page-tai-xiu__list li,
.page-tai-xiu__ordered-list li {
  margin-bottom: 10px;
  color: #444444;
}

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

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

.page-tai-xiu__figcaption {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
  text-align: center;
}

.page-tai-xiu__faq-section {
  background-color: #f9f9f9;
  padding-top: 50px;
  padding-bottom: 50px;
  border-top: 1px solid #eeeeee;
}

.page-tai-xiu__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__faq-question {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-tai-xiu__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-tai-xiu__copyright {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  color: #777777;
  margin-top: 40px;
  border-top: 1px solid #eeeeee;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-tai-xiu__main-title {
    font-size: 2.8em;
  }
  .page-tai-xiu__section-title {
    font-size: 2em;
  }
  .page-tai-xiu__sub-title {
    font-size: 1.5em;
  }
  .page-tai-xiu__btn {
    font-size: 1em;
    padding: 12px 24px;
  }
  .page-tai-xiu__hero-content {
    padding: 0 15px;
  }
  .page-tai-xiu__article-wrap {
    margin: 30px auto;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  /* 1. Top section title + dual CTA */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }
  .page-tai-xiu__main-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }
  .page-tai-xiu__description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
    font-size: 1em !important;
    padding: 12px 20px !important;
  }

  /* 2. Single column long text container */
  .page-tai-xiu__article-wrap {
    margin: 20px auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 1em !important;
  }
  .page-tai-xiu__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px;
  }
  .page-tai-xiu__sub-title {
    font-size: 1.3em !important;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* 3. General images and figures */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-tai-xiu__figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 20px auto !important;
  }
  .page-tai-xiu__figcaption {
    font-size: 0.85em !important;
  }

  /* 4. Buttons and button containers (already covered in top section, but ensuring general application) */
  .page-tai-xiu__cta-buttons,
  .page-tai-xiu__button-group,
  .page-tai-xiu__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
  }

  /* 5. Registration tutorial and FAQ blocks */
  .page-tai-xiu__list,
  .page-tai-xiu__ordered-list {
    padding-left: 20px !important;
  }
  .page-tai-xiu__list li,
  .page-tai-xiu__ordered-list li {
    margin-bottom: 8px;
    font-size: 0.95em;
  }
  .page-tai-xiu__faq-item {
    padding: 15px !important;
    margin-bottom: 10px !important;
  }
  .page-tai-xiu__faq-question {
    font-size: 1.1em !important;
    margin-bottom: 8px;
  }
  .page-tai-xiu__faq-answer {
    font-size: 0.9em !important;
  }
  .page-tai-xiu__copyright {
    padding: 20px 15px !important;
    font-size: 0.8em !important;
  }
}