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

.page-tai-xiu__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 60px;
    background-color: #FFFFFF;
    color: #333333;
}

.page-tai-xiu__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    gap: 30px;
}

.page-tai-xiu__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
}

.page-tai-xiu__main-title {
    font-size: 3.2em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #017439;
    max-width: 600px;
}

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

.page-tai-xiu__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

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

.page-tai-xiu__btn-primary {
    background-color: #C30808; /* Đăng Ký color */
    color: #FFFF00; /* Đăng Ký font color */
    border: 2px solid #C30808;
}

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

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

.page-tai-xiu__btn-secondary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-tai-xiu__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-tai-xiu__hero-side-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

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

.page-tai-xiu__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-tai-xiu__highlight {
    color: #017439;
    font-weight: 700;
}

.page-tai-xiu__intro-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

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

.page-tai-xiu__feature-item {
    text-align: center;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-tai-xiu__icon-box-media {
    width: 200px;
    height: 200px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #017439;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-tai-xiu__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.page-tai-xiu__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-tai-xiu__feature-description {
    font-size: 1em;
    color: #555555;
}

.page-tai-xiu__guide-section {
    background-color: #017439;
    color: #FFFFFF;
    padding: 60px 0;
}

.page-tai-xiu__guide-section .page-tai-xiu__section-title {
    color: #FFFFFF;
}

.page-tai-xiu__guide-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-tai-xiu__guide-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.page-tai-xiu__guide-steps {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-tai-xiu__guide-steps li {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #FFFFFF;
}

.page-tai-xiu__guide-steps li strong {
    color: #FFFF00;
    font-size: 1.2em;
}

.page-tai-xiu__guide-steps li a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-tai-xiu__guide-steps li a:hover {
    color: #f0f0f0;
}

.page-tai-xiu__guide-image {
    flex: 1 1 35%;
    min-width: 300px;
    text-align: center;
}

.page-tai-xiu__guide-visual {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__strategies-section {
    background-color: #FFFFFF;
    padding: 60px 0;
}

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

.page-tai-xiu__strategy-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

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

.page-tai-xiu__card-title {
    font-size: 1.6em;
    color: #017439;
    margin: 20px 15px 10px;
}

.page-tai-xiu__card-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px 20px;
}

.page-tai-xiu__faq-section {
    background-color: #017439;
    color: #FFFFFF;
    padding: 60px 0;
}

.page-tai-xiu__faq-section .page-tai-xiu__section-title {
    color: #FFFFFF;
}

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

.page-tai-xiu__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-tai-xiu__faq-item summary {
    list-style: none;
}

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

.page-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-tai-xiu__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFFF00;
}

.page-tai-xiu__faq-item[open] .page-tai-xiu__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-tai-xiu__faq-answer {
    padding: 20px;
    font-size: 1.1em;
    color: #f0f0f0;
}

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

.page-tai-xiu__faq-answer a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-tai-xiu__cta-bottom-section {
    background-color: #f8f8f8;
    padding: 60px 0;
    text-align: center;
}

.page-tai-xiu__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-tai-xiu__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* --- Responsive Styles --- */

/* Mobile/Tablet styles (max-width: 768px) */
@media (max-width: 768px) {
    .page-tai-xiu {
        font-size: 15px;
    }

    .page-tai-xiu__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-tai-xiu__hero-container {
        flex-direction: column;
        padding: 30px 15px;
        gap: 25px;
    }

    .page-tai-xiu__hero-content {
        order: 2;
        text-align: center;
        min-width: unset;
        width: 100%;
    }

    .page-tai-xiu__hero-image {
        order: 1;
        min-width: unset;
        width: 100%;
    }

    .page-tai-xiu__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .page-tai-xiu__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-tai-xiu__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

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

    .page-tai-xiu__hero-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-tai-xiu__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-tai-xiu__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tai-xiu__text-block {
        font-size: 1em;
    }

    .page-tai-xiu__intro-section,
    .page-tai-xiu__guide-section,
    .page-tai-xiu__strategies-section,
    .page-tai-xiu__faq-section,
    .page-tai-xiu__cta-bottom-section {
        padding: 40px 0;
    }

    .page-tai-xiu__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-tai-xiu__feature-item {
        padding: 25px;
    }

    .page-tai-xiu__icon-box-media {
        width: 150px;
        height: 150px;
        margin-bottom: 15px;
        border-width: 3px;
    }

    .page-tai-xiu__icon-box-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .page-tai-xiu__feature-title {
        font-size: 1.3em;
    }

    .page-tai-xiu__guide-content {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }

    .page-tai-xiu__guide-text {
        min-width: unset;
        width: 100%;
    }

    .page-tai-xiu__guide-image {
        min-width: unset;
        width: 100%;
    }

    .page-tai-xiu__guide-visual {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-tai-xiu__guide-steps li {
        padding: 12px 15px;
        font-size: 1em;
    }

    .page-tai-xiu__guide-steps li strong {
        font-size: 1.1em;
    }

    .page-tai-xiu__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-tai-xiu__card-image {
        height: 200px;
    }

    .page-tai-xiu__card-title {
        font-size: 1.4em;
        margin: 15px 10px 8px;
    }

    .page-tai-xiu__card-description {
        font-size: 0.95em;
        padding: 0 10px 15px;
    }

    .page-tai-xiu__faq-list {
        margin-top: 30px;
    }

    .page-tai-xiu__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }

    .page-tai-xiu__faq-answer {
        padding: 15px;
        font-size: 1em;
    }

    .page-tai-xiu__btn-large {
        padding: 15px 25px;
        font-size: 1.1em;
    }

    /* Ensure all content area images are responsive */
    .page-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !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;
    }
}