.page-tai-xiu {
    font-family: Arial, sans-serif;
    color: #FFF1E8; /* Main text color for dark body background */
    background-color: #140C0C; /* Body background color from shared */
    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; /* Small top padding, relying on body padding for header offset */
    background-color: #140C0C;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px;
}

.page-tai-xiu__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* Adjust as needed, but keep aspect ratio */
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
}

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

.page-tai-xiu__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    color: #FFF1E8;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-tai-xiu__hero-description {
    font-size: 1.15rem;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-tai-xiu__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Buttons */
.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary,
.page-tai-xiu__btn-outline {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-tai-xiu__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #FFF1E8;
    border: none;
}

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

.page-tai-xiu__btn-secondary {
    background: #2A1212; /* Card BG color */
    color: #FFF1E8;
    border: 2px solid #6A1E1E; /* Border color */
}

.page-tai-xiu__btn-secondary:hover {
    background: #6A1E1E;
    transform: translateY(-2px);
}

.page-tai-xiu__btn-outline {
    background: transparent;
    color: #F3C54D; /* Gold color */
    border: 1px solid #F3C54D;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-tai-xiu__btn-outline:hover {
    background: #F3C54D;
    color: #140C0C; /* Dark text on gold hover */
}

/* Section Styling */
.page-tai-xiu__section-title {
    font-size: 2.5rem;
    color: #F3C54D; /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-tai-xiu__sub-title {
    font-size: 1.8rem;
    color: #FFF1E8;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-tai-xiu__section-text {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-tai-xiu__dark-section {
    background-color: #2A1212; /* Card BG as dark section background */
    padding: 60px 0;
}

.page-tai-xiu__intro-section {
    padding: 60px 0;
}

/* Gameplay Section */
.page-tai-xiu__gameplay-section {
    padding: 60px 0;
    background-color: #140C0C;
}

.page-tai-xiu__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.page-tai-xiu__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-tai-xiu__list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-tai-xiu__list li::before {
    content: '•';
    color: #F3C54D;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-tai-xiu__sub-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}

.page-tai-xiu__sub-list li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.page-tai-xiu__sub-list li::before {
    content: '-';
    color: #E53030;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

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

.page-tai-xiu__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Strategies Section */
.page-tai-xiu__strategies-section {
    padding: 60px 0;
    background-color: #C61F1F; /* Main brand color for this section */
    color: #FFF1E8; /* Ensure light text on brand color background */
}

.page-tai-xiu__strategies-section .page-tai-xiu__section-title {
    color: #FFF1E8; /* White title on red background */
}

.page-tai-xiu__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tai-xiu__card {
    background-color: #2A1212; /* Card background color */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
}

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

.page-tai-xiu__card-title {
    font-size: 1.5rem;
    color: #F3C54D; /* Gold for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-tai-xiu__card-text {
    font-size: 1rem;
    color: #f0f0f0;
    flex-grow: 1; /* Allow text to take up available space */
}

.page-tai-xiu__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Benefits Section */
.page-tai-xiu__benefits-section {
    padding: 60px 0;
    background-color: #140C0C;
}

.page-tai-xiu__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tai-xiu__benefit-item {
    text-align: center;
    background-color: #2A1212;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-tai-xiu__benefit-item:hover {
    transform: translateY(-5px);
}

.page-tai-xiu__benefit-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: contain; /* Ensure image fits without cropping */
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-tai-xiu__benefit-title {
    font-size: 1.4rem;
    color: #F3C54D;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-tai-xiu__benefit-text {
    font-size: 1rem;
    color: #f0f0f0;
    flex-grow: 1;
}

/* FAQ Section */
.page-tai-xiu__faq-section {
    padding: 60px 0;
    background-color: #2A1212; /* Dark section background */
}

.page-tai-xiu__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-tai-xiu__faq-item {
    background-color: #140C0C;
    border: 1px solid #6A1E1E;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-tai-xiu__faq-item[open] {
    background-color: #1A0F0F; /* Slightly lighter when open */
    border-color: #F3C54D;
}

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFF1E8;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    position: relative;
}

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

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

.page-tai-xiu__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: #F3C54D;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

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

.page-tai-xiu__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.6;
}

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

/* Related Articles Section */
.page-tai-xiu__related-articles-section {
    padding: 60px 0;
    background-color: #140C0C;
}

.page-tai-xiu__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tai-xiu__blog-card {
    background-color: #2A1212;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.page-tai-xiu__blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-tai-xiu__blog-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-tai-xiu__blog-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-tai-xiu__blog-title a {
    color: #F3C54D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tai-xiu__blog-title a:hover {
    color: #FFB04A;
}

.page-tai-xiu__blog-excerpt {
    font-size: 0.95rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Final CTA Section */
.page-tai-xiu__final-cta-section {
    padding: 80px 0;
    background-color: #C61F1F; /* Main brand color */
    text-align: center;
}

.page-tai-xiu__cta-content {
    max-width: 900px;
}

.page-tai-xiu__final-cta-section .page-tai-xiu__section-title {
    color: #FFF1E8;
}

.page-tai-xiu__final-cta-section .page-tai-xiu__section-text {
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-tai-xiu__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General image rules */
.page-tai-xiu img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tai-xiu__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-tai-xiu__section-title {
        font-size: 2.2rem;
    }
    .page-tai-xiu__content-grid {
        grid-template-columns: 1fr;
    }
    .page-tai-xiu__image-block {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-tai-xiu__strategy-grid,
    .page-tai-xiu__benefits-grid,
    .page-tai-xiu__blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* General content area padding for mobile */
    .page-tai-xiu__container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}