.page-tai-xiu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-tai-xiu__article-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-tai-xiu__top-section {
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Auxiliary to Primary */
  color: #ffffff;
  text-align: center;
  padding-top: 10px; /* Small fixed top padding */
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.page-tai-xiu__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__intro-text {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-tai-xiu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-tai-xiu__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-tai-xiu__section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-tai-xiu__section:nth-of-type(even) {
  background-color: #ffffff; /* Card BG for alternating sections */
}

.page-tai-xiu__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
}

.page-tai-xiu__article-wrap p,
.page-tai-xiu__article-wrap li {
  font-size: 1.05rem;
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__article-wrap a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-tai-xiu__article-wrap a:hover {
  text-decoration: underline;
}

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

.page-tai-xiu__ordered-list li {
  list-style-type: decimal;
}

.page-tai-xiu__unordered-list li {
  list-style-type: disc;
}

.page-tai-xiu__sub-list {
  list-style-type: circle;
  padding-left: 20px;
}

.page-tai-xiu__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 680px;
}

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

.page-tai-xiu__figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
}

.page-tai-xiu__faq-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  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.2rem;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
}

.page-tai-xiu__faq-answer {
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-tai-xiu__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-tai-xiu__intro-text {
    font-size: 1.05rem;
  }

  .page-tai-xiu__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  }

  .page-tai-xiu__article-wrap p,
  .page-tai-xiu__article-wrap li {
    font-size: 1rem;
  }

  .page-tai-xiu__btn {
    padding: 12px 25px;
    font-size: 1rem;
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  /* 1. Top section title + CTA */
  .page-tai-xiu__top-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-tai-xiu__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-tai-xiu__intro-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
  }

  /* 4. Buttons and button containers */
  .page-tai-xiu__btn,
  .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__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;
  }

  /* 2. Single column long text containers */
  .page-tai-xiu__article-wrap,
  .page-tai-xiu__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-tai-xiu__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-tai-xiu__article-wrap p,
  .page-tai-xiu__article-wrap li {
    font-size: 0.95rem;
  }

  /* 3. General images and figure */
  .page-tai-xiu__image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

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

  .page-tai-xiu__figcaption {
    font-size: 0.85rem;
  }

  /* 5. Registration tutorial & FAQ blocks */
  .page-tai-xiu__faq-item {
    padding: 15px;
  }

  .page-tai-xiu__faq-question {
    font-size: 1.1rem;
  }

  .page-tai-xiu__faq-answer {
    font-size: 0.95rem;
  }
}