/* layout: hero + intro + content + cta + related + faq */

.page-tai-xiu { 
  color: #333333; 
  background-color: #F5F7FA;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-tai-xiu__hero-section {
  width: 100%;
  background: #FFFFFF;
  padding: 10px 16px 24px;
  box-sizing: border-box;
}

.page-tai-xiu__hero-image-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.page-tai-xiu__hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-tai-xiu__hero-title {
  color: #E53935;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.page-tai-xiu__hero-desc {
  color: #333333;
  margin: 0 0 24px;
  font-size: 1.1rem;
}

.page-tai-xiu__hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-tai-xiu__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(229, 57, 53, 0.3);
}

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

.page-tai-xiu__intro-section,
.page-tai-xiu__content-section,
.page-tai-xiu__related-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}

.page-tai-xiu__section-title {
  color: #E53935;
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-weight: 700;
  border-bottom: 2px solid #E0E0E0;
  padding-bottom: 8px;
}

.page-tai-xiu__content-section p,
.page-tai-xiu__intro-section p {
  margin-bottom: 16px;
  color: #333333;
}

.page-tai-xiu__list,
.page-tai-xiu__ordered-list {
  background: #FFFFFF;
  padding: 20px 20px 20px 40px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  border: 1px solid #E0E0E0;
}

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

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

.page-tai-xiu__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}

.page-tai-xiu__faq-question {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: #333333;
  background-color: #F5F7FA;
  margin: 0;
  outline: none;
  position: relative;
  list-style: none;
}

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

.page-tai-xiu__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #E53935;
  font-size: 1.2rem;
  font-weight: bold;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question::after {
  content: '-';
}

.page-tai-xiu__faq-answer {
  padding: 16px 20px;
  margin: 0;
  color: #333333;
  border-top: 1px solid #E0E0E0;
}

.page-tai-xiu__cta-section {
  background: linear-gradient(135deg, #E53935 0%, #FF5A4F 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 48px 16px;
  margin-top: 24px;
}

.page-tai-xiu__cta-title {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #FFFFFF;
  fontWeight: 800;
}

.page-tai-xiu__cta-desc {
  margin-bottom: 24px;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.page-tai-xiu__cta-section .page-tai-xiu__btn--primary {
  background: #FFFFFF;
  color: #E53935;
}

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

.page-tai-xiu__cta-note {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 16px;
}

.page-tai-xiu__related-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.page-tai-xiu__related-link {
  display: block;
  background: #FFFFFF;
  padding: 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #E53935;
  font-weight: 600;
  border: 1px solid #E0E0E0;
  text-align: center;
  transition: background 0.3s, color 0.3s;
}

.page-tai-xiu__related-link:hover {
  background: #E53935;
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .page-tai-xiu__hero-section {
    padding: 10px 12px 16px;
  }
  .page-tai-xiu__hero-title {
    font-size: 1.5rem;
  }
  .page-tai-xiu__hero-desc {
    font-size: 1rem;
  }
  .page-tai-xiu__hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tai-xiu__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-tai-xiu__section-title {
    font-size: 1.4rem;
  }
  .page-tai-xiu__cta-title {
    font-size: 1.5rem;
  }
  .page-tai-xiu__related-links {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu {
    overflow-x: hidden;
  }
}