/* ====== tai-xiu.css ====== */
.page-tai-xiu{
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

/* ---------- HERO SECTION ---------- */
.page-tai-xiu__hero-section{
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 24px;
}
.page-tai-xiu__hero-image{
  width: 100%;
}
.page-tai-xiu__hero-img{
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.page-tai-xiu__hero-content{
  margin-top: 20px;
  text-align: center;
}
.page-tai-xiu__hero-title{
  color: #1F2D3D;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto 12px;
}
.page-tai-xiu__hero-desc{
  color: #1F2D3D;
  font-size: 1.05rem;
  max-width: 860px;
  margin: 0 auto 20px;
}
.page-tai-xiu__hero-btn,
.page-tai-xiu__guide-btn {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.35);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-tai-xiu__hero-btn:hover,
.page-tai-xiu__guide-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 22px rgba(47, 107, 255, 0.45);
}

/* ---------- TRUST / LOGO GRID (4+2) ---------- */
.page-tai-xiu__trust-section{
  padding: 24px 16px;
}
.page-tai-xiu__trust-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.page-tai-xiu__trust-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  text-align: center;
  background: #FFFFFF;
  padding: 24px 16px;
  border-radius: 16px;
  border: 1px solid #D6E2FF;
  box-shadow: 0 4px 12px rgba(165, 196, 255, 0.25);
  width: 100%;
  box-sizing: border-box;
}
.page-tai-xiu__trust-img{
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 8px;
}
.page-tai-xiu__trust-text{
  font-weight: 700;
  color: #1F2D3D;
  margin: 0;
  font-size: 1rem;
}
.page-tai-xiu__trust-card:nth-child(5){
  grid-column: 2;
}
.page-tai-xiu__trust-card:nth-child(6){
  grid-column: 3;
}

/* ---------- GUIDE SECTION ---------- */
.page-tai-xiu__guide-section{
  padding: 32px 16px 48px;
}
.page-tai-xiu__guide-inner{
  max-width: 1000px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(165, 196, 255, 0.2);
}
.page-tai-xiu__guide-title{
  text-align: center;
  color: #2F6BFF;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  margin: 0 0 24px;
}
.page-tai-xiu__guide-figure{
  margin: 0 0 24px;
}
.page-tai-xiu__guide-img{
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
}
.page-tai-xiu__guide-figure figcaption{
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 8px;
}
.page-tai-xiu__guide-article h3{
  color: #2F6BFF;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}
.page-tai-xiu__guide-article p{
  margin-bottom: 16px;
  color: #1F2D3D;
}
.page-tai-xiu__guide-article a{
  color: #2F6BFF;
  font-weight: 600;
}
.page-tai-xiu__guide-btn{
  margin: 8px 0 16px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px){
  .page-tai-xiu__trust-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .page-tai-xiu__trust-card:nth-child(5),
  .page-tai-xiu__trust-card:nth-child(6){
    grid-column: auto;
  }
}

@media (max-width: 768px){
  .page-tai-xiu__hero-section{
    padding: 8px 12px 20px;
  }
  .page-tai-xiu__hero-img{
    aspect-ratio: 2 / 1;
    max-width: 100%;
    height: auto;
  }
  .page-tai-xiu__hero-content{
    text-align: left;
  }
  .page-tai-xiu__trust-grid{
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
  .page-tai-xiu__trust-card{
    padding: 16px 12px;
  }
  .page-tai-xiu__guide-inner{
    padding: 20px;
  }
  .page-tai-xiu__guide-figure{
    width: 100%;
  }
  .page-tai-xiu__guide-figure img{
    max-width: 100%;
    height: auto;
  }
  .page-tai-xiu__hero-btn,
  .page-tai-xiu__guide-btn{
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-tai-xiu__trust-section,
  .page-tai-xiu__guide-section{
    padding-left: 12px;
    padding-right: 12px;
  }
  .page-tai-xiu img{
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu{
    max-width: 100%;
    overflow-x: hidden;
  }
}