/* Cafe / Flatsome style */
.page-tai-xiu {
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero section: image first, then content below */
.page-tai-xiu__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 0 0;
  background: #0A0A0A;
}

.page-tai-xiu__hero-image {
  max-width: 1200px;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 1px solid #3A2A12;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

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

.page-tai-xiu__main-title {
  color: #FFF6D6;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  max-width: 1000px;
  margin: 0 auto 12px;
}

.page-tai-xiu__hero-description {
  color: #FFF6D6;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 24px;
  opacity: 0.9;
}

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

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

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

.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(242, 193, 78, 0.25);
}

.page-tai-xiu__btn--secondary {
  background: #111111;
  color: #FFF6D6;
  border: 1px solid #3A2A12;
}

.page-tai-xiu__btn--promo {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #1a1a1a;
  box-shadow: 0 0 24px rgba(255, 211, 107, 0.3);
}

/* Trust / Logo grid section */
.page-tai-xiu__trust-section {
  padding: 48px 16px 56px;
  background: #0A0A0A;
}

.page-tai-xiu__trust-header {
  max-width: 1000px;
  margin: 0 auto 32px;
  text-align: center;
}

.page-tai-xiu__trust-title {
  color: #FFF6D6;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
}

.page-tai-xiu__trust-subtitle {
  color: #FFF6D6;
  opacity: 0.8;
  font-size: 1rem;
  max-width: 600px;
  margin: 8px auto 0;
}

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

.page-tai-xiu__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  background: #111111;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #3A2A12;
  box-sizing: border-box;
}

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

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

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

.page-tai-xiu__logo-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #1a1a1a;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: box-shadow 0.2s ease;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__logo-cta:hover {
  box-shadow: 0 0 16px rgba(242, 193, 78, 0.5);
}

/* Guide section */
.page-tai-xiu__guide-section {
  padding: 48px 16px 56px;
  background: #0A0A0A;
}

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

.page-tai-xiu__guide-title {
  color: #FFF6D6;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 8px;
}

.page-tai-xiu__guide-intro {
  color: #FFF6D6;
  opacity: 0.8;
  font-size: 1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
}

.page-tai-xiu__guide-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

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

.page-tai-xiu__guide-figure figcaption {
  color: #FFF6D6;
  opacity: 0.7;
  font-size: 0.85rem;
  margin-top: 8px;
}

.page-tai-xiu__guide-subtitle {
  color: #F2C14E;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.page-tai-xiu__guide-text {
  color: #FFF6D6;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 8px;
}

.page-tai-xiu__guide-text a {
  color: #FFD36B;
  text-decoration: underline;
  word-break: break-word;
}

.page-tai-xiu__guide-link {
  display: inline-block;
  color: #FFD36B;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  font-size: 0.95rem;
}

.page-tai-xiu__guide-link:hover {
  text-decoration: underline;
}

/* FAQ */
.page-tai-xiu__faq-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.page-tai-xiu__faq-item summary {
  padding: 14px 18px;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFF6D6;
  font-weight: 600;
  font-size: 1rem;
  gap: 12px;
}

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

.page-tai-xiu__faq-toggle {
  color: #F2C14E;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.page-tai-xiu__faq-content {
  padding: 0 18px 16px;
  color: #FFF6D6;
  opacity: 0.9;
  line-height: 1.6;
  font-size: 0.95rem;
}

.page-tai-xiu__faq-content a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-tai-xiu__guide-highlight {
  background: #111111;
  border-left: 4px solid #F2C14E;
  padding: 16px 18px;
  border-radius: 8px;
  margin: 24px 0;
  color: #FFF6D6;
}

.page-tai-xiu__guide-highlight a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-tai-xiu__guide-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-tai-xiu__faq-heading {
  color: #FFF6D6;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

/* Responsive: Tablet / Mobile */
@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__hero-image {
    aspect-ratio: 2 / 1;
  }

  .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,
  .page-tai-xiu__trust-title {
    font-size: 1.5rem;
  }

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

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

  .page-tai-xiu__btn,
  .page-tai-xiu__logo-cta {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    display: inline-block;
  }

  .page-tai-xiu__hero-actions,
  .page-tai-xiu__guide-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-tai-xiu__hero-actions .page-tai-xiu__btn,
  .page-tai-xiu__guide-actions .page-tai-xiu__btn {
    width: 100%;
  }

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

/* Very small screens */
@media (max-width: 480px) {
  .page-tai-xiu__logo-grid {
    grid-template-columns: 1fr;
  }

  .page-tai-xiu__main-title {
    font-size: 1.3rem;
  }

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