# Side by side content

Collection that shows its `contents` entries **side by side on laptop and larger** (two columns) and **stacked on mobile**, in the order they are listed. Use it to place two standard components next to each other, for example the CareDriver form beside a Rider Assistant `Form and image` component.

Each item keeps its own behaviour (a Paperform embed still resizes itself), so this is the right choice for forms that change height. Do not use an `htmlComponent` with hand-coded iframes for this.

## What to put in `contents`

Supported now (tested inside a half-width column):

- `Form and image` components, which render as an equal-height white card with the heading, `body` (steps) and `additionalCopy` (consent text under the form):
  - Rider Assistant style: the link is the Paperform URL (e.g. `https://hopskipdriveriderassistant.paperform.co/`).
  - CareDriver style: the link **name** is `CareDriver form` (the href is ignored); the form fills the card width.
- Simple text components (`Text Header`, `Text`, and similar)

For the numbered-steps look, write `body` as a numbered list with a bold lead, e.g. `1. **Download the app.** Complete certification.` Put the consent paragraph in `additionalCopy`.

Not supported yet (may look cramped or oversized in a half-width column): carousels, tabs, cards collections, and image-heavy hero components. Put those in their own section above or below.

Add two items for a side-by-side pair. Three or more wrap onto a new row. Each item's own `backgroundColour`, `heading`, `body` and `links` work as they do elsewhere on the site, and the first item is not treated as the page H1 because the collection heading comes first.

## Section fields

| Field | Effect |
|---|---|
| `heading` | Optional section heading above the columns (h2). |
| `postHeading` | Optional intro line under the heading. |
| `body` | Optional rich text under the heading. |
| `backgroundColour` | Section background behind both columns. |
| `textColour` | Section text colour. |
| `contents` | **Required.** The components shown in the columns, in order. |
| `cmsLabel` | Internal label only. |

All other fields on the `collection` content type are ignored by this collection type.
