/* BOX v-1 / v3 — Comparison. */
body.cloudbox-self-hosted-page .self-hosted-comparison__layout {
    min-width: 0;
    min-height: 600px;
    display: grid;
    grid-template-columns: minmax(0, 500fr) minmax(0, 509fr);
    gap: 24px;
    align-items: stretch;
}

body.cloudbox-self-hosted-page .self-hosted-comparison__visual {
    min-width: 0;
    height: 600px;
    background: #e8f2ed;
}
body.cloudbox-self-hosted-page .self-hosted-comparison__image {
    position: absolute;
    inset: 0;
}
body.cloudbox-self-hosted-page .self-hosted-comparison__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.cloudbox-self-hosted-page .self-hosted-comparison__intro {
    position: absolute;
    left: 23px;
    right: 23px;
    bottom: 25px;
    min-height: 255px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 28px;
    border-radius: 18px;
    background: #fff;
}
body.cloudbox-self-hosted-page .self-hosted-comparison__intro-title {
    color: #121a17;
    font-size: 34px;
    font-weight: 500;
    line-height: 39px;
}
body.cloudbox-self-hosted-page .self-hosted-comparison__intro-body {
    color: #2b3833;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
}
body.cloudbox-self-hosted-page .self-hosted-comparison__intro-body--mobile { display: none; }

body.cloudbox-self-hosted-page .self-hosted-comparison__cards {
    min-width: 0;
    height: 600px;
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
body.cloudbox-self-hosted-page .self-hosted-comparison-card {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 32px;
    border-radius: 18px;
    overflow: hidden;
}
body.cloudbox-self-hosted-page .self-hosted-comparison-card--box {
    background: var(--self-hosted-green);
    color: #f5fcfa;
}
body.cloudbox-self-hosted-page .self-hosted-comparison-card--cloud {
    background: var(--self-hosted-surface-green);
    color: var(--self-hosted-body);
}
body.cloudbox-self-hosted-page .self-hosted-comparison-card__header {
    min-width: 0;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
body.cloudbox-self-hosted-page .self-hosted-comparison-card h3 {
    min-width: 0;
    color: inherit;
    font-size: 28px;
    font-weight: 500;
    line-height: 34px;
}
body.cloudbox-self-hosted-page .self-hosted-comparison-card__badge {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 600;
}
body.cloudbox-self-hosted-page .self-hosted-comparison-card--box .self-hosted-comparison-card__badge { background: #fff; color: #126b5c; }
body.cloudbox-self-hosted-page .self-hosted-comparison-card--cloud .self-hosted-comparison-card__badge { background: #1a7563; color: #fff; }
body.cloudbox-self-hosted-page .self-hosted-comparison-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    color: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 27px;
}
body.cloudbox-self-hosted-page .self-hosted-comparison-card li {
    position: relative;
    padding-left: 14px;
}
body.cloudbox-self-hosted-page .self-hosted-comparison-card li::before {
    content: '•';
    position: absolute;
    left: 0;
}

@media (max-width: 1199.98px) and (min-width: 768px) {
    body.cloudbox-self-hosted-page .self-hosted-comparison__layout {
        min-height: 778px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 21px;
    }
    body.cloudbox-self-hosted-page .self-hosted-comparison__visual { height: 778px; border: 1px solid var(--self-hosted-line); }
    body.cloudbox-self-hosted-page .self-hosted-comparison__intro {
        left: 19px;
        right: 19px;
        bottom: 20px;
        min-height: 259px;
        gap: 12px;
        padding: 22px 20px;
        border-radius: 16px;
    }
    body.cloudbox-self-hosted-page .self-hosted-comparison__intro-title { font-size: 28px; line-height: 34px; }
    body.cloudbox-self-hosted-page .self-hosted-comparison__intro-body { font-size: 15px; line-height: 22px; }
    body.cloudbox-self-hosted-page .self-hosted-comparison__cards {
        height: 778px;
        grid-template-rows: 404fr 356fr;
        gap: 18px;
    }
    body.cloudbox-self-hosted-page .self-hosted-comparison-card { gap: 14px; padding: 24px; }
    body.cloudbox-self-hosted-page .self-hosted-comparison-card h3 { font-size: 24px; line-height: 30px; }
    body.cloudbox-self-hosted-page .self-hosted-comparison-card__badge { display: none; }
    body.cloudbox-self-hosted-page .self-hosted-comparison-card ul { line-height: 24px; }
}

@media (max-width: 767.98px) {
    body.cloudbox-self-hosted-page .self-hosted-comparison__layout {
        min-height: 0;
        display: block;
    }
    body.cloudbox-self-hosted-page .self-hosted-comparison__visual {
        height: auto;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    body.cloudbox-self-hosted-page .self-hosted-comparison__image { display: none; }
    body.cloudbox-self-hosted-page .self-hosted-comparison__intro {
        position: static;
        min-height: 212px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 22px;
        border: 1px solid var(--self-hosted-line);
        border-radius: 18px;
        background: var(--self-hosted-surface-soft);
        text-align: center;
    }
    body.cloudbox-self-hosted-page .self-hosted-comparison__intro-title { font-size: 28px; line-height: 34px; }
    body.cloudbox-self-hosted-page .self-hosted-comparison__intro-body { font-size: 15px; line-height: 22px; }
    body.cloudbox-self-hosted-page .self-hosted-comparison__intro-body--desktop { display: none; }
    body.cloudbox-self-hosted-page .self-hosted-comparison__intro-body--mobile { display: block; }
    body.cloudbox-self-hosted-page .self-hosted-comparison__cards {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
    }
    body.cloudbox-self-hosted-page .self-hosted-comparison-card {
        min-height: 0;
        gap: 12px;
        padding: 22px;
    }
    body.cloudbox-self-hosted-page .self-hosted-comparison-card h3 { font-size: 24px; line-height: 30px; }
    body.cloudbox-self-hosted-page .self-hosted-comparison-card__badge { display: none; }
    body.cloudbox-self-hosted-page .self-hosted-comparison-card ul { font-size: 15px; line-height: 24px; }
}
