.ph-howto {
	max-width: 1920px;
	margin-inline: auto;
	color: #5f5f65;
}

.ph-howto__hero {
	position: relative;
	color: #fffcf7;
}

.ph-howto__hero > picture { display: block; }

/* WebP Express may wrap the original image in a picture element. */
.ph-howto__hero img {
	display: block;
	width: 100%;
	height: clamp(300px, calc(500 * var(--u)), 500px);
	object-fit: cover;
	object-position: center 19%;
}

.ph-howto__hero > .ph-crumbs,
.ph-howto__hero > h1 {
	position: absolute;
	left: calc(70 * var(--u));
}

.ph-howto__hero > .ph-crumbs {
	top: calc(154 * var(--u));
	margin: 0;
	color: inherit;
}

.ph-howto__hero > .ph-crumbs :is(a, span[aria-current]) { color: inherit !important; }
.ph-howto__hero > .ph-crumbs i { background-color: currentColor; }

.ph-howto__hero > h1 {
	bottom: calc(56 * var(--u));
	color: inherit;
	font: 700 max(40px, calc(72 * var(--u)))/1 var(--panga-font-family);
	letter-spacing: calc(1.76 * var(--u));
}

.ph-howto__steps {
	display: grid;
	gap: calc(72 * var(--u));
	width: calc(1328 * var(--u));
	margin: clamp(32px, calc(72 * var(--u)), 72px) auto 0;
	font: 400 max(16px, calc(26 * var(--u)))/1.4 var(--panga-font-family);
}

.ph-howto__step {
	display: grid;
	grid-template-columns: minmax(0, 764fr) minmax(0, 500fr);
	gap: calc(64 * var(--u));
	align-items: center;
}

.ph-howto__step:nth-child(even) { grid-template-columns: minmax(0, 500fr) minmax(0, 764fr); }
.ph-howto__step:nth-child(even) > .ph-video { grid-column: 1; grid-row: 1; }
.ph-howto__copy p + p { margin-top: calc(40 * var(--u)); }
.ph-howto__step .ph-video__media { aspect-ratio: 500 / 650; }
.ph-howto__step .ph-play--video {
	top: calc(50% - 20 / 500 * 100cqw);
	width: calc(64 / 500 * 100cqw);
}

@media (max-width: 767px) {
	.ph-howto__hero img {
		height: clamp(250px, 38svh, 300px);
		object-position: 58% 28%;
	}
	.ph-howto__hero::after {
		position: absolute;
		inset: 40% 0 0;
		background: linear-gradient(transparent, #29282eb3);
		content: '';
	}
	.ph-howto__hero > .ph-crumbs, .ph-howto__hero > h1 { z-index: 1; left: 16px; right: 16px; }
	.ph-howto__hero > .ph-crumbs { top: 76px; max-width: 210px; }
	.ph-howto__hero > h1 { bottom: 24px; font-size: clamp(30px, 7.7vw, 48px); }
	.ph-howto__steps { width: calc(100% - 32px); margin-top: 28px; gap: 44px; }
	.ph-howto__step, .ph-howto__step:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.ph-howto__step:nth-child(even) > .ph-video { grid-column: auto; grid-row: auto; }
	.ph-howto__step > .ph-video { width: min(100%, 390px); justify-self: center; }
	.ph-howto__copy p + p { margin-top: 16px; }
}
