.page-tai-xiu {
    background: #F4F7FB;
    color: #1F2D3D;
    max-width: 100%;
}

.page-tai-xiu__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-tai-xiu__hero-image-block {
    width: 100%;
}

.page-tai-xiu__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 17/5;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(47, 107, 255, 0.15);
}

.page-tai-xiu__hero-content {
    text-align: center;
    max-width: 760px;
    margin-top: 24px;
}

.page-tai-xiu__hero-title {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: #1F2D3D;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

.page-tai-xiu__hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4A5568;
    margin: 0 auto 20px;
    max-width: 640px;
}

.page-tai-xiu__btn-primary {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 6px 16px rgba(47, 107, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tai-xiu__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(47, 107, 255, 0.4);
    color: #ffffff;
}

.page-tai-xiu__brand-section {
    padding: 8px 16px 48px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-tai-xiu__section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1F2D3D;
    margin: 0 0 24px;
}

.page-tai-xiu__partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 16px;
    justify-items: center;
}

.page-tai-xiu__partner-item {
    background: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(165, 196, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-tai-xiu__partner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.15);
}

.page-tai-xiu__partner-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 2/1;
    object-fit: contain;
}

.page-tai-xiu__partner-cta {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.2s;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tai-xiu__partner-item:nth-child(5) { grid-column: 2; }
.page-tai-xiu__partner-item:nth-child(6) { grid-column: 3; }

.page-tai-xiu__guide-section {
    background: linear-gradient(180deg, #F4F7FB 0%, #FFFFFF 100%);
    padding: 0;
}

.page-tai-xiu__guide-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 16px 60px;
}

.page-tai-xiu__guide-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1F2D3D;
    margin-bottom: 8px;
}

.page-tai-xiu__guide-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #4A5568;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.page-tai-xiu__guide-article {
    background: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.page-tai-xiu__guide-figure {
    margin: 0;
    width: 100%;
}

.page-tai-xiu__guide-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: 12px;
}

.page-tai-xiu__guide-caption {
    font-size: 0.85rem;
    color: #4A5568;
    margin-top: 8px;
    font-style: italic;
}

.page-tai-xiu__guide-post-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.page-tai-xiu__guide-post-title a {
    color: #1F2D3D;
    text-decoration: none;
    transition: color 0.2s;
}

.page-tai-xiu__guide-post-title a:hover {
    color: #2F6BFF;
}

.page-tai-xiu__guide-article p {
    font-size: 0.98rem;
    color: #4A5568;
    line-height: 1.6;
    margin: 0 0 8px;
}

@media (max-width: 1024px) {
    .page-tai-xiu__partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .page-tai-xiu__partner-item:nth-child(5), .page-tai-xiu__partner-item:nth-child(6) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .page-tai-xiu__hero-section {
        padding-top: 8px;
    }

    .page-tai-xiu__hero-image {
        aspect-ratio: 16/9;
    }

    .page-tai-xiu__hero-title {
        font-size: clamp(1.4rem, 4.5vw, 1.8rem);
    }

    .page-tai-xiu__partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }

    .page-tai-xiu__partner-item {
        max-width: 100%;
    }

    .page-tai-xiu__partner-item:nth-child(5),
    .page-tai-xiu__partner-item:nth-child(6) {
        grid-column: auto;
    }

    .page-tai-xiu__guide-inner {
        padding: 8px 12px 40px;
    }

    .page-tai-xiu__guide-article {
        padding: 14px;
    }

    .page-tai-xiu__guide-image {
        max-width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

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

    .page-tai-xiu__btn-primary, .page-tai-xiu__partner-cta {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .page-tai-xiu__partner-grid .page-tai-xiu__partner-cta {
        width: auto;
    }
}