/* CTA-1: call to action */

.wprk-cta-1 .wprk-cta-1__inner {
	max-width: 42rem;
	text-align: center;
}

/* A short accent rule above the heading. */
.wprk-cta-1 .wprk-cta-1__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-cta-1 .wprk-cta-1__inner > * {
	margin-block: 0;
}

.wprk-cta-1 .wprk-cta-1__inner > * + * {
	margin-block-start: var(--wp--preset--spacing--30);
}

.wprk-cta-1 .wprk-lead {
	text-wrap: balance;
}

/* Centred unless another justification is chosen for the buttons. */
.wprk-cta-1 :where(.wp-block-buttons) {
	justify-content: center;
}

.wprk-cta-1 .wprk-cta-1__inner > .wp-block-buttons {
	gap: var(--wp--preset--spacing--20);
	margin-block-start: var(--wp--preset--spacing--40);
}
