.page-tai-xiu {
  max-width: 1200px;
  margin: 0 auto;
  color: #333333;
}
.page-tai-xiu__hero-section {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #03d47c, #017439);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.page-tai-xiu__hero-image-block {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: -4px;
}
.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.page-tai-xiu__hero-content {
  text-align: center;
  width: 100%;
  padding: 20px 20px 26px;
  box-sizing: border-box;
}
.page-tai-xiu__main-title {
  color: #ffffff;
  font-size: clamp(1.2rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  max-width: 800px;
  margin: 0 auto 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.page-tai-xiu__hero-desc {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.page-tai-xiu__hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.page-tai-xiu__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}
.page-tai-xiu__btn--primary {
  background: #ffffff;
  color: #017439;
  border-color: #ffffff;
}
.page-tai-xiu__btn--primary:hover {
  background: #017439;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.page-tai-xiu__logo-section {
  padding: 20px;
}
.page-tai-xiu__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.page-tai-xiu__logo-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid #e9eef2;
  transition: transform 0.3s ease;
}
.page-tai-xiu__logo-item:hover {
  transform: scale(1.05);
}
.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;
  mix-blend-mode: normal;
}
.page-tai-xiu__logo-cta {
  padding: 12px 18px;
  border-radius: 30px;
  background: #ff4141;
  color: #FFFF00 !important;
  font-weight: 700;
  text-decoration: none;
  display: block;
  width: max-content;
  font-size: 0.95rem;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.page-tai-xiu__logo-cta:hover {
  color: white;
  border-color: #C30808;
  background: #C30808;
}
.page-tai-xiu__guide-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 12px 60px;
}
.page-tai-xiu__guide-inner {
  background: #ffffff;
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}
.page-tai-xiu__guide-title {
  text-align: center;
  color: #017439;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 16px;
  font-weight: 800;
}
.page-tai-xiu__guide-intro {
  text-align: center;
  color: #3b4a3e;
  font-size: 1.05rem;
  line-height: 1.8;
}
.page-tai-xiu__guide-content {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.page-tai-xiu__guide-block {
  border-top: 2px solid #f0f5f2;
  padding-top: 30px;
}
.page-tai-xiu__guide-subtitle {
  color: #017439;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 15px;
  line-height: 1.4;
}
.page-tai-xiu__guide-figure {
  margin: 10px 0 20px;
}
.page-tai-xiu__guide-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.page-tai-xiu__guide-content p {
  color: #3b4a3e;
  line-height: 1.9;
  margin-bottom: 15px;
  font-size: 1.02rem;
}
.page-tai-xiu__guide-content strong {
  color: #017439;
}
.page-tai-xiu__guide-cta-row {
  display: flex;
  justify-content: center;
  margin: 25px 0 0;
}
.page-tai-xiu__btn--secondary {
  background: #017439;
  color: white;
}
.page-tai-xiu__guide-cta-row .page-tai-xiu__btn--secondary {
  padding: 14px 40px;
  font-size: 18px;
}

@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-section {
    margin: 0;
    border-radius: 0 0 16px 16px;
  }
  .page-tai-xiu__hero-image {
    aspect-ratio: 16 / 9;
    max-height: 180px;
  }
  .page-tai-xiu__hero-image-block {
    margin-bottom: 0;
    padding: 10px 10px 0px;
    box-sizing: border-box;
  }
  .page-tai-xiu__hero-content {
    padding-top: 16px;
  }
  .page-tai-xiu__btn--primary {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-tai-xiu__guide-section {
    padding: 12px 8px 40px;
  }
  .page-tai-xiu__guide-title {
    font-size: 1.5rem;
  }
  .page-tai-xiu__guide-inner {
    padding: 16px;
  }
  .page-tai-xiu__guide-block {
    padding-top: 20px;
  }
  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .page-tai-xiu__logo-item {
    padding: 8px 4px;
  }
  .page-tai-xiu__logo-item:nth-child(5),
  .page-tai-xiu__logo-item:nth-child(6) {
    grid-column: auto;
  }
  .page-tai-xiu__logo-cta {
    padding: 8px;
    font-size: 0.8rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
  }
  .page-tai-xiu__logo-image {
    max-width: 100%;
    height: auto;
  }
  .page-tai-xiu__hero-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    padding-bottom: 6px;
  }
  .page-tai-xiu__guide-content p {
    font-size: 0.95rem;
    line-height: 1.8;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-tai-xiu__hero-content {
    padding: 13px 8px 22px;
  }
  .page-tai-xiu__logo-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .page-tai-xiu__logo-item {
    max-width: 320px;
    width: 100%;
  }
  .page-tai-xiu__logo-item:last-child {
    max-width: 320px;
    margin-bottom: 20px;
  }
  .page-tai-xiu__logo-section {
    padding: 15px;
  }
  .page-tai-xiu__btn--secondary {
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-tai-xiu__guid__figure {
    margin: 10px 0;
  }
  .page-tai-xiu__guide-image {
    aspect-ratio: 4/3;
  }
  .page-tai-xiu__main-title,
  .page-tai-xiu__guide-subtitle {
    word-wrap: break-word;
  }
  .page-tai-xiu__guide-intro {
    padding-left: 5px;
    padding-right: 5px;
  }
}