/*
 * Strom – global styles.
 * Design tokens come from theme.json (--wp--preset--*). Short aliases below.
 * Block styles: blocks/<name>/style.css (loaded only where the block is used).
 */

:root {
	--ink: var(--wp--preset--color--ink, #1c1f1b);
	--night: var(--wp--preset--color--night, #121410);
	--volt: var(--wp--preset--color--volt, #2bec1d);
	--volt-deep: var(--wp--preset--color--volt-deep, #13700c);
	--glow: var(--wp--preset--color--glow, #f4b860);
	--cream: var(--wp--preset--color--cream, #f6f2ea);
	--sand: var(--wp--preset--color--sand, #e9e2d5);
	--white: #fff;
	--stone: var(--wp--preset--color--stone, #5a5e55);
	--mist: var(--wp--preset--color--mist, #b9bdb3);
	--panel: #262a25; /* Raised surface on ink. */
	--error: #b3261e;
	--font-display: var(--wp--preset--font-family--display, "Barlow Condensed", sans-serif);
	--font-body: var(--wp--preset--font-family--body, Barlow, sans-serif);
	--radius: 1.25rem;
	--radius-small: 0.75rem;
	--shadow: 0 1px 2px rgb(28 31 27 / 0.06), 0 12px 32px -12px rgb(28 31 27 / 0.22);
	--gutter: var(--wp--style--root--padding-left, clamp(1rem, 4vw, 2.5rem));
	--wide: var(--wp--style--global--wide-size, 80rem);
	--content: var(--wp--style--global--content-size, 46rem);
	--wide-outer: calc(var(--wide) + 2 * var(--gutter)); /* Padded container whose content is --wide. */
	--header-h: 4.5rem;
	--admin-bar: var(--wp-admin--admin-bar--height, 0px);
	--focus: var(--volt-deep);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark surfaces switch link + focus colour. */
.site-header,
.site-footer,
.hero,
.is-style-section-dark,
.has-ink-background-color,
.has-night-background-color,
.argument-card--featured,
.argument-next {
	--focus: var(--volt);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

html.nav-open {
	overflow: hidden;
}

body {
	margin: 0;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

/* The hidden attribute must win over component display rules (grid, flex). */
[hidden] {
	display: none !important;
}

img,
svg,
video,
canvas {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4 {
	text-wrap: balance;
	margin-block: 0;
}

p {
	text-wrap: pretty;
}

a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 0.08em;
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background: var(--volt);
	color: var(--ink);
}

.site-main:focus {
	outline: none;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	top: calc(var(--admin-bar) + 0.5rem);
	left: 0.5rem;
	z-index: 1000;
	padding: 0.75rem 1.25rem;
	background: var(--volt);
	color: var(--ink);
	font-weight: 600;
	border-radius: 999px;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.visually-hidden-input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.icon {
	flex: none;
	vertical-align: middle;
}

/* ---------- Buttons ---------- */

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 3rem;
	padding: 0.75em 1.5em;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--volt);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.btn:hover,
.wp-block-button__link:hover {
	background: var(--ink);
	color: var(--volt);
}

.btn:active {
	transform: translateY(1px);
}

.btn .icon {
	width: 1.15em;
	height: 1.15em;
	transition: transform 0.2s var(--ease);
}

.btn:hover .icon-arrow-right {
	transform: translateX(3px);
}

.btn[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

.btn--small {
	min-height: 2.5rem;
	padding: 0.5em 1.1em;
	font-size: 1.0625rem;
}

.btn--outline,
.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: currentColor;
	color: inherit;
}

.btn--outline:hover,
.is-style-outline > .wp-block-button__link:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--volt);
}

.btn--ghost {
	background: rgb(18 20 16 / 0.35);
	border-color: rgb(255 255 255 / 0.85);
	color: var(--white);
	backdrop-filter: blur(6px);
}

.btn--ghost:hover {
	background: var(--white);
	color: var(--ink);
}

.btn--ink {
	background: var(--ink);
	color: var(--volt);
}

.btn--ink:hover {
	background: var(--white);
	color: var(--ink);
}

/* Buttons on dark backgrounds: hover inverts to white instead of ink. */
:is(.is-style-section-dark, .has-ink-background-color, .site-footer) :is(.btn, .wp-block-button__link):not(.btn--ink):hover {
	background: var(--white);
	color: var(--ink);
}

.is-style-section-dark .btn--outline:hover {
	border-color: var(--white);
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.icon-btn:hover {
	background: var(--volt);
	border-color: var(--volt);
	color: var(--ink);
}

.icon-btn .icon {
	width: 1.15rem;
	height: 1.15rem;
}

/* ---------- Campaign heart & lock-up ---------- */

.heart {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.heart .heart__fill {
	fill: var(--heart-fill, var(--ink));
}

.heart :is(.heart__word, .heart__plug) {
	fill: var(--heart-line, var(--volt));
}

.heart .heart__line {
	stroke: var(--heart-line, var(--volt));
}

.lockup {
	display: flex;
	align-items: flex-end;
	gap: 0.25rem;
	color: var(--white);
}

.lockup__heart {
	flex: none;
	width: var(--lockup-heart, 7rem);
}

.lockup__text {
	display: grid;
	gap: 0.15em;
	padding-bottom: calc(var(--lockup-heart, 7rem) * 0.18);
	font-family: var(--font-display);
	line-height: 1;
}

.lockup__title {
	font-size: var(--lockup-title, 1.5rem);
	font-weight: 800;
	max-width: 13ch;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

.lockup__date {
	font-size: calc(var(--lockup-title, 1.5rem) * 0.72);
	font-weight: 600;
	color: var(--volt);
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: var(--admin-bar);
	z-index: 50;
	background: rgb(28 31 27 / 0.97);
	color: var(--white);
	transition: background-color 0.3s, box-shadow 0.3s;
}

.has-hero .site-header {
	position: fixed;
	inset-inline: 0;
	background: linear-gradient(180deg, rgb(18 20 16 / 0.7), rgb(18 20 16 / 0));
}

.has-hero .site-header.is-scrolled {
	background: rgb(28 31 27 / 0.97);
	box-shadow: 0 8px 24px -16px rgb(0 0 0 / 0.6);
}

@supports (backdrop-filter: blur(1px)) {
	.site-header,
	.has-hero .site-header.is-scrolled {
		background-color: rgb(28 31 27 / 0.88);
		backdrop-filter: blur(12px) saturate(1.2);
	}

	.has-hero .site-header:not(.is-scrolled) {
		backdrop-filter: none;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	max-width: var(--wide-outer);
	min-height: var(--header-h);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-header__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-right: auto;
	color: inherit;
	text-decoration: none;
}

.site-header__heart {
	width: 3.25rem;
	--heart-fill: transparent;
}

.site-header__name {
	display: grid;
	line-height: 1.1;
}

.site-header__title {
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 800;
}

/* Primary navigation. */
.primary-nav__list,
.footer-nav__list,
.legal-nav__list,
.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	display: block;
	padding-block: 0.5rem;
	color: inherit;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
	background: linear-gradient(var(--volt), var(--volt)) left bottom / 0 3px no-repeat;
	transition: background-size 0.25s var(--ease), color 0.2s;
}

.primary-nav a:hover,
.primary-nav [aria-current="page"],
.primary-nav .current_page_parent > a {
	background-size: 100% 3px;
}

/* current_page_parent: «News» stays marked while reading an article. */
.primary-nav [aria-current="page"],
.primary-nav .current_page_parent > a {
	color: var(--volt);
}

/* Language switcher. */
.lang-switch__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 70em) {
	.primary-nav__list {
		flex-wrap: nowrap;
		gap: 0 1.25rem;
	}

	.primary-nav a {
		white-space: nowrap;
	}
}

.lang-switch__link {
	display: grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.25rem;
	padding-inline: 0.5rem;
	border-radius: 999px;
	color: inherit;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.lang-switch__link:hover {
	background: rgb(255 255 255 / 0.12);
}

.lang-switch__link[aria-current] {
	background: var(--volt);
	color: var(--ink);
}

/* Language names are for screen readers, except in the header menu below. */
.lang-switch__name {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.lang-switch__toggle {
	display: none;
}

/* Desktop header: one button with the current language, the others in a small menu. */
@media (min-width: 70em) {
	.lang-switch--header {
		position: relative;
	}

	.lang-switch__toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.3rem;
		height: 2.25rem;
		padding: 0 0.6rem 0 0.8rem;
		border: 2px solid rgb(255 255 255 / 0.3);
		border-radius: 999px;
		background: transparent;
		color: inherit;
		font: 700 1rem/1 var(--font-display);
		cursor: pointer;
		transition: border-color 0.2s;
	}

	.lang-switch__toggle:hover,
	.lang-switch__toggle[aria-expanded="true"] {
		border-color: var(--volt);
	}

	.lang-switch__toggle .icon {
		transition: transform 0.2s var(--ease);
	}

	.lang-switch__toggle[aria-expanded="true"] .icon {
		transform: rotate(180deg);
	}

	.lang-switch--header .lang-switch__list {
		position: absolute;
		top: calc(100% + 0.6rem);
		right: 0;
		z-index: 5;
		flex-direction: column;
		gap: 0.15rem;
		min-width: 9.5rem;
		padding: 0.4rem;
		border-radius: var(--radius-small);
		background: var(--panel);
		box-shadow: var(--shadow);
	}

	.lang-switch--header .lang-switch__toggle[aria-expanded="false"] + .lang-switch__list {
		display: none;
	}

	.lang-switch--header .lang-switch__link {
		display: block;
		height: auto;
		padding: 0.55rem 0.8rem;
		border-radius: 0.5rem;
		text-align: left;
	}

	.lang-switch--header .lang-switch__code {
		display: none;
	}

	.lang-switch--header .lang-switch__name {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip-path: none;
	}
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.nav-toggle {
	display: none;
}

/*
 * Seven menu items plus brand, language and button need about 85em in the longest
 * language (FR). Below that the header tightens step by step before it becomes the
 * burger menu at 70em: smaller type, then no button (the menu has «Mitmachen»).
 */
@media (min-width: 70em) and (max-width: 87.49em) {
	.primary-nav__list {
		gap: 0 1rem;
	}

	.primary-nav a {
		font-size: 1.125rem;
	}

	.site-nav {
		gap: 1rem;
	}
}

@media (min-width: 70em) and (max-width: 77.99em) {
	.site-nav__cta {
		display: none;
	}
}

@media (max-width: 69.99em) {
	.nav-toggle {
		display: grid;
		place-items: center;
		width: 3rem;
		height: 3rem;
		padding: 0;
		border: 2px solid rgb(255 255 255 / 0.3);
		border-radius: 50%;
		background: transparent;
		color: inherit;
		cursor: pointer;
		position: relative;
		z-index: 2;
	}

	.nav-toggle__close,
	.nav-toggle[aria-expanded="true"] .nav-toggle__open {
		display: none;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__close {
		display: block;
	}

	.site-nav {
		position: fixed;
		inset: 0;
		top: var(--admin-bar);
		z-index: 1;
		flex-direction: column;
		align-items: flex-start;
		gap: 2rem;
		padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
		background: var(--ink);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-1rem);
		transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
	}

	.site-nav.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity 0.25s, transform 0.25s var(--ease);
	}

	.primary-nav__list {
		flex-direction: column;
	}

	.primary-nav a {
		font-size: 2.25rem;
	}

	.site-header__brand {
		position: relative;
		z-index: 2;
	}
}

@media (max-width: 26em) {
	.site-header__title {
		font-size: 1.125rem;
	}

	.site-header__heart {
		width: 2.75rem;
	}
}

/* ---------- Page header ---------- */

.page-header {
	position: relative;
	overflow: hidden;
	background: var(--volt);
	color: var(--ink);
}

.page-header__inner {
	position: relative;
	z-index: 1;
	max-width: var(--wide-outer);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--70) var(--gutter) var(--wp--preset--spacing--80);
}

.page-header__eyebrow {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink);
}

.page-header__eyebrow a {
	color: inherit;
	text-decoration: none;
}

.page-header__eyebrow a:hover {
	text-decoration: underline;
}

.page-header__tagline {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	color: var(--ink);
}

.page-header__title {
	max-width: 22ch;
	font-size: var(--wp--preset--font-size--xx-large);
	color: var(--ink);
}

.page-header__intro {
	max-width: 46rem;
	margin: 1.25rem 0 0;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 500;
	color: var(--ink);
}

.page-header__heart {
	position: absolute;
	right: max(-4rem, calc((100vw - var(--wide)) / 2 - 6rem));
	bottom: -3rem;
	width: clamp(12rem, 30vw, 26rem);
	--heart-fill: transparent;
	--heart-line: var(--ink);
	opacity: 0.14;
	transform: rotate(-10deg);
	pointer-events: none;
}

@media (max-width: 47.99em) {
	.page-header__heart {
		display: none;
	}
}

/* ---------- Entry content & sections ---------- */

.entry-content {
	padding-bottom: var(--wp--preset--spacing--80);
}

.entry-content:has(> .alignfull:last-child) {
	padding-bottom: 0;
}

.entry-content > :first-child:not(.alignfull) {
	margin-top: var(--wp--preset--spacing--70);
}

/* One shared left edge: text columns start where wide content, the page title and the logo start. */
.entry-content.is-layout-constrained > :where(:not(.alignleft, .alignright, .aligncenter, .alignwide, .alignfull)),
.entry-content .alignfull.is-layout-constrained > :where(:not(.alignleft, .alignright, .aligncenter, .alignwide, .alignfull)) {
	margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important;
	margin-right: auto !important;
}

/* Full-width sections sit flush against each other. */
.entry-content > .alignfull,
.entry-content > .alignfull + * {
	margin-block-start: 0;
}

.entry-content > .alignfull + :not(.alignfull) {
	margin-block-start: var(--wp--preset--spacing--70);
}

.entry-content > :not(.alignfull) + .alignfull {
	margin-block-start: var(--wp--preset--spacing--80);
}

:is(.is-style-section, .is-style-section-sand, .is-style-section-dark, .is-style-section-volt) {
	padding-block: var(--wp--preset--spacing--80);
}

.wp-block-group.is-style-section {
	background: var(--cream);
}

.wp-block-group.is-style-section-sand {
	background: var(--sand);
}

.wp-block-group.is-style-section-dark {
	background: var(--ink);
	color: var(--cream);
}

.wp-block-group.is-style-section-volt {
	background: var(--volt);
	color: var(--ink);
}

:is(.is-style-section-dark, .has-ink-background-color) :is(h1, h2, h3, h4) {
	color: var(--white);
}

:is(.is-style-section-dark, .has-ink-background-color) a:not(.btn, .wp-block-button__link) {
	color: var(--volt);
}

.is-style-section-volt a:not(.btn, .wp-block-button__link) {
	color: var(--ink);
}

.is-style-section-volt .wp-block-button__link {
	background: var(--ink);
	color: var(--volt);
}

.is-style-section-volt .wp-block-button__link:hover {
	background: var(--white);
	color: var(--ink);
}

.wp-block-group.is-style-card {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
}

/* Paragraph styles. */
.is-style-eyebrow {
	font-family: var(--font-display);
	font-size: 1.0625rem !important;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--volt-deep);
}

:is(.is-style-section-dark, .has-ink-background-color) .is-style-eyebrow {
	color: var(--volt);
}

.is-style-section-volt .is-style-eyebrow {
	color: var(--ink);
}

.is-style-lead {
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	line-height: 1.55;
}

/* Section headings are campaign-sized; long-read headings stay calmer. */
:is(.is-style-section, .is-style-section-sand, .is-style-section-dark, .is-style-section-volt) > h2.wp-block-heading {
	font-size: var(--wp--preset--font-size--xx-large);
	margin-top: 0.25rem;
}

:is(.is-style-section, .is-style-section-sand, .is-style-section-dark, .is-style-section-volt) > .is-style-eyebrow + h2 {
	margin-top: 0.5rem;
}

.wp-block-heading.is-style-display {
	font-size: var(--wp--preset--font-size--display);
	line-height: 0.92;
}

/* Check list. */
.wp-block-list.is-style-check {
	display: grid;
	gap: 0.9rem;
	padding: 0;
	list-style: none;
}

.wp-block-list.is-style-check > li {
	position: relative;
	padding-left: 2.6rem;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}

.wp-block-list.is-style-check > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(0.7em - 0.875rem); /* Centred on the first line (line-height 1.4, icon 1.75rem). */
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1F1B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.is-style-section-volt .wp-block-list.is-style-check > li::before {
	background-color: var(--ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BEC1D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Download card (core/file). */
.wp-block-file.is-style-download-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1rem 1rem 1.5rem;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
	font-weight: 600;
}

.wp-block-file.is-style-download-card > a:first-child {
	color: var(--ink);
	text-decoration: none;
}

.wp-block-file .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	padding: 0.5em 1.1em;
	border-radius: 999px;
	background: var(--volt);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 700;
	text-decoration: none;
}

.wp-block-file .wp-block-file__button:hover {
	background: var(--ink);
	color: var(--volt);
}

.wp-block-image img {
	border-radius: var(--radius);
}

.wp-block-separator {
	border: 0;
	border-top: 2px solid currentColor;
}

/* Content typography (long reads: arguments, privacy policy, FAQ answers). */
.entry-content > :is(h2, h3).wp-block-heading {
	margin-top: 2.5rem;
}

.entry-content > :is(h2, h3).wp-block-heading + * {
	margin-top: 0.75rem;
}

.entry-content > .wp-block-heading:first-child {
	margin-top: var(--wp--preset--spacing--70);
}

.entry-content sup {
	line-height: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
	background: var(--volt);
	color: var(--ink);
}

.cta-band__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.5rem 2.5rem;
	max-width: var(--wide-outer);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--70) var(--gutter);
}

.cta-band__heart {
	width: 7rem;
	--heart-fill: var(--volt);
	--heart-line: var(--ink);
}

.cta-band__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.cta-band__text p {
	margin: 0.5rem 0 0;
	max-width: 40rem;
}

@media (max-width: 47.99em) {
	.cta-band__inner {
		grid-template-columns: 1fr;
	}

	.cta-band__heart {
		width: 5rem;
	}
}

/* ---------- Single argument ---------- */

.argument-single .entry-content > p:first-child {
	font-size: var(--wp--preset--font-size--large);
}

.argument-single__footer {
	display: grid;
	gap: var(--wp--preset--spacing--60);
	max-width: var(--wide-outer);
	margin-inline: auto;
	padding: 0 var(--gutter) var(--wp--preset--spacing--80);
}

@media (min-width: 64em) {
	.argument-single__footer {
		grid-template-columns: 1.2fr 1fr;
		align-items: start;
	}
}

.argument-next {
	position: relative;
	display: grid;
	gap: 0.5rem;
	padding: 2rem 5rem 2rem 2rem;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--white);
	text-decoration: none;
	transition: transform 0.3s var(--ease);
}

.argument-next:hover {
	transform: translateY(-3px);
}

.argument-next__label {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--volt);
}

.argument-next__title {
	font-family: var(--font-display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 800;
	line-height: 1.05;
}

.argument-next .icon {
	position: absolute;
	right: 2rem;
	bottom: 2rem;
	color: var(--volt);
}

.argument-index__title {
	margin-bottom: 1rem;
	font-size: var(--wp--preset--font-size--large);
}

.argument-index__list {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: arg;
}

.argument-index__list a {
	display: flex;
	gap: 0.75rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--sand);
	color: var(--ink);
	text-decoration: none;
	counter-increment: arg;
}

.argument-index__list a::before {
	content: counter(arg, decimal-leading-zero);
	font-family: var(--font-display);
	font-weight: 800;
	color: var(--volt-deep);
}

.argument-index__list a:hover,
.argument-index__list [aria-current] {
	color: var(--volt-deep);
}

.argument-index__list [aria-current] {
	font-weight: 600;
}

/* ---------- Forms (shared) ---------- */

.field {
	display: grid;
	gap: 0.35rem;
}

.field__label {
	font-weight: 600;
	font-size: 0.9375rem;
}

:is(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], select, textarea) {
	width: 100%;
	min-height: 3rem;
	padding: 0.65rem 0.9rem;
	border: 2px solid var(--sand);
	border-radius: var(--radius-small);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1.0625rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

/* Own chevron (same icon as elsewhere) instead of the browser's, with room to the right edge.
   :not([multiple]) also lifts the specificity above the shared field rule, whose background shorthand would remove the icon. */
select:not([multiple]) {
	appearance: none;
	padding-right: 3rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1f1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	background-size: 1.25rem;
	text-overflow: ellipsis;
	cursor: pointer;
}

:is(input, select, textarea):focus-visible {
	outline: none;
	border-color: var(--volt-deep);
	box-shadow: 0 0 0 4px rgb(43 236 29 / 0.35);
}

[aria-invalid="true"] {
	border-color: var(--error) !important;
}

.field__error {
	margin: 0;
	min-height: 0;
	color: var(--error);
	font-size: 0.875rem;
	font-weight: 600;
}

.field__error:empty {
	display: none;
}

.check {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75rem;
	align-items: start;
	cursor: pointer;
}

.check input {
	width: 1.35rem;
	height: 1.35rem;
	margin: 0.15rem 0 0;
	accent-color: var(--volt-deep);
}

.segmented {
	display: inline-flex;
	padding: 0.25rem;
	border-radius: 999px;
	background: var(--sand);
}

.segmented label {
	position: relative;
	cursor: pointer;
}

.segmented input {
	position: absolute;
	opacity: 0;
}

.segmented span {
	display: block;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.0625rem;
	transition: background-color 0.2s, color 0.2s;
	text-align: center; /* Labels wrap to two lines on phones. */
}

.segmented input:checked + span {
	background: var(--volt);
	color: var(--ink);
}

.segmented input:focus-visible + span {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

.hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--night);
	color: var(--cream);
	border-top: 6px solid var(--volt);
}

.site-footer__inner {
	display: grid;
	gap: 2.5rem;
	max-width: var(--wide-outer);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--70) var(--gutter) var(--wp--preset--spacing--60);
}

@media (min-width: 48em) {
	.site-footer__inner {
		grid-template-columns: 1.4fr 1fr 1fr;
	}

	.site-footer__aside {
		grid-column: 1 / -1;
	}
}

@media (min-width: 72em) {
	.site-footer__inner {
		grid-template-columns: 1.4fr 1fr 0.8fr auto;
	}

	.site-footer__aside {
		grid-column: auto;
	}
}

.lockup--footer {
	--lockup-heart: 8rem;
	--lockup-title: 1.5rem;
}

.site-footer__heading {
	margin-bottom: 0.75rem;
	font-size: 1.375rem;
	color: var(--white);
}

.site-footer address {
	font-style: normal;
	line-height: 1.55;
	color: var(--mist);
}

.site-footer a {
	color: var(--cream);
}

.site-footer a:hover {
	color: var(--volt);
}

.site-footer p {
	margin: 0.75rem 0 0;
}

.footer-nav__list {
	flex-direction: column;
	gap: 0.6rem;
}

.footer-nav__list a {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
}

.site-footer__aside {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.social-links {
	gap: 0.5rem;
}

.social-links a {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.08);
	transition: background-color 0.2s, color 0.2s;
}

.social-links a:hover {
	background: var(--volt);
	color: var(--ink);
}

.social-links .icon {
	width: 1.2rem;
	height: 1.2rem;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	max-width: var(--wide-outer);
	margin-inline: auto;
	padding: 1.25rem var(--gutter) 2rem;
	border-top: 1px solid rgb(255 255 255 / 0.1);
	font-size: 0.875rem;
	color: var(--mist);
}

.site-footer__bottom p {
	margin: 0;
}

.legal-nav__list a {
	color: var(--mist);
}

/* ---------- 404 ---------- */

.notfound {
	display: grid;
	min-height: 70vh;
	place-items: center;
	padding: var(--wp--preset--spacing--80) var(--gutter);
	background: var(--ink);
	color: var(--cream);
	text-align: center;
}

.notfound__inner {
	max-width: 36rem;
}

.notfound__code {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(7rem, 30vw, 16rem);
	font-weight: 800;
	line-height: 0.85;
	color: transparent;
	-webkit-text-stroke: 3px var(--volt);
	animation: flicker 4s infinite;
}

.notfound__title {
	margin: 1.5rem 0 1rem;
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--white);
}

@keyframes flicker {
	0%, 92%, 100% { opacity: 1; }
	93% { opacity: 0.2; }
	95% { opacity: 0.9; }
	96% { opacity: 0.3; }
}

/* ---------- Editor placeholder ---------- */

.strom-placeholder {
	padding: 2rem;
	border: 2px dashed var(--stone);
	border-radius: var(--radius);
	text-align: center;
	color: var(--stone);
}

/* ---------- News ---------- */

/* Rows: date | title + lead | arrow. The whole row is the link target. */
.news-list {
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--ink);
	list-style: none;
}

.news-item {
	position: relative;
	display: grid;
	gap: 0.4rem 2rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--sand);
}

.news-band .news-item {
	border-bottom-color: rgb(28 31 27 / 0.14);
}

.news-item__date {
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--volt-deep);
}

.news-item__title {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.15;
}

.news-item__title a {
	color: inherit;
	text-decoration: none;
}

.news-item__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.news-item:hover .news-item__title a,
.news-item__title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

.news-item__excerpt {
	max-width: 46rem;
	margin: 0.5rem 0 0;
	color: var(--stone);
}

.news-item__arrow {
	display: none;
	transition: transform 0.2s var(--ease);
}

.news-item:hover .news-item__arrow {
	transform: translateX(0.35rem);
}

@media (min-width: 48em) {
	.news-item {
		grid-template-columns: 11rem minmax(0, 1fr) auto;
		align-items: start;
		padding: 1.75rem 0;
	}

	.news-item__date {
		padding-top: 0.2rem;
	}

	.news-item__arrow {
		display: block;
		align-self: center;
	}
}

.news-overview {
	max-width: var(--wide-outer);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--70) var(--gutter) var(--wp--preset--spacing--80);
}

.news-overview .pagination {
	margin-top: var(--wp--preset--spacing--60);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.9rem;
	border: 2px solid var(--ink);
	border-radius: 999px;
	color: var(--ink);
	font: 700 1.0625rem/1 var(--font-display);
	text-decoration: none;
}

.pagination .page-numbers.dots {
	border-color: transparent;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--ink);
	color: var(--volt);
}

/* News block: self-contained full-width band. */
.news-band {
	background: var(--white);
}

.news-band__inner {
	max-width: var(--wide-outer);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--80) var(--gutter);
}

.news-band__title {
	margin-bottom: 1.5rem;
	font-size: var(--wp--preset--font-size--x-large);
}

.news-band__footer {
	margin: 2rem 0 0;
}

/* Article. Headlines are longer than page titles: smaller type, wider measure. */
.page-header--news .page-header__title {
	max-width: 52rem;
	font-size: clamp(2rem, 1.35rem + 2.2vw, 3.25rem);
	text-wrap: balance;
}

.page-header--news .page-header__intro {
	max-width: 44rem;
	font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
	line-height: 1.5;
}

.page-header--news time {
	font-weight: 600;
}

.news-single__image {
	margin-bottom: var(--wp--preset--spacing--60);
}

.news-single__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}

.news-single__footer {
	display: grid;
	gap: var(--wp--preset--spacing--60);
	max-width: var(--wide-outer);
	margin-inline: auto;
	padding: 0 var(--gutter) var(--wp--preset--spacing--80);
}

.news-single__footer > * {
	width: 100%;
	max-width: var(--content);
	margin: 0;
}

.news-single__heading {
	margin-bottom: 1rem;
	font-size: var(--wp--preset--font-size--large);
}

.news-contact {
	font-style: normal;
	line-height: 1.7;
}

/* Downloads (article footer and block «Downloads»). */
.downloads {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.download {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.15rem 1rem;
	padding: 1rem 1.25rem 1rem 1.5rem;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
	color: var(--ink);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.download__label {
	font-weight: 600;
}

.download__meta {
	grid-column: 1;
	font-size: 0.9375rem;
	color: var(--stone);
}

.download .icon {
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0.7rem;
	border-radius: 50%;
	background: var(--volt);
	color: var(--ink);
	transition: background-color 0.2s, color 0.2s;
}

.download:hover .icon {
	background: var(--ink);
	color: var(--volt);
}

.download:hover .download__label {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

.downloads-block__title {
	margin-bottom: 1rem;
}

.entry-content > .downloads-block + * {
	margin-top: var(--wp--preset--spacing--60);
}

/* Download cards: material bundles with a preview image. */
.download-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.download-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
}

.download-card__media {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	background: var(--sand);
	color: var(--stone);
}

.download-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.download-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.25rem 1.5rem 1.5rem;
}

.download-card__title {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.15;
}

.download-card__info {
	margin: 0.4rem 0 0;
	color: var(--stone);
}

.download-card__action {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: auto 0 0;
	padding-top: 1.25rem;
}

/* The whole card is the click target; the button stays the one link. */
.download-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* No press movement here: a transform would shrink the overlay to the button mid-click, and the click would be lost. */
.download-card__link:active {
	transform: none;
}

.download-card:hover .download-card__link {
	background: var(--ink);
	color: var(--volt);
}

.download-card__meta {
	font-size: 0.9375rem;
	color: var(--stone);
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------- Print ---------- */

@media print {
	.site-header,
	.site-footer,
	.action-bar,
	.heartgen,
	.supporter__form-wrap,
	.share,
	.news-single__back,
	.cta-band {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}
