/**
 * The two v1 modules still in use as patterns: p5e/home-about and
 * p5e/home-team (Figma page "UI", AboutIntro), until the v2 blocks replace
 * them. Their old tokens are aliased here; delete this file with them.
 */

body {
	--p5e-neutral-100: #eef0f2;
	--p5e-neutral-700: #39434c;
	--p5e-neutral-900: #12181d;
	--p5e-green-100: #abd4a7;
	--p5e-green-300: #6ab77b;
	--p5e-orange-100: #fbc5a4;
	--p5e-highlight: var(--p5e-green-300);
	--p5e-quote: var(--p5e-green-100);
}

body.p5e-seg-regioes {
	--p5e-highlight: #f5a26e;
	--p5e-quote: var(--p5e-orange-100);
}

.p5e-section {
	border-radius: 32px;
}

.p5e-section h2 {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--p5e-neutral-900);
}

.p5e-eyebrow {
	display: inline-block;
	width: fit-content;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--p5e-neutral-100);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24px;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--p5e-ink);
}

.p5e-about .wp-block-column {
	display: flex;
	flex-direction: column;
}

.p5e-about .wp-block-column > * {
	margin-block: 0;
}

/* Text and image (Figma: AboutIntro, both variants). */
.p5e-about {
	padding: 96px 64px;
	background: #fff;
}

.p5e-about .wp-block-columns {
	gap: 40px;
	margin: 0;
}

.p5e-about .wp-block-column {
	gap: 40px;
}

.p5e-about.is-reverse .wp-block-column {
	gap: 16px;
}

.p5e-about h2 {
	font-size: 40px;
	font-weight: 900;
	line-height: 1.1;
	color: var(--p5e-ink);
}

.p5e-about p:not([class]) {
	color: var(--p5e-text-2);
}

.p5e-about__media {
	margin: 0;
}

.p5e-about__media img {
	width: 100%;
	height: 562px;
	border-radius: 24px;
	object-fit: cover;
}

.p5e-about__media.is-short img {
	height: 400px;
}

.p5e-quote {
	padding: 20px;
	border-radius: 20px;
	background: var(--p5e-quote);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.p5e-underline.wp-block-separator {
	width: 64px;
	height: 5px;
	margin: 0;
	border: 0;
	border-radius: 3px;
	background: var(--p5e-highlight);
	opacity: 1;
}

.p5e-lead {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.p5e-chips {
	gap: 16px;
}

.p5e-chip {
	flex: 1;
	margin: 0;
	padding: 16px 20px;
	border-radius: 16px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--p5e-neutral-700);
}

.p5e-chip strong {
	font-size: 22px;
	color: var(--p5e-neutral-900);
}

.p5e-chip.is-green {
	background: var(--p5e-green-100);
}

.p5e-chip.is-orange {
	background: var(--p5e-orange-100);
}


@media (max-width: 781px) {
	.p5e-about {
		padding: 32px 20px;
	}

	.p5e-about h2 {
		font-size: 30px;
	}

	.p5e-about__media img,
	.p5e-about__media.is-short img {
		height: auto;
		aspect-ratio: 4 / 3;
	}
}
