/* style/tai-xiu.css */
.page-tai-xiu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #FFF6D6); /* Default light text for dark background */
  background-color: var(--background-color, #0A0A0A); /* Dark background */
}

.page-tai-xiu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-tai-xiu__hero-section {
  position: relative;
  padding-top: 10px; /* Assumes shared.css handles body padding-top */
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
  overflow: hidden;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Maintain aspect ratio */
  overflow: hidden;
}

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

.page-tai-xiu__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-tai-xiu__main-title {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--text-main, #FFF6D6);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-tai-xiu__description {
  font-size: 1.2em;
  color: var(--text-main, #FFF6D6);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-tai-xiu__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-tai-xiu__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Brand color for secondary button text */
  border: 2px solid #F2C14E;
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-tai-xiu__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

.page-tai-xiu__section {
  padding: 40px 0;
  margin-bottom: 20px;
  background-color: var(--background-color, #0A0A0A);
}

.page-tai-xiu__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Brand color for section titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-tai-xiu__sub-title {
  font-size: 1.8em;
  color: var(--text-main, #FFF6D6);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-tai-xiu__text-block {
  font-size: 1.1em;
  color: var(--text-main, #FFF6D6);
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-tai-xiu__list {
  list-style: disc inside;
  color: var(--text-main, #FFF6D6);
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-tai-xiu__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-tai-xiu__button-container {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-tai-xiu__faq-question {
  font-size: 1.5em;
  color: #F2C14E;
  margin-top: 25px;
  margin-bottom: 10px;
  cursor: pointer;
  border-bottom: 1px solid rgba(242, 193, 78, 0.3);
  padding-bottom: 10px;
  transition: color 0.3s ease;
}

.page-tai-xiu__faq-question:hover {
  color: #FFD36B;
}

.page-tai-xiu__faq-answer {
  font-size: 1.05em;
  color: var(--text-main, #FFF6D6);
  margin-bottom: 15px;
  padding-left: 15px;
  line-height: 1.6;
}

.page-tai-xiu__cta-bottom {
  padding: 60px 0;
  background: linear-gradient(90deg, #111111 0%, #3A2A12 50%, #111111 100%);
  text-align: center;
  margin-top: 40px;
}

.page-tai-xiu__cta-container {
  max-width: 900px;
}

.page-tai-xiu__cta-title {
  font-size: 2.8em;
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 12px rgba(255, 211, 107, 0.6);
}

.page-tai-xiu__cta-text {
  font-size: 1.2em;
  color: var(--text-main, #FFF6D6);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-tai-xiu__main-title {
    font-size: 2.8em;
  }
  .page-tai-xiu__section-title {
    font-size: 2.2em;
  }
  .page-tai-xiu__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-tai-xiu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-tai-xiu__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding on mobile */
    margin-bottom: 20px;
  }
  .page-tai-xiu__hero-content {
    padding: 20px 15px;
  }
  .page-tai-xiu__main-title {
    font-size: 2.2em;
    margin-bottom: 10px;
  }
  .page-tai-xiu__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .page-tai-xiu a[class*="button"],
  .page-tai-xiu a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-tai-xiu__section {
    padding: 20px 0;
    margin-bottom: 10px;
  }
  .page-tai-xiu__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-tai-xiu__sub-title {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .page-tai-xiu__text-block,
  .page-tai-xiu__list-item,
  .page-tai-xiu__faq-answer {
    font-size: 1em;
  }
  .page-tai-xiu__list {
    margin-left: 10px;
  }
  .page-tai-xiu__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }
  .page-tai-xiu__button-container {
    margin-top: 20px;
    margin-bottom: 30px;
  }
  .page-tai-xiu__faq-question {
    font-size: 1.2em;
    padding-bottom: 8px;
  }
  .page-tai-xiu__cta-bottom {
    padding: 40px 0;
    margin-top: 20px;
  }
  .page-tai-xiu__cta-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-tai-xiu__cta-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-tai-xiu__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}