# Media CTA

A full-width photo (or looping video) with a white card laid over its left side carrying a heading, short body and an arrow link. Use it to send readers from a page to one next destination, for example the quarterly letters.

## Screenshots

| Variant | Preview |
|---------|---------|
| Default | ![Default](../screenshots/components/media-cta-default.png) |
| Navy | ![Navy](../screenshots/components/media-cta-navy.png) |

## What it looks like

On laptop and wider, the visual fills the lower part of the section edge to edge, starting a fixed distance below the top. A white card sits over its left side, starting higher than the photo so it overlaps the top edge. The card is tall (at least 600px) with the heading and body at the top and the arrow link pinned to the bottom. Below laptop the visual stacks above the card and the card loses its inner side padding. The section has a minimum height on laptop, so a short card still leaves the photo visible.

## Typography

- **Heading:** `h3`, always an `<h2>` tag.
- **Body:** `p2`.
- **Link:** the standard arrow link (square arrow plus link text).

## Colours

- `backgroundColour` and `textColour` apply to the full-width section behind the photo. They are largely hidden by the photo on laptop and show around it on mobile and tablet.
- The card itself is always white with Navy text, whatever colours are chosen.
- When no `backgroundColour` is set, the section text defaults to Navy.
- Valid values: Navy, Dark Slate, Slate, Sea Glass, Cornflower, Ether, Mist, White, Graphite, Ink, Sky.

## Used fields

| Field | Type | Effect when set | Effect when empty/removed |
|-------|------|-----------------|---------------------------|
| `heading` | Symbol | Card title (`h3`) | No title |
| `showHeading` | Boolean | When unchecked the heading is dropped from the page | N/A |
| `body` | RichText (or plain text) | Card copy (`p2`) | No copy |
| `visual` | Media | Photo or video behind and above the card; video autoplays muted and loops | No photo; the card sits on the plain section background |
| `links` | Links | One link makes the whole card clickable with an arrow row at the bottom; several links show as separate arrow links under the copy | No arrow |
| `anchor` | Symbol | In-page link target for the section | No anchor |
| `backgroundColour` | Symbol | Section background | Page background |
| `textColour` | Symbol | Section text colour | Navy |
| `cmsLabel` | Symbol | Internal and analytics label | No visible effect |
| `componentType` | Symbol | "Media CTA" | N/A |
| `id` | Symbol | Entry id for preview | No visible effect |

## Behaviour

- The heading is always `<h2>`, regardless of position on the page.
- With exactly one link the entire card is the click target and hovering anywhere animates the arrow. With zero or several links the card is not a link.
- The visual is cropped to cover its area; choose an image that tolerates cropping.

## Impact of content changes

| Change | Result |
|--------|--------|
| Remove `visual` | Photo area disappears; white card sits on the section colour |
| Remove `links` | Card has no arrow and is not clickable |
| Add a second link | Card stops being one big link; separate arrow links appear |
| Long `body` | Card grows taller; the arrow stays at the bottom |
| Change `backgroundColour` | Only the area around the photo changes; the card stays white |
