/* -------------------------------------------------------------------------
 * Single story — reading-first Road Journal Magazine
 * ---------------------------------------------------------------------- */

.wttw-single-story {
	background: var(--wttw-white);
}

/*
 * Column measures come straight off the approved template: the route line and
 * the reading column form one 52.5rem block, a 3.25rem gutter, then a 19rem
 * sidebar. The closing modules line up with the reading column, not the shell.
 */
.wttw-article {
	--wttw-reading-width: 52.5rem;
	--wttw-sidebar-width: 19rem;
	--wttw-article-gap: 3.25rem;
	--wttw-article-inset: clamp(1.6rem, 1rem + 1.7vw, 2.1rem);
	/* Running text keeps a shorter measure than the photographs, as in the template. */
	--wttw-article-measure: 43rem;
	/*
	 * One source for the reading size. The intro is derived from it so the two
	 * keep a constant relation instead of drifting apart between breakpoints.
	 */
	--wttw-article-body: clamp(1.02rem, 1rem + 0.5vw, 1.15rem);
	--wttw-article-intro-scale: 1.22;
	/* Widest the sharp hero photograph gets; beyond this a blurred copy fills in. */
	--wttw-hero-cap: 87.5rem;
	/*
	 * How far the sharp photograph melts into the blurred field. It grows with
	 * the band that is actually there, so it is 0 below the cap and never wider
	 * than the blurred area beside the picture.
	 */
	--wttw-hero-feather: clamp(0px, calc((100vw - var(--wttw-hero-cap)) / 2), 4.5rem);
	background: var(--wttw-white);
}

/* Hero ------------------------------------------------------------------ */

.wttw-article-hero {
	position: relative;
	background: var(--wttw-paper);
	isolation: isolate;
}

.wttw-article-hero__media {
	position: relative;
	height: clamp(24rem, 34vw, 33.5rem);
	margin: 0;
	overflow: hidden;
	background: var(--wttw-ink-deep);
	isolation: isolate;
}

/*
 * Blurred continuation of the same photograph. It only becomes visible once the
 * viewport is wider than the cap below, and it costs no extra request because
 * the browser already has the file.
 */
.wttw-article-hero__media::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image: var(--wttw-hero-image, none);
	background-position: center var(--wttw-hero-position, center);
	background-size: cover;
	content: "";
	filter: blur(2.25rem) saturate(0.72) brightness(0.94);
	transform: scale(1.15);
}

.wttw-article-hero__media img,
.wttw-article-hero__image {
	display: block;
	width: min(100%, var(--wttw-hero-cap));
	height: 100%;
	margin-inline: auto;
	object-fit: cover;
	object-position: center var(--wttw-hero-position, center);
	animation: wttw-article-image-in 900ms var(--wttw-ease) both;
}

/*
 * The sharp photograph feathers into the blurred field so the two read as one
 * image rather than a framed inset. At or below the cap the feather is 0, which
 * leaves the picture untouched.
 */
.wttw-article-hero__media img,
.wttw-article-hero__image {
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent,
		#000 var(--wttw-hero-feather),
		#000 calc(100% - var(--wttw-hero-feather)),
		transparent
	);
	mask-image: linear-gradient(
		90deg,
		transparent,
		#000 var(--wttw-hero-feather),
		#000 calc(100% - var(--wttw-hero-feather)),
		transparent
	);
}

@keyframes wttw-article-image-in {
	from {
		filter: saturate(0.78);
		transform: scale(1.025);
	}

	to {
		filter: saturate(1);
		transform: scale(1);
	}
}

.wttw-article-hero__sheet {
	position: relative;
	z-index: 2;
	margin-top: -11rem;
	/*
	 * The mask band is 14rem tall and the torn edge lands between roughly 3rem
	 * and 5.5rem into it above the headline. 7.5rem clears the edge without
	 * leaving a field of empty paper over the kicker.
	 */
	padding: 7.5rem 0 var(--wttw-space-5);
	background:
		linear-gradient(90deg, rgba(203, 165, 120, 0.09), transparent 30%),
		var(--wttw-paper);
	clip-path: polygon(
		0 2.4rem,
		7% 1.25rem,
		15% 2.15rem,
		24% 0.7rem,
		35% 1.95rem,
		45% 0.65rem,
		57% 1.8rem,
		69% 0.85rem,
		82% 2rem,
		92% 0.75rem,
		100% 1.65rem,
		100% 100%,
		0 100%
	);
}

@supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
	.wttw-article-hero__sheet {
		clip-path: none;
		-webkit-mask-image:
			url("../images/article-brush-edge-mask.png"),
			linear-gradient(#000, #000);
		-webkit-mask-position: top, bottom;
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-size: 100% 14rem, 100% calc(100% - 13.5rem);
		mask-image:
			url("../images/article-brush-edge-mask.png"),
			linear-gradient(#000, #000);
		mask-position: top, bottom;
		mask-repeat: no-repeat;
		mask-size: 100% 14rem, 100% calc(100% - 13.5rem);
	}
}

/* Shares the body grid, so headline and compass sit on the article columns. */
.wttw-article-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, var(--wttw-reading-width)) var(--wttw-sidebar-width);
	justify-content: center;
	gap: var(--wttw-article-gap);
	align-items: stretch;
}

.wttw-article-hero__copy {
	min-width: 0;
	padding-left: var(--wttw-article-inset);
}

.wttw-article-hero__region,
.wttw-article-hero__meta,
.wttw-article-hero__mark span,
.wttw-article-hero__mark strong {
	font-family: var(--wttw-font-display);
	font-weight: 600;
	letter-spacing: 0.105em;
	text-transform: uppercase;
}

.wttw-article-hero__region {
	display: block;
	margin-bottom: var(--wttw-space-2);
	color: var(--wttw-coral);
	font-size: 0.92rem;
}

.wttw-article-hero__title {
	max-width: 20ch;
	margin: 0;
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	font-size: clamp(2.8rem, 4.45vw, 4.6rem);
	font-weight: 600;
	letter-spacing: -0.012em;
	line-height: 1.03;
	overflow-wrap: anywhere;
	text-wrap: balance;
	text-transform: uppercase;
}

.wttw-article-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: var(--wttw-space-2);
	color: var(--wttw-ink-soft);
	font-size: 0.82rem;
}

.wttw-article-hero__excerpt {
	max-width: 31rem;
	margin: var(--wttw-space-3) 0 0;
	color: var(--wttw-ink-soft);
	font-size: clamp(1.05rem, 0.95rem + 0.42vw, 1.32rem);
	line-height: 1.62;
}

/* Compass stamp — the About hero meta block, left aligned as in the template. */
/*
 * Compass and meta form one group at the foot of the column — stretching them
 * apart left a hole in the middle of the sheet.
 */
.wttw-article-hero__mark {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	align-self: stretch;
	padding-left: var(--wttw-space-3);
	color: var(--wttw-slate-deep);
	text-align: left;
}

/*
 * The torn edge dips lowest on this side, so the rule starts below it as a
 * pseudo-element rather than spanning the whole stretched column.
 */
.wttw-article-hero__mark::before {
	position: absolute;
	top: 4rem;
	bottom: 0;
	left: 0;
	border-left: 1px dotted var(--wttw-line);
	content: "";
}

.wttw-article-hero__compass {
	width: 6.5rem;
	height: 6.5rem;
	margin-bottom: 1.6rem;
	opacity: 0.26;
}

.wttw-article-hero__mark-label {
	color: var(--wttw-ink-mute);
	font-size: 0.68rem;
}

.wttw-article-hero__mark-value {
	margin-top: 0.42rem;
	color: var(--wttw-ink);
	font-size: 1.05rem;
	letter-spacing: 0.01em;
}

.wttw-article-hero__mark-issue {
	margin-top: 0.42rem;
	color: var(--wttw-slate-deep);
	font-size: 0.78rem;
}

/* Destination links: Blocksy colours `a` and `a:hover` on the element. */
.wttw-article-hero__region a,
.wttw-article-hero__mark-value a {
	color: inherit;
	text-decoration: none;
	transition: color var(--wttw-fast) var(--wttw-ease);
}

.wttw-article-hero__region a:hover,
.wttw-article-hero__region a:focus-visible {
	color: var(--wttw-sand-ink);
}

.wttw-article-hero__mark-value a:hover,
.wttw-article-hero__mark-value a:focus-visible {
	color: var(--wttw-coral);
}

.wttw-article-hero__mark-sep,
.wttw-article-hero__region-sep {
	margin-inline: 0.1em;
}

/* Reading layout -------------------------------------------------------- */

.wttw-article__layout {
	display: grid;
	grid-template-columns: minmax(0, var(--wttw-reading-width)) var(--wttw-sidebar-width);
	justify-content: center;
	gap: var(--wttw-article-gap);
	align-items: start;
	padding-block: var(--wttw-space-5) var(--wttw-space-6);
}

.wttw-article__body {
	min-width: 0;
}

/*
 * The route is drawn as a gradient rather than a dashed border: the template
 * uses long, clearly spaced dashes, which a 1px border cannot produce.
 */
.wttw-article-copy {
	position: relative;
	padding-left: var(--wttw-article-inset);
	background-image: repeating-linear-gradient(
		to bottom,
		var(--wttw-coral) 0 0.5rem,
		transparent 0.5rem 1rem
	);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 2px 100%;
	color: var(--wttw-ink-soft);
	font-size: var(--wttw-article-body);
	line-height: 1.56;
	overflow-wrap: anywhere;
}

/* The route starts with its own marker, as in the template. */
.wttw-article-copy::before {
	position: absolute;
	top: 0.42em;
	left: -0.35rem;
	width: 0.82rem;
	height: 0.82rem;
	border: 2px solid var(--wttw-coral);
	background: var(--wttw-white);
	border-radius: 50%;
	content: "";
}

/*
 * Prose only — figures, tables and ad slots keep the full column.
 *
 * The classic editor wraps most photographs in a bare `<p>`, which would
 * otherwise inherit the reading measure. A paragraph whose single element is an
 * image counts as a photograph and takes the wider column; an image sitting in
 * a paragraph of running text keeps the measure.
 */
.wttw-article-copy > p,
.wttw-article-copy > ul,
.wttw-article-copy > ol,
.wttw-article-copy > h2,
.wttw-article-copy > h3,
.wttw-article-copy > h4,
.wttw-article-copy > blockquote,
.wttw-article-copy figcaption,
.wttw-article-copy .wp-element-caption {
	max-width: var(--wttw-article-measure);
}

/*
 * `wttw_mark_image_paragraphs()` tags these at render time. A CSS-only test is
 * not possible: `img:only-child` ignores text nodes, so it also matches an
 * image sitting inside a paragraph of running text.
 */
.wttw-article-copy > p.wttw-article-figure {
	max-width: none;
}

.wttw-article-copy > p.wttw-article-figure > img,
.wttw-article-copy > p.wttw-article-figure > a > img {
	width: 100%;
	height: auto;
}

.wttw-article-copy > :first-child {
	margin-top: 0;
}

/* Reads as an introduction without shouting: about 1.2× the body size. */
.wttw-article-copy > p:first-child {
	color: var(--wttw-ink);
	font-size: calc(var(--wttw-article-body) * var(--wttw-article-intro-scale));
	line-height: 1.62;
}

.wttw-article-copy p,
.wttw-article-copy ul,
.wttw-article-copy ol,
.wttw-article-copy blockquote,
.wttw-article-copy figure,
.wttw-article-copy .wp-block-image,
.wttw-article-copy .gallery {
	margin-top: 0;
	margin-bottom: 1.55rem;
}

.wttw-article-copy h2 {
	position: relative;
	margin: clamp(3.3rem, 4.5vw, 4.8rem) 0 1rem;
	scroll-margin-top: calc(var(--wttw-header-h) + 2rem);
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	font-size: clamp(1.5rem, 1.25rem + 0.62vw, 1.9rem);
	font-weight: 600;
	letter-spacing: 0.015em;
	line-height: 1.06;
	text-transform: uppercase;
}

.wttw-article-copy h2::before {
	position: absolute;
	top: 0.26em;
	left: calc(var(--wttw-article-inset) * -1 - 0.35rem);
	width: 0.82rem;
	height: 0.82rem;
	border: 2px solid var(--wttw-coral);
	background: var(--wttw-white);
	border-radius: 50%;
	content: "";
}

.wttw-article-copy h3 {
	margin: 2.25rem 0 0.75rem;
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.025em;
	line-height: 1.15;
	text-transform: uppercase;
}

.wttw-article-copy a {
	color: var(--wttw-slate-deep);
	font-weight: 700;
}

/* Beats Blocksy's `a:hover`, which would otherwise recolour editor links. */
.wttw-article-copy a:hover,
.wttw-article-copy a:focus-visible {
	color: var(--wttw-coral);
}

.wttw-article-copy ul,
.wttw-article-copy ol {
	padding-left: 1.35rem;
}

.wttw-article-copy li {
	margin-bottom: 0.35rem;
	padding-left: 0.25rem;
}

.wttw-article-copy blockquote {
	margin-inline: 0;
	padding: 1.35rem 1.6rem;
	background: var(--wttw-paper);
	color: var(--wttw-slate-deep);
	font-size: 1.2rem;
	font-weight: 700;
}

.wttw-article-copy img {
	width: auto;
	height: auto;
}

.wttw-article-copy iframe,
.wttw-article-copy video,
.wttw-article-copy .wp-caption {
	max-width: 100%;
}

.wttw-article-copy .wp-block-embed__wrapper {
	position: relative;
	aspect-ratio: 16 / 9;
}

.wttw-article-copy .wp-block-embed__wrapper iframe {
	width: 100%;
	height: 100%;
}

.wttw-article-copy .wp-block-gallery.has-nested-images {
	width: 100%;
	max-width: 100%;
}

.wttw-article-copy
	.wp-block-gallery.has-nested-images
	figure.wp-block-image:not(#individual-image) {
	min-width: 0;
	max-width: 100%;
}

.wttw-article-copy
	.wp-block-gallery.has-nested-images
	figure.wp-block-image > a {
	display: block;
	width: 100%;
	min-width: 0;
}

/*
 * Without this the browser default `margin: 1em 40px` insets every editor
 * image, and the photographs no longer line up with the reading column.
 */
.wttw-article-copy figure,
.wttw-article-copy .wp-block-image,
.wttw-article-copy .wp-caption {
	max-width: 100%;
	margin-inline: 0;
}

.wttw-article-copy figure img,
.wttw-article-copy .wp-block-image img,
.wttw-article-copy > p > img {
	width: 100%;
}

.wttw-article-copy figcaption,
.wttw-article-copy .wp-element-caption {
	margin-top: 0.55rem;
	color: var(--wttw-ink-mute);
	font-size: 0.78rem;
	line-height: 1.45;
}

.wttw-article-copy .alignwide {
	width: min(58rem, calc(100vw - 3rem));
	max-width: none;
}

.wttw-article-copy table {
	display: block;
	width: 100%;
	margin: 2rem 0;
	border-collapse: collapse;
	overflow-x: auto;
}

.wttw-article-copy th,
.wttw-article-copy td {
	padding: 0.75rem;
	border: 1px solid var(--wttw-line);
	text-align: left;
}

.wttw-article-copy th {
	background: var(--wttw-paper);
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Sidebar --------------------------------------------------------------- */

/* The header is not sticky, so the panels only need a small breathing gap. */
.wttw-article-sidebar {
	position: sticky;
	top: 1.25rem;
	display: grid;
	gap: 1rem;
}

.wttw-article-panel {
	padding: 1.65rem;
	background: var(--wttw-paper);
}

.wttw-article-panel h2 {
	margin: 0 0 1.35rem;
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	font-size: 1.36rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-transform: uppercase;
}

.wttw-article-facts {
	display: grid;
	gap: 1.2rem;
	margin: 0;
}

.wttw-article-facts > div {
	display: flex;
	gap: 0.7rem;
	align-items: center;
}

.wttw-article-facts__icon {
	flex: none;
	width: 1.4rem;
	height: 1.4rem;
	color: var(--wttw-ink-soft);
}

.wttw-article-facts dd {
	margin: 0;
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	font-size: 1.24rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.2;
	text-transform: uppercase;
}

.wttw-article-toc ol {
	display: grid;
	gap: 0.95rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wttw-article-toc a {
	display: grid;
	grid-template-columns: 0.6rem minmax(0, 1fr);
	gap: 0.5rem;
	align-items: start;
	color: var(--wttw-slate-deep);
	font-family: var(--wttw-font-display);
	font-size: 1.02rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-decoration: none;
	text-transform: uppercase;
	transition: color var(--wttw-fast) var(--wttw-ease);
}

/*
 * The mark is boxed to exactly one line height and centred inside it, so it
 * lines up with the first line of the label rather than with the whole block.
 */
.wttw-article-toc a::before {
	display: flex;
	align-items: center;
	justify-content: center;
	/* Keep in step with the link's line-height above; `1lh` would resolve
	   against this element's own line-height, not the label's line box. */
	height: 1.3em;
	color: var(--wttw-coral);
	content: "›";
	line-height: 1;
}

.wttw-article-toc a:hover,
.wttw-article-toc a[aria-current="location"] {
	color: var(--wttw-coral);
}

.wttw-article-sidebar__note {
	justify-self: center;
	margin: 1rem 0 0;
	color: var(--wttw-coral);
	font-family: var(--wttw-font-marker);
	font-size: 1.18rem;
	line-height: 1.1;
	transform: rotate(-4deg);
}

.wttw-article-sidebar__note span {
	display: block;
	width: 5rem;
	height: 1rem;
	margin: 0.25rem 0 0 auto;
	border-bottom: 2px solid currentColor;
	border-radius: 50%;
	transform: rotate(-7deg);
}

/* Advertising ----------------------------------------------------------- */

/*
 * Placeholder chrome only. Once AdSense fills a slot the label sits above the
 * creative and the box grows with it.
 */
.wttw-article .wttw-ad-slot {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.6rem;
	align-items: center;
	justify-content: center;
	min-height: 4.6rem;
	padding: 0.9rem 1rem;
	border: 1px solid #ddd6cb;
	background: #f7f4ef;
	color: var(--wttw-ink-mute);
	text-align: center;
}

.wttw-article .wttw-ad-slot__label,
.wttw-article .wttw-ad-slot__content {
	font-family: var(--wttw-font-display);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.wttw-article .wttw-ad-slot__content {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.6rem;
	align-items: center;
	justify-content: center;
}

/* A filled slot takes the whole row again. */
.wttw-article .wttw-ad-slot__content:has(> :not(span)) {
	flex-basis: 100%;
}

/* Sidebar slot keeps the 300 × 600 footprint the template shows. */
.wttw-article-sidebar > .wttw-ad-slot {
	flex-direction: column;
	justify-content: space-between;
	min-height: 40rem;
	padding-block: 1rem;
}

.wttw-article-sidebar > .wttw-ad-slot .wttw-ad-slot__content {
	flex: 1;
}

.wttw-article-copy > .wttw-ad-slot {
	margin: 3rem 0;
}

/* Optional conclusion --------------------------------------------------- */

.wttw-article-conclusion {
	background: var(--wttw-ocean-mist);
	color: var(--wttw-ink);
}

/*
 * The band runs full bleed, but its copy stays on the reading column so the
 * left edge never jumps between the report and its conclusion.
 */
.wttw-article-conclusion__inner {
	display: grid;
	grid-template-columns: minmax(0, var(--wttw-reading-width)) var(--wttw-sidebar-width);
	justify-content: center;
	column-gap: var(--wttw-article-gap);
	padding-block: var(--wttw-space-5);
}

.wttw-article-conclusion__inner > * {
	grid-column: 1;
	padding-left: var(--wttw-article-inset);
}

.wttw-article-conclusion h2 {
	max-width: none;
	margin: 0 0 1.1rem;
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	font-size: clamp(1.8rem, 1.2rem + 1.55vw, 2.85rem);
	font-weight: 600;
	letter-spacing: 0.005em;
	line-height: 1.02;
	white-space: nowrap;
	text-transform: uppercase;
}

/* The pull quote keeps the full column so a one-liner stays on one line. */
.wttw-article-conclusion__text {
	max-width: var(--wttw-article-measure);
	color: var(--wttw-ink-soft);
	font-size: var(--wttw-article-body);
	line-height: 1.56;
}

.wttw-article-conclusion__text p {
	margin: 0 0 0.8rem;
}

.wttw-article-conclusion blockquote {
	margin: 1.6rem 0 0;
	color: var(--wttw-slate-deep);
	font-family: var(--wttw-font-display);
	font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem);
	font-weight: 600;
	letter-spacing: 0.035em;
	line-height: 1.3;
	text-transform: uppercase;
}

/* Inline marks so both quotes hug the sentence instead of a fixed-width box. */
.wttw-article-conclusion blockquote::before,
.wttw-article-conclusion blockquote::after {
	position: relative;
	top: 0.22em;
	color: var(--wttw-slate);
	font-size: 1.5em;
	line-height: 0;
}

.wttw-article-conclusion blockquote::before {
	margin-right: 0.34em;
	content: "“";
}

.wttw-article-conclusion blockquote::after {
	margin-left: 0.28em;
	content: "”";
}

/* Closing --------------------------------------------------------------- */

.wttw-article__closing {
	display: grid;
	gap: 1.25rem;
	justify-content: center;
	grid-template-columns: minmax(0, calc(var(--wttw-reading-width) + var(--wttw-article-gap) + var(--wttw-sidebar-width)));
	padding-block: var(--wttw-space-4) var(--wttw-space-6);
}

/* Ad and author box keep the reading measure; only the story pair goes wide. */
.wttw-article__closing > .wttw-ad-slot,
.wttw-article-author {
	max-width: calc(var(--wttw-reading-width) + var(--wttw-article-gap));
}

.wttw-article-author {
	display: grid;
	grid-template-columns: 6.6rem minmax(0, 1fr) auto;
	gap: 1.5rem;
	align-items: center;
	padding: 1.35rem 1.7rem;
	background: var(--wttw-paper);
}

.wttw-article-author__avatar {
	display: grid;
	place-items: center;
	width: 6.6rem;
	height: 6.6rem;
	background: var(--wttw-white);
	color: inherit;
	border-radius: 50%;
}

.wttw-article-author__avatar:hover,
.wttw-article-author__avatar:focus-visible {
	color: inherit;
}

.wttw-article-author__avatar img {
	width: 4.6rem;
	height: auto;
}

.wttw-article-author h2 {
	margin: 0 0 0.35rem;
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wttw-article-author p {
	max-width: 26rem;
	margin: 0;
	color: var(--wttw-ink-soft);
	font-size: 0.95rem;
	line-height: 1.5;
}

.wttw-article-author__follow {
	display: grid;
	gap: 0.85rem;
	justify-items: center;
}

.wttw-article-author__follow-label {
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.wttw-article-author__follow ul {
	display: flex;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wttw-article-author__follow a {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--wttw-ink);
	color: var(--wttw-ink);
	border-radius: 50%;
	transition:
		background var(--wttw-fast) var(--wttw-ease),
		color var(--wttw-fast) var(--wttw-ease);
}

.wttw-article-author__follow a:hover,
.wttw-article-author__follow a:focus-visible {
	background: var(--wttw-ink);
	color: var(--wttw-paper);
}

.wttw-article-author__follow .wttw-icon {
	width: 1.35rem;
	height: 1.35rem;
}

.wttw-article-related {
	padding-top: 1rem;
}

.wttw-article-related > h2 {
	margin: 0 0 1rem;
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	font-size: 1.55rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wttw-article-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

/*
 * The newest and the oldest report only have one neighbour. A lone card takes
 * the whole row instead of leaving the other half empty.
 */
.wttw-article-related__grid:has(> :only-child) {
	grid-template-columns: minmax(0, 1fr);
}

.wttw-article-related__grid:has(> :only-child) .wttw-article-related__story {
	grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
	min-height: 11.5rem;
}

/* One line of title needs no bottom-pinned call to action. */
.wttw-article-related__grid:has(> :only-child) .wttw-article-related__copy {
	justify-content: center;
}

.wttw-article-related__grid:has(> :only-child) .wttw-article-related__copy > span {
	margin-top: 0;
	padding-top: 1.1rem;
}

.wttw-article-related__story {
	display: grid;
	grid-template-columns: minmax(8rem, 48%) minmax(0, 1fr);
	min-height: 14rem;
	background: var(--wttw-paper);
	color: var(--wttw-ink);
	text-decoration: none;
}

.wttw-article-related__media {
	overflow: hidden;
	background: var(--wttw-paper-deep);
}

.wttw-article-related__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--wttw-ease);
}

.wttw-article-related__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 1.4rem;
}

.wttw-article-related__copy small,
.wttw-article-related__copy > span {
	color: var(--wttw-coral);
	font-family: var(--wttw-font-display);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.095em;
	text-transform: uppercase;
}

.wttw-article-related__copy strong {
	max-width: 100%;
	margin-top: 0.7rem;
	color: var(--wttw-ink);
	font-family: var(--wttw-font-display);
	font-size: clamp(1.1rem, 0.9rem + 0.55vw, 1.5rem);
	font-weight: 600;
	line-height: 1.1;
	overflow-wrap: anywhere;
	text-transform: uppercase;
}

/*
 * Blocksy styles `a:hover` on the element (0,1,1), which outranks a plain
 * component class. Every interactive part of the card therefore restates its
 * own hover colour at class-on-class specificity.
 */
.wttw-article-related__story:hover,
.wttw-article-related__story:focus-visible,
.wttw-article-related__story:hover .wttw-article-related__copy strong,
.wttw-article-related__story:focus-visible .wttw-article-related__copy strong {
	color: var(--wttw-ink);
}

.wttw-article-related__story:hover .wttw-article-related__copy small,
.wttw-article-related__story:hover .wttw-article-related__copy > span,
.wttw-article-related__story:focus-visible .wttw-article-related__copy small,
.wttw-article-related__story:focus-visible .wttw-article-related__copy > span {
	color: var(--wttw-coral);
}

.wttw-article-related__copy > span {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: auto;
	padding-top: 1rem;
}

.wttw-article-related__story:hover .wttw-article-related__media img {
	transform: scale(1.035);
}

/* Breakpoints ----------------------------------------------------------- */

@media (max-width: 68rem) {
	.wttw-article {
		--wttw-reading-width: 41rem;
		--wttw-sidebar-width: 16.5rem;
		--wttw-article-gap: 2.5rem;
	}

	.wttw-article-hero__grid {
		grid-template-columns: minmax(0, 1fr) 12rem;
	}

	.wttw-article-panel {
		padding: 1.35rem;
	}

	.wttw-article-author {
		grid-template-columns: 5.6rem minmax(0, 1fr);
		row-gap: 1.15rem;
	}

	.wttw-article-author__avatar {
		width: 5.6rem;
		height: 5.6rem;
	}

	.wttw-article-author__follow {
		grid-column: 1 / -1;
		justify-items: start;
	}
}

@media (max-width: 56rem) {
	.wttw-article-hero__media {
		height: clamp(21rem, 48vw, 27rem);
	}

	.wttw-article__layout,
	.wttw-article-conclusion__inner,
	.wttw-article__closing {
		grid-template-columns: minmax(0, 1fr);
		max-width: 48rem;
	}

	.wttw-article__closing > .wttw-ad-slot,
	.wttw-article-author {
		max-width: none;
	}


	.wttw-article-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wttw-article-sidebar > .wttw-ad-slot {
		min-height: 10rem;
	}

	/* One line is a desktop requirement; below that the title may wrap. */
	.wttw-article-conclusion h2 {
		white-space: normal;
		text-wrap: balance;
	}

	/*
	 * Tablet and phone are touch: the destination links and the route list get
	 * 44px targets. Negative margins keep the layout where it was.
	 */
	.wttw-article-hero__region a,
	.wttw-article-hero__mark-value a {
		display: inline-block;
		margin-block: -0.7rem;
		padding-block: 0.7rem;
	}

	.wttw-article-toc ol {
		gap: 0;
	}

	/* Padding alone reaches 44px, so the mark stays on the first line. */
	.wttw-article-toc a {
		padding-block: 0.72rem;
	}

	.wttw-article-copy a {
		display: inline-block;
		margin-block: -0.35rem;
		padding-block: 0.35rem;
	}

	.wttw-article-sidebar__note {
		display: none;
	}

	.wttw-article-related__story {
		grid-template-columns: 1fr;
	}

	.wttw-article-related__media {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 43.75rem) {
	.wttw-article-hero__media {
		height: 19rem;
	}

	.wttw-article-hero__sheet {
		margin-top: -7rem;
		/* Mask band is 9rem here, its lowest edge point lands at about 6.75rem. */
		padding-top: 6.5rem;
		clip-path: polygon(
			0 1.3rem,
			18% 0.55rem,
			34% 1.25rem,
			51% 0.4rem,
			70% 1.15rem,
			86% 0.45rem,
			100% 1.1rem,
			100% 100%,
			0 100%
		);
	}

	@supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
		.wttw-article-hero__sheet {
			clip-path: none;
			-webkit-mask-size: 100% 9rem, 100% calc(100% - 8.5rem);
			mask-size: 100% 9rem, 100% calc(100% - 8.5rem);
		}
	}

	.wttw-article-hero__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.wttw-article-hero__title {
		font-size: clamp(2.65rem, 11vw, 4rem);
	}

	.wttw-article-hero__mark {
		display: none;
	}

	.wttw-article {
		--wttw-article-inset: 1.45rem;
		/* Set on the token so the intro keeps its relation to the body size. */
		--wttw-article-body: 1rem;
	}

	.wttw-article__layout {
		padding-top: 2.75rem;
	}

	.wttw-article-copy .alignwide {
		width: 100%;
	}

	.wttw-article-sidebar {
		grid-template-columns: 1fr;
	}


	.wttw-article-author {
		grid-template-columns: 4.75rem minmax(0, 1fr);
		padding: 1.2rem;
	}

	.wttw-article-author__avatar {
		width: 4.75rem;
		height: 4.75rem;
	}

	.wttw-article-author__avatar img {
		width: 3.4rem;
	}

	.wttw-article-related__grid {
		grid-template-columns: 1fr;
	}

	.wttw-article-related__story {
		grid-template-columns: 8rem minmax(0, 1fr);
		min-height: 10rem;
	}

	.wttw-article-related__media {
		aspect-ratio: auto;
	}

	.wttw-article-related__copy {
		padding: 1.1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wttw-article-hero__media img,
	.wttw-article-hero__image {
		animation: none;
	}
}
