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

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

/* Hero Section */
.page-tai-xiu__hero-section {
    position: relative;
    padding-top: 10px;
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

.page-tai-xiu__hero-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

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

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

.page-tai-xiu__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #FFB04D;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-tai-xiu__description {
    font-size: 1.2rem;
    color: #FFF3E6;
    margin-bottom: 30px;
}

/* Section Titles */
.page-tai-xiu__section-title {
    font-size: 2.5rem;
    color: #FF8C1A;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.3;
}

.page-tai-xiu__subsection-title {
    font-size: 1.8rem;
    color: #FFA53A;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Text Blocks */
.page-tai-xiu__text-block {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #FFF3E6;
}

/* Image Wrappers for content images */
.page-tai-xiu__image-wrapper {
    margin: 30px 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Lists */
.page-tai-xiu__ordered-list,
.page-tai-xiu__unordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-tai-xiu__list-item {
    margin-bottom: 10px;
    color: #FFF3E6;
}

.page-tai-xiu__list-item strong {
    color: #FFA53A;
}

/* CTA Buttons */
.page-tai-xiu__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-tai-xiu__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__btn-primary:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__btn-secondary {
    background: #17191F;
    color: #FF8C1A;
    border: 2px solid #A84F0C;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__btn-secondary:hover {
    background: #FF8C1A;
    color: #FFF3E6;
    border-color: #FF8C1A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Dark Background Sections (for final CTA) */
.page-tai-xiu__dark-bg {
    background-color: #17191F;
    padding: 50px 15px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-tai-xiu__text-block--light {
    color: #F0F0F0;
}

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

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

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFA53A;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-tai-xiu__faq-question:hover {
    background-color: rgba(255, 165, 58, 0.1);
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question {
    background-color: rgba(255, 165, 58, 0.15);
}

.page-tai-xiu__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF8C1A;
    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: #FFF3E6;
    line-height: 1.7;
}

/* Hide default details marker */
.page-tai-xiu__faq-item summary::-webkit-details-marker,
.page-tai-xiu__faq-item summary::marker {
    display: none;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .page-tai-xiu__container {
        padding: 15px 15px;
    }

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

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

    .page-tai-xiu__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Section Titles */
    .page-tai-xiu__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .page-tai-xiu__subsection-title {
        font-size: 1.4rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Text Blocks */
    .page-tai-xiu__text-block {
        font-size: 0.95rem;
    }

    /* Image Adaptation */
    .page-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-tai-xiu__section,
    .page-tai-xiu__container,
    .page-tai-xiu__image-wrapper,
    .page-tai-xiu__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-tai-xiu__hero-image {
        padding-left: 0;
        padding-right: 0;
    }

    /* CTA Buttons Mobile */
    .page-tai-xiu__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding: 0 15px;
    }

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

    /* FAQ Mobile */
    .page-tai-xiu__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-tai-xiu__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }
    .page-tai-xiu__dark-bg {
        padding: 30px 15px;
    }
}