/* BIOCRAFT: inner pages (everything except the homepage).
   Same shell, grid and tokens as the homepage (theme.css, .bc-v2).
   Prefix bc4-. Loaded only when the page is not the front page. */

.bc-v2 {
	/* Light surface for panels and cards: the beige of the brand palette
	   (manual, chapter 05: content sections on beige or white) */
	--bc4-pale: var(--wp--preset--color--paper);
	--bc4-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c3b28' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
}

.bc-inner .bc-main > .wp-block-post-content {
	padding-top: 0;
}

.bc-inner strong {
	font-weight: 600;
}

/* Menu: the page being viewed ------------------------------------------- */

.bc-v2 .is-inset .bc-nav .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: none;
}

.is-inset .bc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .current-menu-item > .wp-block-navigation-item__content {
	background: rgb(244 240 230 / 0.18);
}

.is-stuck .bc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .current-menu-item > .wp-block-navigation-item__content {
	background: var(--wp--preset--color--paper);
}

.bc-nav .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--sun);
}

/* Page hero: featured image, page title ---------------------------------- */

/* The gap above the first panel is padding on main, as on the homepage.
   A top margin on the panel would collapse through main and push the
   header down with it. */
.bc-inner > .bc-main {
	padding-top: var(--bc3-inset);
}

.bc-v2 .bc3-hero--page.wp-block-cover {
	min-height: clamp(22rem, 54svh, 35rem) !important;
	margin-top: 0;
	padding-top: 8.5rem;
	padding-bottom: clamp(2rem, 1.25rem + 2.6vw, 3.75rem);
	background: var(--wp--preset--color--deep);
}

.bc3-hero--page .bc3-hero__title {
	max-width: 14em;
	font-size: clamp(2.5rem, 1.25rem + 4.2vw, 5.5rem);
}

/* Pages without a featured image: plain dark panel, no gradient needed */
.bc-v2 .bc3-hero--page:not(:has(.wp-block-cover__image-background)).wp-block-cover {
	min-height: 0 !important;
	padding-top: clamp(9rem, 7.5rem + 5vw, 12rem);
}

.bc-v2 .bc3-hero--page:not(:has(.wp-block-cover__image-background)) .wp-block-cover__background {
	opacity: 0;
}

/* Breadcrumb above the title: same dot and size as the section labels ----- */

.bc4-crumbs {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0 0 clamp(0.875rem, 0.6rem + 0.8vw, 1.375rem);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--wp--preset--color--paper);
}

.bc4-crumbs::before {
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	background: var(--wp--preset--color--sun);
	border-radius: 50%;
	content: "";
}

.bc4-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc4-crumbs li + li::before {
	margin-inline: 0.625rem;
	color: var(--bc3-soft);
	opacity: 0.6;
	content: "/";
}

.bc4-crumbs a {
	color: var(--bc3-soft);
	text-decoration: none;
	transition: color 0.2s ease;
}

.bc4-crumbs a:hover,
.bc4-crumbs a:focus-visible {
	color: var(--wp--preset--color--white);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.bc-v2 .bc4-crumbs + .bc3-hero__title,
.bc-v2 .bc4-crumbs + .bc4-posthead__title {
	margin-top: 0;
}

.bc4-crumbs + .bc4-posthead__meta {
	margin-top: 0;
}

.bc4-posthead > .bc4-crumbs {
	margin-bottom: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
}

/* Article and archive header: dark panel --------------------------------- */

.bc4-posthead {
	margin: 0 var(--bc3-inset);
	padding: clamp(9rem, 7.5rem + 5vw, 12rem) var(--bc3-pad) clamp(2.25rem, 1.5rem + 2.6vw, 4rem);
	background: var(--wp--preset--color--deep);
	border-radius: var(--bc3-radius);
	color: var(--wp--preset--color--paper);
}

.bc4-posthead > * {
	max-width: none;
	margin: 0;
}

.bc-v2 .bc4-posthead__title {
	max-width: 22em;
	margin-top: 1.25rem;
	font-size: clamp(2rem, 1.2rem + 2.8vw, 3.75rem);
	font-weight: 300;
	line-height: 1.12;
	letter-spacing: -0.035em;
	color: var(--wp--preset--color--paper);
}

.bc4-posthead__meta {
	gap: 0.75rem 1rem;
	align-items: center;
	font-size: 0.875rem;
}

.bc4-posthead__meta > * {
	margin: 0;
}

.bc4-posthead__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1;
}

.bc4-posthead__cats a {
	padding: 0.5rem 0.8125rem;
	background: var(--wp--preset--color--sun);
	border-radius: 999px;
	color: var(--wp--preset--color--deep);
	text-decoration: none;
}

.bc4-posthead__cats a:hover,
.bc4-posthead__cats a:focus-visible {
	background: var(--wp--preset--color--white);
}

.bc4-posthead__cats .wp-block-post-terms__separator {
	display: none;
}

.bc4-posthead__date {
	color: var(--bc3-soft);
}

.bc4-posthead__kicker {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
}

.bc4-posthead__kicker::before {
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	background: var(--wp--preset--color--sun);
	border-radius: 50%;
	content: "";
}

.bc4-posthead__kicker a {
	color: inherit;
	text-decoration: none;
}

.bc4-posthead__kicker a:hover {
	text-decoration: underline;
}

.bc4-posthead__text {
	max-width: 36rem;
	margin-top: 1.25rem;
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	font-weight: 300;
	color: var(--bc3-soft);
}

.bc4-posthead > .wp-block-buttons {
	margin-top: 2rem;
}

/* Sections --------------------------------------------------------------- */

.bc-inner .wp-block-post-content > .bc3-section:first-child,
.bc-inner .bc4-section--first {
	padding-top: var(--wp--preset--spacing--70);
}

.bc4-h2 {
	max-width: 13em;
	margin: 0;
	font-size: clamp(2rem, 1.25rem + 2.5vw, 3.5rem);
	font-weight: 300;
	line-height: 1.14;
	letter-spacing: -0.035em;
}

.bc4-text {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	text-wrap: pretty;
}

/* Heading on the left, text on the right */

.bc4-lede {
	display: grid;
	gap: 1.5rem var(--bc3-gap);
	align-items: start;
}

.bc4-lede > *,
.bc4-lede__head > *,
.bc4-lede__body > * {
	margin: 0;
}

.bc4-lede__body > * + * {
	margin-top: 1.1em;
}

.bc4-lede__body > .wp-block-buttons {
	margin-top: 2rem;
}

/* Photo beside text */

.bc4-split {
	display: grid;
	gap: 2rem var(--bc3-gap);
	align-items: center;
}

.bc4-split > *,
.bc4-split__body > * {
	margin: 0;
}

.bc4-split__body > * + * {
	margin-top: 1.1em;
}

/* Section label above a title: the title follows at the label's own gap */
.bc-inner .bc3-eyebrow + .bc4-h2 {
	margin-top: 0;
}

.bc4-split__body > .bc4-h2 + * {
	margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.bc4-split__body > .wp-block-buttons {
	margin-top: 2rem;
}

.bc-v2 .bc4-split__media {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: var(--bc3-radius);
}

.bc4-split__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: saturate(0.88) contrast(1.04);
}

.bc4-split__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(20 101 68 / 0) 40%, rgb(12 59 40 / 0.28) 100%), rgb(20 101 68 / 0.16);
	mix-blend-mode: multiply;
	pointer-events: none;
	content: "";
}

/* A graphic rather than a photo: shown whole, no tint */
.bc-v2 .bc4-split__media.is-graphic {
	overflow: visible;
	border-radius: 0;
}

.bc4-split__media.is-graphic img {
	aspect-ratio: auto;
	object-fit: contain;
	filter: none;
}

.bc4-split__media.is-graphic::after {
	content: none;
}

@media (min-width: 900px) {
	.bc4-lede,
	.bc4-split {
		grid-template-columns: var(--bc3-grid);
	}

	.bc4-lede__head { grid-column: 1 / 7; }
	.bc4-lede__body { grid-column: 7 / 13; }

	.bc4-split__media { grid-column: 1 / 7; }
	.bc4-split__body { grid-column: 8 / 13; }

	.bc4-split.is-reverse .bc4-split__media { grid-column: 7 / 13; order: 2; }
	.bc4-split.is-reverse .bc4-split__body { grid-column: 1 / 6; order: 1; }
}

/* Tinted section: a pale green panel from edge to edge, like the
   responsible innovation panel on the homepage. */

.bc-v2 .bc-main .bc3-section.bc4-tint {
	margin: var(--wp--preset--spacing--80) var(--bc3-inset) 0;
	padding: var(--wp--preset--spacing--70) var(--bc3-pad);
	background: var(--bc4-pale);
	border-radius: var(--bc3-radius);
}

.bc4-tint .bc4-project {
	box-shadow: none;
}

/* Cards that are pale on a white page turn white on the pale panel */
.bc4-tint .bc4-benefit {
	background: var(--wp--preset--color--white);
}

.bc4-tint .bc4-project:hover,
.bc4-tint .bc4-project:focus-within {
	box-shadow: 0 18px 36px -24px rgb(12 59 40 / 0.35);
}

/* The BIOCRAFT approach: steps, arrows and outputs as live text and icons.
   On small screens the flow runs top to bottom; from 900px it follows the
   client's diagram, left to right. Steps appear one after the other when
   the panel scrolls into view (see the motion block further down). */

.bc-v2 .bc4-flow {
	--flow-size: clamp(5rem, 1.5rem + 9.5vw, 8.5rem);
	--flow-gap: clamp(2.25rem, 1rem + 3vw, 3.5rem);
	--flow-arrow: 1.5rem;
	--flow-fill: var(--wp--preset--color--white);
	display: grid;
	gap: var(--flow-gap);
	margin: var(--wp--preset--spacing--60) 0 0;
	padding: clamp(2rem, 0.5rem + 4.5vw, 4.5rem) clamp(1.25rem, 0.25rem + 3.2vw, 3.5rem);
	/* Warm paper, so the green and yellow of the icons stand out and the
	   panel does not repeat the pale green sections around it */
	background: var(--wp--preset--color--paper);
	border-radius: var(--bc3-radius);
	color: var(--wp--preset--color--forest);
}

.bc4-flow > *,
.bc4-flow__steps > *,
.bc4-flow__step > *,
.bc4-flow__out > * {
	margin: 0;
}

.bc4-flow__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-areas:
		"lines lines lines"
		"breeding breeding breeding"
		"ai trials soil";
	gap: var(--flow-gap);
	align-items: start;
}

.bc4-flow__step {
	position: relative;
	display: grid;
	align-content: start;
	justify-items: center;
	text-align: center;
}

.bc4-flow__step.is-lines { grid-area: lines; }
.bc4-flow__step.is-breeding { grid-area: breeding; }
.bc4-flow__step.is-ai { grid-area: ai; }
.bc4-flow__step.is-trials { grid-area: trials; }
.bc4-flow__step.is-soil { grid-area: soil; }

/* Icon in its circle */
.bc4-flow__step::before {
	width: var(--flow-size);
	height: var(--flow-size);
	margin-bottom: 0.875rem;
	background: var(--flow-fill) center / 100% no-repeat;
	border-radius: 50%;
	content: "";
}

.bc4-flow__step.is-lines::before { background-image: url("../icons/flow-lines.webp"); }
.bc4-flow__step.is-breeding::before { background-image: url("../icons/flow-breeding.webp"); }
.bc4-flow__step.is-ai::before { background-image: url("../icons/flow-ai.webp"); }
.bc4-flow__step.is-trials::before { background-image: url("../icons/flow-trials.webp"); }
.bc4-flow__step.is-soil::before { background-image: url("../icons/flow-soil.webp"); }

.bc4-flow__label {
	max-width: 11em;
	font-size: clamp(0.8125rem, 0.74rem + 0.3vw, 1rem);
	font-weight: 600;
	line-height: 1.25;
	text-wrap: balance;
}

.bc4-flow__step > .bc4-flow__note {
	margin-top: 0.25rem;
	font-size: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
	line-height: 1.4;
	text-wrap: balance;
}

/* Arrow to the next step. It sits in the middle of the gap. */
.bc4-flow__step::after {
	--flow-mid: calc((var(--flow-gap) - var(--flow-arrow)) / 2);
	position: absolute;
	top: calc(100% + var(--flow-mid));
	left: calc(50% - var(--flow-arrow) / 2);
	width: var(--flow-arrow);
	height: var(--flow-arrow);
	background: #418842;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	rotate: 90deg;
	content: "";
}

/* Small screens: the two inputs point sideways at the field trials */
.bc4-flow__step.is-ai::after,
.bc4-flow__step.is-soil::after {
	top: calc((var(--flow-size) - var(--flow-arrow)) / 2);
}

.bc4-flow__step.is-ai::after {
	left: calc(100% + var(--flow-mid));
	rotate: 0deg;
}

.bc4-flow__step.is-soil::after {
	right: calc(100% + var(--flow-mid));
	left: auto;
	rotate: 180deg;
}

.bc4-flow__out {
	padding: clamp(1.25rem, 0.9rem + 1.2vw, 2rem);
	background: var(--flow-fill);
	border-radius: var(--bc3-radius-sm);
}

.bc4-flow__out::before {
	display: block;
	width: min(72%, 14rem);
	aspect-ratio: 120 / 27.84;
	margin-bottom: 1.125rem;
	background: url("../images/biocraft-logo.svg") left center / contain no-repeat;
	content: "";
}

.bc4-flow__out > .bc4-flow__title {
	margin-bottom: 0.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.25;
}

.bc-v2 .bc4-flow__list {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-v2 .bc4-flow__list li {
	display: grid;
	grid-template-columns: 1.875rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: center;
	margin: 0;
	padding: 0;
	font-size: clamp(0.875rem, 0.82rem + 0.2vw, 0.9375rem);
	line-height: 1.35;
}

.bc4-flow__list li::before {
	width: 1.875rem;
	height: 1.875rem;
	/* The icon files have a white disc; multiply turns it pale green */
	background: var(--bc4-pale) center / 100% no-repeat;
	background-blend-mode: multiply;
	border-radius: 50%;
	content: "";
}

.bc4-flow__list .is-crops::before { background-image: url("../icons/flow-out-crops.webp"); }
.bc4-flow__list .is-nutrition::before { background-image: url("../icons/flow-out-nutrition.webp"); }
.bc4-flow__list .is-biofactories::before { background-image: url("../icons/flow-out-biofactories.webp"); }
.bc4-flow__list .is-screening::before { background-image: url("../icons/flow-out-screening.webp"); }
.bc4-flow__list .is-bacteria::before { background-image: url("../icons/flow-out-bacteria.webp"); }
.bc4-flow__list .is-roadmap::before { background-image: url("../icons/flow-out-roadmap.webp"); }

@media (min-width: 900px) {
	.bc-v2 .bc4-flow {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: center;
	}

	.bc4-flow__steps {
		grid-template-areas:
			". . ai"
			"lines breeding trials"
			". . soil";
	}

	/* The two extra lines hang below the label, so the row keeps one height */
	.bc4-flow__step > .bc4-flow__note {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
	}

	.bc4-flow__step.is-lines::after,
	.bc4-flow__step.is-breeding::after,
	.bc4-flow__step.is-trials::after {
		top: calc((var(--flow-size) - var(--flow-arrow)) / 2);
		left: calc(100% + var(--flow-mid));
		rotate: 0deg;
	}

	.bc4-flow__step.is-ai::after {
		top: calc(100% + var(--flow-mid));
		left: calc(50% - var(--flow-arrow) / 2);
		rotate: 90deg;
	}

	.bc4-flow__step.is-soil::after {
		top: auto;
		right: auto;
		bottom: calc(100% + var(--flow-mid));
		left: calc(50% - var(--flow-arrow) / 2);
		rotate: -90deg;
	}
}

/* One pass, in the order of the flow: main line, the two inputs, outputs. */
@media (prefers-reduced-motion: no-preference) {
	.bc-js .bc4-flow .bc4-flow__step,
	.bc-js .bc4-flow .bc4-flow__out,
	.bc-js .bc4-flow .bc4-flow__list li {
		transition: opacity 0.6s ease, scale 0.7s var(--bc3-ease), translate 0.7s var(--bc3-ease);
		transition-delay: var(--flow-at, 0s);
	}

	.bc-js .bc4-flow .bc4-flow__step::after {
		transition: opacity 0.4s ease, translate 0.5s var(--bc3-ease);
		transition-delay: var(--flow-arrow-at, 0s);
	}

	.bc-js .bc4-flow:not(.is-in) .bc4-flow__step {
		opacity: 0;
		scale: 0.88;
	}

	.bc-js .bc4-flow:not(.is-in) .bc4-flow__step::after {
		opacity: 0;
		translate: 0 -0.5rem;
	}

	.bc-js .bc4-flow:not(.is-in) .bc4-flow__step.is-ai::after { translate: -0.5rem 0; }
	.bc-js .bc4-flow:not(.is-in) .bc4-flow__step.is-soil::after { translate: 0.5rem 0; }

	.bc-js .bc4-flow:not(.is-in) .bc4-flow__out {
		opacity: 0;
		translate: 0 0.75rem;
	}

	.bc-js .bc4-flow:not(.is-in) .bc4-flow__list li {
		opacity: 0;
		translate: -0.5rem 0;
	}

	.bc4-flow__step.is-lines { --flow-at: 0.3s; --flow-arrow-at: 0.6s; }
	.bc4-flow__step.is-breeding { --flow-at: 0.75s; --flow-arrow-at: 1.05s; }
	.bc4-flow__step.is-trials { --flow-at: 1.2s; --flow-arrow-at: 2.25s; }
	.bc4-flow__step.is-ai,
	.bc4-flow__step.is-soil { --flow-at: 1.65s; --flow-arrow-at: 1.95s; }
	.bc4-flow__out { --flow-at: 2.45s; }
	.bc4-flow__list li:nth-child(1) { --flow-at: 2.75s; }
	.bc4-flow__list li:nth-child(2) { --flow-at: 2.84s; }
	.bc4-flow__list li:nth-child(3) { --flow-at: 2.93s; }
	.bc4-flow__list li:nth-child(4) { --flow-at: 3.02s; }
	.bc4-flow__list li:nth-child(5) { --flow-at: 3.11s; }
	.bc4-flow__list li:nth-child(6) { --flow-at: 3.2s; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
	.bc-js .bc4-flow:not(.is-in) .bc4-flow__step::after { translate: -0.5rem 0; }
	.bc-js .bc4-flow:not(.is-in) .bc4-flow__step.is-ai::after { translate: 0 -0.5rem; }
	.bc-js .bc4-flow:not(.is-in) .bc4-flow__step.is-soil::after { translate: 0 0.5rem; }
}

/* Tick list */

.bc-v2 .bc4-checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.875rem var(--bc3-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc4-checks li {
	position: relative;
	margin: 0;
	padding-left: 2.375rem;
	line-height: 1.5;
}

.bc4-checks li::before {
	position: absolute;
	top: 0.0625rem;
	left: 0;
	width: 1.5rem;
	height: 1.5rem;
	background: var(--wp--preset--color--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c3b28' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 0.9375rem no-repeat;
	border-radius: 50%;
	content: "";
}

/* Cards that open: who benefits (About) ---------------------------------- */

.bc4-impact {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--bc3-gap);
	align-items: start;
	margin: 0;
}

.bc4-impact > .wp-block-details {
	margin: 0;
	background: var(--wp--preset--color--paper);
	border-radius: var(--bc3-radius-sm);
	transition: box-shadow 0.4s var(--bc3-ease), background-color 0.4s var(--bc3-ease);
}

.bc4-impact > .wp-block-details:hover,
.bc4-impact > .wp-block-details[open] {
	background: #ede7d8;
	box-shadow: 0 18px 36px -24px rgb(12 59 40 / 0.35);
}

.bc4-impact summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.25rem 1rem;
	align-items: start;
	padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
	border-radius: var(--bc3-radius-sm);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
	list-style: none;
	cursor: pointer;
}

.bc4-impact summary::-webkit-details-marker,
.bc4-faq summary::-webkit-details-marker,
.bc4-map__row > summary::-webkit-details-marker {
	display: none;
}

.bc4-impact summary::before {
	grid-column: 1;
	width: 4.5rem;
	height: 4.5rem;
	background: center / contain no-repeat;
	content: "";
}

.bc4-impact summary::after,
.bc4-faq summary::after,
.bc4-map__row > summary::after {
	flex: none;
	width: 2.25rem;
	height: 2.25rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c3b28' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 0.9375rem no-repeat;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--bc3-rule);
	content: "";
	transition: transform 0.4s var(--bc3-ease), background-color 0.25s;
}

.bc4-impact summary::after {
	grid-column: 2;
	grid-row: 1;
}

.bc4-impact details[open] > summary::after,
.bc4-faq details[open] > summary::after,
.bc4-map__row[open] > summary::after {
	background-color: var(--wp--preset--color--sun);
	box-shadow: none;
	transform: rotate(45deg);
}

.bc4-impact details > :not(summary) {
	margin: 0;
	padding: 0 clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
}

.bc4-impact details > :not(summary) + :not(summary) {
	margin-top: 0.75em;
}

.bc4-impact details > :last-child:not(summary) {
	padding-bottom: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
}

.bc4-icon-farmers > summary::before { background-image: url("../icons/impact-farmers.webp"); }
.bc4-icon-breeders > summary::before { background-image: url("../icons/impact-breeders.webp"); }
.bc4-icon-industry > summary::before { background-image: url("../icons/impact-industry.webp"); }
.bc4-icon-policymakers > summary::before { background-image: url("../icons/impact-policymakers.webp"); }
.bc4-icon-researchers > summary::before { background-image: url("../icons/impact-researchers.webp"); }
.bc4-icon-society > summary::before { background-image: url("../icons/impact-society.webp"); }

/* Questions and answers (Responsible Innovation) ------------------------- */

.bc4-faq {
	display: grid;
	gap: 2rem var(--bc3-gap);
	align-items: start;
}

.bc4-faq > *,
.bc4-faq__head > * {
	margin: 0;
}

.bc4-faq__head > * + * {
	margin-top: 1.25rem;
}

.bc4-faq__list {
	border-top: 1px solid var(--bc3-rule);
}

.bc4-faq__list > .wp-block-details {
	margin: 0;
	border-bottom: 1px solid var(--bc3-rule);
}

.bc4-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.25rem 0;
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.015em;
	list-style: none;
	cursor: pointer;
}

.bc4-faq summary:hover {
	color: var(--wp--preset--color--forest);
}

.bc4-faq details > :not(summary) {
	max-width: 42rem;
	margin: 0 0 1em;
	line-height: 1.65;
	text-wrap: pretty;
}

.bc4-faq details > :last-child:not(summary) {
	margin-bottom: 1.75rem;
}

.bc4-faq details ul {
	padding-left: 1.2em;
}

.bc4-faq details li + li {
	margin-top: 0.375rem;
}

.bc4-faq details li::marker {
	color: var(--wp--preset--color--forest);
}

@media (min-width: 900px) {
	.bc4-faq {
		grid-template-columns: var(--bc3-grid);
	}

	.bc4-faq__head {
		position: sticky;
		top: 6.5rem;
		grid-column: 1 / 6;
	}

	/* Same left edge as the text column of the section above */
	.bc4-faq__list {
		grid-column: 7 / 13;
	}
}

/* Benefit cards ---------------------------------------------------------- */

.bc4-benefits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--bc3-gap);
	margin: 0;
}

.bc4-benefit {
	margin: 0;
	padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
	background: var(--bc4-pale);
	border-radius: var(--bc3-radius-sm);
}

.bc4-benefit > * {
	margin: 0;
}

.bc4-benefit::before {
	display: block;
	width: 4.5rem;
	height: 4.5rem;
	margin-bottom: 1.5rem;
	background: center / contain no-repeat;
	content: "";
}

.bc4-benefit.bc4-icon-agriculture::before { background-image: url("../icons/benefit-agriculture.webp"); }
.bc4-benefit.bc4-icon-food::before { background-image: url("../icons/benefit-food.webp"); }
.bc4-benefit.bc4-icon-industry::before { background-image: url("../icons/benefit-industry.webp"); }
.bc4-benefit.bc4-icon-society::before { background-image: url("../icons/impact-society.webp"); }

.bc-v2 .bc4-benefit__title {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
}

.bc4-benefit ul {
	margin-top: 0.875rem;
	padding-left: 1.1em;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.bc4-benefit li + li {
	margin-top: 0.4375rem;
}

.bc4-benefit li::marker {
	color: var(--wp--preset--color--forest);
}

/* Portfolio projects (EIC Portfolio) ------------------------------------- */

.bc4-projects {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--bc3-gap);
	margin: 0;
}

.bc4-project {
	display: flex;
	flex-direction: column;
	min-height: 15rem;
	margin: 0;
	padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	background: var(--wp--preset--color--white);
	border-radius: var(--bc3-radius-sm);
	box-shadow: inset 0 0 0 1px var(--bc3-rule);
	transition: box-shadow 0.4s var(--bc3-ease);
}

.bc4-project:hover,
.bc4-project:focus-within {
	box-shadow: inset 0 0 0 1px rgb(20 101 68 / 0.35), 0 18px 36px -24px rgb(12 59 40 / 0.35);
}

.bc4-project > * {
	margin: 0;
}

.bc-v2 .bc4-project__name {
	font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--forest);
}

.bc4-project__title {
	margin-top: 0.875rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--wp--preset--color--muted);
}

.bc4-project__link {
	margin-top: auto;
	padding-top: 1.5rem;
}

/* Small text links with an arrow */

.bc4-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	font-size: 0.9375rem;
	font-weight: 500;
}

.bc4-links a,
.bc4-project__link a,
.bc4-article__nav a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 1.75rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--wp--preset--color--deep);
	text-decoration: underline;
	text-decoration-color: rgb(12 59 40 / 0.25);
	text-underline-offset: 0.3em;
}

.bc4-links a:hover,
.bc4-project__link a:hover,
.bc4-article__nav a:hover {
	text-decoration-color: currentColor;
}

.bc4-links a::after,
.bc4-project__link a::after {
	flex: none;
	width: 0.875rem;
	height: 0.875rem;
	background: var(--bc4-arrow) center / contain no-repeat;
	content: "";
}

/* Partners (Consortium) -------------------------------------------------- */

.bc4-partners {
	margin: 0;
	border-top: 1px solid var(--bc3-rule);
}

/* Consortium map. The list of countries beside it is the control: it works
   with a keyboard and without JavaScript. The script links the two, so
   pointing at a country on the map lights up its row, and the other way
   round. The drawing itself is hidden from assistive technology. */

/* Top-aligned, so the map stays put when a row of the list opens */
.bc4-split.bc4-map {
	align-items: start;
}

.bc4-map__figure {
	margin: 0;
}

.bc4-map__svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.bc4-map__land {
	fill: #dfe8d6;
}

.bc4-map__borders {
	fill: none;
	stroke: var(--wp--preset--color--white);
	stroke-width: 1;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
}

.bc4-map__country {
	fill: var(--wp--preset--color--leaf);
	cursor: pointer;
	transition: fill 0.3s ease, opacity 0.3s ease;
}

.bc4-map__arcs path {
	fill: none;
	stroke: var(--wp--preset--color--deep);
	stroke-width: 1.4;
	stroke-dasharray: 0.012 0.012;
	pointer-events: none;
}

.bc4-map__pin {
	cursor: pointer;
}

.bc4-map__ring {
	fill: var(--wp--preset--color--white);
	transform-box: fill-box;
	transform-origin: center;
	transition: scale 0.3s var(--bc3-ease);
}

.bc4-map__dot {
	fill: var(--wp--preset--color--deep);
}

.bc4-map__pin text {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	fill: var(--wp--preset--color--deep);
	stroke: var(--wp--preset--color--white);
	stroke-width: 4px;
	stroke-linejoin: round;
	paint-order: stroke;
}

.bc4-map.has-active .bc4-map__country:not(.is-active) {
	opacity: 0.45;
}

.bc4-map__country.is-active {
	fill: var(--wp--preset--color--forest);
}

.bc4-map__pin.is-active .bc4-map__ring {
	scale: 1.4;
}

.bc4-split__body > .bc4-map__list {
	margin-top: clamp(1.75rem, 1.25rem + 1.6vw, 2.75rem);
	border-top: 1px solid var(--bc3-rule);
}

.bc4-map__list > * {
	margin: 0;
}

.bc4-map__row {
	border-bottom: 1px solid var(--bc3-rule);
}

.bc4-map__row > summary {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.875rem 0;
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.bc4-map__row > summary:hover,
.bc4-map__row.is-active > summary {
	color: var(--wp--preset--color--forest);
}

.bc-v2 .bc4-map__row .bc3-country {
	gap: 0.75rem;
}

.bc4-map__count {
	margin-left: auto;
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--wp--preset--color--muted);
}

.bc-v2 .bc4-map__row ul {
	display: grid;
	gap: 0.375rem;
	margin: 0;
	padding: 0 0 1.25rem 1.875rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	list-style: none;
}

.bc4-map__row li {
	margin: 0;
}

.bc4-map__row a {
	color: var(--wp--preset--color--forest);
	text-decoration: underline;
	text-decoration-color: rgb(20 101 68 / 0.35);
	text-underline-offset: 0.2em;
}

.bc4-map__row a:hover {
	text-decoration-color: currentColor;
}

.bc4-map__role {
	margin-left: 0.5rem;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

@media (max-width: 899px) {
	/* One column: title and text, then the map, then the list. The list
	   sits below the map so opening a row never pushes the map down. */
	.bc4-split.bc4-map {
		row-gap: 0;
	}

	.bc4-map > .bc4-split__body {
		display: contents;
	}

	.bc4-map > .bc4-split__media {
		margin-top: 1.5rem;
	}

	.bc4-map .bc4-map__list {
		order: 3;
	}
}

@media (max-width: 599px) {
	/* The drawing shrinks with the screen; its labels should not */
	.bc4-map__pin text {
		font-size: 24px;
		stroke-width: 7px;
	}

	.bc4-map__ring,
	.bc4-map__dot {
		scale: 1.6;
		transform-box: fill-box;
		transform-origin: center;
	}

	.bc4-map__pin.is-active .bc4-map__ring {
		scale: 2;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.bc-js .bc-reveal .bc4-map__arcs,
	.bc-js .bc-reveal .bc4-map__pin {
		transition: opacity 0.7s ease 0.6s;
	}

	.bc-js .bc-reveal:not(.is-in) .bc4-map__arcs,
	.bc-js .bc-reveal:not(.is-in) .bc4-map__pin {
		opacity: 0;
	}
}

.bc4-partner {
	display: grid;
	gap: 1.5rem var(--bc3-gap);
	align-items: start;
	scroll-margin-top: 6rem;
	margin: 0;
	padding: clamp(1.75rem, 1.25rem + 2vw, 3rem) 0;
	border-bottom: 1px solid var(--bc3-rule);
}

.bc4-partner > *,
.bc4-partner__body > * {
	margin: 0;
}

.bc-v2 .bc4-partner__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(7rem, 6rem + 3vw, 9.5rem);
	padding: 1.5rem;
	background: var(--wp--preset--color--white);
	border-radius: var(--bc3-radius-sm);
	box-shadow: inset 0 0 0 1px var(--bc3-rule);
}

.bc4-partner__logo img {
	width: auto;
	max-width: min(100%, 12rem);
	max-height: 100%;
	object-fit: contain;
}

.bc-v2 .bc4-partner__name {
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.bc4-partner__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.875rem;
	margin-top: 0.625rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--forest);
}

.bc4-partner__meta strong {
	padding: 0.4375rem 0.75rem;
	background: var(--wp--preset--color--sun);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1;
	color: var(--wp--preset--color--deep);
}

.bc4-partner__text {
	max-width: 46rem;
	margin-top: 1.125rem;
	line-height: 1.65;
	text-wrap: pretty;
}

.bc4-partner__body > .bc4-links {
	margin-top: 1.25rem;
}

@media (min-width: 900px) {
	.bc4-partner {
		grid-template-columns: var(--bc3-grid);
	}

	.bc4-partner__logo { grid-column: 1 / 4; }
	.bc4-partner__body { grid-column: 5 / 13; }
}

/* Lists: filters, news cards, result rows -------------------------------- */

.bc4-filters ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 var(--wp--preset--spacing--50);
	padding: 0;
	list-style: none;
}

.bc4-chip {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0 1.125rem;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--bc3-rule);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.bc4-chip:hover {
	background: var(--wp--preset--color--paper);
}

.bc4-chip.is-current {
	background: var(--wp--preset--color--deep);
	box-shadow: none;
	color: var(--wp--preset--color--paper);
}

.bc4-tag {
	display: inline-block;
	padding: 0.5rem 0.8125rem;
	background: var(--wp--preset--color--sun);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1;
	color: var(--wp--preset--color--deep);
}

.bc4-tag--quiet {
	background: var(--bc4-pale);
	color: var(--wp--preset--color--forest);
}

.bc4-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2.5rem, 2rem + 1.5vw, 3.5rem) var(--bc3-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc4-card {
	position: relative;
	margin: 0;
}

.bc4-card__media {
	position: relative;
	isolation: isolate;
	display: block;
	overflow: hidden;
	aspect-ratio: 6 / 5;
	background: var(--bc4-pale);
	border-radius: var(--bc3-radius-sm);
}

.bc4-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.88) contrast(1.04);
}

.bc4-card__media:not(.bc4-card__media--empty)::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(20 101 68 / 0) 40%, rgb(12 59 40 / 0.28) 100%), rgb(20 101 68 / 0.16);
	mix-blend-mode: multiply;
	pointer-events: none;
	content: "";
}

.bc4-card__media--empty {
	display: grid;
	place-items: center;
}

.bc4-mark {
	fill: var(--wp--preset--color--forest);
}

.bc4-card__media--empty .bc4-mark {
	width: 28%;
	opacity: 0.45;
}

@media (prefers-reduced-motion: no-preference) {
	.bc4-card__img {
		transition: transform 0.9s var(--bc3-ease);
	}

	.bc4-card:hover .bc4-card__img,
	.bc4-card:focus-within .bc4-card__img {
		transform: scale(1.04);
	}
}

.bc4-card__cats {
	position: absolute;
	top: 0.875rem;
	left: 0.875rem;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin: 0;
}

.bc4-card__date {
	margin: 1rem 0 0;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.bc-v2 .bc4-card__title {
	margin: 0.375rem 0 0;
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.015em;
}

.bc4-card__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

/* The whole card is the link target */
.bc4-card__title a::after {
	position: absolute;
	inset: 0;
	z-index: 2;
	content: "";
}

.bc4-card:hover .bc4-card__title a {
	text-decoration: underline;
}

.bc4-card__title a:focus-visible {
	outline: none;
}

.bc4-card:has(.bc4-card__title a:focus-visible) {
	outline: 2px solid var(--wp--preset--color--forest);
	outline-offset: 6px;
	border-radius: var(--bc3-radius-sm);
}

.bc4-card__excerpt {
	display: -webkit-box;
	margin: 0.5rem 0 0;
	overflow: hidden;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--wp--preset--color--muted);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.bc4-pagination {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 1rem;
	align-items: center;
	margin-top: var(--wp--preset--spacing--60);
	padding-top: 1.25rem;
	border-top: 1px solid var(--bc3-rule);
	font-size: 0.9375rem;
}

.bc4-pagination a {
	font-weight: 500;
	color: var(--wp--preset--color--deep);
	text-decoration: none;
}

.bc4-pagination a:hover {
	text-decoration: underline;
}

.bc4-pagination > :last-child {
	justify-self: end;
}

.bc4-pagination__count {
	color: var(--wp--preset--color--muted);
}

.bc4-rows {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--bc3-rule);
	list-style: none;
}

.bc4-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.5rem 2rem;
	align-items: center;
	margin: 0;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--bc3-rule);
}

.bc4-row__meta {
	display: flex;
	flex-wrap: wrap;
	grid-column: 1;
	gap: 0.5rem 0.875rem;
	align-items: center;
	margin: 0;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.bc-v2 .bc4-row__title {
	grid-column: 1;
	margin: 0;
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.015em;
}

.bc4-row__action {
	display: inline-flex;
	grid-column: 2;
	grid-row: 1 / span 2;
	gap: 0.625rem;
	align-items: center;
	min-height: 2.75rem;
	padding: 0 1.25rem;
	background: var(--wp--preset--color--deep);
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--wp--preset--color--paper);
	text-decoration: none;
	transition: background-color 0.25s;
}

.bc4-row__action:hover,
.bc4-row__action:focus-visible {
	background: var(--wp--preset--color--forest);
	color: var(--wp--preset--color--paper);
}

.bc4-row__action::before {
	flex: none;
	width: 1rem;
	height: 1rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8bc02' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m-4.5-4.5L12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E") center / contain no-repeat;
	content: "";
}

.bc4-row__action.is-external::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8bc02' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
}

.bc4-row__note {
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--bc3-soft);
}

.bc4-empty {
	display: grid;
	gap: 0.5rem;
	justify-items: start;
	padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
	background: var(--wp--preset--color--paper);
	border-radius: var(--bc3-radius);
}

.bc4-empty > * {
	margin: 0;
}

.bc4-empty .bc4-mark {
	width: 2.75rem;
	margin-bottom: 0.75rem;
}

.bc4-empty__title {
	font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.bc4-empty__text {
	max-width: 36rem;
	color: var(--wp--preset--color--muted);
}

/* A list or a row of cards under a section heading */
.bc4-under {
	margin: var(--wp--preset--spacing--60) 0 0;
}

.bc4-under > * {
	margin: 0;
}

.bc4-under > * + * {
	margin-top: var(--wp--preset--spacing--50);
}

.bc-inner .bc3-row > .bc4-text {
	max-width: 44rem;
	margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

.bc-inner .bc3-row > .bc4-text + .bc4-checks {
	margin-bottom: 0;
}

/* Article ---------------------------------------------------------------- */

.bc4-article {
	padding: 0 var(--bc3-side);
}

.bc4-article > * {
	margin-block: 0;
	margin-inline: auto;
}

.bc-v2 .bc4-article__image {
	max-width: 68rem;
	margin-top: var(--wp--preset--spacing--50);
	overflow: hidden;
	border-radius: var(--bc3-radius);
}

.bc4-article__image img {
	display: block;
	width: 100%;
	height: auto;
}

.bc4-prose {
	max-width: 44rem;
	margin-top: var(--wp--preset--spacing--60);
	font-size: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem);
	line-height: 1.7;
}

.bc4-prose > * {
	margin-block: 0;
}

.bc4-prose > * + * {
	margin-top: 1.25em;
}

.bc-v2 .bc4-prose h2 {
	margin-top: 2.25em;
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.bc-v2 .bc4-prose h3 {
	margin-top: 2em;
	font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
	font-weight: 600;
	line-height: 1.3;
}

.bc4-prose a:not(.wp-element-button) {
	color: var(--wp--preset--color--forest);
	text-decoration: underline;
}

.bc4-prose a:not(.wp-element-button):hover {
	color: var(--wp--preset--color--deep);
}

.bc4-prose ul,
.bc4-prose ol {
	padding-left: 1.3em;
}

.bc4-prose li + li {
	margin-top: 0.375rem;
}

.bc4-prose li::marker {
	color: var(--wp--preset--color--forest);
}

.bc4-prose .wp-block-image img,
.bc4-prose .wp-block-video video,
.bc4-prose .wp-block-embed iframe {
	border-radius: var(--bc3-radius-sm);
}

/* Galleries in articles: one photo per row on phones (core keeps two) */
@media (max-width: 599px) {
	.bc4-prose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		width: 100%;
	}
}

.bc4-prose figcaption {
	margin-top: 0.625rem;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.bc4-prose blockquote {
	margin-inline: 0;
	padding-left: 1.25rem;
	border-left: 3px solid var(--wp--preset--color--sun);
	font-size: 1.125em;
	font-weight: 300;
}

.bc4-prose .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	background: var(--wp--preset--color--paper);
	border-radius: var(--bc3-radius-sm);
	font-size: 1rem;
}

.bc4-prose .wp-block-file a:not(.wp-element-button) {
	font-weight: 500;
	text-decoration: none;
}

.bc4-prose .wp-block-file .wp-element-button {
	margin: 0;
}

.bc4-prose .wp-block-buttons {
	margin-top: 2rem;
}

/* Share links under an article: plain links, no third-party scripts */

.bc4-share {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	align-items: center;
	max-width: 44rem;
	margin-top: var(--wp--preset--spacing--60);
}

.bc4-share__label {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--wp--preset--color--forest);
}

.bc4-share__label::before {
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	background: var(--wp--preset--color--sun);
	border-radius: 50%;
	content: "";
}

.bc4-share ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc4-share a,
.bc4-share button {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--bc3-rule);
	color: var(--wp--preset--color--forest);
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.bc4-share a:hover,
.bc4-share a:focus-visible,
.bc4-share button:hover,
.bc4-share button:focus-visible {
	background: var(--wp--preset--color--forest);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--forest);
	color: var(--wp--preset--color--white);
}

.bc4-share svg {
	width: 1.0625rem;
	height: 1.0625rem;
	fill: currentColor;
}

.bc4-share svg.is-line {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bc4-share__done {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.bc4-share + .bc4-article__foot {
	margin-top: 1.75rem;
}

.bc4-article__foot {
	gap: 1rem 2rem;
	align-items: center;
	max-width: 44rem;
	margin-top: var(--wp--preset--spacing--60);
	padding-top: 1.5rem;
	border-top: 1px solid var(--bc3-rule);
}

.bc4-article__foot > *,
.bc4-article__nav > * {
	margin: 0;
}

.bc4-article__nav {
	gap: 0.5rem 1.5rem;
}

/* Text-only pages (Legal Notice, Privacy Notice): the article column */
.bc4-plain {
	padding-inline: var(--bc3-side);
}

.bc4-plain > .bc4-prose {
	margin-inline: auto;
}

/* Contents list of a legal page, and its sections clear of the fixed header */
.bc4-prose .bc4-toc {
	padding-left: 0;
	list-style: none;
}

.bc4-prose h2[id] {
	scroll-margin-top: 6rem;
}

/* Long e-mail addresses and URLs wrap instead of overflowing on phones */
.bc4-prose a {
	overflow-wrap: anywhere;
}

/* The right to object stands apart in its own box (GDPR Art. 21(4)) */
.bc4-prose .bc4-box {
	padding: clamp(1.25rem, 0.9rem + 1.2vw, 2rem);
	background: var(--wp--preset--color--paper);
	border-radius: var(--bc3-radius-sm);
}

.bc-v2 .bc4-prose .bc4-box > * {
	margin-block: 0;
}

.bc-v2 .bc4-prose .bc4-box > * + * {
	margin-top: 1.25em;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1199px) {
	.bc4-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1079px) {
	.bc4-impact,
	.bc4-projects,
	.bc4-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 899px) {
	.bc4-split__media img {
		aspect-ratio: 3 / 2;
	}

	/* A map or diagram reads better after its heading */
	.bc4-split__media.is-graphic {
		order: 2;
	}

	.bc4-partner__logo {
		justify-self: start;
		width: min(100%, 16rem);
	}
}

@media (max-width: 599px) {
	.bc4-impact,
	.bc4-projects,
	.bc4-cards,
	.bc4-benefits,
	.bc-v2 .bc4-checks {
		grid-template-columns: 100%;
	}

	.bc4-project {
		min-height: 0;
	}

	.bc4-row {
		grid-template-columns: 100%;
	}

	.bc4-row__action {
		grid-column: 1;
		grid-row: auto;
		justify-self: start;
		margin-top: 0.5rem;
	}

	.bc4-pagination {
		grid-template-columns: 1fr 1fr;
	}

	.bc4-pagination__count {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: center;
	}

	.bc4-article__foot .wp-block-button,
	.bc4-article__foot .wp-block-button__link {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bc4-impact summary::after,
	.bc4-faq summary::after,
	.bc4-map__row > summary::after {
		transition: none;
	}
}

/* A row that opens a section needs no extra space above it */
.bc-inner .bc3-section > .bc3-row:first-child {
	margin-top: 0;
}
