/* Base styles for the Tài Xỉu page */
.page-tai-xiu {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default dark text for light body background */
    background-color: #FFFFFF;
}

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

.page-tai-xiu__hero-section {
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
    background-color: #f0f8ff; /* Light blue background */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.page-tai-xiu__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.page-tai-xiu__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-tai-xiu__hero-title {
    color: #26A9E0;
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.page-tai-xiu__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555555;
}

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

.page-tai-xiu__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 250px;
}

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

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

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

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

.page-tai-xiu__section {
    padding: 60px 0;
    border-bottom: 1px solid #eeeeee;
}

.page-tai-xiu__section:last-of-type {
    border-bottom: none;
}

.page-tai-xiu__dark-section {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-tai-xiu__dark-section .page-tai-xiu__heading,
.page-tai-xiu__dark-section .page-tai-xiu__sub-heading {
    color: #FFFFFF;
}

.page-tai-xiu__heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
}

.page-tai-xiu__sub-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-tai-xiu__dark-section .page-tai-xiu__sub-heading {
    color: #FFFFFF;
}

.page-tai-xiu__paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-tai-xiu__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.page-tai-xiu__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__dark-section .page-tai-xiu__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #FFFFFF;
}

.page-tai-xiu__dark-section .page-tai-xiu__list-item .page-tai-xiu__paragraph {
    color: #f0f0f0;
}

.page-tai-xiu__list-item .page-tai-xiu__sub-heading {
    margin-top: 0;
    color: #26A9E0;
}

.page-tai-xiu__dark-section .page-tai-xiu__list-item .page-tai-xiu__sub-heading {
    color: #FFFFFF;
}

.page-tai-xiu__cta-buttons--centered {
    margin-top: 40px;
}

.page-tai-xiu__faq-section {
    background-color: #f5f5f5;
}

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

.page-tai-xiu__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333333;
    position: relative;
}

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

.page-tai-xiu__faq-item summary::marker {
    display: none;
}

.page-tai-xiu__faq-toggle {
    font-size: 1.5rem;
    color: #26A9E0;
    margin-left: 15px;
    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;
    border-top: 1px solid #eeeeee;
    margin-top: 0;
    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
}

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

.page-tai-xiu__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-tai-xiu__heading {
        font-size: 2.2rem;
    }
    .page-tai-xiu__sub-heading {
        font-size: 1.6rem;
    }
    .page-tai-xiu__hero-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-tai-xiu__hero-description {
        font-size: 1rem;
    }
    .page-tai-xiu__cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .page-tai-xiu__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-tai-xiu__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        padding: 0 10px;
    }

    .page-tai-xiu__hero-description {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .page-tai-xiu__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box !important;
    }

    .page-tai-xiu__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

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

    .page-tai-xiu__heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

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

    .page-tai-xiu__paragraph {
        font-size: 1rem;
        line-height: 1.5;
    }

    .page-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-tai-xiu__content-image {
        margin: 20px auto;
    }

    .page-tai-xiu__list-item {
        padding: 15px;
        margin-bottom: 10px;
    }

    .page-tai-xiu__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-tai-xiu__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }

    /* Ensure content containers also adapt */
    .page-tai-xiu__introduction-section,
    .page-tai-xiu__strategy-section,
    .page-tai-xiu__bet-types-section,
    .page-tai-xiu__why-m88-section,
    .page-tai-xiu__registration-section,
    .page-tai-xiu__faq-section,
    .page-tai-xiu__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
}

/* Placeholder for required mobile media queries not explicitly needed for this page content, but must be present. */
/* This page does not use __home-content, __row-games, __slider-wrapper, __slider-track, __game-slide, __banners-top-wrapper, __banner-item, __blog-masonry, __blog-card-link, __btn-outline, __blog-slider-track, __blog-slide */
/* The general image and button rules cover the requirements. */