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

/* Hero Section */
.page-tai-xiu__hero {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 10px;
  padding-left: 16px;
  padding-right: 16px;
}

.page-tai-xiu__hero-image {
  max-width: 1020px;
  margin: 0 auto 16px;
}

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

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

.page-tai-xiu__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #E53935;
  max-width: 850px;
  margin: 0 auto 12px;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
}

.page-tai-xiu__hero-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 20px;
}

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

.page-tai-xiu__btn {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

/* Logo Grid */
.page-tai-xiu__logo-grid {
  max-width: 1200px;
  margin: 32px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  justify-items: center;
  padding: 0 16px;
}

.page-tai-xiu__logo-grid-title {
  grid-column: 1 / -1;
  font-size: 1.55rem;
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 8px;
}

.page-tai-xiu__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #E0E0E0;
}

.page-tai-xiu__logo-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}

.page-tai-xiu__logo-cta {
  padding: 10px 24px;
  border-radius: 999px;
  background: #E53935;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}

.page-tai-xiu__logo-cta:hover {
  background: #FF5A4F;
}

.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 {
  background: #FFFFFF;
  padding: 0;
}

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

.page-tai-xiu__guide-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #E53935;
  text-align: center;
  margin-bottom: 24px;
}

.page-tai-xiu__guide-block {
  margin-bottom: 28px;
}

.page-tai-xiu__guide-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
  border-left: 4px solid #FF5A4F;
  padding-left: 12px;
}

.page-tai-xiu__guide-block p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.page-tai-xiu__guide-block ul {
  margin-left: 20px;
  margin-bottom: 12px;
  list-style-type: disc;
}

.page-tai-xiu__guide-block li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.page-tai-xiu__guide-block a {
  color: #E53935;
  text-decoration: underline;
  font-weight: 600;
}

.page-tai-xiu__guide-block a:hover {
  color: #FF5A4F;
}

.page-tai-xiu__guide-figure {
  margin: 16px 0;
}

.page-tai-xiu__guide-figure img {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.page-tai-xiu__guide-block img {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 0;
}

/* FAQ */
.page-tai-xiu__faq {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 8px 16px;
}

.page-tai-xiu__faq summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.page-tai-xiu__faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: #333333;
}

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

.page-tai-xiu__faq-answer {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
  line-height: 1.6;
}

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

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

  .page-tai-xiu__btn {
    padding: 12px 28px;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .page-tai-xiu__hero-image img {
    aspect-ratio: 2 / 1;
    max-width: 100%;
    height: auto;
  }

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

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

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

  .page-tai-xiu__guide-subtitle {
    font-size: 1.2rem;
  }

  .page-tai-xiu__guide-figure img,
  .page-tai-xiu__guide-block img,
  .page-tai-xiu__guide-block img {
    max-width: 100%;
    height: auto;
  }

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

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

  .page-tai-xiu__hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}