/*
Theme Name:   Renovate Europe
Theme URI:    https://www.renovate-europe.eu/
Description:  Block child theme of Twenty Twenty-Five for the Renovate Europe campaign site. Replicates the previous Uncode/WPBakery design using core blocks, theme.json tokens and block patterns.
Author:       Renovate Europe
Template:     twentytwentyfive
Version:      1.3.164
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  renovate-europe
Tags:         block-theme, one-column, custom-colors, custom-menu, editor-style, full-site-editing
*/

/*
 * Design tokens live in theme.json, not here. Only rules that theme.json cannot
 * express belong in this file.
 */

/*
 * Uncode framed every page in a 9px border (`_uncode_body_border` = 9,
 * `color-uydo` = #dddddd) drawn as a fixed overlay, so it stays put while the
 * page scrolls. The padding on <body> keeps content from sliding underneath it.
 */
:root {
	--re-frame-width: 9px;
}

body {
	padding: var(--re-frame-width);
}

/*
 * Nothing on the site is meant to scroll sideways. `clip` (not `hidden`) leaves
 * the sticky nav bar working, and catches a dropdown that still pokes past the
 * edge, e.g. when the header menu wraps onto two lines around 600px.
 */
html {
	overflow-x: clip;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 100;
	border: var(--re-frame-width) solid var(--wp--preset--color--accent-6);
	pointer-events: none;
}

/* The sticky nav bar clears the frame's top edge. */
.wp-site-blocks .wp-block-group.alignfull[style*="position:sticky"],
.wp-site-blocks .wp-block-group.alignfull.is-position-sticky {
	z-index: 99;
}

/* ===========================================================================
 * Site footer (patterns/footer.php)
 *
 * Neutral carries it: a light grey ground, charcoal headings and text. Coral
 * is the lead accent and blue complements it (client, 2026-09-28): the AA-safe
 * coral (`coral-text`) for the email link, link hovers, the social icons and
 * the Subscribe button; deep blue for what answers the visitor — hovers and
 * every focus ring. Brand column, two link columns and the newsletter card on
 * a 4-track grid, collapsing to 2 and then 1 — a grid
 * rather than core/columns because Columns only knows "side by side" or
 * "stacked" (at 781px), and four columns need a two-up step in between.
 *
 * Text is charcoal, not the #767676 muted grey: on this grey the muted grey
 * drops to 4.24:1 and fails AA. Charcoal is 12.2:1, the coral 4.61:1.
 * ======================================================================== */
.re-footer {
	--re-ft-blue: #004e7a;
	padding-top: 72px;
	padding-bottom: 40px;
	border-top: 1px solid var(--wp--preset--color--accent-6);
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
}

/* The root blockGap would leave a 24px white strip above the grey footer. */
.wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: 0;
}

.re-footer :where(p, ul, h2) {
	margin: 0;
}

.re-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

/*
 * Hovered and focused text links turn the
 * `coral-text` preset (#ca4016) — the AA-safe darkening of the brand coral,
 * 4.61:1 on this grey, where #ec6725 manages only 3.00:1. The underline carries
 * the state as well, so colour is never the only signal — and is the only
 * change on the email and newsletter links, which are coral already. They are
 * named here to outrank their resting rule further down. The social icons keep
 * their own hover. Focus rings are blue: coral text with a coral ring would
 * blur together, and blue is 8.27:1 on this grey.
 */
.re-footer a:not(.wp-block-social-link-anchor):hover,
.re-footer a:not(.wp-block-social-link-anchor):focus-visible,
.re-footer .re-footer__email a:hover,
.re-footer .re-footer__email a:focus-visible {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.re-footer a:focus-visible {
	outline: 2px solid var(--re-ft-blue);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Brand, two link columns, then the newsletter card — the widest track, since
 * it holds two inputs side by side. */
.re-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.85fr)) minmax(0, 1.6fr);
	gap: 48px 48px;
	align-items: start;
}

.re-footer__grid > * {
	margin-block-start: 0;
}

.re-footer__brand .wp-block-site-logo {
	margin-bottom: 20px;
}

.re-footer__about {
	max-width: 40ch;
}

.re-footer__heading {
	margin-bottom: 16px !important;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.2;
}

.re-footer__links {
	display: grid;
	gap: 6px;
	padding: 0;
	list-style: none;
	line-height: 1.5;
}

.re-footer__links li {
	margin: 0;
}

.re-footer .re-footer__address {
	margin-top: 20px;
}

.re-footer .re-footer__legal-id {
	margin-top: 4px;
	color: #5c5e61;
	font-size: var(--wp--preset--font-size--small);
}

.re-footer .re-footer__legal-id span {
	white-space: nowrap;
}

.re-footer .re-footer__email {
	margin-top: 4px;
}

.re-footer .re-footer__email a {
	color: var(--wp--preset--color--coral-text);
	font-weight: 700;
	overflow-wrap: anywhere;
}

/* Filled coral discs with white glyphs (4.93:1), turning blue on hover; 38px
 * keeps them well over the 24px minimum target size. */
.re-footer .re-footer__social {
	margin-top: 24px;
	gap: 12px;
}

.re-footer .re-footer__social .wp-social-link {
	background: var(--wp--preset--color--coral-text);
	color: var(--wp--preset--color--base);
	border-radius: 50%;
	transition: background-color 0.15s ease;
}

.re-footer .re-footer__social .wp-social-link a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	color: inherit;
}

.re-footer .re-footer__social .wp-social-link:hover,
.re-footer .re-footer__social .wp-social-link:focus-within {
	background: var(--re-ft-blue);
}

.re-footer .re-footer__social .wp-social-link a:hover,
.re-footer .re-footer__social .wp-social-link a:focus-visible {
	color: inherit;
}

.re-footer .re-footer__social .wp-social-link svg {
	width: 18px;
	height: 18px;
}

/* ── Newsletter card ─────────────────────────────────────────────────────────
 * White on the footer grey with the Border grey edge: light, never a blue
 * fill (client, 2026-09-29). The button is the brand orange (white on it is
 * 3.21:1, AA as large text: 19px at weight 900) and turns blue on hover; focus
 * rings are blue (8.86:1 on white). */
.re-footer__newsletter {
	padding: clamp(22px, 2.4vw, 30px);
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
}

.re-footer .re-footer__nl-lead {
	margin-bottom: 18px;
	line-height: 1.5;
}

.re-nl *,
.re-nl *::before,
.re-nl *::after {
	box-sizing: border-box;
}

.re-nl__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.re-nl__field--wide {
	grid-column: 1 / -1;
}

.re-nl__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.re-nl__field input {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 8px 12px;
	border: 1px solid #8a8c8f;
	border-radius: 6px;
	background: #fff;
	color: var(--wp--preset--color--contrast);
	font: inherit;
	transition: border-color 120ms ease, box-shadow 120ms ease;
}

/* #6b6d70 on white is 5.3:1, so the placeholder that stands in for the
 * visible label stays readable. */
.re-nl__field input::placeholder {
	color: #6b6d70;
	opacity: 1;
}

.re-nl__field input:hover {
	border-color: var(--wp--preset--color--contrast);
}

.re-nl__field input:focus-visible {
	border-color: var(--re-ft-blue);
	outline: none;
	box-shadow: 0 0 0 2px var(--re-ft-blue);
}

/* Only flag an invalid field once the visitor has typed into it and left. */
.re-nl__field input:user-invalid {
	border-color: #b42318;
}

.re-nl__trap {
	position: absolute;
	left: -5000px;
}

.re-nl__submit {
	margin-top: 12px;
	min-height: 46px;
	padding: 10px 28px;
	border: 0;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-1);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 1.1875rem;
	font-weight: 900;
	letter-spacing: 0.02em;
	transition: background-color 150ms ease;
}

.re-nl__submit:hover {
	background: var(--re-ft-blue);
}

.re-nl__submit:focus-visible {
	outline: 3px solid var(--re-ft-blue);
	outline-offset: 3px;
}

.re-footer .re-nl__note {
	margin-top: 10px;
	color: #5c5e61;
	font-size: var(--wp--preset--font-size--x-small);
}

@media (prefers-reduced-motion: reduce) {
	.re-nl__field input,
	.re-nl__submit {
		transition: none;
	}
}

.re-footer .re-footer__bottom {
	margin-top: 56px;
	font-size: var(--wp--preset--font-size--small);
	/* Copyright, then the legal links, kept apart by space alone. */
	display: flex;
	flex-wrap: wrap;
	column-gap: 28px;
	row-gap: 8px;
}

.re-footer .re-footer__bottom span {
	margin-right: auto;
}

.re-footer .re-footer__bottom {
	align-items: flex-end;
}

/* The privacy link in the newsletter note: underlined, as the note is small grey text. */
.re-footer .re-nl__note a {
	text-decoration: underline;
}

/* Two-up: brand beside the newsletter card, the link columns below them. */
@media (max-width: 1100px) {
	.re-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas: "brand newsletter";
	}

	.re-footer__brand {
		grid-area: brand;
	}

	.re-footer__newsletter {
		grid-area: newsletter;
	}
}

@media (max-width: 600px) {
	.re-footer {
		padding-top: 56px;
	}

	.re-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: none;
		gap: 36px;
	}

	.re-footer__brand,
	.re-footer__newsletter {
		grid-area: auto;
	}

	.re-footer .re-footer__bottom {
		margin-top: 44px;
	}
}

/* Uncode marked the current menu item in the accent colour. */
.wp-block-navigation .wp-block-navigation-item.current-menu-item > a,
.wp-block-navigation .wp-block-navigation-item.current-menu-ancestor > a,
.wp-block-navigation .wp-block-navigation-item.current_page_item > a {
	color: var(--wp--preset--color--accent-1);
}

/*
 * Header (patterns/header.php, 7 October 2026): the logo on the left across
 * both rows; on the right a slim row of small links (newsletter, contact,
 * social icons, search, the event button) above the menu. The menu stays inline from
 * 1024px (960px until the menu went from 12px to 14px); below that the top row hides and core's menu button opens the menu
 * as the full-screen overlay (core folds only below 600px, so 600-1023px is
 * added here). The dropdown rules further down start at 1024px too.
 */
/* The <header> sticks, both rows with it (a sticky box only sticks inside its
 * parent, and the bar is the header's only block). */
.wp-site-blocks > header.wp-block-template-part:has(> .re-header-bar) {
	position: sticky;
	top: var(--re-frame-width);
	z-index: 99;
}

/* Logo on the left across both rows; the small links above the menu, 14px
 * apart (the block gap of 6px ran them together). */
header .re-header-right {
	align-items: flex-end;
	row-gap: 14px;
}

/* The top row reads smaller and quieter than the menu (14px bold): 13px
 * regular grey links,
 * the event button at 11px. */
header .re-header-utility .re-header-cta .wp-block-button__link {
	font-size: 11px;
}

header .re-header-utility__links {
	display: flex;
	gap: 20px;
	margin: 0;
	font-size: 13px;
}

header .re-header-utility__links a {
	color: #5c5e61;
	letter-spacing: 0;
	text-decoration: none;
}

header .re-header-utility__links a:hover,
header .re-header-utility__links a:focus-visible {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
}

header .re-header-utility .wp-block-search__button {
	height: 30px;
	padding-block: 0;
}

/* "Search" as a word like the links beside it, not the theme's button. */
header .re-header-search .wp-block-search__button {
	min-width: 0;
	margin-left: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #5c5e61;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
}

header .re-header-search .wp-block-search__button:hover,
header .re-header-search .wp-block-search__button:focus-visible {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
}

/*
 * Clicking "Search" opens the field as a small box just under the word, so the
 * rows never move; Enter (or "Search" again) searches. Closed, core keeps the
 * field at width 0.
 */
header .re-header-search .wp-block-search__inside-wrapper {
	position: relative;
	align-items: center;
	height: auto;
}

header .re-header-search .wp-block-search__button {
	height: auto;
	line-height: 1.5;
}

header .re-header-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 2;
	width: 260px !important;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 2px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	font-size: 15px;
}

/* The search box keeps a 42px wrapper; centre the smaller button in it. */
header .re-header-utility .wp-block-search__inside-wrapper {
	align-items: center;
}

header .re-header-logo {
	flex-shrink: 0;
}

/* With both rows showing, the logo spans them: its top level with the event
 * button, the bottom of the wordmark on the menu's baseline. */
@media (min-width: 1024px) {
	header .re-header-logo {
		align-self: flex-end;
		margin-bottom: 2px;
	}

	header .re-header-logo img {
		width: 195px;
		height: auto;
	}
}

/* Lighter dropdown arrows, so the labels lead. */
header .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon {
	opacity: 0.45;
}

/* A top-level label never breaks onto two lines; the menu folds first. */
header .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	white-space: nowrap;
}

/* Vivid Coral, not Renovate Orange: white on orange is 3.2:1, too low for an
 * 11-12px label; on coral it is about 5:1. Not the gradient for the same
 * reason (its orange end). Deep Blue on hover, like the filled buttons. */
header .re-header-cta .wp-block-button__link {
	padding: 7px 14px;
	border-color: var(--wp--preset--color--coral-text);
	background: var(--wp--preset--color--coral-text);
	font-size: 12px;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

header .re-header-cta .wp-block-button__link:hover,
header .re-header-cta .wp-block-button__link:focus-visible {
	border-color: #004e7a;
	background: #004e7a;
}

/* The search icon sat at the top of its 42px button, above the menu text. */
header .wp-block-search__button.has-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Two rows (1024px and up): search and the event button live in the top row. */
@media (min-width: 1024px) {
	header .re-header-tools > .wp-block-search,
	header .re-header-tools > .re-header-cta {
		display: none;
	}
}

@media (min-width: 1024px) and (max-width: 1139px) {
	header .wp-block-navigation,
	header .wp-block-navigation .wp-block-navigation__container {
		gap: 18px;
	}
}

/* Folded (below 1024px): one row of logo, search, event button, menu button. */
@media (max-width: 1023px) {
	header .re-header-utility {
		display: none;
	}

	header .re-header-tools > .wp-block-navigation {
		order: 3;
	}
}

@media (min-width: 600px) and (max-width: 1023px) {
	header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/*
 * The open menu (overlay): left-aligned in a 720px column, each section name
 * bold with its pages under it, the countries in a grid. Without this it took
 * the bar's right alignment and hugged the right edge.
 */
header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px clamp(16px, 5vw, 48px) 48px;
	text-align: left;
}

/* Core sets these on the menu list itself (items-justified-right). */
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container.items-justified-right {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	--navigation-layout-align: flex-start;
}

header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch;
	max-width: 720px;
	margin-inline: auto;
	padding-top: 48px;
}

header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: stretch;
	gap: 28px;
	width: 100%;
}

header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: flex-start;
}

header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	font-size: 1.125rem;
	font-weight: 700;
}

header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	gap: 12px;
	padding: 12px 0 0 !important;
}

header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 1rem;
	font-weight: 400;
}

header .wp-block-navigation__responsive-container.is-menu-open .re-nav-columns {
	align-self: stretch;
}

header .wp-block-navigation__responsive-container.is-menu-open .re-nav-columns > .wp-block-navigation__submenu-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	width: 100%;
}

/*
 * Phones: logo, search and the menu button on the bar, the event button as a
 * full-width row under them. The right-hand groups step aside (display:
 * contents) so their blocks wrap as items of the bar's own row.
 */
@media (max-width: 599px) {
	header .re-header-row {
		flex-wrap: wrap;
		gap: 10px 16px;
	}

	header .re-header-right,
	header .re-header-tools {
		display: contents;
	}

	header .re-header-logo {
		flex: 1 1 auto;
	}

	header .re-header-logo img {
		width: 140px;
		height: auto;
	}

	header .re-header-cta {
		order: 10;
		flex: 1 0 100%;
	}

	header .re-header-cta .wp-block-button,
	header .re-header-cta .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	header .re-header-cta .wp-block-button__link {
		padding: 8px 10px;
		font-size: 11px;
	}
}

/*
 * Dropdowns: core's 200px box forces the long priority titles onto two lines,
 * and the nav's line-height of 1 squashes them together.
 */
@media (min-width: 1024px) {
	/* Only while open: a closed dropdown kept its 280px and made the page
	 * scroll sideways when its item sat near the right edge (6 Oct 2026).
	 * :not(.open-on-click) matches core's hover rule, which otherwise wins. */
	.wp-block-navigation .has-child:not(.open-on-click):is(:hover, :focus-within) > .wp-block-navigation__submenu-container,
	.wp-block-navigation .has-child > [aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
		min-width: 280px;
	}
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	line-height: 1.35;
}

/*
 * The last three header items sit near the right edge, so their dropdowns ran
 * past the viewport and the page scrolled sideways while a menu was open.
 * Align those dropdowns to the item's right edge and open their flyouts left.
 */
@media (min-width: 1024px) {
	.wp-block-navigation .wp-block-navigation__container > .has-child:nth-last-child(-n+3) > .wp-block-navigation__submenu-container {
		left: auto;
		right: 0;
	}

	.wp-block-navigation .wp-block-navigation__container > .has-child:nth-last-child(-n+3) .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
		left: auto;
		right: 100%;
	}
}

/*
 * National Initiatives: 19 countries ran past the bottom of a laptop screen,
 * so the open dropdown lays them out in three columns (menu class
 * re-nav-columns). Only while open, like the min-width above.
 */
@media (min-width: 1024px) {
	.wp-block-navigation .re-nav-columns:not(.open-on-click):is(:hover, :focus-within) > .wp-block-navigation__submenu-container,
	.wp-block-navigation .re-nav-columns > [aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		min-width: 540px;
	}
}

/* The Events menu's "Past …" links land on these headings below the sticky bar. */
#re-reday-editions-title,
#re-c4e-more-title {
	scroll-margin-top: 110px;
}

/* The search magnifier is an icon, not a call-to-action button. */
.wp-block-search__button.has-icon {
	border: 0;
	min-width: 0;
}

.wp-block-search__button svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/*
 * Uncode underlined every section heading with a short accent rule. Core has no
 * "heading underline" support, so patterns opt in with this class.
 */
.re-heading-rule::after {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	margin-top: 0.6em;
	background-color: var(--wp--preset--color--accent-1);
}

.has-text-align-center.re-heading-rule::after {
	margin-inline: auto;
}

/*
 * Uncode's card overlay: image tinted with the brand orange, title bottom-left.
 * Used by the publication/priority grids.
 */
.re-card {
	position: relative;
	overflow: hidden;
}

.re-card__title {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	margin: 0;
	padding: var(--wp--preset--spacing--30);
}

/*
 * Signatories grid (Phase 4 — replaces the [pods] "signatories" template).
 * The old template printed the country/party taxonomies as plain grey text,
 * not links. Post Terms always renders anchors, so mute them back to the
 * muted-grey body colour and keep only a hover cue.
 */
.re-signatory-meta {
	color: var(--wp--preset--color--accent-4);
}

.re-signatory-meta a {
	color: inherit;
	text-decoration: none;
}

.re-signatory-meta a:hover {
	color: var(--wp--preset--color--accent-1);
}

/* Party sits just under the country, a touch lighter — matches the old .party rule. */
.re-signatory-party {
	margin-top: 0;
}

/*
 * Partner logo grid (Phase 4). Logos are mixed aspect ratios; contain them in a
 * uniform cell so rows stay tidy the way the old 195x120 thumbnails did.
 */
.re-partner-grid.wp-block-gallery img {
	max-height: 120px;
	width: auto;
	object-fit: contain;
}

/*
 * Narrow-viewport overflow (Phase 7.2). 30 of 168 pages pushed content past a
 * 390px viewport — worst 678px — because the imported content is full of tokens
 * the browser cannot break: bare URLs used as link text
 * ("http://www.aachen.de/DE/stadt_buerger/en…"), and runs of words welded
 * together by non-breaking spaces ("#PrioritisePeople\a0\a0\a0#AccelerateRenovation",
 * "Belgium-Wallonia,\a0Denmark,\a0Portugal…"), each of which counts as one word.
 *
 * Set on the container so it inherits: the three offenders turned up in links,
 * headings AND paragraphs, so targeting element types kept missing cases.
 * `anywhere` rather than `break-word` because it also lowers the min-content
 * width, which is what actually stops the parent group from being forced wide.
 */
.entry-content {
	overflow-wrap: anywhere;
}

/*
 * Restored Uncode photo galleries (Phase 7.2). Core sets flex-grow:1 on gallery
 * images so the final row stretches to fill the width. With 29 champion cards in
 * a 4-column grid that left one card alone on the last row at four times the size
 * of every other. Hold the column basis instead and let the row end short.
 */
.re-post-gallery.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex-grow: 0;
}

/* ===========================================================================
 * Homepage rebuild (2026-07-26)
 *
 * theme.json declares `typography.fluid: false` and a fixed 12-35px scale, which
 * is right for body copy but leaves nothing for a hero headline or a stat
 * figure. Those two need to scale with the viewport, so they are clamp() rules
 * here rather than new presets — adding 40px+ sizes to theme.json would also put
 * them in every editor font-size menu, where they would be misapplied to body
 * text.
 * ======================================================================== */

/*
 * Hero (rebuilt 2026-09-29 from client references; made light the same day).
 * A photo of people and buildings (the Cover's own image: the Madrid site visit, REDay2023, attachment 80060), a
 * short headline, one sentence of lead and two buttons.
 *
 * ── Light, not a dark photo ──
 * It was first a full-bleed photo under a near-black fade. The client found the
 * top of the page too dark against the grey, white and coral of the rest
 * (2026-09-29), so the Cover is now a split: copy in charcoal on white on the
 * left, the photo as a rounded panel on the right of the 1200px column. The
 * block markup is unchanged, since CSS moves the image and hides the overlay,
 * so the editor still shows an ordinary Cover. Below 782px the photo sits above
 * the copy.
 *
 * One accent in the headline: "stronger" in the brand orange #ec6725
 * (2026-09-29; it was coral-text, which read too dark). 3.21:1 on white passes
 * AA because the headline is large text: 40px and up at weight 900.
 */
/* The site gutter, not Cover's own 1em, so the text edge matches every section below. */
.re-hero.wp-block-cover {
	--re-hero-col: min(1200px, 100% - var(--wp--style--root--padding-left) - var(--wp--style--root--padding-right));
	padding-right: var(--wp--style--root--padding-right);
	padding-left: var(--wp--style--root--padding-left);
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

/* The dark fade stored in the block is not used. */
.re-hero .wp-block-cover__background {
	display: none;
}

/* The photo: right 42% of the column, inset from the band's top and bottom.
 * An <img> keeps its own ratio under `height: auto`, so the height is explicit. */
.re-hero.wp-block-cover img.wp-block-cover__image-background {
	top: 48px;
	bottom: 48px;
	left: auto;
	right: calc((100% - var(--re-hero-col)) / 2);
	width: calc(var(--re-hero-col) * 0.42);
	height: calc(100% - 96px);
	border-radius: 6px;
}

/*
 * Core shrinks a left-positioned Cover's inner container to its content, which
 * pins the text to the viewport edge. Hold it to the 1200px column the sections
 * below use, and keep the copy clear of the photo.
 */
/* Doubled class: core's own reset uses `:not(.is-position-center-center)`, 0,5,0. */
.re-hero.re-hero.wp-block-cover.has-custom-content-position .wp-block-cover__inner-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
}

.re-hero .wp-block-cover__inner-container > .re-hero__content {
	max-width: min(650px, 54%);
	margin-left: 0 !important;
}

.re-hero__title {
	margin: 0 0 0.45em;
	color: var(--wp--preset--color--contrast);
	font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.25rem);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.025em;
}

/* Matches the block's own `has-accent-1-color`, and keeps it if that class is dropped. */
.re-hero__title mark.has-inline-color {
	color: var(--wp--preset--color--accent-1) !important;
}

.re-hero__lead {
	max-width: 46ch;
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.3125rem);
	line-height: 1.55;
}

/* The campaign hashtags: a strapline above the headline, not a heading. Deep
 * blue as the complement to the coral accent below it (8.9:1). */
.re-hero__tags {
	margin: 0 0 18px;
	color: #004e7a;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.re-hero .re-hero__actions {
	gap: 14px;
	margin-top: 36px;
}

/*
 * The next band butts up against the hero. The stat bar that used to follow was
 * white, so the 24px block gap between them never showed; a grey band does.
 */
.re-hero + * {
	margin-block-start: 0;
}

@media (max-width: 781px) {
	.re-hero.wp-block-cover {
		flex-direction: column;
		align-items: stretch;
		min-height: 0 !important;
		padding-top: 24px !important;
		padding-bottom: 56px !important;
	}

	.re-hero.wp-block-cover img.wp-block-cover__image-background {
		position: relative;
		inset: auto;
		width: 100%;
		height: 240px;
		margin-bottom: 32px;
	}

	.re-hero .wp-block-cover__inner-container > .re-hero__content {
		max-width: none;
	}
}

/*
 * Stat bar. Figures are links to the page each number is drawn from, but they
 * should read as data, not as a row of blue links — the underline arrives on
 * hover only.
 */
.re-stat__value {
	margin: 0;
	font-size: clamp(2.25rem, 1.7rem + 2.2vw, 3.25rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
}

.re-stat__value a {
	color: var(--wp--preset--color--accent-1);
	text-decoration: none;
}

.re-stat__value a:hover,
.re-stat__value a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.re-stat__label {
	margin: 0.5em 0 0;
	max-width: 22ch;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.35;
}

/*
 * Card grids. Core's grid layout handles the columns; these rules only cover
 * the hover affordance, which no block support exposes.
 */
.re-card-grid .re-card {
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.re-card-grid .re-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgb(0 0 0 / 18%);
}

.re-card a {
	text-decoration: none;
}

/*
 * The whole card is the click target, not just the words of the title. The
 * anchor keeps its real text so the accessible name and the tab order are
 * unchanged; the pseudo-element only widens the pointer area.
 */
.re-card__link-overlay::after,
.re-card .wp-block-heading a::after {
	content: "";
	position: absolute;
	inset: 0;
}

@media (prefers-reduced-motion: reduce) {
	.re-card-grid .re-card {
		transition: none;
	}

	.re-card-grid .re-card:hover {
		transform: none;
	}
}

/*
 * National initiatives map (2026-09-28). Campaign countries carry the brand
 * orange #ec6725 (client, 2026-09-29; it was the darker `coral-text`),
 * the rest of Europe recedes to the border grey, and the deep blue marks the one
 * country being pointed at, in the map and the list alike (the `.is-active`
 * class comes from assets/js/national-map.js). The list carries no markers: the
 * coral map beside it already says which countries it names.
 */
.re-natmap {
	--re-natmap-fill: var(--wp--preset--color--accent-1);
	--re-natmap-hover: #004e7a;
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

.re-natmap__map {
	border-radius: 6px;
	background-color: var(--wp--preset--color--base);
	overflow: hidden;
}

.re-natmap__map svg {
	display: block;
	width: 100%;
	height: auto;
}

.re-natmap__map path {
	stroke: var(--wp--preset--color--base);
	stroke-width: 1;
	stroke-linejoin: round;
}

.re-natmap__land path {
	fill: var(--wp--preset--color--border-light);
}

.re-natmap__campaign path {
	fill: var(--re-natmap-fill);
	transition: fill 150ms ease;
}

.re-natmap__campaign a:hover path,
.re-natmap__campaign a.is-active path {
	fill: var(--re-natmap-hover);
}

/* Map links are mouse-only (tabindex="-1"; the country list is the keyboard
   route), so the focus box a click leaves around the country is just noise. */
.re-natmap__campaign a:focus,
.re-natmap__campaign a:focus-visible {
	outline: none;
}

.re-natmap__list {
	columns: 2;
	column-gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.re-natmap__list li {
	break-inside: avoid;
}

.re-natmap__list a {
	display: block;
	padding: 3px 0;
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	text-decoration: none;
	transition: color 150ms ease;
}

.re-natmap__list a:hover,
.re-natmap__list a:focus-visible,
.re-natmap__list a.is-active {
	color: var(--re-natmap-hover);
}

/* EU countries with no national partner (homepage only, 2026-10-06): the
   campaign orange as hatching on the grey, so the section keeps one accent.
   The square before "No national partner yet" is the map's key. */
.re-natmap__open path {
	fill: url(#re-natmap-hatch);
}

/* Cyprus's inset box. Hatched, the island gets an orange edge so its shape
   reads at this size. */
.re-natmap__inset rect {
	fill: var(--wp--preset--color--base);
	stroke: var(--wp--preset--color--border-light);
	stroke-width: 1.5;
}

.re-natmap__map .re-natmap__inset .re-natmap__open path {
	stroke: var(--re-natmap-fill);
	stroke-width: 1.5;
}

/* A ring around an open country too small to see (Malta). */
.re-natmap__map .re-natmap__marker {
	fill: url(#re-natmap-hatch);
	stroke: var(--re-natmap-fill);
	stroke-width: 2;
}

.re-natmap__hatch-ground {
	fill: var(--wp--preset--color--border-light);
}

.re-natmap__hatch-line {
	stroke: var(--re-natmap-fill);
	stroke-width: 2.5;
}

.re-natmap__join {
	margin-top: 28px;
	padding: 22px 24px 24px;
	border-radius: 6px;
	background-color: var(--wp--preset--color--base);
}

/* Prefixed with .re-natmap so the article's heading and paragraph rules on
   the hub (h2 there) don't win. */
.re-natmap .re-natmap__join p {
	margin: 0 0 12px;
	font-size: 1rem;
}

.re-natmap .re-natmap__join .re-natmap__join-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	font-size: 1.125rem;
	line-height: 1.3;
}

.re-natmap__key {
	flex: none;
	width: 16px;
	height: 16px;
	border-radius: 2px;
	background: repeating-linear-gradient(
		-45deg,
		var(--re-natmap-fill) 0 2px,
		var(--wp--preset--color--border-light) 2px 5px
	);
}

.re-natmap .re-natmap__join .re-natmap__join-countries {
	font-weight: 700;
}

.re-natmap .re-natmap__join .wp-block-button {
	margin: 18px 0 0;
}

/* The article's inline link rules broke the button across lines on the hub. */
.re-natmap .re-natmap__join .wp-block-button__link {
	display: inline-block;
	text-align: center;
	text-decoration: none;
}

@media (max-width: 800px) {
	.re-natmap {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

@media (max-width: 480px) {
	.re-natmap__list a {
		padding: 5px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.re-natmap__campaign path,
	.re-natmap__list a {
		transition: none;
	}
}

/* ===========================================================================
 * Homepage partner marquee (2026-07-30)
 *
 * The 6-up logo wall was the tallest section on the page — 52 logos capped at
 * 120px made 9 rows and 1,299px of grid — for content visitors scan rather than
 * read. Two drifting rows carry the same 52 logos in about 170px.
 *
 * The loop is one trick: each row holds the same track twice and translates by
 * exactly one track width plus one gap, so the end frame is pixel-identical to
 * the start. Nothing here needs JavaScript, which is what keeps this theme at
 * zero script files.
 * ======================================================================== */
.re-partner-marquee {
	--re-marquee-tile: 150px;
	--re-marquee-gap: 8px;

	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 20px;
}

.re-marquee-rows {
	display: flex;
	flex-direction: column;
	gap: var(--re-marquee-gap);
	width: 100%;
}

/*
 * The mask fades both ends, so logos enter and leave rather than being sliced
 * off at a hard edge — the difference between a marquee that looks designed and
 * one that looks clipped. The fade is about one logo wide (2026-09-29): at 6%
 * it was ~70px, narrower than a logo, and the edge logos still read as cut off.
 */
.re-marquee-row {
	display: flex;
	gap: var(--re-marquee-gap);
	overflow: hidden;
	--re-marquee-fade: min(140px, 16%);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--re-marquee-fade), #000 calc(100% - var(--re-marquee-fade)), transparent);
	mask-image: linear-gradient(to right, transparent, #000 var(--re-marquee-fade), #000 calc(100% - var(--re-marquee-fade)), transparent);
}

/*
 * Both rows share one direction and one duration (2026-09-28, the client's call).
 * The pattern splits the roster evenly, so equal tracks at equal time move at
 * the same speed and the strip travels as one band.
 */
.re-marquee-track {
	display: flex;
	flex: 0 0 auto;
	gap: var(--re-marquee-gap);
	animation: re-marquee-scroll 80s linear infinite;
}

@keyframes re-marquee-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(calc(-100% - var(--re-marquee-gap)));
	}
}

/*
 * Stop on hover or on keyboard entry: a moving link is a target the user has to
 * chase, and these links are the whole point of the section. This is a courtesy,
 * not the WCAG 2.2.2 mechanism — that is the checkbox below.
 *
 * Scoped to the rows, not to the whole marquee, so that hovering or focusing the
 * pause control is not itself a pause: pressing "Play" while still focused would
 * otherwise leave the strip standing still with no explanation.
 */
.re-marquee-rows:hover .re-marquee-track,
.re-marquee-pause:checked ~ .re-marquee-rows .re-marquee-track {
	animation-play-state: paused;
}

/*
 * Keyboard focus does not merely pause, it REWINDS — `animation: none` drops the
 * transform as well as the motion.
 *
 * Pausing alone is not enough and the reason is worth writing down: a transform
 * moves what you see but not where the element is laid out, and scroll-into-view
 * works off layout. Tabbing into a paused strip therefore put focus on tiles
 * sitting up to a screen and a half outside the clip, with the browser convinced
 * they were already visible (measured: tile at -176px inside a row starting at
 * 120px, scrollLeft never moved). Dropping the transform puts every tile back
 * where the browser thinks it is, so focus is visible and the row scrolls when it
 * genuinely needs to.
 */
.re-marquee-rows:focus-within .re-marquee-track {
	animation: none;
}

/*
 * `box-sizing` is not inherited here — core's reset does not reach a bare <a> —
 * so without it the 6px padding lands outside the 76px and every row renders
 * 88px tall.
 */
.re-marquee__tile {
	box-sizing: border-box;
	display: flex;
	flex: 0 0 var(--re-marquee-tile);
	align-items: center;
	justify-content: center;
	width: var(--re-marquee-tile);
	height: 76px;
	padding: 6px 10px;
	transition: background-color 150ms ease;
}

/*
 * No border on these tiles, unlike the static grid on the Partners page: 52
 * outlined boxes sliding past each other read as a conveyor belt. A tint on
 * hover is enough to say "this one is a link", and by then the strip has stopped.
 * Keyboard focus also gets the section's blue ring: a pale tint alone is too
 * faint to find (1.07:1 against white).
 */
.re-marquee__tile:hover,
.re-marquee__tile:focus-visible {
	background-color: var(--wp--preset--color--accent-5);
}

.re-marquee__tile:focus-visible {
	outline: 2px solid #004e7a;
	outline-offset: -2px;
}

/*
 * Height is the binding constraint, not width: measured across the roster, most
 * logos sit at the height cap and none reach the 130px the tile gives them.
 */
.re-marquee__tile img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 62px;
	object-fit: contain;
}

/* ── The pause control ───────────────────────────────────────────────────── */

/*
 * Visually hidden but focusable and still hit-testable through its label, which
 * is what lets `:checked` drive the whole strip with no script.
 */
.re-marquee-pause {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/*
 * A small round ❚❚ / ▶ icon rather than a worded button: it has to exist
 * (WCAG 2.2.2) but should not compete with the logos. Muted until hovered.
 */
.re-marquee-pause__label {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 50%;
	color: var(--wp--preset--color--accent-4);
	cursor: pointer;
	transition: color 150ms ease, border-color 150ms ease;
}

.re-marquee-pause__label svg {
	display: block;
	fill: currentColor;
}

.re-marquee-pause__label:hover {
	border-color: #004e7a;
	color: #004e7a;
}

/* The accessible name lives in these words; the icon beside them is aria-hidden. */
.re-marquee-pause__text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* The checkbox is off-screen, so its focus ring has to be drawn on the label. */
.re-marquee-pause:focus-visible ~ .re-marquee-pause__label {
	outline: 2px solid #004e7a;
	outline-offset: 2px;
}

.re-marquee-pause__start {
	display: none;
}

.re-marquee-pause:checked ~ .re-marquee-pause__label .re-marquee-pause__stop {
	display: none;
}

.re-marquee-pause:checked ~ .re-marquee-pause__label .re-marquee-pause__start {
	display: inline;
}

/* The pause icon sits alone under the strip, at its right-hand end. */
.re-marquee-pause__label {
	margin-left: auto;
}

/*
 * Asked not to see motion: no animation at all, and therefore no pause control
 * to offer. The rows become plain horizontal scrollers so the logos hidden by
 * the clip are still reachable, and the duplicate track goes away — it exists
 * only to serve a loop that no longer runs.
 */
@media (prefers-reduced-motion: reduce) {
	.re-marquee-track {
		animation: none;
	}

	.re-marquee-track[aria-hidden="true"] {
		display: none;
	}

	.re-marquee-row {
		overflow-x: auto;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.re-marquee-pause,
	.re-marquee-pause__label {
		display: none;
	}

	.re-marquee__tile {
		transition: none;
	}
}

/*
 * The heading is the call to action (2026-09-28), so the section label moves
 * above it as an eyebrow and the join link becomes a real button beside it.
 *
 * Colours follow the site rule set that day — coral leads, blue complements:
 * the eyebrow is the AA-safe `coral-text` (#ca4016), both buttons the brand
 * orange #ec6725 at large-text size (client, 2026-09-29), and
 * blue #004e7a answers the visitor (button hover, every focus ring, the pause
 * control's hover). The eyebrow stays on `coral-text`: it is small text, where
 * #ec6725 (3.2:1) would fail.
 */
.re-partner-heading {
	flex: 1 1 32rem;
	max-width: 46rem;
}

.re-eyebrow {
	margin: 0 0 10px;
	color: var(--wp--preset--color--coral-text);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/*
 * Softer buttons for this section (2026-09-28, client reference): sentence case,
 * a 6px radius and 19px bold. Filled in the brand orange #ec6725 (client,
 * 2026-09-29: `coral-text` read too dark). White on it is 3.21:1, AA only
 * because 19px bold is large text — keep the label at least 18.66px bold.
 * Both buttons turn blue on hover. theme.json's global button stays
 * uppercase and square until the client decides site-wide.
 */
.re-btn .wp-block-button__link {
	padding: 13px 26px;
	border: 2px solid var(--wp--preset--color--accent-1);
	background-color: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	border-radius: 6px;
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.re-btn .wp-block-button__link:hover,
.re-btn .wp-block-button__link:focus-visible {
	border-color: #004e7a;
	background-color: #004e7a;
	color: var(--wp--preset--color--base);
}

.re-btn .wp-block-button__link:focus-visible {
	outline: 2px solid #004e7a;
	outline-offset: 3px;
}

.re-btn--outline .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--accent-1);
}

/* Shared with the national initiatives map heading (.re-section-heading). */
.re-partner-heading__title,
.re-section-heading__title {
	margin: 0;
	font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.5rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

/* The count is the heading's one accent. Coral (2026-09-28), no longer blue:
 * #004e7a sits too close to the near-black heading text to read as an accent at
 * all. The brand orange since 2026-09-29 (client): the heading is large text
 * (26px and up, bold), so 3.21:1 on white and 3.00:1 on accent-5 pass AA. On
 * the map section it matches the countries it counts. */
.re-partner-heading__count,
.re-section-heading__count {
	color: var(--wp--preset--color--accent-1);
}

/* On the title, not the wrapper: a constrained section centres any child that
 * carries a max-width, which pulled the whole heading off the map's left edge. */
.re-section-heading__title {
	max-width: 46rem;
}

@media (max-width: 600px) {
	.re-partner-marquee {
		--re-marquee-tile: 120px;
	}

	.re-marquee__tile {
		height: 64px;
	}

	.re-marquee__tile img {
		max-height: 52px;
	}
}

/*
 * REDay promo. The save-the-date banner was an unlinked <figure> — the campaign's
 * flagship event announced with no way to click through. It is a link now, and
 * the hover state has to say so.
 */
.re-reday-banner a {
	display: block;
	overflow: hidden;
}

.re-reday-banner img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 300ms ease;
}

.re-reday-banner a:hover img {
	transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
	.re-reday-banner img,
	.re-reday-banner a:hover img {
		transition: none;
		transform: none;
	}
}

/* ===========================================================================
 * Homepage news, events and Renovate Europe Day
 * (patterns/home-news.php, home-events.php, home-reday.php)
 *
 * Same system as the newsletter and footer: neutral ground, charcoal type,
 * coral as the lead accent (`coral-text` wherever it is text), blue only as the
 * answer to the visitor — hover and focus. 6px corners throughout. No arrows on
 * links and no strips under headings (client, 2026-09-28).
 * ======================================================================== */
.re-feed {
	--re-feed-blue: #004e7a;
	--re-feed-muted: #5c5e61;
}

/* The light grey band. The homepage alternates white/grey (2026-10-06 order):
 * why renovation (grey), priorities (white), Renovate Europe Day + events
 * (grey, one block), news (white), national initiatives (grey). #5c5e61 stays
 * AA on it (6.07:1), the coral eyebrow 4.6:1. */
.re-feed--tinted {
	background: var(--wp--preset--color--accent-5);
}

.re-feed__head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 28px;
}

/* The section heading is the eyebrow alone (.re-eyebrow, shared with the
 * national initiatives section) — no headline under it (client, 2026-09-28).
 * It stays an <h2> so each section is still announced as a heading. */
.re-feed__title.re-eyebrow {
	margin: 0;
}

.re-feed__all {
	flex: none;
}

.re-feed__all {
	color: var(--wp--preset--color--coral-text);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.re-feed__all:hover {
	color: var(--re-feed-blue);
}

.re-feed__all:focus-visible {
	outline: 2px solid var(--re-feed-blue);
	outline-offset: 3px;
	border-radius: 2px;
}

.re-feed__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px 28px;
}

@media (min-width: 600px) {
	.re-feed__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.re-feed__grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Four across only from 1000px: between 600 and 1000px four columns would be
 * under 220px each, so the four cards sit 2 x 2 there. */
@media (min-width: 1000px) {
	.re-feed__grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---- Homepage slider (news, events): 3 cards in view from 1000px, 2 from
 * 600px, 1 on phones with the next card peeking in. A plain scroll-snap row,
 * so swipe, trackpad and tabbing through the cards all work without the
 * script; the script only adds the arrow buttons. The track's 8px padding
 * (cancelled by the negative margin) keeps the cards' focus ring from being
 * clipped by the scroll box. */
.re-feed__actions {
	display: flex;
	align-items: center;
	gap: 24px;
}

.re-slider__nav {
	display: flex;
	gap: 8px;
}

.re-slider__nav[hidden] {
	display: none;
}

.re-slider__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--re-feed-blue);
	border-radius: 50%;
	background: transparent;
	color: var(--re-feed-blue);
	cursor: pointer;
}

.re-slider__btn:hover:not(:disabled) {
	background: var(--re-feed-blue);
	color: #fff;
}

.re-slider__btn:focus-visible {
	outline: 2px solid var(--re-feed-blue);
	outline-offset: 3px;
}

.re-slider__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.re-slider__track {
	--re-slide: 85%;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: var(--re-slide);
	gap: 28px;
	margin: -8px;
	padding: 8px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 8px;
	scrollbar-width: none;
}

.re-slider__track::-webkit-scrollbar {
	display: none;
}

.re-slider__track > * {
	scroll-snap-align: start;
}

@media (min-width: 600px) {
	.re-slider__track {
		--re-slide: calc((100% - 28px) / 2);
	}
}

@media (min-width: 1000px) {
	.re-slider__track {
		--re-slide: calc((100% - 2 * 28px) / 3);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.re-slider__track {
		scroll-behavior: smooth;
	}
}

/* ---- Card: image, label, title, date. One link, stretched from the title. */
.re-card-post {
	position: relative;
	display: flex;
	flex-direction: column;
}

.re-card-post__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-6);
}

.re-card-post__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.re-card-post:hover .re-card-post__media img {
	transform: scale(1.03);
}

/* A banner wider than 2:1 (inc/events.php, renovate_europe_card_image())
 * is shown whole, centred on white, so its logo and date are not cropped. */
.re-card-post__media:has(.re-card-post__img--whole) {
	background: var(--wp--preset--color--base);
}

.re-card-post__media img.re-card-post__img--whole {
	object-fit: contain;
}

/* ---- Title tile (inc/title-tile.php): the card image for a post with no
 * image of its own, or only the generic logo tile. Renovate Orange, the title
 * in white, over a large, faint outline of the logo's skyline (client,
 * 2026-09-30; it was Light Grey with a Vivid Coral title, 2026-09-29). White
 * on #ec6725 is 3.21:1: AA for large text only, which the 900-weight title
 * always is (8.2cqi, 24px+ on the narrowest card). Sized in container units so
 * the title scales with the card. */
.re-title-tile {
	--re-tile-bg: var(--wp--preset--color--accent-1);
	--re-tile-sky: rgba(255, 255, 255, 0.22);
	position: relative;
	overflow: hidden;
	container-type: inline-size;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	background: var(--re-tile-bg);
}

.re-title-tile__sky {
	position: absolute;
	left: 0;
	bottom: 3cqi;
	width: 100%;
	height: auto;
	aspect-ratio: 520 / 166;
}

.re-title-tile__sky path {
	fill: none;
	stroke: var(--re-tile-sky);
	stroke-width: 3px;
	vector-effect: non-scaling-stroke;
}

.re-title-tile__title {
	position: absolute;
	inset: 6cqi 6cqi auto;
	margin: 0;
	color: var(--wp--preset--color--base);
	/* One size for every title, so tiles side by side match. Five lines of
	 * 8.2cqi fill the 16:9 tile; the longest current title takes five. */
	font-size: 8.2cqi;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.05;
	text-wrap: pretty;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---- Query Loop grids (news, archive, search, and the "Posts grid" pattern):
 * the featured image takes the homepage card's shape, 16:9 cropped with 6px
 * corners and the same 3% zoom on hover, so real images and title tiles line
 * up (client, 2026-09-29). The 84px compact thumbnails keep their own size. */
.wp-block-post-template .wp-block-post-featured-image:not(.re-news-thumb) {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-6);
}

.wp-block-post-template .wp-block-post-featured-image:not(.re-news-thumb) a {
	display: block;
	height: 100%;
}

.wp-block-post-template .wp-block-post-featured-image:not(.re-news-thumb) img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.wp-block-post:hover .wp-block-post-featured-image:not(.re-news-thumb) img {
	transform: scale(1.03);
}

/* MEP / signatory portraits are 170x215 headshots: the 16:9 box above cut off
   foreheads and chins, so these grids keep the photos' own portrait shape. */
.re-signatory-cards .wp-block-post-featured-image:not(.re-news-thumb) {
	aspect-ratio: 170 / 215;
}

.re-signatory-cards .wp-block-post-featured-image:not(.re-news-thumb) img {
	object-position: center top;
}

/*
 * MEP listing switch: All / By country / By political group
 * (assets/js/signatory-directory.js, inc/signatories.php). Grouped, each
 * country or group is a row: its name in a left column that stays in view,
 * the cards to its right, so a country with one MEP does not leave a
 * five-wide row mostly empty.
 */

/* The core grid layout sets display:grid, which would beat [hidden]. */
.re-signatory-grid [hidden] {
	display: none !important;
}

.re-sigdir__bar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 44px;
}

.re-sigdir__switch {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
}

.re-sigdir__option {
	padding: 9px 20px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.re-sigdir__option:hover {
	color: #004e7a;
}

.re-sigdir__option[aria-pressed="true"] {
	background: var(--wp--preset--color--coral-text);
	color: #fff;
}

.re-sigdir__option[aria-pressed="true"]:hover {
	background: #004e7a;
}

.re-sigdir__option:focus-visible {
	outline: 2px solid #004e7a;
	outline-offset: 3px;
}

.re-sigdir__status {
	margin: 0;
	color: var(--wp--preset--color--accent-4);
	font-size: 13px;
}

.re-sigdir__jump {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	max-width: 960px;
	margin: 0 auto 36px;
	font-size: 15px;
}

.re-sigdir__jump a {
	color: var(--wp--preset--color--coral-text);
	text-decoration: none;
	white-space: nowrap;
}

.re-sigdir__jump a:hover,
.re-sigdir__jump a:focus-visible {
	color: #004e7a;
	text-decoration: underline;
}

.re-sigdir__jump-count {
	color: var(--wp--preset--color--accent-4);
	font-size: 13px;
}

.re-sigdir__group {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 36px;
	padding: 32px 0;
	border-top: 1px solid var(--wp--preset--color--border-light);
	scroll-margin-top: 110px;
}

.re-sigdir__head {
	position: sticky;
	top: 110px;
	align-self: start;
}

.re-sigdir__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.2;
}

.re-sigdir__count {
	margin: 6px 0 0;
	color: var(--wp--preset--color--accent-4);
	font-size: 13px;
}

.re-sigdir__cards {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 28px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Six to a row, so the name steps down from 15px to 14px. */
.re-sigdir__cards .wp-block-post-title {
	font-size: 14px;
}

/* The group already names it: drop the repeat from each card. */
.re-signatory-grid[data-view="country"] .re-sigdir__cards .re-signatory-meta:not(.re-signatory-party),
.re-signatory-grid[data-view="group"] .re-sigdir__cards .re-signatory-party {
	display: none;
}

@media (max-width: 1000px) {
	.re-sigdir__group {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.re-sigdir__head {
		position: static;
	}

	.re-sigdir__cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.re-sigdir__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-post-template .wp-block-post-featured-image img,
	.wp-block-post:hover .wp-block-post-featured-image img {
		transition: none;
		transform: none;
	}
}

/* Labels are not links, so rust (#a8361a, 6.55:1 on white, 6.11:1 on
 * accent-5), set apart from the vivid-coral links (client, 2026-09-29). */
.re-card-post__label {
	margin: 18px 0 8px;
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.re-card-post__title {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.35;
}

.re-card-post__title a {
	color: inherit;
	text-decoration: none;
}

/* The whole card is the title's link target. */
.re-card-post__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 6px;
}

.re-card-post:hover .re-card-post__title a {
	color: var(--wp--preset--color--coral-text);
}

.re-card-post__title a:focus-visible {
	outline: none;
}

.re-card-post__title a:focus-visible::after {
	outline: 2px solid var(--re-feed-blue);
	outline-offset: 6px;
}

.re-card-post__date {
	margin: 10px 0 0;
	color: var(--re-feed-muted);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
}

/* ---- Event card: the date is the label line; an upcoming event adds a small
 * filled badge after it, so the one you can still attend stands out from the
 * archive beside it. Rust, like the labels: white on it is 6.55:1. */
.re-card-event__badge {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 7px;
	border-radius: 4px;
	background: var(--wp--preset--color--rust);
	color: var(--wp--preset--color--base);
	font-size: 0.625rem;
	letter-spacing: 0.1em;
	vertical-align: 1px;
}

/* Event dates are labels, so rust like the news categories (client,
 * 2026-09-29; they were blue). The "Upcoming" badge is a filled rust pill,
 * which still picks out the event you can still attend. */
.re-card-event .re-card-post__label {
	color: var(--wp--preset--color--rust);
}

/* ---- Renovate Europe Day: intro above, the save-the-date banner below.
 * The banner is shown whole (client, 2026-09-29), so it carries its own orange;
 * the intro stays on white: coral-text eyebrow, charcoal heading. */
/* Events follows on the same grey (homepage order, 2026-10-06), so the two
 * read as one event block: one section gap between them, not two. The
 * section's own 72px top padding is inline, hence !important. The block gap
 * goes too, or it shows as a white strip between the two grey bands. */
.re-reday-section + .re-feed {
	margin-block-start: 0;
	padding-top: 0 !important;
}

.re-reday__intro {
	margin-bottom: 32px;
}

.re-reday__eyebrow {
	margin: 0 0 14px;
	color: var(--wp--preset--color--coral-text);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.re-reday__title {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -0.015em;
}

.re-reday__media:focus-visible {
	outline: 2px solid #004e7a;
	outline-offset: 3px;
}

.re-reday__media {
	display: block;
	overflow: hidden;
	border-radius: 6px;
}

.re-reday__img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Renovate Europe Day and an upcoming C4E Forum side by side
 * (patterns/home-reday.php, 2026-10-06). Each takes half the column; the
 * intros share the first grid row (subgrid), so a name that wraps in one
 * column still leaves both banners starting level. Names step down a size to
 * fit the half column. Stacked below 782px. */
.re-reday-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto auto;
	column-gap: 40px;
	align-items: start;
}

.re-reday-pair > .re-reday {
	display: grid;
	grid-row: span 2;
	grid-template-rows: subgrid;
}

.re-reday-pair .re-reday__intro {
	align-self: end;
}

.re-reday-pair .re-reday__title {
	font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
}

@media (max-width: 781px) {
	.re-reday-pair {
		display: block;
	}

	.re-reday-pair > .re-reday {
		display: block;
	}

	.re-reday-pair > .re-reday + .re-reday {
		margin-top: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.re-card-post__media img,
	.re-card-post:hover .re-card-post__media img {
		transition: none;
		transform: none;
	}
}
/* ===========================================================================
 * Homepage why renovation matters (patterns/home-why-renovation.php)
 *
 * Light grey band, white cards. Coral carries the highlights (eyebrow,
 * figures); deep blue #004e7a complements them in the source links. The three
 * category titles are vivid coral (4.93:1 on white); the technology labels
 * under them take the deep blue (client, 2026-09-29).
 */
.re-why {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
}

@media (min-width: 1000px) {
	.re-why {
		gap: 56px;
	}
}

/* ---- One white card, two panes: the case on the left, the categories on the
 * right, split by a hairline (2026-10-05: two separate cards, one with its
 * heading outside, had mismatched tops and read as disconnected). Both panes
 * share the same padding, so their eyebrows sit on one line. */
.re-why__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

@media (min-width: 1000px) {
	.re-why__card {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: stretch;
	}

	.re-why__case {
		border-right: 1px solid var(--wp--preset--color--border-light);
	}
}

/* ---- Left pane: the case, then a photo of a real building, text on top and
 * the photo filling the rest, so the section stays light (client, 2026-09-29:
 * the page top read too dark). The photo is an <img>, not a CSS background, so
 * it keeps its srcset and alt text; it comes first in the markup, and `order`
 * puts it under the text. */
.re-why__case {
	display: flex;
	flex-direction: column;
}

.re-why__case-img {
	order: 1;
	flex: 1 1 auto;
	display: block;
	width: 100%;
	height: 240px;
	min-height: 200px;
	object-fit: cover;
}

/* Side by side, the card stretches to the right column's height and the photo
 * takes whatever the text leaves. */
@media (min-width: 1000px) {
	.re-why__case-img {
		height: 0;
	}
}

.re-why__case-body {
	padding: clamp(24px, 3.5vw, 36px);
}

.re-why__eyebrow {
	margin: 0 0 14px;
	line-height: 1.2;
	color: var(--wp--preset--color--coral-text);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.re-why__lead {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
	font-weight: 400;
	line-height: 1.55;
}


/* ---- Facts: four figures under both columns, each on a thin rule. */
.re-why__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 40px;
	margin: 0;
}

@media (min-width: 1000px) {
	.re-why__facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.re-why__fact {
	padding-top: 18px;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

/* The figures in the brand orange (client, 2026-09-29). 3.00:1 on this grey
 * band: AA only as large text, which they are (32px and up, weight 900). */
.re-why__fact dt {
	color: var(--wp--preset--color--accent-1);
	font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
}

.re-why__fact dd {
	max-width: 30ch;
	margin: 10px 0 0;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.4;
}

/* Two classes, to beat `.re-why__fact dd` (which sets the label's size). */
.re-why__fact .re-why__fact-source {
	margin: 8px 0 0;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.3;
}

/* Blue as the complement: 8.3:1 on the grey band. */
.re-why__fact-source a {
	color: #004e7a;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.re-why__fact-source a:hover,
.re-why__fact-source a:focus-visible {
	color: var(--wp--preset--color--coral-text);
}

/* Visually hidden, still read out: the new-tab warning on source links. */
.re-why__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---- Right pane: the three categories, at equal weight, split by hairline
 * rules like the facts below. The subhead takes the eyebrow's style, so the
 * two panes read as one section. No icons (2026-09-29: the icon tiles read
 * unlike the rest of the page) and no colour strips (client, 2026-09-29: never
 * on this site). */
.re-why__scope {
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 3.5vw, 36px);
}

.re-why__subhead {
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.re-why__upgrades {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	list-style: none;
}

.re-why__upgrade {
	padding: 24px 0;
}

.re-why__upgrade:first-child {
	padding-top: 14px;
}

.re-why__upgrade:last-child {
	padding-bottom: 0;
}

/* The list is a selection, said quietly under it (2026-10-05). Muted grey,
 * 4.54:1 on white. */
.re-why__scope-note {
	margin: 20px 0 0;
	color: var(--wp--preset--color--accent-4);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

.re-why__upgrade + .re-why__upgrade {
	border-top: 1px solid var(--wp--preset--color--border-light);
}

/* Category titles in the deep blue (2026-10-05: vivid coral next to the
 * orange eyebrow read as two near-matching oranges). */
.re-why__upgrade-title {
	margin: 0 0 6px;
	color: var(--re-why-tone);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.3;
}

.re-why__upgrade-text {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
}

.re-why__upgrade-text + .re-why__upgrade-text {
	margin-top: 4px;
}

/* Labels bold in the body colour (2026-10-05: blue labels under coral titles
 * made a third accent in one card). */
.re-why__upgrade-text strong {
	color: inherit;
	font-weight: 700;
}

/* `--re-why-tone` colours the category titles: deep blue, 8.9:1 on white. */
.re-why__upgrade {
	--re-why-tone: #004e7a;
}

/* ===========================================================================
 * Homepage campaign priorities (patterns/home-priorities.php)
 *
 * Four photo cards on the white band between Renovate Europe Day and the grey
 * news band. The photo fills the card; a fade from clear (top) to near-black
 * (bottom) carries the white title, and the EPBD badge is a solid coral pill so
 * it never depends on the photo. Coral leads, blue answers focus. 6px corners.
 * ======================================================================== */
.re-priorities {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

@media (min-width: 600px) {
	.re-priorities {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.re-priorities {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.re-priority {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 360px;
	padding: 24px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--wp--preset--color--dark);
	isolation: isolate;
}

/* The photo, behind everything. */
.re-priority__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

/* The fade that carries the title: clear over the top 30%, near-black at the
 * foot. Deepens slightly on hover so the card responds without a colour wash. */
.re-priority::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(22, 24, 29, 0) 30%, rgba(22, 24, 29, 0.6) 60%, rgba(22, 24, 29, 0.88) 100%);
	transition: opacity 300ms ease;
}

.re-priority:hover .re-priority__img {
	transform: scale(1.05);
}

/* Badge, pinned top-left whatever the title length. Border-box so the
 * padding counts inside the max-width: without it a badge that wraps ran
 * into the card's right edge with no gap. */
.re-priority__note {
	position: absolute;
	top: 20px;
	left: 20px;
	box-sizing: border-box;
	max-width: calc(100% - 40px);
	margin: 0;
	padding: 5px 9px;
	border-radius: 4px;
	background: var(--wp--preset--color--rust);
	color: var(--wp--preset--color--base);
	font-size: 0.6875rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
	transition: background-color 200ms ease;
}

/* The badge answers the visitor in blue, as the buttons do: white on #004e7a
 * is 8.9:1. A solid fill either way, so the photo never affects the text. */
.re-priority:hover .re-priority__note,
.re-priority:focus-within .re-priority__note {
	background: #004e7a;
}

.re-priority__title {
	margin: 0;
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 900;
	line-height: 1.2;
	text-shadow: 0 1px 12px rgba(22, 24, 29, 0.35);
}

.re-priority__title a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
	transition: text-decoration-color 200ms ease;
}

/* The one hover cue on the text: a coral underline under the title. */
.re-priority:hover .re-priority__title a {
	text-decoration-color: var(--wp--preset--color--accent-1);
}

/* The whole card is the title's link target. */
.re-priority__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 6px;
}

.re-priority__title a:focus-visible {
	outline: none;
}

.re-priority__title a:focus-visible::after {
	outline: 3px solid #004e7a;
	outline-offset: 3px;
}

@media (max-width: 599px) {
	.re-priority {
		min-height: 260px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.re-priority__img,
	.re-priority__title a {
		transition: none;
	}

	.re-priority:hover .re-priority__img {
		transform: none;
	}
}

/* ===========================================================================
 * Section eyebrows: 19px bold in the brand orange (client, 2026-09-29; they
 * were 13px coral-text). At 19px bold they count as large text, so #ec6725
 * passes AA (3.21:1 on white, 3.00:1 on the accent-5 grey). Tracking is eased
 * from 0.12–0.14em, which reads too wide at this size. Card labels (dates,
 * categories) are not included: they stay small, in rust.
 * ======================================================================== */
.re-eyebrow,
.re-reday__eyebrow,
.re-why__eyebrow,
.re-why__subhead {
	color: var(--wp--preset--color--accent-1);
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

/* ===========================================================================
 * Larger accents (client, 2026-09-29): "All news" / "All events" and the
 * footer email at 19px in vivid coral; the social discs in the brand orange;
 * the priority badges at 14px bold (19px was too big for "EPBD Tracker coming
 * 5 November"). Same rule as the eyebrows above: #ec6725 only at
 * 19px bold and larger, or as a fill. Hover and focus rules elsewhere are more
 * specific and still apply.
 * ======================================================================== */

/* "All news" / "All events": links, so vivid coral (4.93:1 on white, 4.61:1
 * on accent-5 — AA at any size), not the brand orange. */
.re-feed__all {
	color: var(--wp--preset--color--coral-text);
	font-size: 1.1875rem;
}

/* Footer email link (was 15px): a link, so vivid coral. */
.re-footer .re-footer__email a {
	color: var(--wp--preset--color--coral-text);
	font-size: 1.1875rem;
}

/* Social discs: graphics, not text, so 3:1 is the bar at any size — white
 * glyph on #ec6725 is 3.21:1, the disc on the footer grey 3.00:1. */
.re-footer .re-footer__social .wp-social-link {
	background: var(--wp--preset--color--accent-1);
}

/* Priority card badges ("EPBD Tracker…", "Upcoming update"): 14px, between
 * the original 11px and the 19px that proved too big. White on rust (client,
 * 2026-09-29), 6.55:1, set on the base rule above: the same pill as the
 * "Upcoming" event badge, so every badge on the homepage matches. Coral-tint
 * and a soft-coral pill were tried first and rejected. A solid
 * fill, so the photo does not affect it. Long notes wrap to two lines. */
.re-priority__note {
	padding: 5px 10px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

/* ===========================================================================
 * Brand gradient (2026-09-29, client, from the Renovate2Recover report): the
 * deep red to brand orange sweep of the report's cover band and timelines,
 * reusing the `footer-bar` preset (#a8361a 9% → #ec6725 89%; its start went
 * from the #63121b deep red to deep rust #8e2a14 to the rust label colour the
 * same day, as the client asked for a lighter start). Fills only, so it
 * stays an accent: filled buttons only. Not as gradient
 * text: tried on the large figures and dropped the same day (client: too few
 * characters, it looked odd). Never on small text — the bright
 * end is 3.21:1 on white and 3.00:1 on accent-5, AA for large text only.
 * Everything that turns blue on hover still does: the hover rules use the
 * `background` shorthand or clear the image below.
 * ======================================================================== */

/* Filled buttons. The gradient runs under the 2px border too, so the edge
 * does not show as a solid orange frame. Outline buttons stay flat. */
.re-btn:not(.re-btn--outline) .wp-block-button__link,
.re-nl__submit {
	border-color: transparent;
	background-color: var(--wp--preset--color--accent-1);
	background-image: var(--wp--preset--gradient--footer-bar);
	background-origin: border-box;
}

.re-btn .wp-block-button__link:hover,
.re-btn .wp-block-button__link:focus-visible {
	background-image: none;
}


/* ===========================================================================
 * Single post (templates/single.html, inc/single.php)
 *
 * After the efficientbuildings.eu and fedarene.org post pages (client,
 * 2026-09-29): label and date, title and share links from the template, then
 * the post exactly as the editor built it, in one reading column, with the
 * latest news and events beside it. No featured image on the page: an editor
 * who wants a picture at the top puts an Image block first.
 *
 * The article is charcoal at 17px, not the 15px muted grey of the rest of the
 * site: this is the one place people read long text. Links are vivid coral
 * and underlined inside the text, labels rust, hover and focus deep blue. No
 * colour strips: quotes are a grey panel, separators a neutral hairline.
 * ======================================================================== */
.re-single {
	--re-single-blue: #004e7a;
	--re-single-muted: #5c5e61;
}

/* Article beside the sidebar from 1024px; below that the sidebar follows the
 * article. 1200 - 64 gap - 320 sidebar = 816px, held to 760 for line length. */
@media (min-width: 1024px) {
	.re-single__grid {
		display: grid;
		grid-template-columns: minmax(0, 760px) 320px;
		gap: 64px;
		justify-content: space-between;
		align-items: start;
	}
}

/* ---- Header: label and date, title, share. */
.re-single-header {
	margin-bottom: 0;
}

/* One gap between header and post, instead of the header margin plus the
 * flow layout's block gap. */
.re-single__main > .re-article {
	margin-block-start: 36px;
}

.re-single-header__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	align-items: baseline;
	margin: 0 0 16px;
	line-height: 1.4;
}

/* Rust, like the card labels (6.55:1 on white). */
.re-single-header__label {
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.re-single-header__date {
	color: var(--re-single-muted);
	font-size: var(--wp--preset--font-size--medium);
}

/* Same voice as the homepage hero headline (900, tight tracking), smaller. */
.re-single-header__title {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: clamp(1.875rem, 1.4rem + 1.4vw, 2.75rem);
	font-weight: 900;
	letter-spacing: -0.015em;
	line-height: 1.15;
	text-wrap: balance;
}

.re-single-header .re-share {
	margin-top: 24px;
}

/* Dated note on a previous priority's pages: Light Grey panel, Rust label,
 * no accent bar. */
.re-dated-note {
	max-width: 760px;
	margin-top: 28px;
	padding: 18px 22px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

.re-dated-note__label {
	margin: 0 0 6px;
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.re-dated-note__text {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	line-height: 1.55;
}

/* ---- Share links: LinkedIn, X, email. Orange discs with white glyphs, like
 * the footer's social icons; deep blue on hover and focus. */
.re-share {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	align-items: center;
}

.re-share__title {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
}

.re-share__list {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.re-share__link {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	transition: background-color 150ms ease;
}

.re-share__link svg {
	fill: currentColor;
}

.re-share__link:hover,
.re-share__link:focus-visible {
	background: var(--re-single-blue);
}

.re-share__link:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 3px;
}

/* ---- Sidebar: two light grey panels. #5c5e61 for secondary text, since the
 * muted grey fails AA on this grey. */
.re-single-aside {
	display: grid;
	gap: 28px;
	margin-top: 64px;
}

@media (min-width: 1024px) {
	.re-single-aside {
		margin-top: 0;
	}
}

.re-aside-box {
	padding: 28px 28px 24px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

/* Charcoal, not the 19px orange eyebrow: in a 320px panel the eyebrow shouts. */
.re-aside-box__title {
	margin: 0 0 8px;
	color: var(--wp--preset--color--contrast);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.3;
}

.re-aside-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.re-aside-item {
	padding: 16px 0;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-aside-item:last-child {
	border-bottom: 0;
}

.re-aside-item__label {
	margin: 0 0 6px;
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.re-aside-item__title {
	color: var(--wp--preset--color--contrast);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.re-aside-item__title:hover {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-aside-item__title:focus-visible,
.re-aside-box__all:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 3px;
	border-radius: 2px;
}

.re-aside-item__date {
	margin: 6px 0 0;
	color: var(--re-single-muted);
	font-size: 0.875rem;
	line-height: 1.4;
}

/* Events: a date tile beside the title, white on Renovate Orange like the
 * share discs (client, 2026-09-29). White on it is 3.21:1, AA only as large
 * text, so both lines are at least 19px bold: the day 24px 900, the month
 * 19px 700. Keep them that size. */
.re-aside-item--event {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.re-aside-date {
	display: grid;
	place-items: center;
	margin: 0;
	padding: 8px 0 7px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	line-height: 1;
	text-align: center;
}

.re-aside-date__day {
	font-size: 1.5rem;
	font-weight: 900;
}

.re-aside-date__month {
	margin-top: 4px;
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* An upcoming event: the badge alone under the title, no date line. */
.re-aside-item__badge {
	margin: 8px 0 0;
	line-height: 1;
}

.re-aside-item__badge .re-card-event__badge {
	margin-left: 0;
}

/* The title sits level with the tile. */
.re-aside-item--event {
	align-items: center;
}

.re-aside-box__all {
	display: inline-block;
	margin-top: 10px;
	color: var(--wp--preset--color--coral-text);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.re-aside-box__all:hover {
	color: var(--re-single-blue);
}

/* ---- The article. */
.re-article {
	color: var(--wp--preset--color--contrast);
	font-size: 1.0625rem;
	line-height: 1.75;
}

/* Straight under the header, whatever the post opens with. */
.re-article.re-article > :first-child {
	margin-top: 0;
}

/* The opening paragraph as a standfirst: the first one that isn't a meta line. */
.re-article > p:not(.re-article-meta):not(p:not(.re-article-meta) ~ p) {
	font-size: 1.25rem;
	line-height: 1.6;
}

/* Meta lines some older posts open with (byline, dateline, "Joint press
 * release"): quiet, so the standfirst stays the first thing read. */
.re-article > p.re-article-meta {
	margin-block: 0 0.35em;
	color: var(--re-single-muted);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
}

.re-article > p.re-article-meta strong,
.re-article > p.re-article-meta b {
	color: inherit;
}

.re-article > p.re-article-meta + :not(.re-article-meta) {
	margin-top: 1.5rem;
}

.re-article :where(h2, h3, h4, h5, h6) {
	margin-top: 2.2em;
	margin-bottom: 0;
	color: var(--wp--preset--color--contrast);
	line-height: 1.25;
}

.re-article :where(h2, h3, h4, h5, h6) + * {
	margin-top: 0.75em;
}

.re-article h2 {
	font-size: 1.625rem;
	font-weight: 900;
	letter-spacing: -0.01em;
}

.re-article h3 {
	font-size: 1.3125rem;
}

.re-article h4,
.re-article h5 {
	font-size: 1.125rem;
	font-weight: 700;
}

.re-article strong {
	color: var(--wp--preset--color--contrast);
}

/* Underlined in running text, so the link never depends on colour alone. */
.re-article :where(p, li, td, figcaption, cite) a {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-article :where(p, li, td, figcaption, cite) a:hover {
	color: var(--re-single-blue);
}

.re-article a:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 3px;
	border-radius: 2px;
}

.re-article :where(ul, ol):not(.wp-block-gallery) {
	padding-left: 1.3em;
}

.re-article li + li {
	margin-top: 0.4em;
}

.re-article li::marker {
	color: var(--wp--preset--color--rust);
}

.re-article .wp-block-image img,
.re-article .wp-block-video video,
.re-article .wp-block-embed iframe {
	border-radius: 6px;
}

.re-article figcaption,
.re-article .wp-element-caption {
	margin-top: 10px;
	color: var(--re-single-muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	text-align: left;
}

.re-article > .wp-block-image,
.re-article > .wp-block-embed,
.re-article > .wp-block-gallery {
	margin-top: 2.25rem;
	margin-bottom: 2.25rem;
}

/* A grey panel, not theme.json's orange left border (no colour strips,
 * client, 2026-09-29). */
.re-article .wp-block-quote,
.re-article .wp-block-pullquote {
	margin: 2.25rem 0;
	padding: 28px 32px;
	border: 0;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
	font-size: 1.25rem;
	font-style: normal;
	line-height: 1.55;
	text-align: left;
}

.re-article .wp-block-quote p,
.re-article .wp-block-pullquote p {
	margin: 0;
	font-size: inherit;
}

.re-article .wp-block-quote p + p {
	margin-top: 0.75em;
}

.re-article .wp-block-quote cite,
.re-article .wp-block-pullquote cite {
	display: block;
	margin-top: 14px;
	color: var(--re-single-muted);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
}

/* ---- A letter published in full (.re-letter group): a Light Grey panel,
 * like the quotes, so the letter reads as the document itself and the post's
 * own intro stays outside it. No strips or borders. */
.re-article .re-letter {
	margin: 2.25rem 0;
	padding: 36px 40px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

.re-article .re-letter > :first-child {
	margin-top: 0;
}

.re-article .re-letter > :last-child {
	margin-bottom: 0;
}

.re-article .re-letter > * + * {
	margin-top: 1em;
}

/* Date and addressee. */
.re-article .re-letter__meta {
	color: var(--re-single-muted);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
}

.re-article .re-letter__subject {
	font-weight: 700;
}

/* Signature and closing lines sit close together. */
.re-article .re-letter__sign {
	margin-top: 0.15em;
}

/* Footnotes and "copied to" lines. */
.re-article .re-letter__notes {
	margin-top: 2em;
	padding-top: 1.25em;
	border-top: 1px solid var(--wp--preset--color--accent-6);
	color: var(--re-single-muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

.re-article .re-letter__notes p {
	margin: 0 0 0.5em;
}

.re-article .re-letter sup {
	font-size: 0.7em;
	line-height: 0;
}

@media (max-width: 600px) {
	.re-article .re-letter {
		padding: 24px 20px;
	}
}

/* Neutral hairline whatever colour the block was given. */
.re-article .wp-block-separator {
	height: 0;
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
	border: 0;
	border-top: 1px solid var(--wp--preset--color--accent-6);
	background: none;
	opacity: 1;
}

/* Buttons in a post match the filled homepage buttons (.re-btn). 19px bold:
 * white on the orange end of the sweep is AA only as large text. */
.re-article .wp-block-buttons {
	margin-top: 2rem;
}

/* Buttons fit their label, even when the editor set a width (100% on many
 * imported posts): a full-width bar reads as a banner, not a button
 * (client, 2026-09-29). */
.re-article .wp-block-buttons > .wp-block-button[class*="wp-block-button__width"] {
	width: auto;
	flex-basis: auto;
}

.re-article .wp-block-button .wp-block-button__link {
	width: auto;
}

.re-article .wp-block-button__link {
	padding: 13px 26px;
	border: 2px solid transparent;
	border-radius: 6px;
	background-color: var(--wp--preset--color--accent-1);
	background-image: var(--wp--preset--gradient--footer-bar);
	background-origin: border-box;
	color: var(--wp--preset--color--base);
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.4;
	text-decoration: none;
	text-transform: none;
	transition: background-color 150ms ease;
}

.re-article .wp-block-button__link:hover,
.re-article .wp-block-button__link:focus-visible {
	background: var(--re-single-blue);
	color: var(--wp--preset--color--base);
}

.re-article .wp-block-button__link:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 3px;
}

.re-article .wp-block-table {
	font-size: var(--wp--preset--font-size--medium);
}

.re-article .wp-block-table :where(th, td) {
	padding: 10px 14px;
	border: 1px solid var(--wp--preset--color--accent-6);
	text-align: left;
	vertical-align: top;
}

.re-article .wp-block-table th {
	background: var(--wp--preset--color--accent-5);
}


/* ---- The main image: an Image block that opens the post fills the article
 * column, whatever width or alignment it was given (client, 2026-09-29). Every
 * other image shows at its own size, no wider than the column.
 *
 * Exception: .re-image-natural, for an opening image under 600px wide (old
 * photos, logos) or a report cover, which would turn soft or tower over the
 * text if stretched. It sits at the start of the column at its own size
 * (template pass over the news posts, 2026-09-29). */
.re-article > .wp-block-image:first-child {
	display: block;
	float: none;
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.re-article > .wp-block-image.re-image-natural:first-child {
	width: auto;
	max-width: 100%;
}

.re-article > .wp-block-image.re-image-natural:first-child img {
	max-width: 100%;
	height: auto;
}

.re-article > .wp-block-image:first-child:not(.re-image-natural) img {
	width: 100% !important; /* beats the inline width of a resized image */
	height: auto !important;
	max-width: none;
	aspect-ratio: auto !important;
}

/* ---- Related posts: under both columns, after a hairline. */
.re-single-related {
	margin-top: 72px;
	padding-top: 56px;
	border-top: 1px solid var(--wp--preset--color--border-light);
}

/* ===========================================================================
 * Event page (inc/single.php: renovate_europe_single_event_header())
 *
 * After the fedarene.org and efficientbuildings.eu event pages (client,
 * 2026-09-29): the post page, with the publish date swapped for what someone
 * deciding whether to go needs first: when, where, and how to sign up. Then
 * the post as the editor wrote it, with the programme in a .re-agenda group.
 * ======================================================================== */

/* "Upcoming" is the card badge, a size up next to the 12px label. */
.re-single-header__badge.re-card-event__badge {
	margin-left: 0;
	padding: 3px 8px;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 900;
	line-height: 1.4;
	text-transform: uppercase;
	vertical-align: baseline;
}

.re-single-header__status {
	color: var(--re-single-muted);
	font-size: var(--wp--preset--font-size--medium);
}

/* ---- Event details: a Light Grey panel like the quotes and sidebar boxes,
 * the date as a tile beside time and location. */
.re-event-facts {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 20px 22px;
	align-items: center;
	margin-top: 28px;
	padding: 20px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

.re-event-facts--no-date {
	grid-template-columns: minmax(0, 1fr);
}

.re-single-header--event .re-event-facts + .re-share {
	margin-top: 24px;
}

/* The sidebar tile's size (client, 2026-09-29: the first, 112px tile was too
 * bulky), plus the year, as it is the only place the date is shown. White on
 * Renovate Orange is 3.21:1, AA only as large text: the day is 24px 900,
 * month and year 19px 700. Keep them at least that. */
.re-event-facts__tile {
	margin: 0;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	line-height: 1;
	text-align: center;
}

.re-event-facts__tile time {
	display: grid;
	justify-items: center;
	min-width: 64px;
	padding: 9px 10px 8px;
}

.re-event-facts__day {
	font-size: 1.5rem;
	font-weight: 900;
	white-space: nowrap;
}

.re-event-facts__month {
	margin-top: 4px;
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.re-event-facts__year {
	margin-top: 3px;
	font-size: 1.1875rem;
	font-weight: 700;
}

.re-event-facts__list {
	display: grid;
	gap: 12px;
	margin: 0;
}

.re-event-facts__item {
	display: grid;
	gap: 2px;
}

/* Labels in Rust, like every label that isn't a link (6.11:1 on this grey). */
.re-event-facts__item dt {
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.re-event-facts__item dd {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.45;
}

/* Register (filled) and Add to calendar (outline, or filled when alone): the
 * homepage .re-btn buttons, under the details. */
.re-event-facts__actions {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 4px 0 0;
}

.re-event-facts__actions .wp-block-button__link {
	text-decoration: none;
}

/* ---- Agenda (.re-agenda group, each session a .re-agenda__item group): one
 * block per session between neutral hairlines, the session title in Renovate
 * Orange (client, 2026-09-29: no 01, 02 numbering). The title is 20px 900, so
 * the orange (3.21:1) passes AA as large text; keep it at least that size. A
 * session that has a .re-agenda__time paragraph shows the time in Rust in a
 * left column. */
.re-article .re-agenda {
	margin: 1.5rem 0 0;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-agenda__item {
	margin: 0;
	padding: 22px 0;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-agenda__item > * {
	margin: 0;
}

.re-article .re-agenda__item > * + * {
	margin-top: 0.5em;
}

.re-article .re-agenda__item:has(.re-agenda__time) {
	display: grid;
	grid-template-columns: 124px minmax(0, 1fr);
	column-gap: 20px;
}

.re-article .re-agenda__item:has(.re-agenda__time) > * {
	grid-column: 2;
}

.re-article .re-agenda__item > .re-agenda__time {
	grid-column: 1;
	grid-row: 1 / span 20;
	margin: 0;
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 900;
	line-height: 1.8;
}

.re-article .re-agenda__item > .re-agenda__title {
	margin: 0;
	color: var(--wp--preset--color--accent-1);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.35;
}

.re-article .re-agenda__item ul {
	padding-left: 1.1em;
}

/* Times go above the title on a phone. */
@media (max-width: 600px) {
	.re-article .re-agenda__item:has(.re-agenda__time) {
		display: block;
	}

	.re-article .re-agenda__item > .re-agenda__time {
		line-height: 1.4;
	}
}

/* ---- Timeline (.re-agenda.re-agenda--timeline): the same agenda markup
 * drawn as a dated line, first used for "Next checkpoints" on Delivering the
 * EPBD (client, 2026-10-08: "more visual, not just bullet lists"). Each item
 * draws its own stretch of the Border line and an orange dot on it, so the
 * line stays unbroken across a row; the date sits under the dot in Rust,
 * then the charcoal title and the text. The dots are the only strong colour
 * (see the numbered steps). Six across from 1000px with an arrowhead at the
 * end, three across from 601px, and a vertical line on the left on phones. */
.re-article .re-agenda--timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	row-gap: 36px;
	margin-top: 2rem;
	border-bottom: 0;
}

.re-article .re-agenda--timeline > .re-agenda__item,
.re-article .re-agenda--timeline > .re-agenda__item:has(.re-agenda__time) {
	position: relative;
	display: block;
	padding: 40px 24px 0 0;
	border-top: 0;
}

.re-article .re-agenda--timeline > .re-agenda__item::before {
	position: absolute;
	top: 8px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--wp--preset--color--accent-6);
	content: "";
}

.re-article .re-agenda--timeline > .re-agenda__item::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 18px;
	height: 18px;
	box-sizing: border-box;
	border: 3px solid var(--wp--preset--color--base);
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	box-shadow: 0 0 0 1px var(--wp--preset--color--accent-1);
	content: "";
}

.re-article .re-agenda--timeline > .re-agenda__item > .re-agenda__time {
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 900;
	line-height: 1.2;
}

.re-article .re-agenda--timeline > .re-agenda__item > .re-agenda__title {
	margin-top: 0.6em;
	color: var(--wp--preset--color--contrast);
	font-size: 1.0625rem;
	line-height: 1.35;
}

.re-article .re-agenda--timeline > .re-agenda__item > p:not(.re-agenda__time) {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
}

@media (min-width: 1000px) {
	.re-article .re-agenda--timeline {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		padding-right: 14px;
	}

	/* Arrowhead closing the line after the last checkpoint. */
	.re-article .re-agenda--timeline::after {
		position: absolute;
		top: 4px;
		right: 0;
		width: 0;
		height: 0;
		border-top: 5px solid transparent;
		border-bottom: 5px solid transparent;
		border-left: 10px solid var(--wp--preset--color--accent-6);
		content: "";
	}

	.re-article .re-agenda--timeline > .re-agenda__item:last-child {
		padding-right: 8px;
	}

	.re-article .re-agenda--timeline > .re-agenda__item:last-child::before {
		right: -14px;
	}
}

/* Phones: one column, the line runs down the left. */
@media (max-width: 600px) {
	.re-article .re-agenda--timeline {
		display: block;
	}

	.re-article .re-agenda--timeline > .re-agenda__item,
	.re-article .re-agenda--timeline > .re-agenda__item:has(.re-agenda__time) {
		padding: 0 0 28px 36px;
	}

	.re-article .re-agenda--timeline > .re-agenda__item::before {
		top: 4px;
		bottom: 0;
		left: 8px;
		right: auto;
		width: 2px;
		height: auto;
	}

	.re-article .re-agenda--timeline > .re-agenda__item:last-child {
		padding-bottom: 0;
	}

	.re-article .re-agenda--timeline > .re-agenda__item:last-child::before {
		display: none;
	}

	.re-article .re-agenda--timeline > .re-agenda__item::after {
		top: 4px;
	}

	.re-article .re-agenda--timeline > .re-agenda__item > .re-agenda__time {
		font-size: var(--wp--preset--font-size--large);
	}
}

/* ===========================================================================
 * Renovate Europe Day pages (templates/page-reday.html, inc/reday.php)
 *
 * Every page under /reday/ (client, 2026-09-30: consistent with the rest of
 * the site). An edition page is the event page: event header, details panel,
 * the 760px article. The sidebar lists every edition, and the edition's news
 * sits under the article. The components below were added for what the old
 * edition pages carried: documents (reports, programmes, press releases),
 * speaker biographies, sponsor logos and video statements. Their colours
 * follow DESIGN.md: coral for links, Rust for labels, blue for hover and focus.
 * ======================================================================== */

/* A page inside an edition links back to it: Vivid Coral, since it is a link
 * (Rust is for labels that are not links). */
.re-single-header__label--link {
	color: var(--wp--preset--color--coral-text);
	text-decoration: none;
}

.re-single-header__label--link:hover {
	color: var(--re-single-blue);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.re-single-header__label--link:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---- Sidebar: every edition, newest first, two columns of year + place. */
.re-editions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}

.re-editions__item {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-editions__link {
	display: grid;
	gap: 2px;
	padding: 10px 0;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.re-editions__year {
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.3;
}

.re-editions__place {
	color: var(--re-single-muted);
	font-size: 0.8125rem;
	line-height: 1.35;
}

.re-editions__link:hover .re-editions__year {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-editions__link:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 2px;
	border-radius: 2px;
}

/* The page being read: the year in Rust, like a label, so it reads as "here". */
.re-editions__item.is-current .re-editions__year {
	color: var(--wp--preset--color--rust);
}

/* ---- Hashtags of the year: Deep Blue bold, as in the hero strapline. */
.re-article > p.re-reday-tags {
	color: var(--re-single-blue);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	letter-spacing: 0.01em;
}

/* ---- Documents (.re-resources group of .re-resource groups): a cover and
 * its title as a card per document. The whole card is the title's link. */
.re-article .re-resources {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 1.5rem;
}

.re-article .re-resource {
	position: relative;
	margin: 0;
	padding: 14px 14px 16px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

.re-article .re-resource > * {
	margin: 0;
}

.re-article .re-resource > .wp-block-image {
	margin: 0 0 12px;
}

.re-article .re-resource > .wp-block-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 10 / 7;
	object-fit: cover;
	border-radius: 4px;
	background: var(--wp--preset--color--base);
}

.re-article .re-resource > p {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.re-article .re-resource > p a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

/* The link covers the card. */
.re-article .re-resource > p a::after {
	position: absolute;
	inset: 0;
	content: "";
	border-radius: 6px;
}

.re-article .re-resource:hover > p a {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-article .re-resource > p a:focus-visible {
	outline: none;
}

.re-article .re-resource:has(a:focus-visible) {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 3px;
}

/* A second line under the title: who or what it is. */
.re-article .re-resource > p.re-resource__note {
	margin-top: 4px;
	color: var(--re-single-muted);
	font-size: 0.875rem;
	font-weight: 400;
}

/* A label at the start of a note ("Pays for:") in charcoal. */
.re-article .re-resource > p.re-resource__note strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
}

/* ---- Speakers (.re-speakers group of .re-speaker groups): photo beside
 * name, role and biography, between neutral hairlines like the agenda. */
.re-article .re-speakers {
	margin-top: 1.5rem;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-speaker {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	column-gap: 22px;
	margin: 0;
	padding: 22px 0;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-speaker > * {
	grid-column: 2;
	margin: 0;
}

.re-article .re-speaker > * + * {
	margin-top: 0.5em;
}

.re-article .re-speaker > .wp-block-image {
	grid-column: 1;
	grid-row: 1 / span 20;
	margin: 0;
}

.re-article .re-speaker > .wp-block-image img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 6px;
}

.re-article .re-speaker > .re-speaker__name {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.35;
}

.re-article .re-speaker > .re-speaker__role {
	margin-top: 2px;
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	line-height: 1.45;
}

.re-article .re-speaker:not(:has(> .wp-block-image)) {
	display: block;
}

@media (max-width: 600px) {
	.re-article .re-speaker {
		grid-template-columns: 64px minmax(0, 1fr);
		column-gap: 16px;
	}

	.re-article .re-speaker > .wp-block-image img {
		width: 64px;
		height: 64px;
	}
}

/* ---- Sponsor and partner logos (.re-logo-grid gallery): white tiles with a
 * Border-grey edge, every logo held in the same box so none shouts. */
.re-article .wp-block-gallery.re-logo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 14px;
	margin-top: 1.25rem;
}

.re-article .wp-block-gallery.re-logo-grid.has-nested-images figure.wp-block-image {
	display: flex;
	align-items: center;
	justify-content: center;
	/* Beats core's per-column width (:not(#individual-image) specificity). */
	width: auto !important;
	height: 96px;
	margin: 0;
	padding: 14px 18px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
}

.re-article .wp-block-gallery.re-logo-grid.has-nested-images figure.wp-block-image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.re-article .wp-block-gallery.re-logo-grid.has-nested-images figure.wp-block-image img {
	width: auto !important;
	max-width: 100%;
	height: auto !important;
	max-height: 64px;
	object-fit: contain;
	border-radius: 0;
}

.re-article .wp-block-gallery.re-logo-grid figure.wp-block-image:has(a:hover) {
	border-color: var(--re-single-blue);
}

.re-article .wp-block-gallery.re-logo-grid figure.wp-block-image a:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 6px;
	border-radius: 2px;
}

/* ---- Partner cards with a sector filter ([re_partner_cards], Partners page,
 * 2026-10-06): expandable rows of logo and name, description and link inside.
 * The filter reuses the signatory directory's switch (.re-sigdir__switch). */
.re-partner-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 1.75rem 0 0;
}

.re-partner-filter[hidden],
.re-partner-tier[hidden],
.re-partner-card[hidden] {
	display: none;
}

/* Two outlined tiles per line. Each tile is a <details>: the logo in the
 * summary, description and link below (client, 2026-10-06: descriptions folded
 * away, no sector label, logo without a repeated name). align-items: start so
 * opening one tile does not stretch its neighbour. */
.re-article ul.re-partner-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 12px;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.re-article .re-partner-list li + li {
	margin-top: 0;
}

.re-partner-card {
	margin: 0;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
	transition: border-color 0.15s ease;
}

.re-partner-card:has(summary:hover) {
	border-color: var(--re-single-blue);
}

.re-partner-card summary {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 14px 20px;
	list-style: none;
	cursor: pointer;
}

.re-partner-card summary::-webkit-details-marker {
	display: none;
}

/* Chevron, turned up when open. */
.re-partner-card summary::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	margin: -4px 4px 0 auto;
	border-right: 2px solid var(--wp--preset--color--coral-text);
	border-bottom: 2px solid var(--wp--preset--color--coral-text);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.re-partner-card details[open] summary::after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

.re-partner-card summary:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: -2px;
	border-radius: 6px;
}

.re-partner-card__logo {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: flex-start;
	width: 200px;
	height: 64px;
}

.re-partner-card__logo img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	border-radius: 0;
}

.re-partner-card__name {
	color: var(--wp--preset--color--contrast);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.re-partner-card summary:hover .re-partner-card__name {
	color: var(--re-single-blue);
}

.re-partner-card summary:hover::after {
	border-color: var(--re-single-blue);
}

/* Lined up with the logo. */
.re-partner-card__body {
	padding: 0 20px 18px;
}

.re-article .re-partner-card__text {
	margin: 0;
	color: var(--wp--preset--color--accent-4);
	font-size: 15px;
	line-height: 1.55;
}

.re-article .re-partner-card__link {
	margin: 8px 0 0;
	font-size: 15px;
	font-weight: 700;
}

/* Screen-reader-only text: the partner's name in the link. */
.re-partner-card__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Jump link to the page's #become-a-partner panel, at the far end of the filter bar. */
.re-article .re-partner-filter__join {
	margin-left: auto;
	color: var(--wp--preset--color--coral-text);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.re-article .re-partner-filter__join::after {
	content: " ↓";
}

.re-article .re-partner-filter__join:hover {
	color: var(--re-single-blue);
	text-decoration: underline;
}

/* "Become a partner" panel closing the Partners page (in the page content):
 * the grey of the sidebar join box it replaces, the orange button. */
.re-article .re-partner-join {
	margin-top: 56px;
	padding: 28px 32px 30px;
	border-radius: 6px;
	background-color: var(--wp--preset--color--accent-5);
	scroll-margin-top: 24px;
}

.re-article .re-partner-join > h2 {
	margin-top: 0;
}

.re-article .re-partner-join > p {
	max-width: 46em;
}

.re-article .re-partner-join .wp-block-buttons {
	margin: 20px 0 0;
}

.re-article .re-partner-join .wp-block-button__link {
	text-decoration: none;
}

.re-article .re-partner-join .re-partner-join__contact {
	margin: 14px 0 0;
	font-size: 15px;
}

/* With a REDay photo (2026-10-08): text and photo side by side from 900px,
 * the photo under the text below that. */
.re-article .re-partner-join__text > h2 {
	margin-top: 0;
}

.re-article .re-partner-join__text > p {
	max-width: 46em;
}

.re-article .re-partner-join .re-partner-join__photo {
	margin: 24px 0 0;
}

.re-article .re-partner-join .re-partner-join__photo img {
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 900px) {
	.re-article .re-partner-join--photo {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 40px;
		align-items: center;
	}

	.re-article .re-partner-join .re-partner-join__photo {
		margin: 0;
	}
}

@media (max-width: 600px) {
	.re-article .re-partner-join {
		padding: 22px 20px 24px;
	}

	.re-article .re-partner-filter__join {
		margin-left: 0;
	}
}

/* On the sidebar-free Partners page (RE_CAMPAIGN_WIDE_PAGES): three to a line. */
@media (min-width: 900px) {
	.re-campaign--wide .re-article ul.re-partner-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.re-campaign--wide .re-partner-card__logo {
		width: 240px;
		height: 76px;
	}
}

@media (max-width: 600px) {
	.re-article ul.re-partner-list {
		gap: 8px;
	}

	/* Half a phone is too narrow to read in: an open tile takes the full width. */
	.re-partner-card:has(details[open]) {
		grid-column: 1 / -1;
	}

	.re-partner-card summary {
		gap: 8px;
		padding: 10px 12px;
	}

	.re-partner-card__logo {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		height: 48px;
	}

	.re-partner-card__name {
		font-size: 16px;
	}

	.re-partner-card__body {
		padding: 0 12px 16px;
	}
}

/* ---- Videos side by side (.re-video-grid group of embeds). */
.re-article .re-video-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 1.5rem;
}

.re-article .re-video-grid > * {
	margin: 0;
}

@media (max-width: 600px) {
	.re-article .re-video-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---- Outline buttons in an article: the homepage outline button. */
.re-article .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: var(--wp--preset--color--accent-1);
	background: transparent;
	color: var(--wp--preset--color--coral-text);
}

.re-article .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.re-article .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	border-color: var(--re-single-blue);
	background: var(--re-single-blue);
	color: var(--wp--preset--color--base);
}

/* ---- Photo galleries in an article: 6px corners like every other image. */
.re-article .wp-block-gallery.re-post-gallery.has-nested-images figure.wp-block-image img {
	border-radius: 6px;
}

/* ---- Hotspot images (.re-hotspot): the REDay 2019 technology diagram (p76448)
 * and exhibition map (p76915). Both images are orange, so the pins are white
 * discs in a Renovate Orange ring, Deep Blue on hover and focus (they were
 * green, which the brand does not use). The list under it serves phones and screen readers. */
.re-hotspot {
	position: relative;
	margin: 1.5rem 0 0;
}

.re-hotspot__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.re-hotspot__pin {
	position: absolute;
	top: var(--y);
	left: var(--x);
	width: 32px;
	height: 32px;
	border: 5px solid var(--wp--preset--color--accent-1);
	border-radius: 50%;
	background: var(--wp--preset--color--base);
	box-shadow: 0 0 0 2px var(--wp--preset--color--base), 0 2px 8px rgb(20 22 24 / 0.35);
	transform: translate(-50%, -50%);
	transition: background-color 150ms ease, transform 150ms ease;
}

.re-hotspot__pin:hover,
.re-hotspot__pin:focus-visible {
	z-index: 2;
	border-color: var(--re-single-blue);
	background: var(--re-single-blue);
	transform: translate(-50%, -50%) scale(1.1);
}

.re-hotspot__pin:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 3px;
}

.re-hotspot__label {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	width: max-content;
	max-width: 220px;
	padding: 7px 10px;
	border-radius: 4px;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 4px);
	transition: opacity 150ms ease, transform 150ms ease;
}

.re-hotspot__pin:hover .re-hotspot__label,
.re-hotspot__pin:focus-visible .re-hotspot__label {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* The map carries 29 pins, some a few pixels apart: smaller discs. */
.re-hotspot--dense .re-hotspot__pin {
	width: 22px;
	height: 22px;
	border-width: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.re-hotspot__pin,
	.re-hotspot__label {
		transition: none;
	}
}

@media (max-width: 600px) {
	.re-hotspot {
		display: none;
	}
}

/* ===========================================================================
 * National initiative pages (templates/page-national.html, inc/national.php)
 *
 * The hub (National Initiatives) and one page per campaign country (client,
 * 2026-09-30: in line with the design system). A country page is laid out like
 * the Renovate Europe Day pages: header with the round flag, the 760px article,
 * a sidebar with the map (this country in Deep Blue) and every other country.
 * Content components: the partner panel (.re-partner) and the Renovate2Recover
 * slides (.re-slide-grid); documents, logos, videos and agendas reuse the
 * REDay components above.
 * ======================================================================== */

/* ---- Header: flag beside the country's name, then the partner. */
.re-national-header__title {
	display: flex;
	gap: 16px;
	align-items: center;
}

.re-national-header__flag {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.re-national-header__partner {
	margin: 14px 0 0;
	color: var(--re-single-muted);
	font-size: 1.0625rem;
	line-height: 1.5;
}

.re-national-header__partner strong {
	color: var(--wp--preset--color--contrast);
}

/* No standfirst here: the first paragraph is the partner's own text, not a
 * summary of the page. (Beats the 0,3,2 standfirst rule.) */
.re-single.re-national .re-article > p:not(.re-article-meta) {
	font-size: inherit;
	line-height: inherit;
}

/* A dateline under a section title sits close to it. */
.re-national .re-article > h3 + p.re-article-meta {
	margin-top: 0.25em;
}

/* ---- Partner panel: logo tile beside the name and its links. */
.re-article .re-partner {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	column-gap: 24px;
	align-items: center;
	margin-block: 1.25rem 1.5rem;
	padding: 18px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

.re-article .re-partner > * {
	grid-column: 2;
	margin: 0;
}

.re-article .re-partner > .re-partner__logo {
	display: flex;
	grid-row: 1 / span 2;
	grid-column: 1;
	align-items: center;
	justify-content: center;
	height: 110px;
	padding: 14px 18px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
}

.re-article .re-partner > .re-partner__logo img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 80px;
	object-fit: contain;
	border-radius: 0;
}

.re-article .re-partner > p.re-partner__name {
	align-self: end;
	color: var(--wp--preset--color--contrast);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.35;
}

.re-article .re-partner > p.re-partner__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	align-self: start;
	margin-top: 8px;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
}

.re-article .re-partner:not(:has(> .re-partner__logo)) {
	display: block;
}

.re-article .re-partner:not(:has(> .re-partner__links)) > .re-partner__name {
	align-self: center;
}

.re-article .re-partner:not(:has(> .re-partner__links)) > .re-partner__logo {
	grid-row: 1;
}

@media (max-width: 600px) {
	.re-article .re-partner {
		grid-template-columns: minmax(0, 1fr);
	}

	.re-article .re-partner > *,
	.re-article .re-partner > .re-partner__logo {
		grid-row: auto;
		grid-column: 1;
	}

	.re-article .re-partner > .re-partner__logo {
		margin-bottom: 14px;
	}
}

/* ---- Renovate2Recover slides: whole slides (never cropped), two across,
 * opening full size on click (core lightbox). */
.re-article .wp-block-gallery.re-slide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 1.25rem;
}

.re-article .wp-block-gallery.re-slide-grid.has-nested-images figure.wp-block-image {
	width: auto !important;
	margin: 0;
}

.re-article .wp-block-gallery.re-slide-grid.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: auto;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
}

@media (max-width: 480px) {
	.re-article .wp-block-gallery.re-slide-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---- Maps: the country being read in Deep Blue. */
.re-natmap__campaign a.is-current path {
	fill: var(--re-natmap-hover);
}

/* ---- Sidebar: small map, then the countries in two columns. */
.re-natmap--aside {
	display: block;
}

.re-natmap--aside .re-natmap__map {
	margin: 8px 0 12px;
}

.re-countries {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}

.re-countries__item {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-countries__link {
	display: block;
	padding: 8px 0;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.re-countries__link:hover,
.re-countries__link.is-active {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-countries__link:focus-visible {
	outline: 2px solid var(--re-single-blue, #004e7a);
	outline-offset: 2px;
	border-radius: 2px;
}

/* The page being read: Rust, like a label, so it reads as "here". */
.re-countries__item.is-current .re-countries__link {
	color: var(--wp--preset--color--rust);
}

/* ---- Hub: the map beside a card per country. */
.re-natmap--hub {
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"map cards"
		"join cards";
	align-items: start;
	margin-top: 8px;
}

.re-natmap--hub .re-natmap__map {
	grid-area: map;
}

.re-natmap--hub .re-country-cards {
	grid-area: cards;
}

/* "No national partner yet" fills the space under the map (2026-10-06; the
   map was sticky before). On a phone it follows the cards. */
.re-natmap--hub .re-natmap__join {
	grid-area: join;
	margin-top: 0;
	background-color: var(--wp--preset--color--accent-5);
}

@media (max-width: 800px) {
	.re-natmap--hub {
		grid-template-rows: none;
		grid-template-areas:
			"map"
			"cards"
			"join";
	}
}

.re-country-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.re-country-card {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
	transition: border-color 150ms ease;
}

.re-country-card__flag {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.re-country-card__text {
	display: grid;
	min-width: 0;
}

.re-country-card__name {
	color: var(--wp--preset--color--contrast);
	font-size: 1.0625rem;
	font-weight: 900;
	line-height: 1.3;
	text-decoration: none;
}

/* The link covers the card. */
.re-country-card__name::after {
	position: absolute;
	inset: 0;
	content: "";
	border-radius: 6px;
}

.re-country-card__partner {
	color: var(--re-single-muted, #5c5e61);
	font-size: 0.8125rem;
	line-height: 1.35;
}

.re-country-card:hover,
.re-country-card:has(.is-active) {
	border-color: #004e7a;
}

.re-country-card:hover .re-country-card__name,
.re-country-card__name.is-active {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-country-card__name:focus-visible {
	outline: none;
}

.re-country-card:has(.re-country-card__name:focus-visible) {
	outline: 2px solid #004e7a;
	outline-offset: 3px;
}

@media (max-width: 1000px) and (min-width: 801px) {
	.re-country-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 380px) {
	.re-country-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.re-country-card {
		transition: none;
	}
}

/* Hub introduction: one measure wide, charcoal, a step above body text. */
/* Start-aligned under the title: the constrained layout would centre it. */
.is-layout-constrained > p.re-national-intro,
.re-article > p.re-national-intro {
	max-width: 760px;
	margin-left: 0 !important;
	margin-bottom: 36px;
	color: var(--wp--preset--color--contrast);
	font-size: 1.125rem;
	line-height: 1.65;
}

/* A square social graphic inside the text (the Renovate Bulgaria launch):
 * at its own proportion it would fill the column top to bottom. */
.re-article > .wp-block-image.re-image-inset img {
	width: 100%;
	max-width: 400px;
	height: auto;
}

/* ===========================================================================
 * The Campaign pages (templates/page-campaign.html, inc/campaign.php): the
 * national initiative layout, with the section's pages in the sidebar.
 * ======================================================================== */

/* ---- Sidebar: the section's pages, one per line between hairlines. */
.re-section-nav__item {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-section-nav__item:last-child {
	border-bottom: 0;
}

.re-section-nav__link {
	display: block;
	padding: 10px 0;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.re-section-nav__link:hover {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-section-nav__link:focus-visible {
	outline: 2px solid var(--re-single-blue, #004e7a);
	outline-offset: 2px;
	border-radius: 2px;
}

/* The page being read: Rust, like a label, so it reads as "here". */
.re-section-nav__item.is-current .re-section-nav__link {
	color: var(--wp--preset--color--rust);
}

/* ---- Sidebar: "Join the campaign", a sentence, the filled button across the
 * panel, the email address under it. */
.re-aside-join__text {
	margin: 0 0 18px;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.re-aside-join__btn .wp-block-button__link {
	display: block;
	text-align: center;
	text-decoration: none;
}

.re-aside-join__contact {
	margin: 14px 0 0;
	color: #5c5e61;
	font-size: 0.875rem;
	line-height: 1.5;
}

.re-aside-join__contact a {
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	overflow-wrap: anywhere;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-aside-join__contact a:hover {
	color: var(--wp--preset--color--coral-text);
}

/* ---- The address under a "Become a partner" button (.re-mail-note,
 * client 2026-10-08): the buttons open an email, which does nothing visible
 * without a mail app, so the address is written out to copy. Small grey line,
 * the address in charcoal bold. */
.re-mail-note,
.re-article p.re-mail-note,
.re-natmap .re-natmap__join p.re-mail-note {
	margin: 10px 0 0;
	color: #5c5e61;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
}

.re-mail-note a,
.re-article .re-mail-note a {
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	overflow-wrap: anywhere;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-mail-note a:hover,
.re-article .re-mail-note a:hover {
	color: var(--wp--preset--color--coral-text);
}

.re-mail-note a:focus-visible {
	outline: 2px solid var(--re-single-blue, #004e7a);
	outline-offset: 2px;
	border-radius: 2px;
}

/* A closing panel's button with the address under it. */
.re-article .re-cta-panel > .re-cta-panel__action > * {
	margin: 0;
}

.re-article .re-cta-panel > .re-cta-panel__action > .re-mail-note {
	margin-top: 10px;
}

.re-aside-join__contact a:focus-visible {
	outline: 2px solid var(--re-single-blue, #004e7a);
	outline-offset: 2px;
	border-radius: 2px;
}

/* ---- Steps (.re-steps group of .re-step groups): Light Grey panels, two
 * across (one on phones), a charcoal title over the text. No numbers. */
.re-article .re-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 1.25rem;
}

.re-article .re-step {
	margin: 0;
	padding: 22px 24px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

.re-article .re-step > * {
	margin: 0;
}

.re-article .re-step > .re-step__title {
	margin: 0 0 8px;
	font-size: 1.125rem;
	font-weight: 900;
	line-height: 1.35;
}

.re-article .re-step > p {
	color: var(--wp--preset--color--contrast);
	font-size: 1rem;
	line-height: 1.6;
}

@media (max-width: 600px) {
	.re-article .re-steps {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---- People (.re-people group of .re-person groups): a square photo with
 * 6px corners, then name, organisation and role. Three across, two on
 * tablets and phones. */
.re-article .re-people {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 24px;
	margin-top: 1.25rem;
}

.re-article .re-person {
	margin: 0;
}

.re-article .re-person > * {
	margin: 0;
}

.re-article .re-person > .wp-block-image {
	margin: 0 0 14px;
}

.re-article .re-person > .wp-block-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 6px;
}

.re-article .re-person > .re-person__name {
	color: var(--wp--preset--color--contrast);
	font-size: 1.0625rem;
	line-height: 1.35;
}

.re-article .re-person > .re-person__name strong {
	font-weight: 900;
}

.re-article .re-person > .re-person__org {
	margin-top: 2px;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	line-height: 1.4;
}

.re-article .re-person > .re-person__role {
	margin-top: 6px;
	color: var(--re-single-muted);
	font-size: 0.875rem;
	line-height: 1.45;
}

@media (max-width: 781px) {
	.re-article .re-people {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---- One picture in slices (.re-infographic group of images): stacked with
 * no gap, so the drawing reads as one; corners only on the whole. */
.re-article .re-infographic {
	margin-top: 1.75rem;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
}

.re-article .re-infographic > .wp-block-image {
	margin: 0;
}

.re-article .re-infographic > .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

/* ---- A Details block in an article: a Border-grey panel, the summary in
 * charcoal bold, a Rust marker; Deep Blue focus ring. */
.re-article .wp-block-details {
	margin-top: 1.5rem;
	padding: 16px 22px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
}

.re-article .wp-block-details > summary {
	color: var(--wp--preset--color--contrast);
	font-size: 1.0625rem;
	font-weight: 700;
	cursor: pointer;
}

.re-article .wp-block-details > summary::marker {
	color: var(--wp--preset--color--rust);
}

.re-article .wp-block-details > summary:hover {
	color: var(--wp--preset--color--coral-text);
}

.re-article .wp-block-details > summary:focus-visible {
	outline: 2px solid var(--re-single-blue, #004e7a);
	outline-offset: 4px;
	border-radius: 2px;
}

.re-article .wp-block-details[open] > summary {
	margin-bottom: 1rem;
}

/* ---- Contact details (.re-contact-card group of items): a Light Grey panel,
 * address and email side by side (stacked on phones), each under a
 * Rust label. */
.re-article .re-contact-card {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, auto));
	justify-content: start;
	gap: 20px 48px;
	margin-top: 1.5rem;
	padding: 24px 28px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

.re-article .re-contact-card__item,
.re-article .re-contact-card__item > * {
	margin: 0;
}

.re-article .re-contact-card__item > p {
	color: var(--wp--preset--color--contrast);
	font-size: 1.0625rem;
	line-height: 1.55;
}

.re-article .re-contact-card__item > p.re-contact-card__label {
	margin-bottom: 6px;
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

@media (max-width: 781px) {
	.re-article .re-contact-card {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ===========================================================================
 * The Current Priorities pages (templates/page-priorities.html,
 * inc/priorities.php): no sidebar (client, 2026-09-30). The section's pages
 * as tabs above the title, the article in one centred column, then the other
 * priorities as cards and the latest news across the full 1200px.
 * ======================================================================== */

/* ---- Tabs: "Current priorities", then one pill per page, left-aligned like
 * the homepage section headings. The page being read (or the one it is
 * nested under) is filled in Rust with white text (6.55:1), like the badges; the others are white pills
 * with a neutral border, Vivid Coral on hover. On phones the row scrolls
 * sideways (assets/js/priorities-nav.js centres the current pill). */
.re-pri-nav {
	margin: 0 0 48px;
}

.re-pri-nav__title {
	margin: 0 0 14px;
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.re-pri-nav__tabs,
.re-pri-nav__links {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.re-pri-nav__tabs {
	gap: 10px;
}

.re-pri-nav__tab {
	display: block;
	padding: 9px 18px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 150ms ease, color 150ms ease;
}

.re-pri-nav__tab:hover {
	border-color: var(--wp--preset--color--coral-text);
	color: var(--wp--preset--color--coral-text);
}

.re-pri-nav__tab.is-current {
	border-color: var(--wp--preset--color--rust);
	background: var(--wp--preset--color--rust);
	color: var(--wp--preset--color--base);
}

.re-pri-nav__tab:focus-visible,
.re-pri-nav__link:focus-visible {
	outline: 2px solid var(--re-single-blue, #004e7a);
	outline-offset: 3px;
}

/* ---- The nested pages of the branch being read: a line of plain links under
 * the tabs, led by the page's name, after a neutral hairline. */
.re-pri-nav__sub {
	margin-top: 22px;
	border-top: 1px solid var(--wp--preset--color--border-light);
}

.re-pri-nav__row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	align-items: baseline;
	padding-top: 16px;
}

.re-pri-nav__row-title {
	margin: 0;
	color: var(--re-single-muted, #5c5e61);
	font-size: 0.9375rem;
	line-height: 1.4;
}

.re-pri-nav__links {
	gap: 6px 20px;
}

.re-pri-nav__link {
	display: block;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
}

.re-pri-nav__link:hover {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-pri-nav__link.is-current {
	color: var(--wp--preset--color--rust);
}

/* Phones: one line per row, scrolling sideways, running to the screen edge
 * so a cut-off pill shows there is more. */
@media (max-width: 781px) {
	.re-pri-nav {
		margin-bottom: 36px;
	}

	.re-pri-nav__tabs,
	.re-pri-nav__links {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-inline: calc(-1 * var(--wp--style--root--padding-left, 16px)) calc(-1 * var(--wp--style--root--padding-right, 16px));
		padding: 2px var(--wp--style--root--padding-right, 16px) 6px var(--wp--style--root--padding-left, 16px);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.re-pri-nav__tabs::-webkit-scrollbar,
	.re-pri-nav__links::-webkit-scrollbar {
		display: none;
	}

	.re-pri-nav__row {
		display: block;
	}

	.re-pri-nav__row-title {
		margin-bottom: 6px;
	}

	.re-pri-nav__links {
		gap: 22px;
	}
}

/* ---- The article: the full 1200px, like the homepage sections (client,
 * 2026-09-30). Grids spread across it: country cards four across, the
 * benefit panels four across, slides three across. */
@media (min-width: 1000px) {
	.re-priority-page .re-article > .re-country-cards,
	.re-priority-page .re-article > .re-steps,
	:is(.re-priority-page, .re-float-page) .re-article .re-band > :is(.re-country-cards, .re-steps) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* Six panels read better as two rows of three than as four and two. */
	.re-priority-page .re-article > .re-steps--three,
	:is(.re-priority-page, .re-float-page) .re-article .re-band > .re-steps--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Also inside the section bands (2026-10-08), which are not direct
	 * children of the article. */
	:is(.re-priority-page, .re-float-page) .re-article > .wp-block-gallery.re-slide-grid,
	:is(.re-priority-page, .re-float-page) .re-article .re-band > .wp-block-gallery.re-slide-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---- Text beside a visual (.re-split group holding a .re-split__text group
 * and a .re-split__media group): on a full-width page a section's heading,
 * dateline, text and button sit in one column and its report cover, photo or
 * video in the other, so lines stay short enough to read (client,
 * 2026-09-30). The visual is on the right; .re-split--media-left puts it on
 * the left, and a page alternates the two. A cover column is 360px;
 * .re-split--wide gives a landscape photo or a video five twelfths. Stacked
 * below 1000px, text first. */
.re-article > .re-split {
	margin-top: 3.5rem;
}

.re-article > .re-split:first-child {
	margin-top: 0;
}

.re-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

.re-split > .re-split__text,
.re-split > .re-split__media {
	margin: 0;
}

.re-split__text > :first-child,
.re-split__media > :first-child {
	margin-top: 0;
}

.re-split__media > * + * {
	margin-top: 20px;
}

.re-split__media .wp-block-image {
	margin-inline: 0;
}

/* The standfirst stays the page's opening paragraph: inside a first split's
 * text column, and never a paragraph further down that happens to be the
 * first one outside a split. */
.re-article > .re-split:first-child > .re-split__text > p:not(.re-article-meta):not(p:not(.re-article-meta) ~ p) {
	font-size: 1.25rem;
	line-height: 1.6;
}

.re-article.re-article.re-article > .re-split ~ p:not(.re-article-meta) {
	font-size: 1.0625rem;
	line-height: 1.75;
}

.re-split__media .wp-block-image img {
	width: 100% !important; /* beats the inline width of a resized image */
	max-width: 100%;
	height: auto;
}

@media (min-width: 1000px) {
	.re-split {
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 56px;
		align-items: start;
	}

	.re-split--wide {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.re-split--media-left {
		grid-template-columns: 360px minmax(0, 1fr);
	}

	.re-split--media-left.re-split--wide {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}

	.re-split--media-left > .re-split__media {
		order: -1;
	}

	/* A video or cover level with the heading's cap height, not its line box. */
	.re-split__media {
		padding-top: 6px;
	}
}

/* ---- Under the article: the other priorities as Light Grey cards, three
 * across, the page's own title in charcoal 900, the whole card one link,
 * Vivid Coral and underlined on hover. No arrows, like the homepage cards. */
.re-pri-cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.re-pri-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.re-pri-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.re-pri-card__link {
	display: flex;
	align-items: flex-end;
	height: 100%;
	min-height: 128px;
	box-sizing: border-box;
	padding: 24px 26px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.3;
	text-decoration: none;
	text-wrap: balance;
	transition: background-color 150ms ease, color 150ms ease;
}

.re-pri-card__link:hover {
	background: var(--wp--preset--color--border-light);
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-pri-card__link:focus-visible {
	outline: 2px solid var(--re-single-blue, #004e7a);
	outline-offset: 3px;
}

/* The news follows the cards closer than the cards follow the article. */
.re-pri-more + .re-pri-news {
	margin-top: 56px;
}

/* ---- Country cards in the text (Custom HTML list of .re-country-card):
 * the hub's cards, three across in the article column, two on phones. */
.re-article .re-country-cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1.25rem;
}

@media (max-width: 1000px) and (min-width: 801px) {
	.re-article .re-country-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.re-article .re-country-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 380px) {
	.re-article .re-country-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* The article's list and link rules would add an indent, a gap and coral
 * underlined names; the cards keep the hub's look. */
.re-article ul.re-country-cards {
	padding-left: 0;
}

.re-article .re-country-cards li + li {
	margin-top: 0;
}

.re-article .re-country-card a.re-country-card__name {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.re-article .re-country-card:hover a.re-country-card__name {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
}

/* ---- Asks (.re-asks group of .re-ask groups): what the campaign calls for,
 * one per row between neutral hairlines, the ask's name in a left column
 * and the text beside it (stacked on phones). Rows, not panels, so a list
 * of demands reads apart from the grey benefit panels above it. */
.re-article .re-asks {
	margin-top: 1.25rem;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-ask {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 8px 32px;
	margin: 0;
	padding: 20px 0;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-ask > * {
	margin: 0;
}

.re-article .re-ask > .re-ask__title {
	color: var(--wp--preset--color--contrast);
	font-size: 1.125rem;
	font-weight: 900;
	line-height: 1.35;
}

.re-article .re-ask > p {
	color: var(--wp--preset--color--contrast);
	font-size: 1rem;
	line-height: 1.6;
}

@media (max-width: 600px) {
	.re-article .re-ask {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ===========================================================================
 * C4E Forum pages (templates/page-c4e.html, inc/c4e.php)
 *
 * The hub and its editions, in the Renovate Europe Day layout (client,
 * 2026-09-30). Two components were added for them: the forum's dated news
 * as feed rows, and the editions as banner cards.
 * ======================================================================== */

/* The standfirst is a paragraph that opens the page, before any section; on
 * the hub the first paragraph sits under a heading and stays body size. */
.re-single.re-c4e .re-article > h2 ~ p:not(.re-article-meta) {
	font-size: inherit;
	line-height: inherit;
}

/* ---- Feed rows (.re-updates group of .re-update groups, each a
 * .re-update__media group then a .re-update__text group): a dated item per
 * row between neutral hairlines, its picture in a 240px column on the left.
 * Stacked on phones, picture first. */
.re-article .re-updates {
	margin-top: 1.5rem;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-article h2 + .re-updates {
	margin-top: 1rem;
}

.re-article .re-update {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 16px 28px;
	margin: 0;
	padding: 28px 0;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-update > *,
.re-article .re-update__media > *,
.re-article .re-update__text > * {
	margin: 0;
}

.re-article .re-update__media {
	padding-top: 5px;
}

.re-article .re-update__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 6px;
}

.re-article .re-update__media .wp-block-embed iframe {
	border-radius: 6px;
}

.re-article .re-update__text > * + * {
	margin-top: 0.75em;
}

.re-article .re-update__text > :where(h2, h3) {
	font-size: 1.25rem;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.35;
}

.re-article .re-update__text > p {
	font-size: 1rem;
	line-height: 1.65;
}

.re-article .re-update__text > p.re-article-meta {
	margin-top: 0.3em;
	color: var(--re-single-muted);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
}

.re-article .re-update__text > .wp-block-buttons {
	margin-top: 1.1rem;
}

@media (max-width: 600px) {
	.re-article .re-update {
		grid-template-columns: minmax(0, 1fr);
	}

	.re-article .re-update__media {
		padding-top: 0;
	}
}

/* ---- Edition cards (.re-resources--banners): the documents card holding an
 * edition's wide banner, shown whole on white rather than cropped to a
 * cover's 10:7. */
.re-article .re-resources--banners > .re-resource > .wp-block-image img {
	aspect-ratio: 3 / 1;
	object-fit: contain;
	background: var(--wp--preset--color--base);
}

/* ---- No sidebar (client, 2026-09-30): the hub and editions as the Current
 * Priorities pills above the title, the page across the full 1200px like the
 * homepage. Grids spread across it, and a feed row gives its picture a third
 * of the width so the text beside it stays a readable length. */
@media (min-width: 600px) {
	.re-c4e .re-article > .re-resources--banners {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.re-c4e .re-article > .re-resources--banners {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px;
	}

	.re-c4e .re-article .re-update {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: 16px 48px;
		padding-block: 36px;
	}

	.re-c4e .re-article .re-update__text > p {
		font-size: 1.0625rem;
		line-height: 1.7;
	}
}

/* ---- "More C4E Forum editions": the priorities cards, with the edition's
 * place and dates in muted 15px under its title. */
.re-c4e-card__link {
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 6px;
}

.re-c4e-card__note {
	color: var(--re-single-muted, #5c5e61);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	line-height: 1.45;
}

/* The details panel fits its content instead of running the full width. */
.re-c4e .re-event-facts {
	width: fit-content;
	min-width: min(100%, 380px);
	max-width: 100%;
	box-sizing: border-box;
	padding-right: 32px;
}

/* The forum's panel beside the details panel, the two the same height and
 * the forum taking most of the spare width; stacked, each runs the full width,
 * once they no longer fit side by side. */
.re-c4e-head {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: stretch;
	margin-top: 28px;
}

.re-c4e-head > .re-event-facts {
	flex: 1 1 auto;
	margin-top: 0;
}

.re-c4e-head > .re-c4e-head__forum {
	display: flex;
	flex: 100 1 440px;
	min-width: 0;
}

.re-c4e-head > .re-c4e-head__forum > .re-partner {
	flex: 1;
	margin: 0;
}

.re-single-header--event .re-c4e-head + .re-share {
	margin-top: 24px;
}

/* The section hairline under the article closes the last feed row. */
.re-c4e .re-article > .re-updates:last-child {
	border-bottom: 0;
}

/* ===========================================================================
 * Communication pages (templates/page-communication.html,
 * inc/communication.php)
 *
 * News, Publications, Videos and the study pages under Publications, in the
 * Current Priorities layout (2026-10-05): "Communication" pills above the
 * title, the full 1200px, no sidebar. The listings print the homepage cards
 * ([re_post_grid]) inside the article, so the article's heading, link and
 * list rules are reset for them here.
 * ======================================================================== */

/* ---- Eyebrow headings in the article ("Featured", "All publications"):
 * the homepage section eyebrow, 19px bold Renovate Orange (large text, AA). */
.re-article h2.re-eyebrow {
	margin: 0 0 24px;
	color: var(--wp--preset--color--accent-1);
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.re-article .re-feed__head h2.re-eyebrow {
	margin: 0;
}

.re-article > * + .re-comm-grid {
	margin-top: 72px;
}

/* ---- Cards inside the article: as on the homepage. */
.re-article .re-card-post__label {
	margin: 18px 0 8px;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.4;
}

.re-article .re-card-post__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.35;
}

.re-article .re-card-post__title a {
	color: inherit;
	text-decoration: none;
}

.re-article .re-card-post:hover .re-card-post__title a {
	color: var(--wp--preset--color--coral-text);
}

.re-article .re-card-post__title a:focus-visible {
	outline: none;
}

.re-article .re-card-post__date {
	margin: 10px 0 0;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
}

/* ---- Featured documents (Publications): three Light Grey cards. */
@media (min-width: 782px) {
	.re-article .re-resources--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px;
	}
}

/* Renovation case studies: the same cards four across, a photo each. */
@media (min-width: 600px) {
	.re-article .re-resources--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (min-width: 1000px) {
	.re-article .re-resources--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.re-article .re-resources--four > .re-resource > .wp-block-image img {
	aspect-ratio: 4 / 3;
}

/* A case with only a logo, not a photo: shown whole on white. */
.re-article .re-resource > .wp-block-image.re-resource__logo img {
	box-sizing: border-box;
	padding: 12%;
	object-fit: contain;
}

.re-article > h2 + .re-resources--four {
	margin-top: 1rem;
}

.re-article .re-resources--three > .re-resource {
	padding: 16px 16px 20px;
}

.re-article .re-resources--three > .re-resource > .wp-block-image img {
	aspect-ratio: 16 / 9;
}

.re-article .re-resources--three > .re-resource > p:not(.re-resource__note) {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
}

/* ---- Page numbers: the tab pills, the page being read filled in Rust. */
.re-pager {
	margin-top: 56px;
}

.re-pager ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.re-article .re-pager li + li {
	margin-top: 0;
}

.re-article .re-pager .page-numbers:is(a, span) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: border-color 150ms ease, color 150ms ease;
}

.re-article .re-pager a.page-numbers:hover {
	border-color: var(--wp--preset--color--coral-text);
	color: var(--wp--preset--color--coral-text);
}

.re-article .re-pager .page-numbers.current {
	border-color: var(--wp--preset--color--rust);
	background: var(--wp--preset--color--rust);
	color: var(--wp--preset--color--base);
}

.re-article .re-pager .page-numbers.dots {
	min-width: 0;
	padding: 0 4px;
	border-color: transparent;
	background: none;
	color: var(--re-single-muted, #5c5e61);
}

.re-article .re-pager .page-numbers:is(.prev, .next) {
	padding: 0 20px;
}

/* ---- Mailing list (News) and other closing calls (.re-cta-panel): a Light
 * Grey panel after the cards, the call
 * beside its button. */
.re-article .re-subscribe,
.re-article .re-cta-panel {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: center;
	justify-content: space-between;
	margin-top: 72px;
	padding: 28px 32px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

.re-article .re-subscribe > *,
.re-article .re-cta-panel > * {
	margin: 0;
}

.re-article .re-subscribe > h2,
.re-article .re-subscribe > .re-subscribe__text > h2,
.re-article .re-cta-panel > h2 {
	font-size: 1.375rem;
}

/* ---- Access panel (.re-access): who can see gated pages and how, right
 * under the section that introduces them (first used under the EPBD Tracker,
 * client 2026-10-08). A Light Grey panel holding one column per audience,
 * split by a hairline; each opens with a Rust label (as on the link cards).
 * A route that is not open yet ends in a .re-access__soon outline tag
 * instead of a button. Two columns from 700px. */
.re-article .re-access {
	margin-top: 40px;
	padding: 28px 32px 32px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

.re-article .re-access > .re-access__title {
	margin: 0;
	font-size: 1.375rem;
}

.re-article .re-access__options {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	margin-top: 20px;
}

.re-article .re-access__options > .re-access__option {
	margin-block: 0;
}

.re-article .re-access__option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.re-article .re-access__option + .re-access__option {
	padding-top: 24px;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-access__option > * {
	margin: 0;
}

.re-article .re-access__option > * + * {
	margin-top: 10px;
}

/* The button or tag sits at the foot, level across the two columns. */
.re-article .re-access__option > p:not(.re-access__label, .re-access__soon) {
	margin-bottom: 18px;
}

.re-article .re-access__option > .wp-block-buttons,
.re-article .re-access__option > .re-access__soon {
	margin-top: auto;
}

.re-article .re-access__label {
	color: var(--wp--preset--color--rust);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.re-article p.re-access__soon {
	display: inline-block;
	padding: 9px 18px;
	border: 1px dashed var(--wp--preset--color--accent-4);
	border-radius: 999px;
	color: #5c5e61;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	line-height: 1.4;
}

@media (min-width: 700px) {
	.re-article .re-access__options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
	}

	.re-article .re-access__option + .re-access__option {
		padding-top: 0;
		padding-left: 32px;
		margin-left: 32px;
		border-top: 0;
		border-left: 1px solid var(--wp--preset--color--accent-6);
	}
}

/* ---- Videos (a .re-video-wall group of YouTube embeds, turned into cards
 * by inc/communication.php): thumbnail with a dark play disc (an orange one
 * vanished on the orange thumbnails), Deep Blue on hover, the
 * full title under it, three across. A click plays the video in place
 * (assets/js/video-wall.js). */
.re-article ul.re-video-wall {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.re-article ul.re-video-wall {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.re-article ul.re-video-wall {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.re-article .re-video-wall li + li {
	margin-top: 0;
}

.re-video {
	position: relative;
}

.re-video__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	background: var(--wp--preset--color--dark);
}

.re-video__media img,
.re-video__media iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.re-video__media img {
	transition: transform 300ms ease;
}

.re-video:hover .re-video__media img {
	transform: scale(1.03);
}

.re-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgb(20 22 24 / 0.72);
	box-shadow: 0 4px 18px rgb(0 0 0 / 0.25);
	transform: translate(-50%, -50%);
	transition: background-color 150ms ease;
}

.re-video__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	width: 18px;
	height: 22px;
	background: var(--wp--preset--color--base);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	transform: translate(-50%, -50%);
}

.re-video:hover .re-video__play,
.re-video:has(a:focus-visible) .re-video__play {
	background: #004e7a;
}

.re-article .re-video__title {
	margin: 14px 0 0;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
}

.re-article .re-video__title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

/* The whole card is the title's link, until the video is playing. */
.re-video__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 6px;
}

.re-video.is-playing .re-video__title a::after {
	content: none;
}

.re-article .re-video:hover .re-video__title a {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-article .re-video__title a:focus-visible {
	outline: none;
}

.re-video__title a:focus-visible::after {
	outline: 2px solid #004e7a;
	outline-offset: 6px;
}

.re-article .re-video-wall + .wp-block-buttons {
	margin-top: 48px;
}

@media (prefers-reduced-motion: reduce) {
	.re-video__media img,
	.re-video:hover .re-video__media img {
		transition: none;
		transform: none;
	}
}

/* ---- Study pages: a section heading straight above its split sits close
 * to it; the asks' long titles get a wider column at full width. */
.re-comm .re-article > h2 + .re-split {
	margin-top: 1.5rem;
}

@media (min-width: 1000px) {
	.re-comm .re-article .re-ask {
		grid-template-columns: 340px minmax(0, 1fr);
		gap: 8px 48px;
	}
}

/* ===========================================================================
 * National Initiatives hub (templates/page-national-hub.html): the header of
 * the country pages and the full 1200px, no sidebar (the hub has its own
 * map). Inside the article the in-text country card rule (three across)
 * would squeeze the cards beside the map, so the hub keeps two across.
 * ======================================================================== */
.re-article .re-natmap--hub .re-country-cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 0;
}

@media (max-width: 1000px) and (min-width: 801px) {
	.re-article .re-natmap--hub .re-country-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* One card a row on phones: two across broke names mid-word ("Denmar k"). */
@media (max-width: 480px) {
	.re-article .re-natmap--hub .re-country-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* The hub's two columns (.re-natmap--hub, set after the map's own phone rule)
 * kept the map and cards side by side on phones: stack them. */
@media (max-width: 800px) {
	.re-natmap--hub {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* ===========================================================================
 * MEP listings in the campaign layout (templates/page-campaign-wide.html):
 * the section header, then the grid across the full 1200px, start-aligned
 * under the title like the Current Priorities pages.
 * ======================================================================== */
.re-campaign--wide .re-article > .wp-block-group.alignfull {
	margin-left: 0;
	margin-right: 0;
	padding: 0 !important;
}

.re-campaign--wide .re-article > .wp-block-group.alignfull > * {
	max-width: none;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.re-campaign--wide .re-sigdir__bar {
	align-items: flex-start;
}

.re-campaign--wide .re-sigdir__jump {
	justify-content: flex-start;
	max-width: none;
	margin-left: 0;
}

/* The article's coral underlined links would turn every country and party
 * into a link-looking line: keep the grid's muted labels. */
.re-article .re-signatory-meta a {
	color: inherit;
	text-decoration: none;
}

.re-article .re-signatory-meta a:hover,
.re-article .re-signatory-meta a:focus-visible {
	color: #004e7a;
	text-decoration: underline;
}

/* Core's grid drops the "All" view to one card per row on phones, each
 * portrait the full screen: two across, like the grouped rows. */
@media (max-width: 600px) {
	.wp-block-post-template.re-signatory-cards.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

/* ===========================================================================
 * REDay overview (templates/page-reday-hub.html): the intro, then every
 * edition as the priorities' cards, four across from 1000px.
 * ======================================================================== */
@media (min-width: 1000px) {
	.re-reday-editions .re-pri-cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ===========================================================================
 * Fact table (.re-facts, a Table block with a header cell per row): the
 * renovation case studies' "Principal characteristics". The label in a
 * Light Grey column, the value beside it; stacked on phones.
 * ======================================================================== */
.re-article .wp-block-table.re-facts table {
	width: 100%;
	border-collapse: collapse;
}

.re-article .wp-block-table.re-facts th {
	width: 240px;
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
}

.re-article .wp-block-table.re-facts td {
	color: var(--wp--preset--color--contrast);
}

@media (max-width: 600px) {
	.re-article .wp-block-table.re-facts tr,
	.re-article .wp-block-table.re-facts th,
	.re-article .wp-block-table.re-facts td {
		display: block;
		width: auto;
	}

	.re-article .wp-block-table.re-facts td {
		border-top: 0;
	}

	.re-article .wp-block-table.re-facts tr + tr th {
		border-top: 0;
	}
}

/* Photo credit under a case study's picture. */
.re-article .re-split__media .wp-element-caption {
	margin-top: 8px;
	color: var(--re-single-muted);
	font-size: 0.875rem;
}

/* ===========================================================================
 * Mailing list sign-up (.re-signup, the Mailchimp form on "Subscribe to our
 * mailing list"). It carried its own <style> block with an orange focus
 * ring; now a Light Grey panel like the footer newsletter, fields two
 * across, the filled gradient button, Deep Blue focus.
 * ======================================================================== */
.re-article .re-signup {
	max-width: 760px;
	margin-top: 1.75rem;
	padding: clamp(20px, 4vw, 36px);
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}

.re-article .re-signup form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 20px;
}

.re-article .re-signup__required {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--re-single-muted);
	font-size: 0.875rem;
}

.re-article .re-signup__asterisk {
	color: var(--wp--preset--color--rust);
	font-weight: 700;
}

.re-article .re-signup__field--wide {
	grid-column: 1 / -1;
}

.re-article .re-signup__field label {
	display: block;
	margin-bottom: 6px;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 700;
}

.re-article .re-signup__field input {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--wp--preset--color--accent-4);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font: inherit;
}

.re-article .re-signup__field input:focus-visible {
	outline: 2px solid #004e7a;
	outline-offset: 2px;
	border-color: #004e7a;
}

.re-article .re-signup__submit {
	grid-column: 1 / -1;
	justify-self: start;
	padding: 13px 28px;
	border: 0;
	border-radius: 6px;
	background: var(--wp--preset--gradient--footer-bar);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 1.1875rem;
	font-weight: 700;
}

.re-article .re-signup__submit:hover,
.re-article .re-signup__submit:focus-visible {
	background: #004e7a;
}

.re-article .re-signup__submit:focus-visible {
	outline: 2px solid #004e7a;
	outline-offset: 3px;
}

@media (max-width: 600px) {
	.re-article .re-signup form {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* News' subscribe panel: the heading with a line under it (the link to the
 * past newsletters), the button still to the right. Muted grey that passes
 * on the Light Grey panel. */
.re-article .re-subscribe > .re-subscribe__text > * {
	margin: 0;
}

.re-article .re-subscribe > .re-subscribe__text > p {
	margin-top: 6px;
	color: var(--re-single-muted);
	font-size: 0.9375rem;
}

/* After the sign-up form on "Subscribe to our mailing list". */
.re-article .wp-block-html:has(.re-signup) + p {
	margin-top: 1.75rem;
}

/* ===========================================================================
 * Communication overview (/communications/, [re_communication_overview]):
 * a row of three cards per listing, then the section's other pages as the
 * priorities' cards, which the article's list and link rules must not reach.
 * ======================================================================== */
.re-article .re-comm-overview__more {
	margin-top: 64px;
}

.re-article .re-comm-overview__more ul.re-pri-cards {
	padding-left: 0;
}

.re-article .re-comm-overview__more .re-pri-cards li + li {
	margin-top: 0;
}

.re-article .re-comm-overview__more a.re-pri-card__link {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.re-article .re-comm-overview__more a.re-pri-card__link:hover {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
}

/* ===========================================================================
 * Country pages' "Official documents" ([re_national_documents], after the
 * page's text): the plans and the Commission's feedback, a bold label beside
 * its lines like the fact table, rows between neutral hairlines, stacked on
 * phones. Set as the article (17px charcoal, coral underlined links).
 * ======================================================================== */
.re-docs {
	margin-top: 2.2em;
	color: var(--wp--preset--color--contrast);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.re-docs h2 {
	margin: 0 0 0.75em;
	color: var(--wp--preset--color--contrast);
	font-size: 1.625rem;
	font-weight: 900;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.re-docs__list {
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-docs__row {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	column-gap: 24px;
	padding: 14px 0;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.re-docs__label {
	grid-column: 1;
	grid-row: 1 / span 9;
	font-weight: 700;
}

.re-docs__item {
	grid-column: 2;
	margin: 0;
}

.re-docs__item + .re-docs__item {
	margin-top: 0.3em;
}

.re-docs a {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-docs a:hover {
	color: var(--re-single-blue);
}

.re-docs a:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 3px;
	border-radius: 2px;
}

.re-docs__intro {
	margin: 0 0 1em;
}

.re-docs__meta {
	color: var(--wp--preset--color--accent-4);
	font-size: 0.9375rem;
}

/* Country pages with the floated sidebar (page-national-float.html,
 * 2026-10-08): Official documents and EU projects carry on the page's section
 * bands, documents on white and projects on Light Grey, under the sidebar.
 * The news row below then needs no rule of its own. */
.re-float-page .re-float-page__main > .re-docs {
	clear: right;
	margin-top: 0;
	padding-block: 80px;
}

/* Whatever ends the page is white, above the grey footer: with the news row
 * and no projects the documents take the grey; with projects and no news row,
 * documents grey and projects white. */
.re-float-page:has(.re-single-related) .re-float-page__main:not(:has(> .re-projects)) > .re-docs,
.re-float-page:not(:has(.re-single-related)) .re-float-page__main:has(> .re-projects) > .re-docs:not(.re-projects),
.re-float-page .re-float-page__main > .re-projects {
	background: var(--wp--preset--color--accent-5);
	box-shadow: 0 0 0 100vmax var(--wp--preset--color--accent-5);
	clip-path: inset(0 -100vmax);
}

.re-float-page:not(:has(.re-single-related)) .re-float-page__main > .re-projects {
	background: none;
	box-shadow: none;
	clip-path: none;
}

.re-float-page .re-float-page__main > .re-docs h2 {
	font-size: 2rem;
}

/* A white band that ends a country page's text is not the end of the page:
 * Official documents follows, so it keeps its bottom padding (client,
 * 2026-10-08: "there is no spacing"). */
.re-national.re-float-page .re-article > .re-band:last-child {
	padding-bottom: 80px;
}

@media (max-width: 781px) {
	.re-national.re-float-page .re-article > .re-band:last-child {
		padding-bottom: 56px;
	}
}

/* Text that ends without a band, above grey documents (Czech Republic,
 * Hungary): space before the grey starts, as under a band. */
.re-float-page:not(:has(.re-single-related)) .re-float-page__main:has(> .re-projects) > .re-article:not(:has(> .re-band:last-child)),
.re-float-page:has(.re-single-related) .re-float-page__main:not(:has(> .re-projects)) > .re-article:not(:has(> .re-band:last-child)) {
	padding-bottom: 48px;
}

/* Something after the last band (REDay2026's "Register now" under the
 * agenda) stands clear of it. */
.re-article > .re-band + :not(.re-band) {
	margin-top: 56px;
}

/* An image beside the floated sidebar (REDay2026's banner) narrows to the
 * space left, instead of dropping below the sidebar and leaving a hole. */
@media (min-width: 1024px) {
	.re-float-page .re-article > .wp-block-image:first-child {
		display: flow-root;
		width: auto;
	}
}

/* A video under the sidebar keeps the old column's width, not 1200px. */
.re-float-page .re-article > .wp-block-embed,
.re-float-page .re-article .re-band > .wp-block-embed {
	max-width: 760px;
}

.re-float-page .re-single-related {
	margin-top: 0;
	padding-top: 80px;
	border-top: 0;
}

@media (max-width: 1023px) {
	.re-float-page .re-float-page__main > .re-docs {
		order: 2;
	}
}

@media (max-width: 781px) {
	.re-float-page .re-float-page__main > .re-docs {
		padding-block: 56px;
	}

	.re-float-page .re-float-page__main > .re-docs h2 {
		font-size: 1.625rem;
	}

	.re-float-page .re-single-related {
		padding-top: 56px;
	}
}

/* EU projects page: "Bring Renovate Europe into your project" (the Partners
 * page's re-partner-join panel) right after the intro. */
.re-article .re-projects-join {
	margin-top: 32px;
}

.re-article .re-projects-join__list > h3 {
	margin: 0 0 8px;
}

.re-article .re-projects-join__list > ul {
	margin: 0;
}

/* EU projects panel, "What we bring": a coral line icon per offer (Lucide
 * shapes: people, megaphone, institutions, globe) and coral labels, the
 * panel's one accent (client, 2026-10-06: "more colourful"). */
.re-article ul.re-offer-list {
	padding-left: 0;
	list-style: none;
}

.re-article .re-offer-list > li {
	position: relative;
	padding-left: 38px;
}

.re-article .re-offer-list > li + li {
	margin-top: 14px;
}

.re-article .re-offer-list > li::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 24px;
	height: 24px;
	background-color: var(--wp--preset--color--coral-text);
	-webkit-mask: no-repeat center / contain;
	mask: no-repeat center / contain;
}

.re-article .re-offer-list > li:nth-child(1)::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.re-article .re-offer-list > li:nth-child(2)::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E");
}

.re-article .re-offer-list > li:nth-child(3)::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 22h18'/%3E%3Cpath d='M6 18v-7'/%3E%3Cpath d='M10 18v-7'/%3E%3Cpath d='M14 18v-7'/%3E%3Cpath d='M18 18v-7'/%3E%3Cpath d='M12 2l8 5H4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 22h18'/%3E%3Cpath d='M6 18v-7'/%3E%3Cpath d='M10 18v-7'/%3E%3Cpath d='M14 18v-7'/%3E%3Cpath d='M18 18v-7'/%3E%3Cpath d='M12 2l8 5H4z'/%3E%3C/svg%3E");
}

.re-article .re-offer-list > li:nth-child(4)::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
}

.re-article .re-offer-list strong {
	color: var(--wp--preset--color--coral-text);
}

/* The proposal button and the contact line on one row, stacking when the
 * panel is too narrow for both. */
.re-article .re-projects-join__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-top: 20px;
}

.re-article .re-projects-join__cta .wp-block-buttons,
.re-article .re-projects-join__cta .re-partner-join__contact {
	margin: 0;
}

/* "What we bring" beside a REDay photo from 900px, the photo under the list
 * below that. */
.re-article .re-projects-join__offer {
	margin: 24px 0 20px;
}

.re-article .re-projects-join__photo {
	margin: 20px 0 0;
}

.re-article .re-projects-join__photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.re-article .re-projects-join__photo figcaption {
	margin: 8px 0 0;
	color: var(--wp--preset--color--accent-4);
	font-size: 0.875rem;
	text-align: left;
}

@media (min-width: 900px) {
	.re-article .re-projects-join__offer {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		gap: 40px;
		align-items: start;
	}

	.re-article .re-projects-join__photo {
		margin-top: 6px;
	}
}

/* EU projects page: a white outlined card per project of ours (as the
 * country cards below), the project logo as its heading, programme and dates
 * on the right. */
.re-article .re-project-card {
	margin-top: 24px;
	padding: 28px 32px 30px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background-color: var(--wp--preset--color--base);
	scroll-margin-top: 24px;
}

.re-project-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
}

.re-article .re-project-card__title {
	margin: 0;
	line-height: 0;
}

.re-project-card__title img {
	width: 280px;
	max-width: 100%;
	height: auto;
}

.re-article .re-project-card__type {
	margin: 0;
	color: var(--wp--preset--color--rust);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.5;
	text-transform: uppercase;
}

.re-article .re-project-card__intro {
	margin-top: 24px;
}

.re-article .re-project-card__intro > p:first-child {
	margin-top: 0;
}

/* EPBD.wise policy forums: six photos, one per country, three to a line
 * from 900px and two below. */
.re-article .re-project-card__forums {
	margin-top: 28px;
}

.re-article .re-project-card__forums > .re-project-card__type {
	margin: 0 0 12px;
}

.re-article .re-project-card__gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.re-article .re-project-card__gallery .wp-block-image {
	margin: 0;
}

.re-article .re-project-card__gallery img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 6px;
}

.re-article .re-project-card__gallery figcaption {
	margin: 6px 0 0;
	color: var(--wp--preset--color--contrast);
	font-size: 0.875rem;
	font-weight: 700;
	text-align: left;
}

@media (min-width: 900px) {
	.re-article .re-project-card__gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 600px) {
	.re-article .re-project-card {
		padding: 22px 20px 24px;
	}
}

/* EU projects page: EU emblem with "Co-funded by the European Union" and the
 * CINEA disclaimer under EPBD.wise (LIFE communication rules). The statement
 * sits beside the emblem in Arial, black, as the EU visibility rules ask. */
.re-article .re-eu-funding {
	margin-top: 32px;
}

.re-article .re-eu-funding__badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 0.75em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	color: #000;
}

.re-eu-funding__badge img {
	display: block;
	width: 60px;
	height: 40px;
	flex: none;
}

.re-article .re-eu-funding__disclaimer {
	margin: 0;
	color: var(--wp--preset--color--accent-4);
	font-size: 0.875rem;
}

/* EU projects page: a row of flags jumping to the countries, then a white
 * card with a Border-grey edge per country, its flag beside the name. */
.re-article .re-projects-jump ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 1.25em 0 0;
	padding: 0;
	list-style: none;
}

.re-article .re-projects-jump li {
	margin: 0;
	padding: 0;
}

.re-article .re-projects-jump li::before,
.re-article .re-projects-jump li::marker {
	content: none;
}

.re-projects-jump a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 6px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 999px;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
}

.re-projects-jump a:hover {
	border-color: var(--wp--preset--color--coral-text);
	color: var(--wp--preset--color--coral-text);
}

.re-projects-jump a:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 2px;
}

.re-projects-jump__flag,
.re-projects__flag {
	flex: none;
	border-radius: 50%;
	object-fit: cover;
}

.re-projects-jump__flag {
	width: 24px;
	height: 24px;
}

.re-projects--country {
	margin-top: 24px;
	padding: 24px 32px 28px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background-color: var(--wp--preset--color--base);
	scroll-margin-top: 24px;
}

.re-projects__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}

.re-projects__flag {
	width: 48px;
	height: 48px;
}

.re-projects__head p {
	margin: 0;
}

.re-projects--country h3 {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 900;
	line-height: 1.25;
}

.re-projects--country h3 a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.re-projects--country h3 a:hover {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
}

.re-projects--country .re-docs__list {
	border-bottom: 0;
}

.re-projects--country .re-docs__row:first-child {
	border-top: 0;
	padding-top: 0;
}

.re-projects--country .re-docs__list + .re-projects__finished {
	padding-top: 14px;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

@media (max-width: 600px) {
	.re-projects--country {
		padding: 20px 18px 22px;
	}

	.re-projects__head {
		align-items: flex-start;
	}

	.re-projects__flag {
		width: 40px;
		height: 40px;
	}

	.re-projects-jump a {
		padding: 4px 12px 4px 4px;
		font-size: 0.875rem;
	}
}

.re-projects__finished {
	margin: 0.75em 0 0;
	font-size: 0.9375rem;
}

/* Our partners' projects: a European partner's card leads with its logo
 * (the 480x152 partner logo) as the heading, the short line beside it; its
 * jump row is text only. */
.re-projects__logo {
	display: block;
	width: 220px;
	height: auto;
}

.re-projects--network h3 a {
	display: block;
}

.re-projects-jump--text a {
	padding: 6px 14px;
}

@media (max-width: 600px) {
	.re-projects--network .re-projects__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.re-projects__logo {
		width: 180px;
	}

	.re-projects-jump--text a {
		padding: 4px 12px;
	}
}

.re-projects--country h3 a:hover {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
}

@media (max-width: 600px) {
	.re-docs__row {
		display: block;
	}

	.re-docs__label {
		margin-bottom: 0.3em;
	}
}

/* ===========================================================================
 * Lists with colour instead of grey panels (client, 2026-10-05: Delivering
 * the EPBD had "a lot of grey boxes"). Three modifiers, so pages using the
 * plain components keep them. No strips: colour comes from fills and badges.
 * ======================================================================== */

/* ---- Numbered steps (.re-steps--numbered): white cards with a Border
 * outline, each opening with a Renovate Orange disc holding its number
 * (CSS counter; the titles carry no number). White on orange is 3.21:1,
 * so the figure stays at 22px 900 (large text). */
.re-article .re-steps--numbered {
	counter-reset: re-step;
}

.re-article .re-steps--numbered > .re-step {
	counter-increment: re-step;
	border: 1px solid var(--wp--preset--color--accent-6);
	background: var(--wp--preset--color--base);
}

.re-article .re-steps--numbered > .re-step::before {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	font-size: 1.375rem;
	font-weight: 900;
	line-height: 1;
	content: counter(re-step);
}

/* ---- Link cards (.re-resources--tiles): white cards with a Border
 * outline, like the numbered steps, a small Rust type line
 * (.re-resource__type) at the top and the charcoal title at the foot.
 * Hover: Deep Blue outline and title. Four across from 1000px, two below,
 * one on phones. Solid colour fills were tried first and dropped the same
 * day (client, 2026-10-05: "way too busy"). */
.re-article .re-resources--tiles {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

@media (min-width: 1000px) {
	.re-article .re-resources--tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.re-article .re-resources--tiles > .re-resource {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	min-height: 140px;
	padding: 20px 22px 22px;
	border: 1px solid var(--wp--preset--color--accent-6);
	background: var(--wp--preset--color--base);
	transition: border-color 0.15s ease;
}

.re-article .re-resources--tiles > .re-resource:hover {
	border-color: #004e7a;
}

.re-article .re-resources--tiles > .re-resource > p {
	font-size: 1.0625rem;
	font-weight: 900;
	line-height: 1.35;
}

.re-article .re-resources--tiles > .re-resource:hover > p a {
	color: #004e7a;
}

@media (max-width: 600px) {
	.re-article .re-resources--tiles {
		grid-template-columns: minmax(0, 1fr);
	}

	.re-article .re-resources--tiles > .re-resource {
		gap: 12px;
		min-height: 0;
	}
}

/* ---- Reference list (.re-resources--list): rows between neutral
 * hairlines, two columns from 800px. Each row: the Rust type line, the
 * charcoal title, the note in muted grey. The whole row is the link; the
 * title turns Vivid Coral on hover. Filled badges in five colours were
 * tried first and dropped (client, 2026-10-05: too busy). */
.re-article .re-resources--list {
	grid-template-columns: minmax(0, 1fr);
	gap: 0 40px;
}

@media (min-width: 800px) {
	.re-article .re-resources--list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.re-article .re-resources--list > .re-resource {
	padding: 18px 0 20px;
	border-top: 1px solid var(--wp--preset--color--border-light);
	border-radius: 0;
	background: none;
}

.re-article .re-resources--list > .re-resource > p {
	font-size: 1.0625rem;
}

.re-article .re-resources--list > .re-resource > p a::after {
	border-radius: 0;
}

/* The type line on both: a Rust label (6.55:1), not a link. */
.re-article .re-resource > p.re-resource__type {
	margin-bottom: 8px;
	color: var(--wp--preset--color--rust);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}

.re-article .re-resources--tiles > .re-resource > p.re-resource__type {
	margin-bottom: 0;
}

/* ===========================================================================
 * Data and evidence page (inc/data.php, [re_data_figures])
 *
 * Each figure is a row between neutral hairlines, like the asks: the figure
 * in Renovate Orange in a 200px left column (large text, 3.00:1 on white),
 * what it measures beside it, then the linked source in Deep Blue and a muted
 * "Link to this figure". The orange figures are the page's one accent. A row
 * reached by its anchor is lifted clear of the sticky header.
 * ======================================================================== */
.re-article .re-figures {
	margin: 1.25rem 0 2.5rem;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-figure {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 6px 32px;
	padding: 20px 0;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
	scroll-margin-top: 120px;
}

.re-article .re-figure > * {
	margin: 0;
}

.re-article .re-figure__value {
	grid-row: span 2;
	color: var(--wp--preset--color--accent-1);
	font-size: clamp(2rem, 1.7rem + 1.2vw, 2.5rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
}

.re-article .re-figure__label {
	max-width: 62ch;
	color: var(--wp--preset--color--contrast);
	font-size: 1.0625rem;
	line-height: 1.5;
}

.re-article .re-figure__source {
	color: var(--re-single-muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

.re-article .re-figure__source a {
	color: #004e7a;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.re-article .re-figure__source a.re-figure__permalink {
	margin-left: 16px;
	color: var(--re-single-muted);
}

.re-article .re-figure__source a:hover,
.re-article .re-figure__source a:focus-visible {
	color: var(--wp--preset--color--coral-text);
}

.re-article .re-figure:target {
	background: var(--wp--preset--color--accent-5);
}

@media (max-width: 600px) {
	.re-article .re-figure {
		grid-template-columns: minmax(0, 1fr);
	}

	.re-article .re-figure__value {
		grid-row: auto;
	}

	.re-article .re-figure__source a.re-figure__permalink {
		display: table;
		margin: 4px 0 0;
	}
}

/* The homepage's link from the four figures to the full list. */
.re-why__more {
	margin: 24px 0 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.re-why__more a {
	color: #004e7a;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.re-why__more a:hover,
.re-why__more a:focus-visible {
	color: var(--wp--preset--color--coral-text);
}

/* ---- REDay edition sidebar: the page's supporters group (.re-reday-supporters)
 * in place of the Events box (client, 2026-10-06). The article's logo tiles,
 * two across in the 320px panel. */
.re-aside-box--supporters .re-reday-supporters > * {
	margin: 0;
}

.re-aside-box--supporters .re-reday-supporters > h2 {
	margin: 0 0 14px;
	color: var(--wp--preset--color--contrast);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.3;
}

.re-aside-box--supporters .re-reday-supporters > h3 {
	margin: 24px 0 14px;
	color: var(--wp--preset--color--contrast);
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.3;
}

.re-aside-box--supporters .wp-block-gallery.re-logo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.re-aside-box--supporters .wp-block-gallery.re-logo-grid.has-nested-images figure.wp-block-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto !important;
	height: 72px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
}

.re-aside-box--supporters .wp-block-gallery.re-logo-grid.has-nested-images figure.wp-block-image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.re-aside-box--supporters .wp-block-gallery.re-logo-grid.has-nested-images figure.wp-block-image img {
	width: auto !important;
	max-width: 100%;
	height: auto !important;
	max-height: 48px;
	object-fit: contain;
	border-radius: 0;
}

.re-aside-box--supporters .wp-block-gallery.re-logo-grid figure.wp-block-image:has(a:hover) {
	border-color: var(--re-single-blue);
}

.re-aside-box--supporters .wp-block-gallery.re-logo-grid figure.wp-block-image a:focus-visible {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 4px;
}


/* ===========================================================================
 * Cookie consent (Complianz, 2026-10-06)
 *
 * The colours themselves are set in Complianz (Consent → Cookie banner →
 * Appearance): white panel, Border #dddddd, Charcoal text, Vivid Coral links,
 * toggles and Accept button, white Deny / Preferences buttons, 6px corners.
 * Vivid Coral, not Renovate Orange, fills Accept: its label is 15px, and white
 * on orange only passes AA from 19px bold. Below is what Complianz cannot set:
 * the site font, weights, Deep Blue hover and focus, and the placeholder that
 * stands in for a YouTube or LinkedIn embed until marketing cookies are accepted.
 * Selectors start with "body": the banner CSS loads after this file with the
 * same specificity, so the plain selectors lost.
 * ======================================================================== */
body .cmplz-cookiebanner,
body #cmplz-manage-consent .cmplz-manage-consent,
body .cmplz-blocked-content-notice {
	font-family: var(--wp--preset--font-family--lato, inherit);
}

body .cmplz-cookiebanner .cmplz-title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
}

body .cmplz-cookiebanner .cmplz-categories .cmplz-category {
	background-color: var(--wp--preset--color--accent-5);
	border-radius: 6px;
}

body .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-title {
	font-weight: 700;
}

/* "Always active" is a label, not a link: Rust, as for every other label. */
body .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
	color: var(--wp--preset--color--rust, #a8361a);
	font-weight: 700;
}

body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	font-weight: 700;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:hover,
body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:focus-visible {
	border-color: #004e7a;
	background-color: #004e7a;
	color: var(--wp--preset--color--base);
}

body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny:hover,
body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny:focus-visible,
body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences:hover,
body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences:focus-visible,
body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences:hover,
body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences:focus-visible {
	border-color: #004e7a;
	color: #004e7a;
}

body .cmplz-cookiebanner .cmplz-links .cmplz-link:hover,
body .cmplz-cookiebanner .cmplz-message a:hover {
	color: #004e7a;
}

body .cmplz-cookiebanner a:focus-visible,
body .cmplz-cookiebanner button:focus-visible,
body .cmplz-cookiebanner .cmplz-close:focus-visible,
body #cmplz-manage-consent .cmplz-manage-consent:focus-visible,
body .cmplz-blocked-content-notice:focus-visible {
	outline: 2px solid #004e7a;
	outline-offset: 3px;
}

body .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox input.cmplz-consent-checkbox:focus + .cmplz-label::before {
	box-shadow: 0 0 0 2px #004e7a;
}

/* The "Manage consent" tab that stays at the bottom of the page. */
body #cmplz-manage-consent .cmplz-manage-consent {
	font-weight: 700;
	font-size: 14px;
}

body #cmplz-manage-consent .cmplz-manage-consent:hover {
	color: #004e7a;
}

/* Placeholder over a blocked video: a Vivid Coral button on the dimmed preview. */
body .cmplz-blocked-content-container,
body .cmplz-wp-video {
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	box-shadow: none;
}

body .cmplz-blocked-content-container .cmplz-blocked-content-notice,
body .cmplz-wp-video .cmplz-blocked-content-notice {
	max-width: 320px;
	padding: 13px 20px;
	border: 0;
	border-radius: 6px;
	background-color: var(--wp--preset--color--coral-text);
	color: var(--wp--preset--color--base);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

body .cmplz-blocked-content-container .cmplz-blocked-content-notice:hover,
body .cmplz-blocked-content-container .cmplz-blocked-content-notice:focus-visible,
body .cmplz-wp-video .cmplz-blocked-content-notice:hover,
body .cmplz-wp-video .cmplz-blocked-content-notice:focus-visible {
	background-color: #004e7a;
}

body .cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-links a,
body .cmplz-wp-video .cmplz-blocked-content-notice .cmplz-links a {
	color: var(--wp--preset--color--base);
	text-decoration: underline;
}

/* Complianz focuses the close button when the banner opens: no ring for a mouse
   visitor there, the Deep Blue one above for keyboard visitors. */
body .cmplz-cookiebanner .cmplz-close:focus:not(:focus-visible) {
	outline: none;
}

/* Cookie Policy page (p82428): the cookie tables. */
.re-cookie-table table {
	font-size: var(--wp--preset--font-size--small);
	border-collapse: collapse;
}

.re-cookie-table th,
.re-cookie-table td {
	padding: 10px 12px;
	border: 1px solid var(--wp--preset--color--accent-6);
	text-align: left;
	vertical-align: top;
}

.re-cookie-table thead th {
	background-color: var(--wp--preset--color--accent-5);
	border-bottom-width: 1px;
}

.re-cookie-table code {
	font-size: 0.875em;
	overflow-wrap: anywhere;
}

/* The category toggles that [cmplz-manage-consent] prints on the Cookie Policy. */
body .cmplz-manage-consent-container .cmplz-categories .cmplz-category {
	background-color: var(--wp--preset--color--accent-5);
	border-radius: 6px;
}

.re-cookie-table thead {
	border-bottom: 0;
}

body .cmplz-manage-consent-container .cmplz-category-header .cmplz-category-title {
	font-weight: 700;
}

body .cmplz-manage-consent-container .cmplz-always-active {
	color: var(--wp--preset--color--rust, #a8361a);
	font-weight: 700;
}

body .cmplz-manage-consent-container input[type="checkbox"] {
	accent-color: var(--wp--preset--color--coral-text);
}

/* Complianz colours "Always active" through this variable, set green on :root. */
body {
	--cmplz_category_header_always_active_color: #a8361a;
}

/* ===========================================================================
 * C4E Forum edition figures (".re-c4e-stats" on C4E Forum 2027)
 *
 * The homepage stat bar's type, four across between neutral hairlines, two
 * across on phones. The figures in Renovate Orange are the section's one
 * accent; they are plain text, not links.
 * ======================================================================== */
.re-article .re-c4e-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 32px;
	margin: 1.25rem 0 2.5rem;
	padding: 28px 0;
	border-top: 1px solid var(--wp--preset--color--accent-6);
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-c4e-stats > .re-c4e-stat,
.re-article .re-c4e-stat > * {
	margin: 0;
}

.re-article .re-c4e-stat .re-stat__value {
	color: var(--wp--preset--color--accent-1);
}

.re-article .re-c4e-stat .re-stat__label {
	margin-top: 0.5em;
}

@media (max-width: 600px) {
	.re-article .re-c4e-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ===========================================================================
 * Annual reports (".re-reports" on About the Campaign)
 *
 * The activity reports, newest first, three across: the cover with a
 * Border-grey edge and 6px corners, the title (the whole card is its link to
 * the PDF) and one line on what the year held. On phones
 * each report is a row: a small cover beside the text.
 * ======================================================================== */
.re-article .re-reports {
	margin: 2.5rem 0;
}

.re-article .re-reports__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 24px;
	margin-top: 1.25rem;
}

.re-article .re-report {
	position: relative;
	margin: 0;
}

.re-article .re-report > * {
	margin: 0;
}

.re-article .re-report > .re-report__cover {
	margin: 0 0 16px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
}

.re-article .re-report__cover img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1.414;
	object-fit: cover;
	object-position: top;
	transition: transform 300ms ease;
}

.re-article .re-report:hover .re-report__cover img {
	transform: scale(1.03);
}

.re-article .re-report > .re-report__title {
	color: var(--wp--preset--color--contrast);
	font-size: 1.125rem;
	font-weight: 900;
	line-height: 1.35;
}

.re-article .re-report__title a {
	color: inherit;
	text-decoration: none;
}

/* The whole card is the title's link target. */
.re-article .re-report__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 6px;
}

.re-article .re-report:hover .re-report__title a {
	color: var(--wp--preset--color--coral-text);
}

.re-article .re-report__title a:focus-visible {
	outline: none;
}

.re-article .re-report__title a:focus-visible::after {
	outline: 2px solid var(--re-single-blue);
	outline-offset: 6px;
}

.re-article .re-report > .re-report__text {
	margin-top: 6px;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
	.re-article .re-report__cover img,
	.re-article .re-report:hover .re-report__cover img {
		transition: none;
		transform: none;
	}
}

@media (max-width: 600px) {
	.re-article .re-reports__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.re-article .re-report {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		column-gap: 16px;
		align-content: start;
	}

	.re-article .re-report > .re-report__cover {
		grid-column: 1;
		grid-row: 1 / span 2;
		margin: 0;
	}

	.re-article .re-report > :not(.re-report__cover) {
		grid-column: 2;
	}
}

/* ---- About the Campaign: "Who runs the campaign" (#governance). The
   register line under the team grid repeats EBE's legal identification
   from the footer. ---- */
.re-article .re-governance__register {
	margin-top: 28px;
	color: var(--re-single-muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

/* ---- About the Campaign layout (2026-10-06): jump row under the intro
   (.re-about-jump reuses the text pills of .re-projects-jump), governance as
   labelled rows on Border hairlines, compact people grids (four across) for
   the team and the Vice-Chairs, the ISG list in two columns, and the
   objectives as a list numbered with Renovate Orange discs. White on orange
   is 3.21:1, so the figures are 19px 900 (large text). ---- */
.re-article .re-govrows {
	margin-top: 1.25rem;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-govrow {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 0 24px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-govrow > * {
	margin: 0;
}

.re-article .re-govrow > .re-govrow__label {
	color: var(--wp--preset--color--contrast);
	font-weight: 900;
}

.re-article .re-governance .re-people,
.re-article .re-isg .re-people {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px 18px;
}

/* In a full-width band (Governance and team, 2026-10-08) the photos stay
 * the size they had in the narrow column: as many across as fit, seven at
 * 1200px, so the team fills one row. */
@media (min-width: 782px) {
	.re-article .re-band:is(.re-governance, .re-isg) .re-people {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}
}

.re-article .re-governance .re-person > .wp-block-image,
.re-article .re-isg .re-person > .wp-block-image {
	margin-bottom: 10px;
}

.re-article .re-governance .re-person > .re-person__name,
.re-article .re-isg .re-person > .re-person__name {
	font-size: 0.9375rem;
}

.re-article .re-governance .re-person > .re-person__org,
.re-article .re-isg .re-person > .re-person__org {
	font-size: 0.875rem;
}

.re-article .re-governance .re-person > .re-person__role,
.re-article .re-isg .re-person > .re-person__role {
	margin-top: 4px;
	font-size: 0.8125rem;
}

.re-article .re-isg > ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 32px;
}

.re-article .re-isg > ul > li {
	margin: 0;
}

.re-article ol.re-numbered {
	counter-reset: re-num;
	margin-top: 1.25rem;
	padding-left: 0;
	list-style: none;
}

.re-article ol.re-numbered > li {
	position: relative;
	min-height: 34px;
	margin: 0 0 18px;
	padding-left: 52px;
	counter-increment: re-num;
}

.re-article ol.re-numbered > li::marker {
	content: none;
}

.re-article ol.re-numbered > li::before {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	font-size: 1.1875rem;
	font-weight: 900;
	line-height: 1;
	content: counter(re-num);
}

@media (max-width: 781px) {
	.re-article .re-governance .re-people,
	.re-article .re-isg .re-people {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.re-article .re-govrow {
		display: block;
	}

	.re-article .re-govrow > .re-govrow__label {
		margin-bottom: 4px;
	}

	.re-article .re-isg > ul {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 480px) {
	.re-article .re-governance .re-people,
	.re-article .re-isg .re-people {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---- News page filter bar (inc/communication.php; partners 2026-10-06,
 * search and lists 2026-10-08) ----
 * A search box on its own line, then a row of lists (topic, type, year,
 * country, partner), then the source switch from the signatory directory
 * (.re-sigdir__switch) once partner items are published. Under the bar, the
 * post count and "Clear filters" while any filter is on. */
.re-news-filter {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 36px;
}

.re-news-filter__search {
	display: flex;
	gap: 8px;
	width: 100%;
	max-width: 720px;
}

.re-news-filter__search input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 11px 14px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
}

.re-news-filter__search input:hover {
	border-color: #004e7a;
}

.re-news-filter__lists {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	width: 100%;
}

.re-news-filter__list select,
.re-news-filter__toggle {
	min-width: 190px;
	max-width: 100%;
	padding: 11px 40px 11px 14px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	appearance: none;
	cursor: pointer;
}

.re-news-filter__list select:hover,
.re-news-filter__toggle:hover,
.re-news-filter__topics[open] .re-news-filter__toggle {
	border-color: #004e7a;
}

/* Topics: a button like the lists that opens a panel of checkboxes, so
 * several topics can be picked before "Show results". */
.re-news-filter__topics {
	position: relative;
}

.re-news-filter__toggle {
	display: block;
	box-sizing: border-box;
	max-width: 300px;
	overflow: hidden;
	list-style: none;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.re-news-filter__toggle::-webkit-details-marker {
	display: none;
}

.re-news-filter__panel {
	position: absolute;
	box-sizing: border-box;
	z-index: 20;
	top: calc(100% + 6px);
	left: 0;
	width: min(560px, calc(100vw - 32px));
	margin: 0;
	padding: 16px 18px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Alphabetical down each column. */
.re-news-filter__checks {
	columns: 2;
	column-gap: 20px;
}

.re-news-filter__check {
	display: flex;
	break-inside: avoid;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
	font-size: 15px;
	line-height: 1.35;
	cursor: pointer;
}

.re-news-filter__check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--wp--preset--color--coral-text);
	cursor: pointer;
}

.re-news-filter__panel-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.re-news-filter__untick {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--coral-text);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.re-news-filter__untick[hidden] {
	display: none;
}

.re-news-filter__search input:focus-visible,
.re-news-filter__list select:focus-visible,
.re-news-filter__toggle:focus-visible,
.re-news-filter__untick:focus-visible,
.re-news-filter__check input:focus-visible,
.re-news-filter__submit:focus-visible,
.re-news-filter__go:focus-visible {
	outline: 2px solid #004e7a;
	outline-offset: 3px;
}

.re-news-filter__submit,
.re-news-filter__go {
	flex: 0 0 auto;
	padding: 11px 20px;
	border: 0;
	border-radius: 6px;
	background: var(--wp--preset--color--coral-text);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.re-news-filter__submit:hover,
.re-news-filter__go:hover {
	background: #004e7a;
}

.re-news-filter__go[hidden] {
	display: none;
}

.re-news-filter__status {
	margin: -20px 0 28px;
	color: var(--wp--preset--color--accent-4);
	font-size: 15px;
}

.re-news-filter__status a {
	margin-left: 12px;
	color: var(--wp--preset--color--coral-text);
	font-weight: 700;
}

.re-news-filter__none {
	font-size: 17px;
}

.re-news-filter__none a {
	color: var(--wp--preset--color--coral-text);
}

@media (max-width: 600px) {
	.re-news-filter .re-sigdir__switch {
		width: 100%;
	}

	/* The topics panel spans the bar on phones, one column. */
	.re-news-filter__topics {
		position: static;
	}

	.re-news-filter__lists {
		position: relative;
	}

	.re-news-filter__panel {
		top: 54px;
		width: 100%;
	}

	.re-news-filter__checks {
		columns: 1;
	}

	/* Two lists to a row on phones. */
	.re-news-filter__lists {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.re-news-filter__list select,
	.re-news-filter__toggle {
		width: 100%;
		min-width: 0;
		padding-right: 34px;
		background-position: right 10px center;
		font-size: 14px;
	}

	/* The three sources on one line at 390px. */
	.re-news-filter .re-sigdir__switch {
		flex-wrap: nowrap;
	}

	.re-news-filter .re-sigdir__option {
		flex: 1 1 auto;
		padding: 9px 8px;
		font-size: 13.5px;
		white-space: nowrap;
	}
}

/* Homepage: partner items in a row of their own under the news slider. Text
 * cards in outlined tiles, no images, so they stay quieter than the slider. */
.re-partner-news {
	margin-top: 56px;
}

.re-partner-news .re-feed__head {
	margin-bottom: 20px;
}

.re-partner-news__title {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.3;
}

.re-partner-news__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.re-partner-news__item {
	position: relative;
	margin: 0;
	padding: 20px 22px 18px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 6px;
	background: var(--wp--preset--color--base);
	transition: border-color 0.15s ease;
}

.re-partner-news__item:hover {
	border-color: var(--re-feed-blue);
}

.re-partner-news__item .re-card-post__label {
	margin-top: 0;
}

.re-partner-news__link {
	color: var(--wp--preset--color--contrast);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

/* The whole tile is the link. */
.re-partner-news__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 6px;
}

.re-partner-news__item:hover .re-partner-news__link {
	color: var(--wp--preset--color--coral-text);
}

.re-partner-news__link:focus-visible {
	outline: none;
}

.re-partner-news__link:focus-visible::after {
	outline: 2px solid var(--re-feed-blue);
	outline-offset: 4px;
}

.re-partner-news__item .re-card-post__date {
	margin-top: 8px;
	font-size: 15px;
}

@media (max-width: 900px) {
	.re-partner-news__list {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

/* ===========================================================================
 * Priorities sidebar (inc/priorities.php, client 2026-10-08): the section's
 * pages and the join box in a sidebar floated beside the title and the first
 * paragraphs, in place of the tabs above the title. Below the sidebar the
 * article takes the full 1200px again. On smaller screens the sidebar
 * follows the article, as on the Campaign pages.
 * ======================================================================== */

/* Nested pages of the branch being read, indented under it. */
.re-section-nav__sub {
	margin: -4px 0 10px;
	padding: 0 0 0 14px;
	list-style: none;
}

.re-section-nav__sub .re-section-nav__item {
	border-bottom: 0;
}

.re-section-nav__sub .re-section-nav__link {
	padding: 5px 0;
	font-weight: 400;
}

.re-section-nav__item.is-current .re-section-nav__sub .re-section-nav__item:not(.is-current) .re-section-nav__link {
	color: var(--wp--preset--color--contrast);
}

@media (min-width: 1024px) {
	.re-priority-page .re-pri-aside,
	.re-float-page .re-single-aside {
		float: right;
		width: 320px;
		margin: 0 0 40px 56px;
	}

	/* A video in the first section sits beside the sidebar, where a split
	 * leaves it 320px wide (client, 2026-10-08: "very very small"). There the
	 * video goes under the text, across the column. Covers and photos keep
	 * their split. */
	:is(.re-priority-page, .re-float-page) .re-article > .re-split:first-child:has(.wp-block-embed) {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	:is(.re-priority-page, .re-float-page) .re-article > .re-split:first-child:has(.wp-block-embed) > .re-split__media {
		order: 0;
		padding-top: 0;
	}

	/* On a short page the article still ends below the sidebar. */
	.re-priority-page .re-priority-page__main,
	.re-float-page .re-float-page__main {
		display: flow-root;
	}

	/* Core makes post content a flow-root box, which would keep the whole
	 * article beside the sidebar. As a plain block, only the blocks next to
	 * the sidebar are narrowed. */
	.re-priority-page .re-priority-page__main > .re-article,
	.re-float-page .re-float-page__main > .re-article {
		display: block;
	}

	/* Blocks beside the float are narrowed instead of running under it, so
	 * rules and panels never pass behind the sidebar. :where() keeps this
	 * below any block's own display (grids, flex rows). */
	:where(.re-priority-page .re-single-header > *, .re-priority-page .re-article > *, .re-float-page .re-single-header > *, .re-float-page .re-article > *) {
		display: flow-root;
	}

	/* Grids start below the sidebar, at the full width, rather than squeezed
	 * beside it for their whole height. Not the resource lists: Funding's
	 * "Where the money is" list comes straight after the title, and clearing
	 * it left a gap of 350px under the intro. */
	:is(.re-priority-page, .re-float-page) .re-article > :is(.re-steps, .re-country-cards, .wp-block-gallery) {
		clear: right;
	}
}

@media (max-width: 1023px) {
	.re-priority-page .re-priority-page__main,
	.re-float-page .re-float-page__main {
		display: flex;
		flex-direction: column;
	}

	.re-priority-page .re-single-header,
	.re-float-page .re-single-header {
		order: 1;
	}

	.re-priority-page .re-priority-page__main > .re-article,
	.re-float-page .re-float-page__main > .re-article {
		order: 2;
	}

	.re-priority-page .re-pri-aside,
	.re-float-page .re-single-aside {
		order: 3;
	}
}

/* ===========================================================================
 * Funding for Energy Renovation (page 77637), 2026-10-08
 * ======================================================================== */

/* A link inside a card's note ("See EU projects") sits above the card-wide
 * title link, so it opens its own page; it had stretched over the whole card
 * and taken the title's clicks. */
.re-article .re-resource > p.re-resource__note a {
	position: relative;
	z-index: 1;
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.re-article .re-resource > p.re-resource__note a::after {
	content: none;
}

.re-article .re-resource > p.re-resource__note a:hover {
	color: #004e7a;
}

/* Event cards (.re-resources--events): white cards with a Border outline,
 * the event's banner shown whole (banners carry their own text, so they are
 * never cropped), the date and place as the Rust type line, the title, then
 * who took part. Three across from 1000px, two from 600px. */
.re-article .re-resources--events {
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

@media (min-width: 600px) {
	.re-article .re-resources--events {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.re-article .re-resources--events {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.re-article .re-resources--events > .re-resource {
	padding: 0 0 20px;
	border: 1px solid var(--wp--preset--color--accent-6);
	background: var(--wp--preset--color--base);
	overflow: hidden;
	transition: border-color 0.15s ease;
}

.re-article .re-resources--events > .re-resource:hover {
	border-color: #004e7a;
}

.re-article .re-resources--events > .re-resource > .wp-block-image {
	margin: 0 0 16px;
	border-bottom: 1px solid var(--wp--preset--color--border-light);
}

.re-article .re-resources--events > .re-resource > .wp-block-image img {
	aspect-ratio: 16 / 9;
	object-fit: contain;
	border-radius: 0;
	background: var(--wp--preset--color--base);
}

.re-article .re-resources--events > .re-resource > p {
	padding-inline: 20px;
}

.re-article .re-resources--events > .re-resource > p:not(.re-resource__type):not(.re-resource__note) {
	font-size: 1.0625rem;
	line-height: 1.35;
}

.re-article .re-resources--events > .re-resource:hover > p a {
	color: #004e7a;
}

/* List rows and event cards hold text people copy and quote, so only the
 * title is the link: the card-wide link layer is switched off and the title
 * underlines on its own hover (client, 2026-10-08). Link-only cards keep the
 * card-wide link. */
.re-article :is(.re-resources--list, .re-resources--events) > .re-resource > p a::after {
	content: none;
}

.re-article :is(.re-resources--list, .re-resources--events) > .re-resource:hover > p:not(.re-resource__note) a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.re-article :is(.re-resources--list, .re-resources--events) > .re-resource > p:not(.re-resource__note) a:hover {
	color: var(--wp--preset--color--coral-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.re-article .re-resources--events > .re-resource:hover {
	border-color: var(--wp--preset--color--accent-6);
}

/* Report cards (.re-resources--reports): portrait covers sit whole on a
 * Light Grey band, so they read as documents and not as small images lost
 * in white space. */
.re-article .re-resources--reports > .re-resource > .wp-block-image img {
	padding: 16px;
	background: var(--wp--preset--color--accent-5);
}

/* A closing panel's heading and line, side by side with its button. */
.re-article .re-cta-panel > .re-cta-panel__text {
	flex: 1 1 420px;
}

.re-article .re-cta-panel > .re-cta-panel__text > * {
	margin: 0;
}

.re-article .re-cta-panel > .re-cta-panel__text > h2 {
	font-size: 1.375rem;
}

.re-article .re-cta-panel > .re-cta-panel__text > p {
	margin-top: 6px;
	color: var(--wp--preset--color--contrast);
}

/* The jump row under "Where the money is". */
.re-article .re-funding-jump {
	margin-top: 2.5rem;
}

/* Sections as bands (client, 2026-10-08: "dense", hard to read). From the
 * key figures down, each h2 section is a .re-band group: white, or Light
 * Grey across the full window (.re-band--grey), with 80px above and below so
 * the change of ground, not only the heading, marks where a section starts.
 * Bands always start below the sidebar. Private finance (.re-band--parts)
 * stays white and its h3 parts sit between neutral hairlines. */
.re-article .re-band {
	clear: right;
	padding-block: 80px;
}

.re-article .re-band--grey {
	background: var(--wp--preset--color--accent-5);
	box-shadow: 0 0 0 100vmax var(--wp--preset--color--accent-5);
	clip-path: inset(0 -100vmax);
}

/* Delivering the EPBD: the bands start under the grey access panel, so the
 * first one stands clear of it. */
.re-article .re-access + .re-band {
	margin-top: 80px;
}

.re-article .re-band:last-child:not(.re-band--grey) {
	padding-bottom: 0;
}

.re-article .re-band > :first-child,
.re-article .re-band > .re-split:first-child {
	margin-top: 0;
}

.re-article .re-band > .re-split {
	margin-top: 3.5rem;
}

/* The band's padding alone sets the space under its last block. */
.re-article .re-band > :last-child {
	margin-bottom: 0;
}

.re-article .re-band > .re-cta-panel:first-child {
	margin-top: 0;
}

.re-article .re-band h2:not(.re-eyebrow) {
	font-size: 2rem;
}

/* Jump links land clear of the sticky header. */
.page-id-77637 .re-article :is(h2, h3)[id],
.re-article .re-band :is(h2, h3)[id] {
	scroll-margin-top: 120px;
}

.re-article .re-band h2 + * {
	margin-top: 1rem;
}

/* Section intros at a reading width, not the full 1200px. */
.re-article .re-band > p,
.re-article .re-band .re-split__text > p {
	max-width: 46rem;
}

/* Rows and cards on the grey ground: Border hairlines, white cards. */
.re-article .re-band--grey .re-resources--list > .re-resource {
	border-top-color: var(--wp--preset--color--accent-6);
}

.re-article .re-band--grey .re-resources:not(.re-resources--list) > .re-resource,
.re-article .re-band--grey .re-figure:target {
	background: var(--wp--preset--color--base);
}

/* Private finance: each h3 part opens on a hairline, well clear of the last. */
.re-article .re-band--parts > :is(h3, .re-split) {
	margin-top: 64px;
	padding-top: 56px;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}

.re-article .re-band--parts > h3 {
	font-size: 1.5rem;
}

/* Row text on the priorities pages (Funding first, then all of them, client
 * 2026-10-08): larger, charcoal, more air between rows. */
.re-priority-page .re-article .re-resources--list {
	gap: 0 56px;
	margin-top: 2rem;
}

.re-priority-page .re-article .re-resources--list > .re-resource {
	padding: 22px 0 28px;
}

.re-priority-page .re-article .re-resources--list > .re-resource > p.re-resource__note {
	margin-top: 8px;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	line-height: 1.65;
}

@media (max-width: 781px) {
	.re-article .re-band {
		padding-block: 56px;
	}

	.re-article .re-band h2:not(.re-eyebrow) {
		font-size: 1.625rem;
	}

	.re-article .re-band--parts > :is(h3, .re-split) {
		margin-top: 48px;
		padding-top: 40px;
	}
}
