/* tai-xiu.css */
.page-tai-xiu {
  color: #333333;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.page-tai-xiu__hero-section {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #FFFFFF;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1020 / 300;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.page-tai-xiu__hero-content {
  max-width: 800px;
  text-align: center;
  padding: 24px 16px 32px;
  box-sizing: border-box;
  width: 100%;
}

.page-tai-xiu__hero-title {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .5px;
  color: #017439;
  margin: 0 0 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__hero-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0 auto 24px;
  max-width: 650px;
}

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

.page-tai-xiu__btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 14px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  border: 2px solid transparent;
}

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

.page-tai-xiu__btn--primary:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(195, 8, 8, .3);
}

.page-tai-xiu__btn--secondary {
  background-color: #017439;
  color: #FFFF00;
  border-color: #017439;
}

.page-tai-xiu__btn--secondary:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(1, 116, 57, .3);
}

/* Partner Logo Grid */
.page-tai-xiu__partners-section {
  background-color: #f8f9fa;
  padding: 32px 16px;
}

.page-tai-xiu__partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-tai-xiu__partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  box-sizing: border-box;
  transition: transform .2s ease;
}

.page-tai-xiu__partner-item:hover {
  transform: translateY(-4px);
}

.page-tai-xiu__partner-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
}

.page-tai-xiu__partner-cta {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background-color: #C30808;
  color: #FFFF00;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-tai-xiu__partner-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(195, 8, 8, .3);
}

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

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

/* Guide Section */
.page-tai-xiu__guide-section {
  padding: 40px 0 56px;
  background-color: #FFFFFF;
}

.page-tai-xiu__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-tai-xiu__guide-title {
  text-align: center;
  color: #017439;
  font-weight: 800;
  font-size: 1.8rem;
  margin: 32px 0 16px;
  line-height: 1.3;
}

.page-tai-xiu__guide-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px;
}

.page-tai-xiu__guide-item {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  border-left: 6px solid #017439;
}

.page-tai-xiu__guide-subtitle {
  color: #017439;
  font-size: 1.25rem;
  margin: 0 0 12px;
  font-weight: 700;
}

.page-tai-xiu__guide-item p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.page-tai-xiu__guide-cta {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-tai-xiu__guide-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(195, 8, 8, .3);
}

.page-tai-xiu__faq-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 12px 16px;
}

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

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

.page-tai-xiu__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #C30808;
  font-weight: 700;
}

.page-tai-xiu__faq-answer {
  padding-top: 12px;
  line-height: 1.6;
  margin: 0;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-tai-xiu__parts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-tai-xiu__partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-tai-xiu__hero-image {
    aspect-ratio: 16 / 6;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu__hero-section {
    padding-top: 8px;
  }

  .page-tai-xiu__hero-image-wrapper {
    padding: 0 12px;
  }

  .page-tai-xiu__hero-image {
    aspect-ratio: 4 / 3;
  }

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

  .page-tai-xiu__hero-actions {
    flex-direction: column;
  }

  .page-tai-xiu__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
  }

  .page-tai-xiu__partners-section {
    padding: 24px 12px;
  }

  .page-tai-xiu__partners-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }

  .page-tai-xiu__partner-item {
    max-width: 100%;
    padding: 12px;
  }

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

  .page-tai-xiu__guide-section {
    padding: 24px 0 40px;
  }

  .page-tai-xiu__guide-inner {
    padding: 0 12px;
  }

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

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

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

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