/* ── CONTENT — SPLIT SCREEN ──────────────────────────────────────────────
   Mirrors the case-problem / case-solution visual pattern.
   2-column grid (text + image) with optional dark/black background.
   ────────────────────────────────────────────────────────────────────── */

/* ── Section wrapper ─── */
.split-screen {
    background: var(--off-white);
    padding: 110px var(--page-px);
}

.split-screen--dark {
    background: var(--black);
}

/* ── Inner container ─── */
.split-screen-inner {
    max-width: 760px;
}

.split-screen-inner--has-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 160px;
    align-items: center;
    max-width: none;
}

/* ── Label (eyebrow) ─── */
.split-screen .label-sm {
    color: var(--black);
    margin-bottom: 28px;
}

.split-screen .label-sm::before {
    background: var(--black);
}

/* ── Heading ─── */
/* .section-heading and .section-heading.dark are global (cards.css) */

/* ── Gap between label/heading and body ─── */
.split-screen-gap {
    height: 32px;
}

/* ── WYSIWYG body content ─── */
.split-screen-wysiwyg {
    font-size: 15px;
    font-weight: 300;
    color: var(--gray-80);
    line-height: 1.7;
}

.split-screen-wysiwyg p {
    margin-bottom: 20px;
}

.split-screen-wysiwyg p:last-child {
    margin-bottom: 0;
}

.split-screen-wysiwyg ul,
.split-screen-wysiwyg ol {
    padding-left: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.split-screen-wysiwyg li {
    font-size: 14px;
    line-height: 1.6;
}

.split-screen-wysiwyg h3 {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--black);
    margin-bottom: 12px;
    margin-top: 28px;
}

/* ── Checklist ─── */
.split-checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.split-checklist li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    font-weight: 300;
    color: var(--gray-80);
    line-height: 1.6;
}

.split-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--black);
    font-weight: 600;
}

/* ── CTA ─── */
.split-screen-body .btn-primary {
    margin-top: 40px;
}

/* ── Image column ─── */
.split-screen-media {
    position: relative;
    overflow: hidden;
}

.split-screen-img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 3;
    max-height: 480px;
    object-fit: cover;
}

/* ── Dark mode overrides ─── */
.split-screen--dark .label-sm {
    color: var(--yellow);
}

.split-screen--dark .label-sm::before {
    background: var(--yellow);
}

.split-screen--dark .split-screen-wysiwyg {
    color: var(--gray-10);
}

.split-screen--dark .split-screen-wysiwyg h3 {
    color: var(--white);
}

.split-screen--dark .split-checklist li {
    color: var(--gray-10);
}

.split-screen--dark .split-checklist li::before {
    color: var(--yellow);
}

/* ── Responsive — tablet ─── */
@media (max-width: 1023px) {
    .split-screen {
        padding: 80px 40px;
    }

    .split-screen-inner--has-image {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ── Responsive — mobile ─── */
@media (max-width: 599px) {
    .split-screen {
        padding: 64px clamp(18px, 5vw, 32px);
    }
}
