.page-tai-xiu {
  max-width: 1200px;
  margin: 0 auto;
  color: #333333;
  background: #FFFFFF;
}

.page-tai-xiu__hero-section {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}

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

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

.page-tai-xiu__hero-content {
  text-align: center;
  padding: 20px 16px;
}

.page-tai-xiu__main-title {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #017439;
  max-width: 800px;
  margin: 0 auto 14px;
}

.page-tai-xiu__hero-description {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 24px;
  color: #222222;
}

.page-tai-xiu__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.page-tai-xiu__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

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

.page-tai-xiu__btn:hover {
  transform: scale(1.05);
}

.page-tai-xiu__logo-section {
  margin: 30px 0;
}

.page-tai-xiu__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  justify-items: center;
  padding: 16px;
}

.page-tai-xiu__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 280px;
}

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

.page-tai-xiu__logo-cta {
  padding: 10px 28px;
  border-radius: 999px;
  background: #C30808;
  color: #FFFF00;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.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__guide-section {
  margin-top: 20px;
}

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

.page-tai-xiu__guide-title {
  text-align: center;
  color: #017439;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 40px;
}

.page-tai-xiu__guide-step {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.page-tai-xiu__guide-step:nth-child(even) {
  flex-direction: row-reverse;
}

.page-tai-xiu__guide-figure {
  flex: 1;
  min-width: 0;
}

.page-tai-xiu__guide-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 8px;
}

.page-tai-xiu__guide-text {
  flex: 1;
  text-align: left;
}

.page-tai-xiu__guide-subtitle {
  color: #017439;
  margin-bottom: 10px;
}

.page-tai-xiu__guide-description {
  line-height: 1.7;
  color: #222222;
}

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

@media (max-width: 768px) {

  .page-tai-xiu__hero-image {
    aspect-ratio: 2/1;
  }

  .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__logo-cta {
    width: auto;
    font-size: 0.9rem;
    padding: 8px 20px;
  }

  .page-tai-xiu__btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 0.95rem;
  }

  .page-tai-xiu__guide-step {
    flex-direction: column;
    gap: 12px;
  }

  .page-tai-xiu__guide-step:nth-child(even) {
    flex-direction: column;
  }

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

  .page-tai-xiu__guide-text {
    text-align: center;
  }

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

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

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

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

  .page-tai-xiu__logo-item {
    max-width: 100%;
  }

  .page-tai-xiu__hero-actions {
    gap: 10px;
  }
}