/* CLOUD BOX — Box v2 S05 / Proof. Staggered CSS Grid; proof cards stay in normal Grid flow. */
body.cloudbox-self-hosted-page .self-hosted-proof {
    position: relative;
    min-height: 826px;
    padding-block: 48px;
    overflow: clip;
    background: var(--self-hosted-bg-proof);
    color: #0d1117;
}

body.cloudbox-self-hosted-page .self-hosted-proof > .self-hosted-container {
    min-height: 730px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}

body.cloudbox-self-hosted-page .self-hosted-proof__meta {
    width: 100%;
    height: 24px;
    flex: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

body.cloudbox-self-hosted-page .self-hosted-proof__meta > span:first-child {
    color: var(--self-hosted-green);
    font-size: 13px;
}

body.cloudbox-self-hosted-page .self-hosted-proof__meta > span:last-child {
    color: #7c8883;
    text-align: right;
}

body.cloudbox-self-hosted-page .self-hosted-proof__grid {
    position: relative;
    width: 100%;
    height: 624px;
    flex: 0 0 624px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 425px));
    grid-template-rows: 300px 324px;
    column-gap: clamp(40px, 8.333333vw, 160px);
    justify-content: center;
    align-content: start;
    overflow: hidden;
    background-image: repeating-linear-gradient(
        to right,
        rgba(226, 232, 228, .3) 0 1px,
        transparent 1px 16.6666667%
    );
}

body.cloudbox-self-hosted-page .self-hosted-proof-card {
    min-width: 0;
    width: 425px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    color: #0d1117;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card--partner {
    grid-column: 1;
    grid-row: 1;
    margin-top: 64px;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card--project {
    grid-column: 2;
    grid-row: 1;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card--integration {
    grid-column: 1;
    grid-row: 2;
    margin-top: 64px;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card--support {
    grid-column: 2;
    grid-row: 2;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card__top {
    width: 100%;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card__top > span:first-child {
    color: #65716c;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    white-space: nowrap;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: block;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card__icon img {
    display: block;
    width: 42px;
    height: 42px;
    max-width: none;
    object-fit: contain;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card h3 {
    width: 100%;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #0d1117;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card h3 strong {
    width: 100%;
    color: #0d1117;
    font-size: 32px;
    font-weight: 500;
    line-height: 38px;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card h3 .self-hosted-serif {
    width: 100%;
    color: #0d1117;
    font-size: 38px;
    font-weight: 400;
    line-height: 44px;
}

body.cloudbox-self-hosted-page .self-hosted-proof-card__divider {
    display: block;
    width: 150px;
    height: 1px;
    flex: 0 0 1px;
    margin-bottom: 18px;
    background: rgba(13, 17, 23, .72);
}

body.cloudbox-self-hosted-page .self-hosted-proof-card > p {
    width: min(100%, 395px);
    color: #4e5b56;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

body.cloudbox-self-hosted-page .self-hosted-proof__strip {
    width: 100%;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    color: var(--self-hosted-green);
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

body.cloudbox-self-hosted-page .self-hosted-proof__strip > span:first-child {
    white-space: nowrap;
}

body.cloudbox-self-hosted-page .self-hosted-proof__strip-right {
    display: none;
}

@media (max-width: 1023.98px) {
    body.cloudbox-self-hosted-page .self-hosted-proof {
        min-height: 912px;
        padding-block: 64px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof > .self-hosted-container {
        min-height: 768px;
        gap: 24px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof__meta {
        font-size: 12px;
        line-height: 16px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof__meta > span:first-child {
        font-size: 12px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof__grid {
        height: 680px;
        flex-basis: 680px;
        grid-template-columns: 340px 300px;
        grid-template-rows: 300px 380px;
        column-gap: 31px;
        background-image: repeating-linear-gradient(
            to right,
            rgba(226, 232, 228, .52) 0 1px,
            transparent 1px 16.6666667%
        );
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card {
        min-height: 300px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card--partner,
    body.cloudbox-self-hosted-page .self-hosted-proof-card--project,
    body.cloudbox-self-hosted-page .self-hosted-proof-card--support {
        width: 300px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card--integration {
        width: 340px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card h3 {
        min-height: 86px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card h3 strong {
        font-size: 32px;
        line-height: 38px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card h3 .self-hosted-serif {
        font-size: 38px;
        line-height: 42px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card__divider {
        width: 130px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card > p {
        width: 300px;
        max-width: 100%;
        font-size: 14px;
        line-height: 21px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof__strip {
        height: 16px;
        flex-basis: 16px;
        font-size: 12px;
        line-height: 18px;
    }
}

@media (max-width: 767.98px) {
    body.cloudbox-self-hosted-page .self-hosted-proof {
        min-height: 1388px;
        padding-block: 52px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof > .self-hosted-container {
        min-height: 1284px;
        gap: 20px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof__meta {
        font-size: 12px;
        line-height: 16px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof__meta > span:first-child {
        font-size: 11px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof__grid {
        height: 1160px;
        flex-basis: 1160px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 310px 310px 280px 260px;
        column-gap: 0;
        justify-content: start;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card,
    body.cloudbox-self-hosted-page .self-hosted-proof-card--partner,
    body.cloudbox-self-hosted-page .self-hosted-proof-card--project,
    body.cloudbox-self-hosted-page .self-hosted-proof-card--integration,
    body.cloudbox-self-hosted-page .self-hosted-proof-card--support {
        width: min(300px, 100%);
        min-height: 250px;
        margin-top: 0;
        grid-column: 1;
        justify-self: start;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card--partner {
        grid-row: 1;
        margin-top: 40px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card--project {
        grid-row: 2;
        justify-self: end;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card--integration {
        grid-row: 3;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card--support {
        grid-row: 4;
        justify-self: end;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card h3 {
        min-height: 86px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card h3 strong {
        font-size: 30px;
        line-height: 34px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card h3 .self-hosted-serif {
        font-size: 34px;
        line-height: 38px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof-card > p {
        font-size: 13px;
        line-height: 20px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof__strip {
        height: 60px;
        flex-basis: 60px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
        font-size: 10.5px;
        line-height: 16px;
    }

    body.cloudbox-self-hosted-page .self-hosted-proof__strip > span:first-child {
        width: 100%;
        white-space: normal;
    }
}
