/*
 * Pegos Phoi — CSS cho nội dung shortcode (wrapper: .pegos-phoi-content).
 * - Reset toàn site: đã bỏ; rule chung (body/p) chỉ còn trong .pegos-phoi-content hoặc class tên generic đã gắn prefix.
 * - Class tên dễ trùng theme (.container, .grid-container, .workflow, .steps, .composition-table, …) đều là .pegos-phoi-content …
 * - Class layout plugin (.block-*, .heading-gradient, …) vẫn dùng tên riêng; chỉ xuất hiện trong wrapper khi nhúng WP.
 */
.pegos-phoi-content {
    color-scheme: light;
    box-sizing: border-box;
    margin: 0;
    background: white;
    color: #111111;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.6;
}

.pegos-phoi-content .container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heading-gradient {
    background: linear-gradient(90deg,
            #ef4444 0%,
            /* đỏ */
            #f59e0b 18%,
            /* cam */
            #eab308 32%,
            /* vàng */
            #22c55e 50%,
            /* xanh lá tươi */
            #10b981 58%,
            /* xanh ngọc */
            #06b6d4 72%,
            /* lam ngọc */
            #3b82f6 86%,
            /* xanh dương */
            #2563eb 100%
            /* xanh dương đậm */
        );
    -webkit-background-clip: text;
    font-size: 50px;
    background-clip: text;
    line-height: 50px;
    color: transparent;
    font-weight: 600;
}

.subtitle-gray {
    color: #6b7280;
    font-size: 24px;
    line-height: 26px;
}

.block-two {
    color: #6b7280;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
}

.block-wrap {
    width: 100%;
    margin: auto;
}

.block-wrap-htplus {
    max-width: 1280px;
    margin: auto;
}

@media (min-width: 1440px) {
    .block-wrap {
        width: 1440px;
        margin: auto;
    }

}

.block-1,
.block-3 {
    display: flex;
    flex-direction: row;
}

.block-1 img,
.block-3 img {
    width: 800px;
    height: auto;
}

.block-1-content,
.block-3-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    gap: 40px;
}

.block-4 {
    display: flex;
    flex-direction: row;
    height: 90%;
    justify-content: space-between;
}

.block-4-htplus {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 90%;
    justify-content: space-between;
}

.block-5-title {
    background: linear-gradient(90deg,
            #ef4444 0%,
            /* đỏ */
            #f59e0b 18%,
            /* cam */
            #eab308 32%,
            /* vàng */
            #22c55e 50%,
            /* xanh lá tươi */
            #10b981 58%,
            /* xanh ngọc */
            #06b6d4 72%,
            /* lam ngọc */
            #3b82f6 86%,
            /* xanh dương */
            #2563eb 100%
            /* xanh dương đậm */
        );
    -webkit-background-clip: text;
    font-size: 50px;
    background-clip: text;
    line-height: 50px;
    color: transparent;
    font-weight: 600;
}

.block-5-title-2 {
    background: linear-gradient(90deg,
            #ef4444 0%,
            /* đỏ */
            #f59e0b 18%,
            /* cam */
            #eab308 32%,
            /* vàng */
            #22c55e 50%,
            /* xanh lá tươi */
            #10b981 58%,
            /* xanh ngọc */
            #06b6d4 72%,
            /* lam ngọc */
            #3b82f6 86%,
            /* xanh dương */
            #2563eb 100%
            /* xanh dương đậm */
        );
    -webkit-background-clip: text;
    font-size: 20px;
    background-clip: text;
    line-height: 24px;
    color: transparent;
    font-weight: 400;
    margin-bottom: 30px;
}

.block-chart-8,
.block-10-wrap {
    margin: 0 auto !important;
    padding: 0 !important;
}

.block-5 {
    display: flex;
    flex-direction: column;
    width: 1280px;
    max-width: 100%;
    margin: 100px auto;
    padding: 0 12px;
    box-sizing: border-box;
    background-color: white;
    height: auto;
    justify-content: center;
    align-items: center;
}

@media (min-width: 900px) and (max-width: 1024px) {
    .pegos-phoi-content .feature {
        max-width: 400px !important;
    }

    .pegos-phoi-content .feature-2 {
        height: 335px !important;
    }

    .block-wrap {
        flex-direction: row !important;
        flex-wrap: wrap;
    }

    .pegos-phoi-content .steps {
        column-gap: 80px !important;
    }

}

.block-3-content .heading-gradient {
    padding-left: 100px;
}

.block-3-content .subtitle-gray {
    color: #6b7280;
    padding-left: 100px;
}

@media (min-width: 1025px) and (max-width: 1366px) {
    .block-1 img {
        width: 600px;
        height: auto;
    }

    .block-3 img {
        max-width: 600px;
        width: 100%;
        height: auto;
    }

    .block-3-content .heading-gradient {
        font-size: 36px;
        background-clip: text;
        line-height: 36px;
        color: transparent;
        font-weight: 600;
        text-align: center;
        padding-left: 100px;
        padding-right: 0px;
        padding-top: 30px;
        padding-bottom: 16px;
    }

    .block-3-content .subtitle-gray {
        color: #6b7280;
        font-size: 24px;
        line-height: 28px;
        padding-left: 100px;
        text-align: center;
    }

}

@media (min-width: 768px) and (max-width: 1024px) {
    .pegos-phoi-content .container {
        flex-direction: column;
        align-items: center;
    }

    .pegos-phoi-content h1.block-5-title {
        font-size: 1.35rem;
        line-height: 1.35;
    }

    .pegos-phoi-content .shade-container {
        width: 80% !important;
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
        margin-left: 16px !important;
        margin-right: 16px !important;
        align-items: center;
        /* tablet */
    }

    .pegos-phoi-content .shade-wrapper-tablet {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .pegos-phoi-content .steps {
        display: flex !important;
        flex-wrap: wrap !important;
        /* cho phép xuống dòng */
        justify-content: center !important;
        /* 2 biên dính mép, auto chia khoảng */
        gap: 40px;
    }

    .pegos-phoi-content .step img {
        width: 200px !important;
        object-fit: contain;
        margin-bottom: 10px !important;
    }

    .pegos-phoi-content .workflow {
        margin: 0px !important;
        padding: 0px !important;
    }

    .pegos-phoi-content .shade-wrapper {
        padding: 0px !important;
        padding-bottom: 20px !important;
    }

    .pegos-phoi-content .shade-title {
        margin-bottom: 15px !important;
        background: linear-gradient(90deg,
                #ef4444 0%,
                /* đỏ */
                #f59e0b 18%,
                /* cam */
                #eab308 32%,
                /* vàng */
                #22c55e 50%,
                /* xanh lá tươi */
                #10b981 58%,
                /* xanh ngọc */
                #06b6d4 72%,
                /* lam ngọc */
                #3b82f6 86%,
                /* xanh dương */
                #2563eb 100%
                /* xanh dương đậm */
            );
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
    }

    .block-7 {
        margin-left: 20px !important;
        margin-right: 20px !important;
        margin-bottom: 20px !important;
    }

    .block-5 {
        width: 100% !important;
        margin: 20px auto;
        row-gap: 0px !important;
    }

    .block-5 p {
        font-size: 14px !important;
    }

    .pegos-phoi-content .grid-item {
        max-width: 230px !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0px !important;
    }

    .pegos-phoi-content .grid-container {
        gap: 20px !important;
        justify-content: center;
        padding: 8px;
    }

    .pegos-phoi-content .grid-item img {
        width: 150px;
        max-width: 100%;
        height: auto !important;
        max-height: 100px;
        object-fit: contain;
        margin-bottom: 15px;
    }

    .block-4 {
        width: 100%;
        margin-bottom: 50px;
    }

    .block-two {
        margin-left: 16px;
        margin-right: 16px;
        font-size: 20px;
        line-height: 28px;
        text-align: center;
        padding: 50px;
    }

    .block-2-text {
        height: 250px !important;
    }

    .block-1 img {
        width: 400px;
        height: auto;
    }

    .block-3 img {
        max-width: 400px;
        width: 100%;
        height: auto;
    }

    .block-1-content {
        text-align: center;
        gap: 10px !important;
    }

    .block-1,
    .block-3 {
        gap: 0px;
        flex-direction: row;
        justify-content: start;
    }

    .block-1-content .heading-gradient {
        font-size: 24px;
        background-clip: text;
        line-height: 24px;
        color: transparent;
        font-weight: 600;
        text-align: center;
    }

    .block-1-content .subtitle-gray {
        color: #6b7280;
        font-size: 18px;
        line-height: 18px;
        padding: 2px;
        text-align: center;
    }

    .block-3-content .heading-gradient {
        font-size: 24px;
        background-clip: text;
        line-height: 24px;
        color: transparent;
        font-weight: 600;
        text-align: center;
        padding-left: 50px;
        padding-right: 0px;
        padding-top: 30px;
        padding-bottom: 16px;
    }

    .block-3-content .subtitle-gray {
        color: #6b7280;
        font-size: 16px;
        line-height: 24px;
        padding-left: 50px;
        text-align: center;
    }

    .block-3-content {
        gap: 10px;
    }

    .block-wrap {
        justify-content: center;
        align-items: center;
    }

    .block-1-content .cta-gradient {
        max-width: 100%;
        font-size: 18px;
        line-height: 18px;
        padding-bottom: 20px;
    }


    .block-4 {
        display: flex;
        flex-direction: column;
        justify-content: center !important;
        justify-items: center !important;
        align-items: center;
        margin-bottom: 50px;
        row-gap: 20px;
    }

    .pegos-phoi-content .feature {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        max-width: 576px;
        justify-content: center !important;
        align-items: center !important;
        /* responsive breakpoint */
        padding: 0px !important;
        text-align: center;
        height: 100%;
    }

    .pegos-phoi-content .feature-2 {
        align-items: center;
    }

    .pegos-phoi-content .feature img {
        max-width: 100% !important;
    }

    .pegos-phoi-content .feature p {
        font-size: 18px !important;
    }

    .grid-block-9 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px 10px !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    .item-block-9 {
        text-align: center;
        max-width: 180px !important;
    }

    .item-block-9 img {
        width: 160px !important;
    }

    .pegos-phoi-content .sintering {
        margin-left: 30px !important;
        margin-right: 30px !important;
    }

    .block-chart-8 {
        margin-left: 25px !important;
        margin-right: 25px !important;
    }

    .pegos-phoi-content .composition-table {
        max-width: 80% !important;
    }

}


@media (max-width: 576px) {
    .block-5-title-2 {
        padding-left: 40px;
        padding-right: 40px;
        text-align: center;
    }

    .pegos-phoi-content h1.block-5-title {
        font-size: 1.3rem;
        line-height: 1.35;
    }

    .pegos-phoi-content .shade-container {
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
        margin-left: 16px !important;
        margin-right: 16px !important;
        /* tablet */
    }

    .pegos-phoi-content .steps {
        display: flex !important;
        flex-wrap: wrap !important;
        /* cho phép xuống dòng */
        justify-content: center !important;
        /* 2 biên dính mép, auto chia khoảng */
        gap: 20px !important;
    }

    .pegos-phoi-content .step img {
        width: 100px !important;
        object-fit: contain;
        margin-bottom: 10px !important;
    }

    .pegos-phoi-content .workflow {
        margin: 0px !important;
        padding: 0px !important;
    }

    .pegos-phoi-content .shade-wrapper {
        padding: 0px !important;
        padding-bottom: 20px !important;
    }

    .pegos-phoi-content .shade-title {
        margin-bottom: 15px !important;
        background: linear-gradient(90deg,
                #ef4444 0%,
                /* đỏ */
                #f59e0b 18%,
                /* cam */
                #eab308 32%,
                /* vàng */
                #22c55e 50%,
                /* xanh lá tươi */
                #10b981 58%,
                /* xanh ngọc */
                #06b6d4 72%,
                /* lam ngọc */
                #3b82f6 86%,
                /* xanh dương */
                #2563eb 100%
                /* xanh dương đậm */
            );
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
    }

    .block-7 {
        margin-left: 8px !important;
        margin-right: 8px !important;
        margin-bottom: 20px !important;
    }

    .block-5 {
        width: 100% !important;
        margin: 20px auto;
        row-gap: 0px !important;
    }

    .block-5 p {
        font-size: 14px !important;
    }

    .pegos-phoi-content .grid-item {
        max-width: 180px !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0px !important;
    }

    .pegos-phoi-content .grid-container {
        gap: 20px !important;
        justify-content: center;
        padding: 8px;
    }

    .pegos-phoi-content .grid-item img {
        width: 100px;
        max-width: 100%;
        height: auto !important;
        max-height: 80px;
        object-fit: contain;
        margin-bottom: 15px;
    }

    .block-4 {
        width: 100%;
        margin-bottom: 50px;
    }

    .block-two {
        margin-left: 16px;
        margin-right: 16px;
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }

    .block-2-text {
        height: 200px !important;
    }

    .block-1 img {
        width: 400px;
        height: auto;
    }

    .block-3 img {
        max-width: 400px;
        width: 100%;
        height: auto;
    }

    .block-1-content,
    .block-3-content {
        width: 100%;
    }

    .block-1-content {
        text-align: center;
        gap: 10px !important;
    }

    .block-1,
    .block-3 {
        gap: 0px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .block-1-content .heading-gradient {
        font-size: 24px;
        background-clip: text;
        line-height: 24px;
        color: transparent;
        font-weight: 600;
        text-align: center;
    }

    .block-1-content .subtitle-gray {
        color: #6b7280;
        font-size: 18px;
        line-height: 18px;
        padding: 2px;
        text-align: center;
    }

    .block-3-content .heading-gradient {
        font-size: 24px;
        background-clip: text;
        line-height: 24px;
        color: transparent;
        font-weight: 600;
        text-align: center;
        padding-left: 60px;
        padding-right: 60px;
        padding-top: 30px;
        padding-bottom: 16px;
    }

    .block-3-content .subtitle-gray {
        color: #6b7280;
        font-size: 16px;
        line-height: 24px;
        padding: 0px 16px;
        text-align: center;
    }

    .block-3-content {
        gap: 10px;
    }

    .block-1-content .cta-gradient {
        max-width: 100%;
        font-size: 18px;
        line-height: 18px;
        padding-bottom: 20px;
    }


    .block-4 {
        display: flex;
        flex-direction: column;
        justify-content: center !important;
        justify-items: center !important;
        margin-bottom: 50px;
    }

    .pegos-phoi-content .feature {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        max-width: 576px !important;
        justify-content: center !important;
        align-items: center !important;
        /* responsive breakpoint */
        padding: 0px !important;
        text-align: center;
        height: 100%;
    }

    .pegos-phoi-content .feature-2 {
        align-items: center;
    }

    .pegos-phoi-content .feature img {
        max-width: 340px !important;
    }

    .grid-block-9 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 10px !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    .item-block-9 {
        text-align: center;
        max-width: 180px !important;
    }

    .item-block-9 img {
        width: 160px !important;
    }

    .block-chart-8 {
        margin-left: 25px !important;
        margin-right: 25px !important;
    }

}

/* Chỉ reset margin — không set line-height: 0 (sẽ đè .block-two, .subtitle-gray, v.v. và gây chữ chồng) */
.pegos-phoi-content p {
    margin: 0;
}

.pegos-phoi-content .feature-2 {
    justify-content: space-between;
}

.cta-gradient {
    display: inline-block;
    /* hộp co đúng theo chiều rộng chữ */
    width: max-content;
    /* tránh chiếm 100% chiều ngang */
    background: linear-gradient(90deg,
            #ef4444 0%,
            /* đỏ */
            #f59e0b 18%,
            /* cam */
            #eab308 32%,
            /* vàng */
            #22c55e 50%,
            /* xanh lá tươi */
            #10b981 58%,
            /* xanh ngọc */
            #06b6d4 72%,
            /* lam ngọc */
            #3b82f6 86%,
            /* xanh dương */
            #2563eb 100%
            /* xanh dương đậm */
        );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    /* Safari */
}

.pegos-phoi-content .features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* responsive */
}

.pegos-phoi-content .feature {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    max-width: 400px;
    justify-content: space-between;
    /* responsive breakpoint */
    padding: 20px;
    text-align: center;
    height: 100%;
}

.pegos-phoi-content .feature h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ff4b2b, #ffbb00, #2ecc71, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pegos-phoi-content .feature p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.pegos-phoi-content .feature img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Không áp gradient chung lên h1.block-5-title — giữ gradient trong .block-5-title */
.pegos-phoi-content h3.block-5-title-2 {
    text-align: center;
    max-width: min(100%, 38rem);
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.4;
}

.pegos-phoi-content h1:not(.block-5-title) {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #f44336, #ff9800, #4caf50, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Recommended Indications & tiêu đề block-5: cỡ chữ vừa, xuống dòng đẹp, không tràn */
.pegos-phoi-content h1.block-5-title {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    line-height: 1.35;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: min(100%, 38rem);
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-weight: 600;
}

.pegos-phoi-content h2 {
    font-size: 18px;
    color: #d32f2f;
    margin-bottom: 40px;
}

.pegos-phoi-content .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-items: center;
}

@media (min-width: 768px) {
    .pegos-phoi-content .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }

}

.pegos-phoi-content .grid-item {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}


.pegos-phoi-content .grid-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: 170px;
    object-fit: contain;
    margin-bottom: 12px;
}

.pegos-phoi-content .grid-item p {
    font-size: 14px;
    color: #333;
    line-height: 1.45;
    margin: 0;
    text-align: center;
    width: 100%;
    max-width: 22rem;
    padding: 0 4px;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.pegos-phoi-content .shade-title {
    font-size: 22px;
    margin-bottom: 30px;
    background: linear-gradient(90deg,
            #ef4444 0%,
            /* đỏ */
            #f59e0b 18%,
            /* cam */
            #eab308 32%,
            /* vàng */
            #22c55e 50%,
            /* xanh lá tươi */
            #10b981 58%,
            /* xanh ngọc */
            #06b6d4 72%,
            /* lam ngọc */
            #3b82f6 86%,
            /* xanh dương */
            #2563eb 100%
            /* xanh dương đậm */
        );
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.pegos-phoi-content .shade-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* mobile */
    column-gap: 80px;
    justify-content: center;
}

@media (min-width: 768px) {
    .pegos-phoi-content .shade-container {
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
        margin-left: 16px !important;
        margin-right: 16px !important;
        /* tablet */
    }
}

@media (min-width: 1200px) {
    .pegos-phoi-content .shade-container {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        /* desktop */
    }
}

.pegos-phoi-content .shade-item img {
    width: 100%;
    /* giới hạn không quá to */
    height: auto;
}

/* tùy chọn: kẻ đường ngang trên dưới */
.pegos-phoi-content .shade-wrapper {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.pegos-phoi-content .workflow {
    max-width: 1440px;
    margin: 40px auto;
    padding: 20px;
}

.pegos-phoi-content .workflow h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
    background: linear-gradient(90deg, orange, purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pegos-phoi-content .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: 100%;
    justify-content: space-between;
}

.pegos-phoi-content .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
}

.pegos-phoi-content .step img {
    width: 100%;
    object-fit: contain;
    margin-bottom: 30px;
    max-width: 200px;
}

.pegos-phoi-content .step-number {
    font-size: 22px;
    font-weight: bold;
    color: #5e2bb8;
    margin-bottom: 5px;
}

.pegos-phoi-content .step-title {
    font-size: 20px;
    color: #333;
}

.pegos-phoi-content .box {
    flex: 1 1 45%;
    min-width: 300px;
    padding: 10px;
    text-align: center;
}

.pegos-phoi-content .box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.pegos-phoi-content .box p {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .pegos-phoi-content .container {
        flex-direction: column;
        align-items: center;
    }
}

.pegos-phoi-content .sintering {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

.pegos-phoi-content .title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.grid-block-9 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    /* khoảng cách giữa các item */
    justify-items: center;
}

.item-block-9 {
    text-align: center;
    max-width: 220px;
}

.block-9-physical {
    margin-top: 40px !important;
}

.item-block-9 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.item-block-9 p {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    /* giãn dòng */
    margin: 0;
    word-wrap: break-word;
}


.block-9-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    background: linear-gradient(90deg,
            #ef4444 0%,
            /* đỏ */
            #f59e0b 18%,
            /* cam */
            #eab308 32%,
            /* vàng */
            #22c55e 50%,
            /* xanh lá tươi */
            #10b981 58%,
            /* xanh ngọc */
            #06b6d4 72%,
            /* lam ngọc */
            #3b82f6 86%,
            /* xanh dương */
            #2563eb 100%
            /* xanh dương đậm */
        );
    display: inline-block;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.block-9-div {
    text-align: center;
}

.pegos-phoi-content .composition-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto 40px auto;
    max-width: 800px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.pegos-phoi-content .composition-table th,
.pegos-phoi-content .composition-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: gray;
}

.pegos-phoi-content .composition-table tr:last-child td {
    border-bottom: none;
}

.pegos-phoi-content .composition-table th {
    background: #f9f9f9;
    font-weight: bold;
    text-align: center;
}

.pegos-phoi-content .composition-table-htplus {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto 40px auto;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.pegos-phoi-content .composition-table-htplus th,
.pegos-phoi-content .composition-table-htplus td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: gray;
}

.pegos-phoi-content .composition-table-htplus tr:last-child td {
    border-bottom: none;
}

.pegos-phoi-content .composition-table-htplus th {
    background: #f9f9f9;
    font-weight: bold;
    text-align: center;
}

/* Precaution section */
.pegos-phoi-content .precautions {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #ddd;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 20px;
}

.pegos-phoi-content .precautions p {
    text-align: center;
    white-space: normal;
    line-height: 1.5;
    word-wrap: break-word;
    color: gray;
}


.htplus-material-container {
    display: grid;
    grid-template-columns: 60% 40%;
    /* cột 1 chiếm 60%, cột 2 chiếm 40% */
    gap: 80px;
    align-items: start;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Gradient text */
.htplus-gradient-text {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ff4b2b, #ffbb00, #2ecc71, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Text and images */
.htplus-material-box h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.htplus-material-box p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: gray;
}

.st-material-container {
    margin-top: 0 !important;
}

.htplus-material-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
}

.material-box-st img {
    max-width: 750px;
}

.material-box-st p {
    max-width: 550px;
}

.htplus-note {
    font-size: 13px;
    color: #777;
    margin-top: 8px;
}

.htplus-material-box-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    height: 100px;
}

.st-pre-block-4 {
    display: grid;
    grid-template-columns: 50% 50%;
    /* cột 1 chiếm 60%, cột 2 chiếm 40% */
    align-items: start;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 1200px;
}

.st-pre-block-4-title p {
    color: gray;
    font-size: 10px;
    margin-top: 10px;
    /* tạo khoảng cách với ảnh */
    white-space: normal;
    /* cho phép xuống dòng */
    line-height: 1.5;
}

.st-pre-block-4-title {
    width: 100%;
}


/* Responsive */
@media (max-width: 1024px) {
    .htplus-material-container {
        grid-template-columns: 1fr;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        gap: 20px !important;
    }

    .htplus-material-box h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .htplus-material-box p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .htplus-material-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        margin-right: 10px;
    }

    .htplus-material-box img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin-top: 15px;
    }

    .htplus-note {
        font-size: 13px;
        color: #777;
        margin-top: 8px;
    }

    .htplus-material-box-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: flex-start;
        height: 150px;
    }

    .htplus-material-box-2 {
        height: 80px !important;
    }

    .st-pre-block-4 {
        display: grid;
        grid-template-columns: 1fr;
        /* cột 1 chiếm 60%, cột 2 chiếm 40% */
        align-items: center;
        justify-items: center;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
    }

    .st-pre-block-4-title p {
        color: gray;
        font-size: 10px;
        margin-top: 10px;
        /* tạo khoảng cách với ảnh */
        white-space: normal;
        /* cho phép xuống dòng */
        line-height: 1.5;
        width: 100%;
    }

    .st-pre-block-4-title-1 p {
        font-size: 16px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .st-pre-block-4-title-1 h1 {
        font-size: 24px !important;
    }

    .st-pre-block-4-title-1 {
        margin-bottom: 20px;
    }

    .st-pre-block-4-title img {
        max-width: 100%;
    }

    .st-pre-block-4-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

}

/*
 * Hardening khi deploy: theme / plugin cache / CDN trên server thường load sau và đè line-height,
 * letter-spacing hoặc reset `p` → chữ chồng. Dùng .pegos-phoi-content + !important có chọn lọc.
 */
.pegos-phoi-content p {
    line-height: 1.5 !important;
}

.pegos-phoi-content p.heading-gradient,
.pegos-phoi-content h1.heading-gradient {
    line-height: 1.1 !important;
    font-size: 50px !important;
}

.pegos-phoi-content p.subtitle-gray {
    line-height: 1.35 !important;
    font-size: 24px !important;
}

.pegos-phoi-content p.cta-gradient {
    line-height: 24px !important;
}

.pegos-phoi-content .block-two {
    line-height: 1.45 !important;
    font-size: 24px !important;
}

.pegos-phoi-content .grid-item p {
    line-height: 1.45 !important;
    font-size: 14px !important;
}

.pegos-phoi-content .item-block-9 p {
    line-height: 1.4 !important;
}

.pegos-phoi-content .precautions p {
    line-height: 1.5 !important;
}

.pegos-phoi-content .st-pre-block-4-title p,
.pegos-phoi-content .st-pre-block-4-title-1 p {
    line-height: 1.5 !important;
}

.pegos-phoi-content .htplus-material-box p,
.pegos-phoi-content .material-box-st p {
    line-height: 1.5 !important;
}

.pegos-phoi-content .box p {
    line-height: 1.45 !important;
}

@media (max-width: 1024px) {
    .pegos-phoi-content p.heading-gradient,
    .pegos-phoi-content h1.heading-gradient {
        font-size: 36px !important;
        line-height: 1.15 !important;
    }
}

@media (max-width: 576px) {
    .pegos-phoi-content .block-two {
        line-height: 1.5 !important;
        font-size: 16px !important;
    }
}
