/* PAGE-4: centred page title. Everything on the centre line, with a short rule under the title. */

.wprk-page-4.wprk-section {
	padding-block: var(--wp--preset--spacing--60);
}

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

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

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

.wprk-page-4 .wp-block-breadcrumbs {
	color: var(--wprk-muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

/*
 * Every crumb is a tap target 2.75rem high. The negative margin gives the
 * extra height back, so the crumbs take the room of one line of small text.
 */
.wprk-page-4 .wprk-page-4__inner > .wp-block-breadcrumbs {
	margin-block: calc((1.6em - 2.75rem) / 2);
}

.wprk-page-4 .wp-block-breadcrumbs :where(li) {
	min-height: 2.75rem;
}

.wprk-page-4 .wp-block-breadcrumbs :where(a) {
	align-items: center;
	align-self: stretch;
	display: flex;
}

.wprk-page-4 .wp-block-breadcrumbs :where(ol) {
	justify-content: center;
}

.wprk-page-4 :where(h1) {
	font-size: var(--wp--preset--font-size--huge);
	line-height: 1.12;
	max-width: 18em;
	text-wrap: balance;
}

/* The rule belongs to the title: it comes and goes with it. */
.wprk-page-4 :where(h1)::after {
	background-color: var(--wprk-accent);
	content: "";
	display: block;
	height: 2px;
	margin: var(--wp--preset--spacing--30) auto 0;
	width: 3rem;
}

.wprk-page-4 .wprk-page-4__inner > .wprk-lead {
	margin-block-start: var(--wp--preset--spacing--30);
	max-width: 38rem;
	text-wrap: balance;
}

.wprk-page-4 .wprk-page-4__inner > .wprk-lead :where(p) {
	margin: 0;
}

/* A search field or a line of facts in the bar of a template keeps to the centre too. */
.wprk-page-4 .wprk-page-4__inner > :where(.wp-block-search) {
	max-width: 32rem;
}

.wprk-page-4 .wprk-page-4__inner :where(.wp-block-post-terms, .wprk-job-facts) {
	justify-content: center;
}
