.ce_headline {
    color: var(--color-text-ink);
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-regular);
}

.ce_headline.ce_headline--connected {
    padding-bottom: 0;
}

.ce_headline__body {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
}

/* No H5/H6 tokens exist; preserve the standalone headline's legacy size for them. */
.ce_headline__heading:where(h5, h6) {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-dark);
}

.ce_headline__layout,
.ce_headline__copy {
    display: grid;
    min-width: 0;
    gap: var(--spacing-md);
}

.ce_headline p,
.ce_headline__heading {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.ce_headline__label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ce_headline__label::before {
    content: '';
    flex: 0 0 var(--spacing-md);
    height: 2px;
    background: currentColor;
}

.ce_headline__label > span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ce_headline__heading {
    letter-spacing: -.04em;
    white-space: pre-line;
}

.ce_headline__description {
    white-space: pre-line;
}

@media (min-width: 1024px) {
    .ce_headline {
        color: var(--color-text-dark);
    }

    .ce_headline__layout {
        grid-template-columns: minmax(0, 1fr);
        justify-content: space-between;
        gap: 0;
        row-gap: 20px;
        align-items: end;
    }

    .ce_headline__layout--with-description {
        grid-template-columns: minmax(0, 820px) minmax(0, 320px);
    }

    .ce_headline__copy {
        gap: 20px;
        grid-column: 1;
        grid-row: 1;
    }

    .ce_headline__description {
        grid-column: 2;
        grid-row: 1;
    }

    .ce_headline__body {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}
