/* ===== All styles scoped to .page-tai-xiu ===== */

.page-tai-xiu {
  background: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

/* ---------- HERO ---------- */
.page-tai-xiu__hero-section {
  padding-top: 0;
  margin-top: 0;
  background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%);
}
.page-tai-xiu__hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.page-tai-xiu__hero-image-block {
  width: 100%;
  text-align: center;
}
.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(255, 176, 77, 0.25);
}
.page-tai-xiu__hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.page-tai-xiu__main-title {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.3px;
  color: #FF8C1A;
  margin: 0 0 12px;
}
.page-tai-xiu__hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF3E6;
  margin: 0 0 20px;
}
.page-tai-xiu__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- BUTTONS ---------- */
.page-tai-xiu__btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}
.page-tai-xiu__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: 1px solid #A84F0C;
  box-shadow: 0 0 14px rgba(255, 176, 77, 0.35);
}
.page-tai-xiu__btn--secondary {
  background: #17191F;
  color: #FFA53A;
  border: 1px solid #A84F0C;
}
.page-tai-xiu__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 176, 77, 0.5);
}

/* ---------- BANNER THUMBS ---------- */
.page-tai-xiu__banner-section {
  max-width: 1200px;
  margin: 16px auto;
  padding: 0 16px;
}
.page-tai-xiu__banner-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.page-tai-xiu__banner-thumbs a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #A84F0C;
}
.page-tai-xiu__banner-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ---------- SECTION TITLES ---------- */
.page-tai-xiu__section-title {
  font-weight: 700;
  color: #FF8C1A;
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.3;
}

/* ---------- INTRO ---------- */
.page-tai-xiu__intro-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}
.page-tai-xiu__intro-section p {
  font-size: 15px;
  line-height: 1.7;
  color: #FFF3E6;
  margin: 0 0 12px;
}

/* ---------- POSTS ---------- */
.page-tai-xiu__posts-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}
.page-tai-xiu__posts-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.page-tai-xiu__post-card {
  flex: 0 0 calc(25% - 12px);
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 12px;
  box-sizing: border-box;
}
.page-tai-xiu__post-card a {
  text-decoration: none;
  display: block;
}
.page-tai-xiu__post-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}
.page-tai-xiu__post-card h3 {
  color: #FFA53A;
  font-size: 16px;
  margin: 0 0 8px;
  line-height: 1.35;
}
.page-tai-xiu__post-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #FFF3E6;
  margin: 0;
}

/* ---------- PROMO ---------- */
.page-tai-xiu__promo-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}
.page-tai-xiu__promo-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 16px;
}
.page-tai-xiu__promo-content img {
  flex: 1 1 300px;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 10px;
  display: block;
}
.page-tai-xiu__promo-text {
  flex: 1 1 300px;
}
.page-tai-xiu__promo-text h3 {
  color: #FFA53A;
  font-size: 18px;
  margin: 0 0 10px;
}
.page-tai-xiu__promo-text p {
  color: #FFF3E6;
  line-height: 1.6;
  margin: 0 0 14px;
}

/* ---------- LIST ---------- */
.page-tai-xiu__list-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}
.page-tai-xiu__list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.page-tai-xiu__list-item {
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 14px;
}
.page-tai-xiu__list-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 12px;
}
.page-tai-xiu__list-item h3 {
  color: #FFA53A;
  font-size: 17px;
  margin: 0 0 8px;
}
.page-tai-xiu__list-item p {
  color: #FFF3E6;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- FAQ ---------- */
.page-tai-xiu__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}
.page-tai-xiu__faq-list {
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  overflow: hidden;
}
.page-tai-xiu__faq-item {
  border-bottom: 1px solid #A84F0C;
}
.page-tai-xiu__faq-item:last-child {
  border-bottom: none;
}
.page-tai-xiu__faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #FFA53A;
  font-size: 16px;
  font-weight: 600;
  padding: 16px;
  cursor: pointer;
  box-sizing: border-box;
}
.page-tai-xiu__faq-answer {
  display: none;
  padding: 0 16px 16px;
  color: #FFF3E6;
  line-height: 1.6;
  font-size: 14px;
}
.page-tai-xiu__faq-answer.is-open {
  display: block;
}

/* ---------- OVERLAY ---------- */
.page-tai-xiu__overlay-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFF3E6;
  margin-top: 12px;
}
.page-tai-xiu__overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-tai-xiu__overlay-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.page-tai-xiu__overlay-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  max-width: 800px;
}
.page-tai-xiu__overlay-title {
  color: #FFA53A;
  font-size: 24px;
  margin: 0 0 12px;
}

/* ---------- CTA ---------- */
.page-tai-xiu__cta-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%);
  padding: 24px 0;
}
.page-tai-xiu__cta-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-tai-xiu__cta-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 0 24px rgba(255, 176, 77, 0.25);
}
.page-tai-xiu__cta-content {
  text-align: center;
}
.page-tai-xiu__cta-title {
  color: #FF8C1A;
  font-size: 24px;
  margin: 0 0 12px;
}
.page-tai-xiu__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .page-tai-xiu__main-title {
    line-height: 1.3;
  }
  .page-tai-xiu__section-title {
    font-size: 20px;
  }
  .page-tai-xiu__banner-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-tai-xiu__post-card {
    flex-basis: 100%;
  }
  .page-tai-xiu__list-grid {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tai-xiu__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-tai-xiu img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-tai-xiu__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .page-tai-xiu__hero-wrap {
    padding: 8px 12px 16px;
  }
  .page-tai-xiu__banner-thumbs {
    grid-template-columns: 1fr;
  }
  .page-tai-xiu__overlay-title {
    font-size: 20px;
  }
}