/* Layout chính cho trang Tài Xỉu 77kinh88 */
.page-tai-xiu { color: #333333; background: #F5F7FA; width: 100%; overflow-x: hidden; }
.page-tai-xiu h1, .page-tai-xiu h2, .page-tai-xiu h3 { color: #E53935; }
.page-tai-xiu__hero-section { width: 100%; position: relative; overflow: hidden; padding-top: 10px; margin-top: 0; background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); }
.page-tai-xiu__hero-image { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.page-tai-xiu__hero-image img { width: 100%; height: auto; display: block; border-radius: 12px; }
.page-tai-xiu__hero-content { max-width: 1200px; margin: 0 auto; padding: 20px 16px 32px; text-align: center; color: #FFFFFF; }
.page-tai-xiu__hero-title { font-weight: 800; line-height: 1.25; letter-spacing: 0.3px; color: #FFFFFF; margin: 0 0 12px; }
.page-tai-xiu__hero-desc { color: #FFF5F4; font-size: 1rem; line-height: 1.6; max-width: 900px; margin: 0 auto 20px; }
.page-tai-xiu__hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.page-tai-xiu__btn { display: inline-block; padding: 12px 26px; border-radius: 8px; font-weight: 700; text-decoration: none; text-align: center; transition: transform 0.15s ease, opacity 0.15s ease; box-sizing: border-box; }
.page-tai-xiu__btn--primary { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #FFFFFF; border: 1px solid #FFFFFF; }
.page-tai-xiu__btn--primary:hover { transform: translateY(-1px); opacity: 0.95; }
.page-tai-xiu__btn--ghost { background: #FFFFFF; color: #E53935; border: 1px solid #E53935; }
.page-tai-xiu__btn--ghost:hover { background: #FFF0EF; }
.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 img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 10px; border: 1px solid #E0E0E0; background: #FFFFFF; }
.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; }
.page-tai-xiu__section-title { font-weight: 800; margin: 0 0 18px; line-height: 1.3; }
.page-tai-xiu__intro-section p { line-height: 1.75; margin-bottom: 14px; color: #333333; }
.page-tai-xiu__intro-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.page-tai-xiu__intro-list li { background: #FFFFFF; border: 1px solid #E0E0E0; border-left: 4px solid #E53935; border-radius: 8px; padding: 14px 16px; line-height: 1.6; color: #333333; }
.page-tai-xiu__posts-track { display: flex; gap: 16px; overflow: hidden; flex-wrap: nowrap; }
.page-tai-xiu__post-card { flex: 0 0 calc(25% - 12px); background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 12px; overflow: hidden; padding-bottom: 16px; display: flex; flex-direction: column; }
.page-tai-xiu__post-card img { width: 100%; height: auto; aspect-ratio: 2/1; object-fit: cover; display: block; }
.page-tai-xiu__post-title { font-size: 1.02rem; margin: 14px 16px 8px; line-height: 1.4; }
.page-tai-xiu__post-title a { color: #E53935; text-decoration: none; }
.page-tai-xiu__post-title a:hover { text-decoration: underline; }
.page-tai-xiu__post-card p { margin: 0 16px; color: #333333; font-size: 0.94rem; line-height: 1.6; }
.page-tai-xiu__promo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 16px; overflow: hidden; }
.page-tai-xiu__promo-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-tai-xiu__promo-content { padding: 24px 24px 24px 0; }
.page-tai-xiu__promo-title { font-weight: 800; margin: 0 0 12px; line-height: 1.3; }
.page-tai-xiu__promo-content p { line-height: 1.7; color: #333333; margin-bottom: 16px; }
.page-tai-xiu__promo-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-tai-xiu__list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.page-tai-xiu__list-item { background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 12px; overflow: hidden; padding-bottom: 16px; }
.page-tai-xiu__list-item img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; display: block; }
.page-tai-xiu__list-item h3 { margin: 14px 16px 8px; font-size: 1.05rem; }
.page-tai-xiu__list-item p { margin: 0 16px; color: #333333; line-height: 1.65; font-size: 0.94rem; }
.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; margin: 16px 0; }
.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: 32px 16px; max-width: 900px; }
.page-tai-xiu__overlay-title { color: #FFFFFF; font-weight: 800; margin: 0 0 12px; line-height: 1.3; }
.page-tai-xiu__overlay-content p { color: #F5F7FA; line-height: 1.7; margin: 0; }
.page-tai-xiu__faq-list { display: grid; gap: 12px; }
.page-tai-xiu__faq-item { background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 10px; padding: 16px 18px; }
.page-tai-xiu__faq-question { font-size: 1.02rem; margin: 0 0 8px; line-height: 1.4; }
.page-tai-xiu__faq-answer { margin: 0; color: #333333; line-height: 1.7; }
.page-tai-xiu__faq-answer a { color: #E53935; text-decoration: underline; }
.page-tai-xiu__cta-section { width: 100%; padding: 16px 0 32px; background: #F5F7FA; }
.page-tai-xiu__cta-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 16px; overflow: hidden; }
.page-tai-xiu__cta-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-tai-xiu__cta-content { padding: 24px 24px 24px 0; }
.page-tai-xiu__cta-title { font-weight: 800; margin: 0 0 12px; line-height: 1.3; }
.page-tai-xiu__cta-content p { line-height: 1.7; color: #333333; margin-bottom: 16px; }
.page-tai-xiu__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .page-tai-xiu { overflow-x: hidden; }
  .page-tai-xiu img { max-width: 100% !important; height: auto !important; }
  .page-tai-xiu__hero-section { padding-top: 10px; }
  .page-tai-xiu__hero-content { padding: 16px 12px 24px; }
  .page-tai-xiu__hero-desc { font-size: 0.95rem; }
  .page-tai-xiu__hero-actions { flex-direction: column; align-items: stretch; }
  .page-tai-xiu__btn { width: 100%; max-width: 100%; white-space: normal; word-wrap: break-word; display: block; }
  .page-tai-xiu__banner-thumbs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .page-tai-xiu__intro-list { grid-template-columns: 1fr; }
  .page-tai-xiu__posts-track { flex-wrap: wrap; overflow: visible; }
  .page-tai-xiu__post-card { flex: 0 0 100%; }
  .page-tai-xiu__promo-inner { grid-template-columns: 1fr; }
  .page-tai-xiu__promo-content { padding: 16px; }
  .page-tai-xiu__promo-actions { flex-direction: column; }
  .page-tai-xiu__list-grid { grid-template-columns: 1fr; }
  .page-tai-xiu__cta-inner { grid-template-columns: 1fr; }
  .page-tai-xiu__cta-content { padding: 16px; }
  .page-tai-xiu__cta-actions { flex-direction: column; }
  .page-tai-xiu__overlay-content { padding: 24px 12px; }
}