/* style/tai-xiu.css */
.page-tai-xiu {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Default background, consistent with body */
}

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

.page-tai-xiu__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

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

.page-tai-xiu__main-title {
    color: #26A9E0; /* Brand color for main title */
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 15px;
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    text-align: center;
}

.page-tai-xiu__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-tai-xiu__btn-primary:hover {
    background-color: #1a88c7;
    border-color: #1a88c7;
}

.page-tai-xiu__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Brand color */
    border: 2px solid #26A9E0;
}

.page-tai-xiu__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a88c7;
    border-color: #1a88c7;
}

/* General Section Styles */
.page-tai-xiu__section {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #FFFFFF; /* Consistent light background */
}

.page-tai-xiu__section-title {
    color: #26A9E0; /* Brand color for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: bold;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}

.page-tai-xiu__content-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    color: #333333;
}

.page-tai-xiu__sub-title {
    color: #000000; /* Darker for sub-titles */
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu p {
    margin-bottom: 15px;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-tai-xiu__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu__list li {
    margin-bottom: 10px;
    color: #333333;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-tai-xiu__list-item {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-tai-xiu__list-title {
    color: #26A9E0;
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu__numbered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu__numbered-list li {
    margin-bottom: 10px;
    color: #333333;
    max-width: 100%;
    box-sizing: border-box;
}

/* Benefits Section */
.page-tai-xiu__list--benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding-left: 0;
    list-style: none;
    margin-top: 30px;
}

.page-tai-xiu__benefit-item {
    text-align: center;
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-tai-xiu__benefit-icon {
    width: 80px; /* Display size, image itself is larger */
    height: 80px; /* Display size */
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%; /* Make it circular */
    background-color: #e0f2f7; /* Light background for icon */
    padding: 10px;
}

.page-tai-xiu__benefit-title {
    color: #26A9E0;
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
    max-width: 100%;
    box-sizing: border-box;
}

/* FAQ Section */
.page-tai-xiu__faq {
    background-color: #f0f0f0; /* Light grey background for FAQ */
    padding: 40px 0;
}

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

.page-tai-xiu__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #fdfdfd;
    user-select: none;
    max-width: 100%;
    box-sizing: border-box;
}

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

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

/* No specific rotation for [open] as JS handles text change */

.page-tai-xiu__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.5;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-tai-xiu__conclusion .page-tai-xiu__content-block {
    max-width: 800px;
}

/* 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__list--grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-tai-xiu__list--benefits {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-tai-xiu__hero-section {
        padding-top: 10px; /* Consistent small padding */
    }
    .page-tai-xiu__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-tai-xiu__main-title {
        font-size: 1.8em;
        padding: 0 10px;
    }
    .page-tai-xiu__description {
        font-size: 1em;
        padding: 0 10px;
    }
    .page-tai-xiu__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }
    .page-tai-xiu__btn-primary,
    .page-tai-xiu__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* General Section Styles */
    .page-tai-xiu__section {
        padding: 30px 0;
    }
    .page-tai-xiu__section-title {
        font-size: 1.8em;
        padding: 0 15px;
    }
    .page-tai-xiu__content-block {
        padding: 0 15px;
    }
    .page-tai-xiu p,
    .page-tai-xiu li,
    .page-tai-xiu__sub-title,
    .page-tai-xiu__list-title {
        font-size: 0.95em;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tai-xiu__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-tai-xiu__list--grid,
    .page-tai-xiu__list--benefits {
        grid-template-columns: 1fr; /* Single column for mobile */
        padding: 0 15px;
    }
    .page-tai-xiu__list-item,
    .page-tai-xiu__benefit-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* FAQ Section */
    .page-tai-xiu__faq-list {
        padding: 0 15px;
    }
    .page-tai-xiu__faq-item,
    .page-tai-xiu__faq-question,
    .page-tai-xiu__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tai-xiu__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-tai-xiu__faq-answer {
        padding: 0 15px 15px 15px;
        font-size: 0.9em;
    }
}