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

/* Hero Section */
.page-tai-xiu__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
    background-color: #F4F7FB;
}

.page-tai-xiu__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

.page-tai-xiu__main-title {
    font-size: 2.8em;
    font-weight: bold;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-tai-xiu__description {
    font-size: 1.15em;
    color: #1F2D3D;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tai-xiu__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Important for responsiveness */
    box-sizing: border-box; /* Important for responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-tai-xiu__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-tai-xiu__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

.page-tai-xiu__btn-secondary:hover {
    background: #e0eaff;
    color: #2F6BFF;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-tai-xiu__btn-link {
    background: none;
    color: #2F6BFF;
    border: 2px solid #D6E2FF;
    padding: 10px 20px;
    font-size: 1em;
}

.page-tai-xiu__btn-link:hover {
    background: #2F6BFF;
    color: #ffffff;
    border-color: #2F6BFF;
}

/* General Section Styles */
.page-tai-xiu__section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

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

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

.page-tai-xiu__paragraph {
    font-size: 1.05em;
    color: #1F2D3D;
    margin-bottom: 15px;
}

.page-tai-xiu__highlight {
    color: #2F6BFF;
    font-weight: bold;
}

/* Images and Figures */
.page-tai-xiu__figure {
    margin: 30px 0;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #ffffff;
    padding: 15px;
}

.page-tai-xiu__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    object-fit: cover;
}

.page-tai-xiu__figcaption {
    font-size: 0.95em;
    color: #555;
    margin-top: 10px;
    font-style: italic;
}

/* Step Cards for Guide Section */
.page-tai-xiu__step-card {
    background-color: #ffffff;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.page-tai-xiu__step-card:hover {
    transform: translateY(-5px);
}

.page-tai-xiu__step-title {
    font-size: 1.4em;
    color: #2F6BFF;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Promotion List */
.page-tai-xiu__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-tai-xiu__promo-item {
    background-color: #ffffff;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.page-tai-xiu__promo-title {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #2F6BFF;
    cursor: pointer;
    background-color: #eaf2ff;
    list-style: none; /* For details/summary */
    transition: background-color 0.3s ease;
}

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

.page-tai-xiu__faq-question:hover {
    background-color: #dbe8ff;
}

.page-tai-xiu__faq-qtext {
    flex-grow: 1;
}

.page-tai-xiu__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-tai-xiu__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #1F2D3D;
    border-top: 1px solid #f0f0f0;
}

.page-tai-xiu__faq-answer .page-tai-xiu__paragraph:last-child {
    margin-bottom: 0;
}

/* Conclusion Section */
.page-tai-xiu__conclusion-section {
    padding-bottom: 80px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tai-xiu__main-title {
        font-size: 2.5em;
    }
    .page-tai-xiu__section-title {
        font-size: 2em;
    }
    .page-tai-xiu__sub-title {
        font-size: 1.5em;
    }
    .page-tai-xiu__paragraph {
        font-size: 1em;
    }
    .page-tai-xiu__btn {
        padding: 12px 24px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    /* 1. Top section (title + CTA) */
    .page-tai-xiu__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
        padding-bottom: 30px;
    }
    .page-tai-xiu__main-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
        margin-bottom: 10px;
    }
    .page-tai-xiu__description {
        font-size: 0.95em;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    .page-tai-xiu__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-tai-xiu__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* 2. Single column long text containers */
    .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: 1.8em;
        margin-bottom: 30px;
    }
    .page-tai-xiu__sub-title {
        font-size: 1.3em;
    }
    .page-tai-xiu__paragraph {
        font-size: 0.95em;
    }
    .page-tai-xiu__step-card,
    .page-tai-xiu__promo-item {
        padding: 20px;
        margin-bottom: 15px;
    }
    .page-tai-xiu__step-title,
    .page-tai-xiu__promo-title {
        font-size: 1.2em;
    }

    /* 3. General images and figures */
    .page-tai-xiu__figure {
        margin: 20px 0;
        padding: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tai-xiu__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-tai-xiu__figcaption {
        font-size: 0.85em;
    }

    /* 4. Buttons and button containers */
    .page-tai-xiu__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 15px !important;
        font-size: 0.95em !important;
        box-sizing: border-box !important;
    }

    /* 5. FAQ Section */
    .page-tai-xiu__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-tai-xiu__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.9em;
    }
}