.page-tai-xiu__hero-section {
  background-color: #7A0E0E;
  padding: 10px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-tai-xiu__hero-image-wrap {
  width: 100%;
  max-width: 1020px;
}

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

.page-tai-xiu__hero-content {
  width: 100%;
  max-width: 1020px;
  text-align: center;
  padding-top: 20px;
}

.page-tai-xiu__hero-title {
  color: #FFF5E1;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.page-tai-xiu__hero-description {
  color: #FFF5E1;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px;
  opacity: 0.92;
}

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

.page-tai-xiu__cta-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu__cta-button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.page-tai-xiu__cta-button--secondary {
  background-color: #E53935;
  color: #FFF5E1;
  border: 2px solid #F2B544;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.page-tai-xiu__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 211, 77, 0.5);
}

.page-tai-xiu__logo-section {
  background-color: #B71C1C;
  padding: 40px 20px 50px;
}

.page-tai-xiu__section-title {
  color: #FFF5E1;
  text-align: center;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.page-tai-xiu__section-intro {
  color: #FFF5E1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  opacity: 0.95;
}

.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-color: #D32F2F;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #F2B544;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  overflow: hidden;
}

.page-tai-xiu__logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 204, 102, 0.25);
}

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

.page-tai-xiu__logo-name {
  color: #FFF5E1;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.page-tai-xiu__logo-cta {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.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 {
  background-color: #B71C1C;
}

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

.page-tai-xiu__guide-title {
  color: #F4D34D;
  text-align: center;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 16px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.page-tai-xiu__guide-intro {
  color: #FFF5E1;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.95;
}

.page-tai-xiu__guide-item {
  background-color: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 12px;
  margin-bottom: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-tai-xiu__guide-item[open] {
  box-shadow: 0 4px 16px rgba(255, 204, 102, 0.2);
  border-color: #F4D34D;
}

.page-tai-xiu__guide-step-title {
  color: #FFF5E1;
  font-weight: 700;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.98rem;
  line-height: 1.4;
}

.page-tai-xiu__guide-step-title::-webkit-details-marker {
  display: none;
}

.page-tai-xiu__guide-step-title::after {
  content: '+ ';
  flex-shrink: 0;
  color: #F4D34D;
  font-size: 1.4rem;
  font-weight: 800;
  margin-left: 12px;
  line-height: 1;
  transition: transform 0.2s;
}

.page-tai-xiu__guide-item[open] .page-tai-xiu__guide-step-title::after {
  content: '− ';
}

.page-tai-xiu__guide-step-content {
  color: #FFF5E1;
  padding: 0 18px 18px;
  margin: 0;
  line-height: 1.7;
  opacity: 0.95;
  border-top: 1px solid #F2B544;
}

@media (max-width: 1024px) {
  .page-tai-xiu__logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tai-xiu__logo-item:nth-child(5) {
    grid-column: auto;
  }
  .page-tai-xiu__logo-item:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu__hero-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  body {
    overflow-x: hidden;
  }

  .page-tai-xiu {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

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

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

  .page-tai-xiu__hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-tai-xiu__cta-button {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

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

  .page-tai-xiu__logo-item {
    padding: 12px;
  }

  .page-tai-xiu__logo-cta {
    padding: 8px 12px;
    font-size: 0.85rem;
    max-width: 100%;
  }

  .page-tai-xiu__guide-title {
    font-size: 1.2rem !important;
  }

  .page-tai-xiu__guide-inner {
    padding: 8px 12px 32px;
  }

  .page-tai-xiu__guide-step-title {
    font-size: 0.92rem;
    padding: 14px;
  }

  .page-tai-xiu__guide-step-content {
    padding: 0 14px 14px;
  }
}