.page-tai-xiu {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-tai-xiu__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-tai-xiu__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background-color: #0A0A0A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-tai-xiu__hero-image-wrap {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-tai-xiu__hero-content {
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-tai-xiu__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #FFD36B;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-tai-xiu__description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-tai-xiu__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-tai-xiu__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-tai-xiu__btn--primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
  transform: translateY(-2px);
}

.page-tai-xiu__btn--secondary {
  background-color: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.2);
}

.page-tai-xiu__btn--secondary:hover {
  background-color: #FFD36B;
  color: #111111;
  box-shadow: 0 6px 15px rgba(255, 211, 107, 0.4);
  transform: translateY(-2px);
}

.page-tai-xiu__section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-tai-xiu__section:nth-of-type(even) {
  background-color: #111111;
}

.page-tai-xiu__section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-tai-xiu__sub-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tai-xiu__text-block {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-tai-xiu__figure {
  margin: 40px 0;
  text-align: center;
}

.page-tai-xiu__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-tai-xiu__figcaption {
  font-size: 0.9rem;
  color: #F2C14E;
  margin-top: 10px;
}

.page-tai-xiu__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-tai-xiu__list--numbered {
  list-style-type: decimal;
}

.page-tai-xiu__list--steps {
  list-style-type: decimal;
  counter-reset: step-counter;
}

.page-tai-xiu__list--steps .page-tai-xiu__list-item {
  counter-increment: step-counter;
  margin-bottom: 15px;
  padding-left: 10px;
  position: relative;
}

.page-tai-xiu__list--steps .page-tai-xiu__list-item::before {
  content: "Bước " counter(step-counter) ": ";
  font-weight: bold;
  color: #F2C14E;
  position: absolute;
  left: -25px;
}

.page-tai-xiu__list-item {
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-tai-xiu__list-item strong {
  color: #FFD36B;
}

.page-tai-xiu__info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-tai-xiu__card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-tai-xiu__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-tai-xiu__card-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-tai-xiu__card-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  line-height: 1.6;
}

.page-tai-xiu__faq-list {
  margin-top: 30px;
}

.page-tai-xiu__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__faq-question {
  font-size: 1.2rem;
  color: #FFD36B;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-tai-xiu__faq-answer {
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.7;
}

.page-tai-xiu__conclusion {
  text-align: center;
  padding-bottom: 80px;
}

.page-tai-xiu__conclusion .page-tai-xiu__section-title {
  margin-bottom: 20px;
}

.page-tai-xiu__conclusion .page-tai-xiu__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-tai-xiu__article-wrap {
    padding: 0 15px;
  }

  .page-tai-xiu__hero-content {
    padding: 15px;
  }

  .page-tai-xiu__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

  .page-tai-xiu__description {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  }

  .page-tai-xiu__section-title {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  }

  .page-tai-xiu__sub-title {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
  }

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

  .page-tai-xiu__faq-question {
    font-size: 1.1rem;
  }

  .page-tai-xiu__info-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-tai-xiu__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-tai-xiu__hero-image-wrap {
    max-height: 300px;
  }

  .page-tai-xiu__hero-content {
    margin-top: 15px;
    padding: 10px;
  }

  .page-tai-xiu__main-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .page-tai-xiu__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-tai-xiu__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-tai-xiu__section {
    padding: 40px 0;
  }

  .page-tai-xiu__article-wrap {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-tai-xiu__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-tai-xiu__sub-title {
    font-size: 1.4rem;
    margin-top: 25px;
  }

  .page-tai-xiu__text-block,
  .page-tai-xiu__list-item,
  .page-tai-xiu__card-text,
  .page-tai-xiu__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
  }

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

  .page-tai-xiu__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }

  .page-tai-xiu__info-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tai-xiu__card {
    padding: 20px;
  }

  .page-tai-xiu__card-title {
    font-size: 1.2rem;
  }

  .page-tai-xiu__faq-item {
    padding: 15px;
  }

  .page-tai-xiu__faq-question {
    font-size: 1.1rem;
  }

  .page-tai-xiu__conclusion {
    padding-bottom: 60px;
  }

  .page-tai-xiu__list {
    margin-left: 20px;
  }

  .page-tai-xiu__list--steps .page-tai-xiu__list-item::before {
    left: -20px;
  }
}