.page-tai-xiu {
    background-color: #0A0A0A; /* From custom colors */
    color: #FFF6D6; /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-tai-xiu__hero-section {
    padding-top: 10px; /* Small top padding to avoid double margin with body */
    padding-bottom: 60px;
    background-color: #0A0A0A;
    text-align: center;
}

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

.page-tai-xiu__hero-title {
    font-size: 3.2em;
    font-weight: 700;
    color: #F2C14E; /* Brand color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.page-tai-xiu__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-tai-xiu__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tai-xiu__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
    color: #3A2A12; /* Dark text for light gradient */
    border: 2px solid transparent;
}

.page-tai-xiu__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-tai-xiu__btn-secondary {
    background: #111111; /* Card BG color */
    color: #F2C14E; /* Main brand color */
    border: 2px solid #F2C14E; /* Main brand color for border */
}

.page-tai-xiu__btn-secondary:hover {
    background: #F2C14E;
    color: #111111;
    transform: translateY(-2px);
}

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

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

.page-tai-xiu__section-description {
    font-size: 1.1em;
    color: #FFF6D6;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tai-xiu__subsection-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #FFD36B; /* Accent color for sub-titles */
    margin-top: 30px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.page-tai-xiu__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.page-tai-xiu__content-grid.reverse {
    flex-direction: row-reverse;
}

.page-tai-xiu__text-block {
    flex: 1;
    font-size: 1.05em;
    color: #FFF6D6;
}

.page-tai-xiu__text-block p {
    margin-bottom: 15px;
}

.page-tai-xiu__text-block strong {
    color: #FFD36B;
}

.page-tai-xiu__image-block {
    flex: 1;
    text-align: center;
}

.page-tai-xiu__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

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

.page-tai-xiu__unordered-list li,
.page-tai-xiu__ordered-list li {
    margin-bottom: 10px;
    color: #FFF6D6;
}

.page-tai-xiu__text-link {
    color: #F2C14E;
    text-decoration: underline;
}

.page-tai-xiu__text-link:hover {
    color: #FFD36B;
}

/* Promotions Section */
.page-tai-xiu__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-tai-xiu__promo-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-tai-xiu__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card image appearance */
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
}

.page-tai-xiu__card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #F2C14E;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-tai-xiu__card-text {
    font-size: 0.95em;
    color: #FFF6D6;
    margin-bottom: 25px;
    padding: 0 15px;
    flex-grow: 1;
}

.page-tai-xiu__card-button {
    margin: 0 15px;
    align-self: center;
}

.page-tai-xiu__view-all-promos {
    text-align: center;
    margin-top: 30px;
}

/* FAQ Section */
.page-tai-xiu__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.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;
    font-size: 1.15em;
    font-weight: 600;
    color: #FFF6D6;
    cursor: pointer;
    background-color: #1a1a1a; /* Slightly lighter than card BG for contrast */
    list-style: none; /* Hide default marker */
}

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

.page-tai-xiu__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #F2C14E;
    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: 15px 25px 20px;
    font-size: 1em;
    color: #FFF6D6;
    line-height: 1.7;
    background-color: #111111;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tai-xiu__hero-title {
        font-size: 2.8em;
    }
    .page-tai-xiu__section-title {
        font-size: 2.4em;
    }
    .page-tai-xiu__subsection-title {
        font-size: 1.6em;
    }
    .page-tai-xiu__content-grid {
        flex-direction: column;
        text-align: center;
    }
    .page-tai-xiu__content-grid.reverse {
        flex-direction: column;
    }
    .page-tai-xiu__image-block {
        order: -1; /* Image always on top in stacked layout */
        margin-bottom: 30px;
    }
    .page-tai-xiu__promo-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-tai-xiu__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
    }
    .page-tai-xiu__hero-title {
        font-size: 2.2em !important;
        margin-bottom: 15px;
    }
    .page-tai-xiu__hero-description {
        font-size: 1em !important;
        margin-bottom: 20px;
    }
    .page-tai-xiu__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-tai-xiu__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-tai-xiu__container {
        padding: 30px 15px !important;
    }
    .page-tai-xiu__section-title {
        font-size: 2em !important;
        margin-bottom: 30px;
    }
    .page-tai-xiu__subsection-title {
        font-size: 1.4em !important;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .page-tai-xiu__content-grid {
        gap: 30px;
        margin-bottom: 40px;
    }
    .page-tai-xiu__text-block {
        font-size: 0.95em;
    }
    .page-tai-xiu__image-block {
        margin-bottom: 25px;
    }
    .page-tai-xiu__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Promo cards specific mobile rules */
    .page-tai-xiu__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    .page-tai-xiu__promo-card {
        padding-bottom: 20px;
    }
    .page-tai-xiu__promo-image {
        height: 180px; /* Adjust height for smaller screens */
        margin-bottom: 15px;
    }
    .page-tai-xiu__card-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    .page-tai-xiu__card-text {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .page-tai-xiu__card-button {
        max-width: calc(100% - 30px) !important; /* Ensure button fits card width */
        width: calc(100% - 30px) !important;
        margin: 0 15px;
    }

    /* FAQ specific mobile rules */
    .page-tai-xiu__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-tai-xiu__faq-answer {
        padding: 12px 20px 15px;
        font-size: 0.95em;
    }
    .page-tai-xiu__faq-toggle {
        font-size: 1.3em;
    }

    /* Generic image and container rules for mobile */
    .page-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-tai-xiu__section,
    .page-tai-xiu__card,
    .page-tai-xiu__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}