.page-tai-xiu {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-tai-xiu__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per instruction */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #111111; /* Card BG as a subtle background for hero section */
}

.page-tai-xiu__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Example max width for hero image container */
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

.page-tai-xiu__hero-content {
    max-width: 900px;
    padding: 0 20px 40px;
}

.page-tai-xiu__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 */
    color: #FFD36B; /* Glow color for main title */
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-tai-xiu__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #FFF6D6;
    margin-bottom: 30px;
}

.page-tai-xiu__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Limit button group width */
    margin-left: auto;
    margin-right: auto;
}

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

.page-tai-xiu__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-tai-xiu__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
    opacity: 0.9;
}

.page-tai-xiu__btn-secondary {
    background: #111111; /* Card BG */
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #3A2A12; /* Border color */
}

.page-tai-xiu__btn-secondary:hover {
    transform: translateY(-2px);
    background: #1A1A1A;
    border-color: #FFD36B;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.2);
}

.page-tai-xiu__btn-inline {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-tai-xiu__section {
    padding: 60px 0;
    background-color: #0A0A0A;
}

.page-tai-xiu__section:nth-of-type(even) {
    background-color: #111111; /* Card BG for alternating sections */
}

.page-tai-xiu__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-tai-xiu__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-tai-xiu__sub-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: #FFD36B; /* Glow color */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-tai-xiu p {
    margin-bottom: 15px;
    color: #FFF6D6; /* Text Main color */
}

.page-tai-xiu ul,
.page-tai-xiu ol {
    margin-bottom: 15px;
    padding-left: 25px;
    color: #FFF6D6;
}

.page-tai-xiu li {
    margin-bottom: 10px;
    color: #FFF6D6;
}

.page-tai-xiu__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size requirement */
    min-height: 200px;
}

/* FAQ Section */
.page-tai-xiu__faq-list {
    margin-top: 40px;
}

.page-tai-xiu__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #FFD36B; /* Glow color */
    position: relative;
    list-style: none; /* For details/summary */
}

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

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question {
    background-color: #1A1A1A;
}

.page-tai-xiu__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
    transform: rotate(45deg);
}

.page-tai-xiu__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #FFF6D6; /* Text Main color */
}

.page-tai-xiu__faq-answer p {
    margin-bottom: 10px;
}

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

/* Final CTA */
.page-tai-xiu__final-cta {
    background-color: #F2C14E; /* Main color for a strong contrast section */
    color: #111111; /* Dark text for bright background */
    padding: 80px 0;
}

.page-tai-xiu__final-cta .page-tai-xiu__section-title {
    color: #111111;
    text-shadow: none;
}

.page-tai-xiu__final-cta .page-tai-xiu__sub-title {
    color: #333333;
}

.page-tai-xiu__final-cta .page-tai-xiu__btn-primary {
    background: #111111;
    color: #FFD36B;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__final-cta .page-tai-xiu__btn-primary:hover {
    background: #000000;
    color: #FFD36B;
}

.page-tai-xiu__final-cta .page-tai-xiu__btn-secondary {
    background: transparent;
    border-color: #111111;
    color: #111111;
}

.page-tai-xiu__final-cta .page-tai-xiu__btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
    border-color: #000000;
}

.page-tai-xiu__text-center {
    text-align: center;
}

/* --- Responsive styles for mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-tai-xiu {
        font-size: 16px;
        line-height: 1.65;
    }

    /* HERO Section */
    .page-tai-xiu__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        padding-bottom: 30px;
    }
    .page-tai-xiu__hero-image-wrapper {
        margin-bottom: 15px;
    }
    .page-tai-xiu__hero-content {
        padding: 0 15px 20px;
    }
    .page-tai-xiu__main-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    .page-tai-xiu__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-tai-xiu__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tai-xiu__btn-primary,
    .page-tai-xiu__btn-secondary,
    .page-tai-xiu__btn-inline {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Section & Container */
    .page-tai-xiu__section {
        padding: 40px 0;
    }
    .page-tai-xiu__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tai-xiu__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .page-tai-xiu__sub-title {
        font-size: 1.2rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Long Text Area (General paragraphs, lists) */
    .page-tai-xiu p,
    .page-tai-xiu li {
        font-size: 0.95rem;
    }
    .page-tai-xiu ul,
    .page-tai-xiu ol {
        padding-left: 20px;
    }

    /* Universal Image & Container rules for mobile */
    .page-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important; /* Ensure images respect padding */
    }
    .page-tai-xiu__image-content {
        margin: 20px auto !important;
        min-width: unset !important; /* Reset min-width for mobile */
        min-height: unset !important; /* Reset min-height for mobile */
    }

    /* FAQ Section */
    .page-tai-xiu__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-tai-xiu__faq-answer {
        padding: 0 20px 15px;
    }
    .page-tai-xiu__faq-answer .page-tai-xiu__btn-inline {
        width: auto !important; /* Inline buttons can be smaller if needed */
        max-width: unset !important;
        padding: 8px 15px !important;
        font-size: 0.85rem !important;
    }

    /* Final CTA */
    .page-tai-xiu__final-cta {
        padding: 50px 0;
    }
}