.class-intro {
    background: var(--color-bg);
}

.class-intro__inner {
    width: 100%;
}

.class-intro__row {
    display: flex;
    align-items: stretch;
}

.class-intro__accent {
    display: flex;
    align-items: center;
    flex: 0 0 40%;
    /* left padding = container gutter, so the inner text aligns to the site
       container's left edge while the terracotta panel bleeds to the screen edge */
    padding: 80px 0 80px max(var(--pad-x), calc((100vw - var(--site-max-w)) / 2));
    background: var(--color-accent);
}

.class-intro__accent-inner {
    width: 100%;
    padding-right: 80px; /* gap toward the body */
}

.class-intro__accent-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    font-size: 22px;
    line-height: 32px;
    color: var(--color-light);
}

.class-intro__accent-text p + p {
    margin-top: 0;
}

.class-intro__body {
    display: flex;
    flex: 0 0 60%;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    /* right padding = container gutter, so the body text ends at the site
       container's right edge (mirrors the accent aligning to the left) */
    padding: 80px max(var(--pad-x), calc((100vw - var(--site-max-w)) / 2)) 80px 64px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 26px;
    color: var(--color-dark);
}

.class-intro__body p + p {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .class-intro__row {
        flex-direction: column;
    }

    .class-intro__accent {
        flex: 0 0 auto;
        padding: 40px var(--pad-x);
    }

    .class-intro__accent-inner {
        max-width: 100%;
        margin-left: 0;
        padding-right: 0;
    }

    .class-intro__body {
        flex: 0 0 auto;
        padding: 40px var(--pad-x);
    }
}
