/* =====================================================
   Hybrid Flexo Quality & Workflow Sections (fb 4.docx items 12 & 13)
   Theo giao diện demo printjet-hybrid-flexo-demo
   ===================================================== */

/* Sửa màu & kiểu eyebrow "HỆ SINH THÁI TÍCH HỢP QUY TRÌNH" bị .hy-process.hy-dark p ghi đè sang xám */
.hy-page .hy-process.hy-dark p.hy-eyebrow,
.hy-page .pj-hy-flexo-section p.hy-eyebrow,
.hy-page .pj-hy-workflow-section p.hy-eyebrow {
    color: #f50087 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.035em;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.pj-hy-flexo-section {
    background: #f5f7fb;
    border-block: 1px solid #d9e2f0;
    padding-block: 56px !important;
}

.pj-hy-flexo-intro {
    display: grid;
    grid-template-columns: 1.25fr .85fr;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}
.pj-hy-flexo-intro > p {
    color: #4e6182;
    font-size: 15.5px;
    line-height: 1.55;
    margin: 0;
    padding-bottom: 4px;
}

.pj-hy-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pj-hy-feature {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #d9e2f0;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 4px 18px rgba(10, 28, 60, 0.04);
}

.pj-hy-feature-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 12px;
    margin-bottom: 18px;
}
.pj-hy-feature-title h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: #07163b;
    margin: 0;
}
.pj-hy-feature-title span {
    font-size: 0.85rem;
    font-weight: 700;
    background: #edf2fc;
    color: #253c65;
    border-radius: 6px;
    padding: 4px 12px;
}
.pj-hy-feature:nth-child(2) .pj-hy-feature-title span {
    background: #faeaf3;
    color: #b01864;
}

.pj-hy-comparison {
    margin: 0;
}
.pj-hy-samples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #d6e0ee;
    border: 1px solid #d6e0ee;
    border-radius: 10px;
    overflow: hidden;
}
.pj-hy-samples > div {
    min-width: 0;
    background: #f5f7fb;
}
.pj-hy-samples img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.pj-hy-samples b {
    display: block;
    padding: 8px 8px;
    text-align: center;
    color: #364b69;
    font-size: 0.85rem;
    font-weight: 700;
}
.pj-hy-samples > div + div b {
    color: #be1965;
    background: #faedf4;
}
.pj-hy-comparison figcaption {
    margin-top: 8px;
    color: #5b6d8c;
    font-size: 0.85rem;
}

.pj-hy-feature h4 {
    font-size: 1.2rem;
    font-weight: 750;
    color: #07163b;
    margin: 20px 0 8px;
    line-height: 1.35;
}
.pj-hy-feature > p {
    color: #4e6182;
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}
.pj-hy-feature ul {
    padding-left: 20px;
    margin: 12px 0 18px;
    color: #4e6182;
    font-size: 14.5px;
    line-height: 1.55;
}
.pj-hy-feature li + li {
    margin-top: 5px;
}
.pj-hy-feature li::marker {
    color: #f50087;
}

.pj-hy-source {
    margin-top: auto;
    align-self: flex-start;
    color: #be1965;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(190, 25, 101, 0.35);
    padding-bottom: 2px;
    transition: color .2s, border-color .2s;
}
.pj-hy-source:hover {
    color: #f50087;
    border-color: #f50087;
}

/* ── Nhánh sản xuất Flexo (Item 13) ── */
.pj-hy-workflow-section {
    background: #ffffff;
    padding-block: 56px !important;
}
.pj-hy-workflow-section h2 {
    max-width: 820px;
}
.pj-hy-workflow-desc {
    max-width: 760px;
    margin: 12px 0 0 !important;
    color: #4e6182 !important;
    font-size: 16px !important;
    line-height: 1.55;
}

.pj-hy-steps {
    list-style: none;
    padding: 0;
    margin: 28px 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1.5fr 1fr 1fr;
    gap: 14px;
}
.pj-hy-steps li {
    min-height: 82px;
    border: 1px solid #d9e2f0;
    background: #f8fafd;
    position: relative;
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    display: grid;
    align-content: center;
    line-height: 1.35;
    font-size: 0.92rem;
    font-weight: 700;
    color: #07163b;
}
.pj-hy-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    height: 2px;
    background: #9badc7;
    width: 14px;
    right: -15px;
}
.pj-hy-steps .is-key {
    background: #001c3d;
    border-color: #001c3d;
    color: #ffffff;
}
.pj-hy-steps .is-key small {
    display: block;
    font-size: 0.82rem;
    color: #b7d0ee;
    margin-bottom: 3px;
    font-weight: 500;
}

.pj-hy-applications {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}
.pj-hy-applications a {
    font-weight: 750;
    color: #be1965;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 0.95rem;
}
.pj-hy-applications span {
    font-size: 0.9rem;
    background: #edf2f8;
    color: #1c3154;
    border-radius: 6px;
    padding: 5px 12px;
    font-weight: 600;
}

@media (max-width: 960px) {
    .pj-hy-flexo-intro,
    .pj-hy-feature-grid {
        grid-template-columns: 1fr;
    }
    .pj-hy-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    .pj-hy-steps li:nth-child(3)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .pj-hy-flexo-section,
    .pj-hy-workflow-section {
        padding-block: 40px !important;
    }
    .pj-hy-feature {
        padding: 18px;
    }
    .pj-hy-steps {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .pj-hy-steps li {
        min-height: 60px;
    }
    .pj-hy-steps li:not(:last-child)::after,
    .pj-hy-steps li:nth-child(3)::after {
        display: block;
        width: 2px;
        height: 10px;
        top: auto;
        bottom: -11px;
        right: calc(50% - 1px);
    }
}
