.page-tai-xiu { color: #333333; font-family: 'Be Vietnam', 'Segoe UI', system-ui, -apple-system, sans-serif; background-color: #FFFFFF; }

/* Hero Section - bố cục ảnh trên, chữ dưới, không đè chữ lên ảnh */
.page-tai-xiu__hero-section { display: flex; flex-direction: column; padding: 10px 16px 0; max-width: 1200px; margin: 0 auto; box-sizing: border-box; }
.page-tai-xiu__hero-image { width: 100%; max-width: 1200px; margin-bottom: 12px; }
.page-tai-xiu__hero-image img { display: block; width: 100%; aspect-ratio: 17 / 5; object-fit: cover; border-radius: 16px; }
.page-tai-xiu__hero-content { width: 100%; text-align: center; }
.page-tai-xiu__main-title { font-weight: 700; line-height: 1.3; letter-spacing: 1px; color: #0477DB; margin: 0 0 10px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.page-tai-xiu__hero-description { color: #333333; font-size: clamp(0.95rem, 1.2vw, 1.05rem); line-height: 1.7; max-width: 850px; margin: 0 auto 20px; }
.page-tai-xiu__hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; box-sizing: border-box; }
.page-tai-xiu__btn { display: inline-block; padding: 12px 30px; border-radius: 999px; text-decoration: none; font-weight: 700; border: 2px solid transparent; transition: all .3s; box-sizing: border-box; max-width: 100%; overflow: hidden; white-space: normal; word-wrap: break-word; text-align: center; font-size: 1rem; }
.page-tai-xiu__btn--primary { background-color: #26A9E0; border-color: #26A9E0; color: #FFFFFF; }
.page-tai-xiu__btn--primary:hover { background-color: #0477DB; border-color: #0477DB; color: #FFFFFF; }
.page-tai-xiu__btn--secondary { background-color: #FFFFFF; border-color: #EA7C07; color: #EA7C07; }
.page-tai-xiu__btn--secondary:hover { background-color: #EA7C07; color: #FFFFFF; }

/* Logo Grid - 6 items, lưới 4+2 */
.page-tai-xiu__partners-section { padding: 28px 16px; box-sizing: border-box; max-width: 1200px; margin: 0 auto; }
.page-tai-xiu__partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; justify-items: center; }
.page-tai-xiu__partner-item { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 280px; width: 100%; }
.page-tai-xiu__partner-item img { width: 100%; max-width: 280px; aspect-ratio: 2 / 1; object-fit: contain; transition: opacity .3s; }
.page-tai-xiu__partner-item img:hover { opacity: .9; }
.page-tai-xiu__partner-link { display: inline-block; padding: 8px 20px; background-color: #FFFFFF; color: #EA7C07; border: 2px solid #EA7C07; font-weight: 600; font-size: 0.9rem; text-decoration: none; border-radius: 999px; transition: .3s; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; text-align: center; }
.page-tai-xiu__partner-link:hover { background-color: #EA7C07; color: #FFFFFF; }
.page-tai-xiu__partner-item:nth-child(5) { grid-column: 2; }
.page-tai-xiu__partner-item:nth-child(6) { grid-column: 3; }

/* Guide Section */
.page-tai-xiu__guide-section { background-color: #F5F9FC; padding: 24px 16px; }
.page-tai-xiu__guide-inner { max-width: 1000px; margin: 0 auto; }
.page-tai-xiu__section-title { color: #0477DB; text-align: center; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.4; margin: 0 0 14px; }
.page-tai-xiu__section-lead { color: #444444; text-align: center; font-size: 1rem; line-height: 1.6; max-width: 800px; margin: 0 auto 24px; }
.page-tai-xiu__guide-figure { text-align: center; margin: 0 0 24px; width: 100%; box-sizing: border-box; }
.page-tai-xiu__guide-figure img { display: block; width: 100%; max-width: 800px; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; margin: 0 auto; }
.page-tai-xiu__guide-content { max-width: 800px; margin: 0 auto; }
.page-tai-xiu__guide-content h3 { color: #222222; font-size: 1.4rem; margin: 32px 0 12px; }
.page-tai-xiu__guide-content p { color: #333333; font-size: 1rem; line-height: 1.7; margin: 0 0 18px; }
.page-tai-xiu__guide-content ul { list-style: none; padding: 0; margin: 0 0 20px; }
.page-tai-xiu__guide-content li { padding: 8px 0 8px 28px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2326A9E0" stroke-width="3"><polyline points="20 6 9 17 4 12"/></svg>') left center no-repeat; color: #333333; line-height: 1.5; }
.page-tai-xiu__guide-content li strong { color: #222222; }
.page-tai-xiu__guide-cta { background: linear-gradient(135deg, #E3F4FC 0%, #FFFFFF 100%); border: 2px solid #26A9E0; border-radius: 24px; padding: 24px; margin: 24px auto; text-align: center; max-width: 700px; box-sizing: border-box; }
.page-tai-xiu__cta-title { font-size: 1.25rem; font-weight: 700; color: #0477DB; margin: 0 0 18px; }
.page-tai-xiu__guide-cta .page-tai-xiu__btn { background-color: #26A9E0; color: #FFFFFF; border: 2px solid transparent; }
.page-tai-xiu__guide-cta .page-tai-xiu__btn:hover { background-color: #0477DB; }

/* FAQ */
.page-tai-xiu__faq-item { background: #FFFFFF; border: 1px solid #C9E9F7; border-radius: 12px; margin: 10px 0 0; }
.page-tai-xiu__faq-question { cursor: pointer; padding: 16px 18px; font-weight: 600; color: #222222; display: flex; justify-content: space-between; align-items: center; list-style: none; gap: 12px; }
.page-tai-xiu__faq-question::-webkit-details-marker { display: none; }
.page-tai-xiu__faq-toggle { color: #EA7C07; font-size: 1.5rem; font-weight: bold; background: transparent; border: none; padding: 0; min-width: 20px; text-align: center; }
.page-tai-xiu__faq-answer { padding: 0 18px 16px; color: #333333; line-height: 1.7; border-top: 1px solid #E1F0F9; margin-top: 0; }

/* ===== Tablet (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .page-tai-xiu__partners-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .page-tai-xiu__partner-item:nth-child(5), .page-tai-xiu__partner-item:nth-child(6) { grid-column: auto; }
    .page-tai-xiu__hero-image img { aspect-ratio: 2 / 1; }
    .page-tai-xiu__btn { font-size: 0.95rem; }
}

/* ===== Mobile (max-width: 768px) ===== */
@media (max-width: 768px) {
    .page-tai-xiu__hero-section { padding: 8px 10px 0; }
    .page-tai-xiu__hero-image img { aspect-ratio: 4 / 3; border-radius: 12px; }
    .page-tai-xiu__hero-content { padding: 0 4px; }
    .page-tai-xiu__main-title { font-size: clamp(1.3rem, 5vw, 1.6rem); }
    .page-tai-xiu__hero-description { font-size: 0.9rem; }
    .page-tai-xiu__hero-actions { flex-direction: column; align-items: stretch; }
    .page-tai-xiu__btn { width: 100%; box-sizing: border-box; text-align: center; }
    .page-tai-xiu__partners-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .page-tai-xiu__partner-item { max-width: 160px; }
    .page-tai-xiu__partner-item img {  width: 100%; aspect-ratio: 2 / 1; }
    .page-tai-xiu__partner-link { width: 100%; padding: 8px 10px; font-size: 0.85rem; }
    .page-tai-xiu__section-title { font-size: 1.3rem; }
    .page-tai-xiu__section-lead { font-size: 0.9rem; }
    .page-tai-xiu__guide-figure { width: 100%; }
    .page-tai-xiu__guide-content h3 { font-size: 1.2rem; }
    .page-tai-xiu__guide-content li, .page-tai-xiu__guide-content p { font-size: 0.95rem; }
    .page-tai-xiu__guide-cta { padding: 20px; }
    .page-tai-xiu__cta-title { font-size: 1.1rem; }
    .page-tai-xiu__faq-question { font-size: 0.95rem; padding: 14px; }
    .page-tai-xiu__faq-answer { font-size: 0.9rem; }
    .page-tai-xiu__guide-section { padding: 20px 12px; }
    .page-tai-xiu__partners-section { padding: 24px 12px; }
    .page-tai-xiu img { max-width: 100% !important; height: auto !important; }
    .page-tai-xiu { overflow-x: hidden; }
}