/* page-tai-xiu.css - Tài Xỉu AO789 */
.page-tai-xiu {
  color: #333333;
  background-color: #F5F7FA;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.page-tai-xiu__hero-section {
  width: 100%;
  padding-top: 0;
  margin-top: 0;
  padding-bottom: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
}

.page-tai-xiu__hero-image-block {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-tai-xiu__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.15);
}

.page-tai-xiu__hero-content {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 16px;
  text-align: center;
  box-sizing: border-box;
}

.page-tai-xiu__hero-title {
  color: #E53935;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  max-width: 900px;
  margin: 0 auto 12px;
}

.page-tai-xiu__hero-desc {
  color: #333333;
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 20px;
}

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

.page-tai-xiu__cta-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-tai-xiu__cta-btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  border: none;
}

.page-tai-xiu__cta-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.35);
}

.page-tai-xiu__cta-btn--secondary {
  background: #FFFFFF;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-tai-xiu__cta-btn--secondary:hover {
  background: #E53935;
  color: #FFFFFF;
}

.page-tai-xiu__cta-btn--light {
  background: #FFFFFF;
  color: #E53935;
  border: 2px solid #FFFFFF;
}

.page-tai-xiu__cta-btn--light:hover {
  background: #FF5A4F;
  color: #FFFFFF;
  border-color: #FF5A4F;
}

.page-tai-xiu__banner-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
}

.page-tai-xiu__banner-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.page-tai-xiu__banner-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
}

.page-tai-xiu__intro-section,
.page-tai-xiu__posts-section,
.page-tai-xiu__promo-section,
.page-tai-xiu__list-section,
.page-tai-xiu__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  box-sizing: border-box;
}

.page-tai-xiu__section-title {
  color: #E53935;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #E53935;
  display: inline-block;
}

.page-tai-xiu__intro-section p {
  color: #333333;
  font-size: 1rem;
  margin: 0 0 14px;
  text-align: justify;
}

.page-tai-xiu__posts-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.page-tai-xiu__post-card {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  padding: 16px;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.page-tai-xiu__post-card:hover {
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.15);
}

.page-tai-xiu__post-link {
  text-decoration: none;
  display: block;
}

.page-tai-xiu__post-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 12px;
}

.page-tai-xiu__post-title {
  color: #E53935;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.4;
}

.page-tai-xiu__post-card p {
  color: #333333;
  font-size: 0.95rem;
  margin: 0;
}

.page-tai-xiu__promo-content {
  display: flex;
  gap: 24px;
  align-items: center;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E0E0E0;
  padding: 20px;
  box-sizing: border-box;
}

.page-tai-xiu__promo-image {
  width: 45%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-tai-xiu__promo-text {
  flex: 1;
}

.page-tai-xiu__promo-text p {
  color: #333333;
  margin: 0 0 12px;
}

.page-tai-xiu__list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.page-tai-xiu__list-item {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  padding: 16px;
  box-sizing: border-box;
}

.page-tai-xiu__list-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin-bottom: 12px;
}

.page-tai-xiu__list-item h3 {
  color: #E53935;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.page-tai-xiu__list-item p {
  color: #333333;
  font-size: 0.95rem;
  margin: 0;
}

.page-tai-xiu__overlay-section {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 32px 0;
}

.page-tai-xiu__overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}

.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: 32px 16px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-tai-xiu__overlay-title {
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-tai-xiu__overlay-desc {
  color: #F5F7FA;
  font-size: 1rem;
  margin: 0 0 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.page-tai-xiu__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-tai-xiu__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.page-tai-xiu__faq-question {
  color: #E53935;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.page-tai-xiu__faq-answer {
  color: #333333;
  font-size: 0.95rem;
  margin: 0;
}

.page-tai-xiu__cta-section {
  background: linear-gradient(135deg, #E53935 0%, #FF5A4F 100%);
  padding: 48px 16px;
  box-sizing: border-box;
}

.page-tai-xiu__cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-tai-xiu__cta-title {
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.page-tai-xiu__cta-desc {
  color: #FFFFFF;
  font-size: 1rem;
  margin: 0 0 24px;
}

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

.page-tai-xiu__cta-support {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin: 0;
}

.page-tai-xiu__inline-link {
  color: #E53935;
  text-decoration: underline;
  font-weight: 600;
}

.page-tai-xiu__inline-link:hover {
  color: #FF5A4F;
}

.page-tai-xiu__cta-section .page-tai-xiu__inline-link {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-tai-xiu__cta-section .page-tai-xiu__inline-link:hover {
  color: #FFE0DE;
}

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

@media (max-width: 768px) {
  .page-tai-xiu__hero-image-block {
    padding: 0 12px;
  }

  .page-tai-xiu__hero-content {
    padding: 0 12px;
    margin-top: 12px;
  }

  .page-tai-xiu__hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .page-tai-xiu__cta-btn {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

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

  .page-tai-xiu__intro-section,
  .page-tai-xiu__posts-section,
  .page-tai-xiu__promo-section,
  .page-tai-xiu__list-section,
  .page-tai-xiu__faq-section {
    padding: 24px 12px;
  }

  .page-tai-xiu__section-title {
    font-size: 1.25rem;
  }

  .page-tai-xiu__posts-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-tai-xiu__promo-content {
    flex-direction: column;
    padding: 16px;
  }

  .page-tai-xiu__promo-image {
    width: 100%;
  }

  .page-tai-xiu__list-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-tai-xiu__overlay-section {
    min-height: 240px;
    margin: 24px 0;
  }

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

  .page-tai-xiu__cta-section {
    padding: 36px 12px;
  }

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

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

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

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