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

.page-tai-xiu__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-tai-xiu__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Example gradient for hero background */
    padding-bottom: 40px;
}

.page-tai-xiu__hero-image {
    width: 100%;
    max-width: 1600px; /* Max width for the image */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and content */
    border-radius: 8px;
}

.page-tai-xiu__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: #ffffff;
    z-index: 1;
}

.page-tai-xiu__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-tai-xiu__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-tai-xiu__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

.page-tai-xiu__btn--secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.page-tai-xiu__section {
    padding: 60px 0;
    background: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #2F6BFF;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-tai-xiu__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #6FA3FF;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-tai-xiu__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-tai-xiu p {
    margin-bottom: 1em;
    font-size: 1.05em;
    color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__wp-caption {
    margin: 30px auto;
    text-align: center;
    max-width: 680px;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__wp-caption img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.page-tai-xiu__wp-caption-text {
    font-size: 0.9em;
    color: #1F2D3D; /* Text Main */
    padding: 10px 15px;
    background-color: #ffffff; /* Card BG */
    border-top: 1px solid #D6E2FF; /* Border */
}

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

.page-tai-xiu__feature-item,
.page-tai-xiu__promo-item,
.page-tai-xiu__step-item {
    background: #ffffff; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tai-xiu__feature-item:hover,
.page-tai-xiu__promo-item:hover,
.page-tai-xiu__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-tai-xiu__faq-list {
    margin-top: 30px;
}

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

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    background-color: #f9f9f9;
    user-select: none;
    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-qtext {
    flex-grow: 1;
}

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

.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: 1em;
    color: #1F2D3D; /* Text Main */
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-tai-xiu__hero-section {
        padding-bottom: 30px;
    }

    .page-tai-xiu__main-title {
        font-size: clamp(1.8em, 4vw, 2.8em);
    }

    .page-tai-xiu__intro-text {
        font-size: 1em;
    }

    .page-tai-xiu__section {
        padding: 40px 0;
    }

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

    .page-tai-xiu__sub-title {
        font-size: 1.6em;
    }

    .page-tai-xiu__feature-list,
    .page-tai-xiu__promo-list,
    .page-tai-xiu__registration-steps {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* 1. 顶区标题 + 双 CTA */
    .page-tai-xiu__hero-section {
        padding-top: 10px !important;
        padding-bottom: 25px;
    }

    .page-tai-xiu__hero-content {
        padding: 0 15px;
    }

    .page-tai-xiu__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em) !important;
        margin-bottom: 10px;
    }

    .page-tai-xiu__intro-text {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-tai-xiu__cta-buttons {
        flex-direction: column; /* Buttons stack vertically */
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    /* 2. 单栏长文容器 */
    .page-tai-xiu__article-wrap {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tai-xiu__section {
        padding: 30px 0;
    }

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

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

    .page-tai-xiu p {
        font-size: 1em;
    }

    /* 3. 通通用图片与 figure */
    .page-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-tai-xiu__wp-caption {
        margin: 25px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border: none; /* Remove border for cleaner mobile look */
        box-shadow: none;
    }

    .page-tai-xiu__wp-caption-text {
        font-size: 0.85em;
        padding: 8px 10px;
        border-top: none;
    }

    /* 4. 按钮与按钮容器 (already covered in cta-buttons) */

    /* 5. 注册教程与 FAQ 区块 */
    .page-tai-xiu__feature-list,
    .page-tai-xiu__promo-list,
    .page-tai-xiu__registration-steps {
        grid-template-columns: 1fr; /* Single column */
        gap: 15px;
        margin: 20px 0;
    }

    .page-tai-xiu__feature-item,
    .page-tai-xiu__promo-item,
    .page-tai-xiu__step-item {
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .page-tai-xiu__feature-title,
    .page-tai-xiu__promo-title,
    .page-tai-xiu__step-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

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

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

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