.page-tai-xiu {
  color: #333333;
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.page-tai-xiu__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 50%, #E53935 100%);
  padding: 10px 0 0 0;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.page-tai-xiu__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  max-width: 100%;
}

.page-tai-xiu__hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 16px 35px;
  text-align: center;
}

.page-tai-xiu__hero-title {
  color: #FFF5E1;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.5px;
  max-width: 100%;
  margin: 0 0 12px 0;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

.page-tai-xiu__hero-subtitle {
  color: #FFF5E1;
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 22px auto;
  line-height: 1.6;
}

.page-tai-xiu__hero-button {
  display: inline-block;
  padding: 13px 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #F2B544;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 15px rgba(255,204,102,0.4);
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.page-tai-xiu__hero-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 20px rgba(255,204,102,0.6);
}

/* Intro Section */
.page-tai-xiu__intro-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-tai-xiu__intro-section h2 {
  color: #B71C1C;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.page-tai-xiu__intro-section p {
  color: #333333;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Logo Grid Section */
.page-tai-xiu__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px 20px;
  justify-items: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  background: #f9f9f9;
  border-radius: 16px;
}

.page-tai-xiu__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.page-tai-xiu__logo-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.page-tai-xiu__logo-figure {
  margin: 0;
  width: 100%;
}

.page-tai-xiu__logo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 8px;
  max-width: 100%;
}

.page-tai-xiu__logo-caption {
  text-align: center;
  font-weight: 700;
  color: #B71C1C;
  font-size: 1.1rem;
  margin-top: 10px;
}

.page-tai-xiu__logo-cta {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid #F2B544;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: break-word;
}

.page-tai-xiu__logo-cta:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: scale(1.02);
}

.page-tai-xiu__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-tai-xiu__logo-item:nth-child(6) {
  grid-column: 3;
}

/* Guide Section */
.page-tai-xiu__guide-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.page-tai-xiu__guide-content {
  background: #FFF5E1;
  border: 2px solid #F2B544;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
}

.page-tai-xiu__guide-content h2 {
  color: #B71C1C;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.page-tai-xiu__guide-content p {
  color: #333333;
  line-height: 1.7;
}

.page-tai-xiu__guide-steps {
  color: #333333;
  line-height: 1.8;
  padding-left: 20px;
}

.page-tai-xiu__guide-figure {
  margin: 0;
  text-align: center;
  width: 100%;
}

.page-tai-xiu__guide-image {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  max-width: 100%;
}

/* FAQ Section */
.page-tai-xiu__faq-section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 20px 50px;
}

.page-tai-xiu__faq-section h2 {
  color: #B71C1C;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 30px;
}

.page-tai-xiu__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #B71C1C;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-tai-xiu__faq-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-tai-xiu__faq-question {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  color: #B71C1C;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 10px;
}

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

.page-tai-xiu__faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #B71C1C;
  color: #FFF5E1;
  border-radius: 50%;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.page-tai-xiu__faq-answer {
  padding: 5px 20px 18px 20px;
  color: #333333;
  line-height: 1.7;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .page-tai-xiu__logo-item:nth-child(5),
  .page-tai-xiu__logo-item:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-tai-xiu__hero-section {
    padding-top: 10px;
  }

  .page-tai-xiu__hero-image {
    aspect-ratio: 2 / 1;
    max-width: 100%;
  }

  .page-tai-xiu__hero-content {
    padding: 20px 16px 30px;
  }

  .page-tai-xiu__hero-title {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  }

  .page-tai-xiu__hero-subtitle {
    font-size: 0.95rem;
  }

  .page-tai-xiu__hero-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 24px;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .page-tai-xiu__intro-section {
    padding: 30px 16px;
  }

  .page-tai-xiu__intro-section h2 {
    font-size: 1.4rem;
  }

  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 16px;
  }

  .page-tai-xiu__logo-item {
    padding: 12px;
  }

  .page-tai-xiu__logo-item:nth-child(5) {
    grid-column: auto;
  }

  .page-tai-xiu__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-tai-xiu__logo-caption {
    font-size: 0.9rem;
  }

  .page-tai-xiu__logo-cta {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 0.85rem;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .page-tai-xiu__guide-section {
    padding: 30px 16px;
  }

  .page-tai-xiu__guide-content {
    padding: 20px;
  }

  .page-tai-xiu__guide-content h2 {
    font-size: 1.4rem;
  }

  .page-tai-xiu__guide-figure {
    width: 100%;
  }

  .page-tai-xiu__faq-section {
    padding: 0 16px 40px;
  }

  .page-tai-xiu__faq-section h2 {
    font-size: 1.4rem;
  }

  .page-tai-xiu__faq-question {
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  .page-tai-xiu__faq-answer {
    padding: 0 16px 16px 16px;
    font-size: 0.9rem;
  }

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