/* Traditional vs Cloud POS — comparison matrix */
.blog-article--pos-compare .poscmp-body {
    width: 100%;
    max-width: 100%;
    padding-bottom: 4rem;
}

/* Intro */
.poscmp-intro {
    margin-bottom: 2rem;
}

.poscmp-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555555;
    margin: 0 0 1.25rem;
}

.poscmp-intro p:last-child {
    margin-bottom: 0;
}

.poscmp-hook {
    font-size: clamp(1.125rem, 2.2vw, 1.375rem);
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0 0 2rem;
    padding: 1rem 1.15rem;
    background: #F2BA26;
    text-align: center;
}

/* Definitions */
.poscmp-defs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

.poscmp-def {
    padding: 1.35rem 1.25rem;
    border: 1px solid #ececec;
}

.poscmp-def--legacy {
    background: #f5f5f5;
    border-left: 4px solid #6b7280;
}

.poscmp-def--cloud {
    background: #fffdf5;
    border-left: 4px solid #F2BA26;
}

.poscmp-def__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 0.65rem;
}

.poscmp-def p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #555555;
    margin: 0;
}

/* Comparison matrix */
.poscmp-matrix {
    margin-bottom: 2.5rem;
}

.poscmp-matrix__labels {
    display: none;
}

.poscmp-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 1.5rem;
    border: 1px solid #ececec;
    overflow: hidden;
}

.poscmp-row__topic {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    background: #1a1a1a;
    margin: 0;
    padding: 0.85rem 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.poscmp-cell {
    padding: 1.25rem 1.25rem 1.35rem;
    border-top: 1px solid #ececec;
}

.poscmp-cell--legacy {
    background: #fafafa;
}

.poscmp-cell--cloud {
    background: #ffffff;
}

.poscmp-cell__tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: #6b7280;
}

.poscmp-cell--cloud .poscmp-cell__tag {
    color: #b8860b;
}

.poscmp-cell p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #555555;
    margin: 0 0 0.85rem;
}

.poscmp-cell p:last-child {
    margin-bottom: 0;
}

/* Closing */
.poscmp-close {
    padding-top: 2rem;
    border-top: 1px solid #ececec;
    margin-bottom: 2.5rem;
}

.poscmp-close p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #444444;
    margin: 0;
    font-weight: 500;
}

@media (min-width: 768px) {
    .poscmp-defs {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .poscmp-matrix__labels {
        display: grid;
        grid-template-columns: 11rem 1fr 1fr;
        gap: 0;
        margin-bottom: 0;
        background: #1a1a1a;
        color: #ffffff;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .poscmp-matrix__labels span {
        padding: 0.85rem 1.25rem;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .poscmp-matrix__labels-cloud {
        border-right: none;
        color: #F2BA26;
    }

    .poscmp-row {
        grid-template-columns: 11rem 1fr 1fr;
        margin-bottom: 0;
        border-top: none;
    }

    .poscmp-row__topic {
        display: flex;
        align-items: center;
        background: #f5f5f5;
        color: #1a1a1a;
        border-right: 1px solid #ececec;
        border-top: 1px solid #ececec;
        font-size: 0.8125rem;
        padding: 1.25rem 1rem;
    }

    .poscmp-cell {
        border-top: 1px solid #ececec;
        border-right: 1px solid #ececec;
        padding: 1.35rem 1.25rem;
        align-self: stretch;
    }

    .poscmp-cell--cloud {
        border-right: none;
    }

    .poscmp-cell__tag {
        display: none;
    }
}

@media (min-width: 992px) {
    .poscmp-matrix__labels,
    .poscmp-row {
        grid-template-columns: 13rem 1fr 1fr;
    }

    .poscmp-row__topic {
        padding: 1.35rem 1.15rem;
    }

    .poscmp-cell {
        padding: 1.5rem 1.35rem;
    }
}
