/* style/tai-xiu.css */
.page-tai-xiu {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background-color: #FFFFFF;
}

.page-tai-xiu__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
}

.page-tai-xiu__hero-image {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-tai-xiu__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-tai-xiu__main-title {
    font-size: clamp(2.5em, 4vw, 3.5em);
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.page-tai-xiu__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-tai-xiu__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

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

.page-tai-xiu__btn-primary:hover {
    background-color: #1a8cc7;
    transform: translateY(-2px);
}

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

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

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

.page-tai-xiu__article-wrap {
    max-width: 1150px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-tai-xiu__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 25px;
    padding-top: 30px;
    text-align: center;
}

.page-tai-xiu__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-tai-xiu__article-wrap p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
    color: #444444;
}

.page-tai-xiu__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #444444;
}

.page-tai-xiu__list li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-tai-xiu__figure {
    margin: 30px 0;
    text-align: center;
}

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

.page-tai-xiu__figcaption {
    font-size: 0.9em;
    color: #777777;
    margin-top: 10px;
}

.page-tai-xiu__promo-box {
    background-color: #f0f8ff; /* Light blue background */
    border-left: 5px solid #26A9E0;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.page-tai-xiu__promo-text {
    font-size: 1.2em;
    font-weight: 600;
    color: #26A9E0;
    margin: 0;
}

.page-tai-xiu__faq-section {
    padding-bottom: 40px;
}

.page-tai-xiu__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-tai-xiu__faq-question {
    font-size: 1.15em;
    font-weight: 600;
    color: #26A9E0;
    padding: 18px 25px;
    cursor: pointer;
    margin: 0;
    position: relative;
    background-color: #e6f7ff;
    border-bottom: 1px solid #eeeeee;
}

.page-tai-xiu__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #26A9E0;
}

.page-tai-xiu__faq-answer {
    font-size: 1em;
    color: #555555;
    padding: 15px 25px;
    line-height: 1.6;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tai-xiu__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-tai-xiu__article-wrap {
        margin: 30px auto;
        padding: 0 15px;
    }

    .page-tai-xiu__section-title {
        font-size: 2em;
    }

    .page-tai-xiu__sub-title {
        font-size: 1.4em;
    }

    .page-tai-xiu__btn {
        font-size: 1em;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .page-tai-xiu__hero-section {
        padding-top: 10px !important; /* Ensures small top padding */
        padding-bottom: 30px;
    }

    .page-tai-xiu__hero-image {
        max-height: 50vh;
    }

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

    .page-tai-xiu__main-title {
        font-size: 2.2em; /* Smaller on mobile */
        margin-bottom: 10px;
    }

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

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

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

    .page-tai-xiu__article-wrap {
        margin: 20px auto;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-tai-xiu__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        padding-top: 25px;
    }

    .page-tai-xiu__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-tai-xiu__article-wrap p,
    .page-tai-xiu__list li {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .page-tai-xiu__list {
        margin-left: 20px;
    }

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

    .page-tai-xiu__promo-box {
        padding: 20px;
        margin: 25px 0;
    }

    .page-tai-xiu__promo-text {
        font-size: 1.1em;
    }

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

    .page-tai-xiu__faq-question::after {
        right: 20px;
    }

    .page-tai-xiu__faq-answer {
        font-size: 0.95em;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .page-tai-xiu__main-title {
        font-size: 1.8em;
    }

    .page-tai-xiu__section-title {
        font-size: 1.6em;
    }

    .page-tai-xiu__sub-title {
        font-size: 1.2em;
    }
}