.page-tai-xiu {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Text Main */
    background-color: #F5F7FA; /* Background */
}

/* --- Hero Section --- */
.page-tai-xiu__hero-section {
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 60px;
    background-color: #F5F7FA; /* Match body background */
}

.page-tai-xiu__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 15px;
}

.page-tai-xiu__hero-content {
    flex: 1;
    min-width: 300px;
}

.page-tai-xiu__hero-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    color: #E53935; /* Primary color for H1 */
    margin-bottom: 20px;
}

.page-tai-xiu__hero-description {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 30px;
}

.page-tai-xiu__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

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

.page-tai-xiu__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-tai-xiu__btn-secondary {
    background-color: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

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

.page-tai-xiu__hero-image {
    flex: 1;
    min-width: 400px;
    text-align: center;
}

.page-tai-xiu__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- General Content Sections --- */
.page-tai-xiu__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
}

.page-tai-xiu__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #E53935;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-tai-xiu__section-title--light {
    color: #ffffff;
}

.page-tai-xiu__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #E53935;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-tai-xiu__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.page-tai-xiu__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-tai-xiu__text-block {
    flex: 1;
    min-width: 300px;
}

.page-tai-xiu__image-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-tai-xiu__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu p {
    margin-bottom: 15px;
    color: #333333;
}

.page-tai-xiu ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333;
}

.page-tai-xiu li {
    margin-bottom: 8px;
    color: #333333;
}

.page-tai-xiu strong {
    color: #E53935;
}

.page-tai-xiu .keyword {
    color: #E53935;
    font-weight: bold;
}

/* --- Why Choose Section (Dark Background) --- */
.page-tai-xiu__dark-section {
    background-color: #E53935; /* Primary color as background */
    color: #ffffff;
    padding: 60px 0;
}

.page-tai-xiu__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-tai-xiu__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__feature-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-tai-xiu__feature-item p {
    color: #f0f0f0;
}

/* --- Tips Section --- */
.page-tai-xiu__tips-section {
    padding: 60px 0;
    background-color: #F5F7FA;
}

.page-tai-xiu__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-tai-xiu__tip-card {
    background-color: #ffffff; /* Card BG */
    padding: 30px;
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-tai-xiu__tip-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #E53935;
    margin-bottom: 15px;
}

.page-tai-xiu__tip-card p {
    color: #333333;
}

/* --- FAQ Section --- */
.page-tai-xiu__faq-section {
    padding: 60px 0;
    background-color: #F5F7FA;
}

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

.page-tai-xiu__faq-item {
    background-color: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #fcfcfc;
    border-bottom: 1px solid #E0E0E0;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question {
    border-bottom: none;
    background-color: #f5f5f5;
}

.page-tai-xiu__faq-question::-webkit-details-marker {
    display: none;
}

.page-tai-xiu__faq-question::marker {
    display: none;
}

.page-tai-xiu__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    color: #E53935;
    margin-left: 15px;
}

.page-tai-xiu__faq-answer {
    padding: 0 25px 20px;
    color: #333333;
    font-size: 1em;
    line-height: 1.6;
}

.page-tai-xiu__faq-answer p {
    margin-top: 15px;
}

/* --- Final CTA Section (Dark Background) --- */
.page-tai-xiu__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

.page-tai-xiu__cta-final-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-tai-xiu__cta-final-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

/* --- Mobile Responsiveness (@media (max-width: 768px)) --- */
@media (max-width: 768px) {
    .page-tai-xiu {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO Section */
    .page-tai-xiu__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

    .page-tai-xiu__hero-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 15px;
    }

    .page-tai-xiu__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-tai-xiu__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-tai-xiu__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px;
    }

    .page-tai-xiu__btn-primary,
    .page-tai-xiu__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-tai-xiu__hero-image {
        min-width: unset;
        width: 100%;
    }

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

    /* General Content Sections */
    .page-tai-xiu__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tai-xiu__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-tai-xiu__sub-title {
        font-size: 1.4em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-tai-xiu__content-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-tai-xiu__content-grid--reverse {
        flex-direction: column;
    }

    .page-tai-xiu__text-block,
    .page-tai-xiu__image-block {
        min-width: unset;
        width: 100%;
    }

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

    /* Why Choose Section (Dark Background) */
    .page-tai-xiu__dark-section {
        padding: 40px 0;
    }

    .page-tai-xiu__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tai-xiu__feature-item {
        padding: 25px;
    }

    /* Tips Section */
    .page-tai-xiu__tips-section {
        padding: 40px 0;
    }

    .page-tai-xiu__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tai-xiu__tip-card {
        padding: 25px;
    }

    /* FAQ Section */
    .page-tai-xiu__faq-section {
        padding: 40px 0;
    }

    .page-tai-xiu__faq-list {
        padding: 0 15px;
    }

    .page-tai-xiu__faq-question {
        padding: 18px 20px;
        font-size: 1.1em;
    }

    .page-tai-xiu__faq-answer {
        padding: 0 20px 18px;
        font-size: 0.95em;
    }

    /* Final CTA Section */
    .page-tai-xiu__cta-final-section {
        padding: 60px 0;
    }

    .page-tai-xiu__cta-final-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Universal image and container rules for mobile */
    .page-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-tai-xiu__section,
    .page-tai-xiu__card,
    .page-tai-xiu__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Module 1 three-column positive circle image - placeholder as per requirement */
    .page-tai-xiu__icon-box-media {
        width: 150px;
        height: 150px;
        margin: 0 auto 10px;
        border-radius: 50%;
        overflow: hidden;
    }
    .page-tai-xiu__icon-box-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        display: block !important;
    }
}