/* TEXT-4: statement. One large centred sentence under a short accent rule. */

.wprk-text-4 .wprk-text-4__inner {
	text-align: center;
}

/* A short accent rule above the statement. */
.wprk-text-4 .wprk-text-4__inner::before {
	background-color: var(--wprk-accent);
	content: "";
	display: block;
	height: 2px;
	margin-block-end: var(--wp--preset--spacing--40);
	margin-inline: auto;
	width: 3rem;
}

.wprk-text-4 .wprk-text-4__inner > * {
	margin-block: 0;
	margin-inline: auto;
}

.wprk-text-4 .wprk-text-4__inner > * + * {
	margin-block-start: var(--wp--preset--spacing--40);
}

/*
 * The statement is set between the size of a section heading and that of a
 * hero heading, and kept to a measure of 22em.
 */
.wprk-text-4 .wprk-text-4__inner > .wp-block-heading {
	font-size: calc((var(--wp--preset--font-size--xx-large) + var(--wp--preset--font-size--huge)) / 2);
	line-height: 1.2;
	max-width: 22em;
}

.wprk-text-4 .wprk-text-4__inner > .wprk-lead {
	max-width: 38rem;
	text-wrap: balance;
}

/*
 * The link is centred by the block's own setting. This is the fallback for a
 * row without one. It has no weight, so a justification chosen in the editor wins.
 */
:where(.wprk-text-4 .wp-block-buttons) {
	justify-content: center;
}

.wprk-text-4 .wprk-text-4__inner > .wp-block-buttons {
	margin-block-start: var(--wp--preset--spacing--30);
}
