/* PAGE-5: page title with a picture at the side. */

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

.wprk-page-5 .wprk-page-5__cols {
	gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60);
	margin-block: 0;
}

.wprk-page-5 .wprk-page-5__inner > * {
	margin-block: 0;
}

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

.wprk-page-5 .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-5 .wprk-page-5__inner > .wp-block-breadcrumbs {
	margin-block: calc((1.6em - 2.75rem) / 2);
}

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

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

.wprk-page-5 :where(h1) {
	font-size: var(--wp--preset--font-size--huge);
	line-height: 1.12;
	max-width: 14em;
}

.wprk-page-5 .wprk-page-5__inner > .wprk-lead {
	margin-block-start: var(--wp--preset--spacing--30);
	max-width: 34rem;
}

.wprk-page-5 .wprk-page-5__image {
	margin: 0;
}

.wprk-page-5 .wprk-page-5__image img {
	width: 100%;
}

/* Without a picture the words take the whole width. */
.wprk-page-5 .wprk-page-5__cols > .wprk-page-5__inner:only-child {
	flex-basis: 100% !important;
}

/* Small screens: the picture under the words, wider than it is tall. */
@media (max-width: 781px) {
	.wprk-page-5 .wprk-page-5__image img {
		aspect-ratio: 16 / 9 !important;
	}
}
