/* ===== Tài Xỉu Page Styles ===== */
.page-tai-xiu {
    background: #F4F7FB;
    color: #1F2D3D;
}

/* Container */
.page-tai-xiu__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero Section */
.page-tai-xiu__hero-section {
    background: linear-gradient(135deg, #E8F0FF 0%, #F4F7FB 100%);
    padding: 10px 16px 40px;
}

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

.page-tai-xiu__hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1020 / 300;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-tai-xiu__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-tai-xiu__main-title {
    color: #1F2D3D;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

.page-tai-xiu__hero-desc {
    color: #1F2D3D;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto 24px;
    max-width: 800px;
}

.page-tai-xiu__hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Buttons */
.page-tai-xiu__btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.page-tai-xiu__btn--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-tai-xiu__btn--primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #1D54E0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.5);
}

.page-tai-xiu__btn--secondary {
    background: transparent;
    color: #2F6BFF;
    border-color: #2F6BFF;
}

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

/* Logo Grid Section */
.page-tai-xiu__logo-grid-section {
    padding: 48px 0;
}

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

.page-tai-xiu__logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 20px;
    justify-items: center;
    width: 100%;
}

.page-tai-xiu__logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 280px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #D6E2FF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-tai-xiu__logo-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__logo-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    border-radius: 8px;
}

.page-tai-xiu__logo-cta {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 50px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s ease;
    border: 2px solid transparent;
}

.page-tai-xiu__logo-cta:hover {
    transform: scale(1.05);
}

/* 4+2 Layout: Items 5 and 6 centered */
.page-tai-xiu__logo-item:nth-child(5) {
    grid-column: 2;
}

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

/* Guide Section */
.page-tai-xiu__guide-section {
    background: #FFFFFF;
    padding: 0;
}

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

.page-tai-xiu__guide-title {
    text-align: center;
    color: #2F6BFF;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.3;
}

.page-tai-xiu__guide-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #1F2D3D;
    margin-bottom: 24px;
}

.page-tai-xiu__guide-figure {
    margin: 24px 0;
    text-align: center;
}

.page-tai-xiu__guide-figure img {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu__guide-figure figcaption {
    font-size: 14px;
    color: #6B7A90;
    margin-top: 8px;
    font-style: italic;
}

.page-tai-xiu__guide-subtitle {
    color: #1F2D3D;
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 16px;
    line-height: 1.4;
}

.page-tai-xiu__guide-list {
    padding-left: 20px;
    line-height: 1.8;
}

.page-tai-xiu__guide-list li {
    margin-bottom: 8px;
    color: #1F2D3D;
}

.page-tai-xiu__guide-list a {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
}

.page-tai-xiu__guide-list a:hover {
    text-decoration: underline;
}

.page-tai-xiu__guide-note {
    font-size: 14px;
    color: #6B7A90;
    margin-top: 24px;
    padding: 12px 16px;
    background: #F4F7FB;
    border-left: 4px solid #2F6BFF;
    border-radius: 4px;
}

.page-tai-xiu__guide-cta {
    text-align: center;
    margin-top: 32px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .page-tai-xiu__logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .page-tai-xiu__logo-item:last-child {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .page-tai-xiu__hero-section {
        padding: 10px 12px 32px;
    }

    .page-tai-xiu__hero-image {
        aspect-ratio: 2 / 1;
        border-radius: 12px;
    }

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

    .page-tai-xiu__hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .page-tai-xiu__btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
    }

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

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

    .page-tai-xiu__logo-cta {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }

    .page-tai-xiu__section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .page-tai-xiu__guide-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .page-tai-xiu__guide-figure img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .page-tai-xiu__guide-subtitle {
        font-size: 18px;
    }

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

@media (max-width: 480px) {
    .page-tai-xiu__hero-image {
        aspect-ratio: 2 / 1;
    }

    .page-tai-xiu__main-title {
        font-size: 18px;
    }

    .page-tai-xiu__hero-desc {
        font-size: 14px;
    }

    .page-tai-xiu__btn {
        font-size: 15px;
        padding: 12px 20px;
    }

    .page-tai-xiu__logo-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

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

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

    .page-tai-xiu__guide-figure img {
        width: 100%;
        height: auto;
    }

    .page-tai-xiu__guide-cta {
        width: 100%;
    }

    .page-tai-xiu__guide-cta .page-tai-xiu__btn {
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }
}