.rp-ph-page {
	--rp-red: #e31e23;
	--rp-red-dark: #bd171b;
	--rp-blue: #0f5f84;
	--rp-ink: #18191b;
	--rp-muted: #5d5d5e;
	--rp-line: #e2e4e7;
	--rp-soft: #f5f6f7;
	color: var(--rp-ink);
	overflow-x: hidden;
}

.rp-ph-page *,
.rp-ph-related * {
	box-sizing: border-box;
}

.rp-ph-wrap {
	width: min(1180px, calc(100% - 44px));
	margin: 0 auto;
}

.rp-ph-editor-content > :where(p, h2, h3, h4, ul, ol, blockquote, figure, .wp-block-image, .wp-block-buttons) {
	width: min(860px, calc(100% - 44px));
	margin-left: auto;
	margin-right: auto;
}

.rp-ph-editor-content > :where(p, ul, ol) {
	color: var(--rp-muted);
	font-size: 17px;
	line-height: 1.66;
}

.rp-ph-editor-content > :where(h2, h3, h4) {
	color: var(--rp-ink);
	font-weight: 800;
	letter-spacing: 0;
}

.rp-ph-kicker {
	margin: 0 0 10px;
	color: var(--rp-red);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: uppercase;
}

.rp-ph-hero {
	position: relative;
	min-height: 650px;
	display: flex;
	align-items: flex-end;
	isolation: isolate;
	background: #111417;
}

.rp-ph-hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.rp-ph-hero-shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .78)),
		linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08) 64%);
}

.rp-ph-hero-content {
	padding: 190px 0 84px;
}

.rp-ph-hero-content h1,
.rp-ph-archive-hero h1 {
	max-width: 900px;
	margin: 0 0 18px;
	color: #fff;
	font-size: 58px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0;
	text-wrap: balance;
}

.rp-ph-hero-content p:not(.rp-ph-kicker),
.rp-ph-archive-hero p {
	max-width: 760px;
	margin: 0;
	color: #fff;
	font-size: 20px;
	line-height: 1.6;
}

.rp-ph-overview,
.rp-ph-story,
.rp-ph-gallery-section,
.rp-ph-archive-list,
.rp-ph-related {
	padding: 74px 0;
	background: #fff;
}

.rp-ph-overview-grid,
.rp-ph-story-grid,
.rp-ph-cta-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
	gap: 44px;
	align-items: center;
}

.rp-ph-overview h2,
.rp-ph-story h2,
.rp-ph-section-head h2,
.rp-ph-cta h2 {
	margin: 0 0 16px;
	color: var(--rp-ink);
	font-size: 38px;
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: 0;
	text-wrap: balance;
}

.rp-ph-overview p,
.rp-ph-story p,
.rp-ph-section-head p,
.rp-ph-cta p {
	margin: 0 0 16px;
	color: var(--rp-muted);
	font-size: 17px;
	line-height: 1.66;
}

.rp-ph-facts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	border: 1px solid var(--rp-line);
	border-radius: 8px;
	overflow: hidden;
	background: var(--rp-line);
}

.rp-ph-facts div {
	padding: 18px 20px;
	background: #fff;
}

.rp-ph-facts span,
.rp-ph-card small {
	display: block;
	margin-bottom: 5px;
	color: var(--rp-muted);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
	text-transform: uppercase;
}

.rp-ph-facts strong {
	display: block;
	color: var(--rp-ink);
	font-size: 17px;
	line-height: 1.35;
}

.rp-ph-band {
	padding: 72px 0;
	background: var(--rp-soft);
}

.rp-ph-section-head {
	max-width: 780px;
	margin: 0 0 30px;
}

.rp-ph-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.rp-ph-feature-grid article {
	min-height: 210px;
	padding: 24px;
	border-top: 4px solid var(--rp-red);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
}

.rp-ph-feature-grid h3 {
	margin: 0 0 10px;
	color: var(--rp-ink);
	font-size: 21px;
	line-height: 1.2;
	letter-spacing: 0;
}

.rp-ph-feature-grid p {
	margin: 0;
	color: var(--rp-muted);
	font-size: 15px;
	line-height: 1.58;
}

.rp-ph-story:nth-of-type(odd) {
	background: #fff;
}

.rp-ph-story:nth-of-type(even) {
	background: #fbfbfc;
}

.rp-ph-story-image-left .rp-ph-story-copy {
	order: 2;
}

.rp-ph-story-image-left .rp-ph-photo-frame {
	order: 1;
}

.rp-ph-story-text-only .rp-ph-story-grid {
	grid-template-columns: minmax(0, 840px);
	justify-content: center;
}

.rp-ph-photo-frame {
	position: relative;
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #111417;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.rp-ph-photo-frame img {
	display: block;
	width: 100%;
	min-height: 390px;
	object-fit: cover;
}

.rp-ph-photo-frame figcaption {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	padding: 13px 15px;
	border-left: 4px solid var(--rp-red);
	background: rgba(0, 0, 0, .76);
	color: #fff;
	font-size: 14px;
	line-height: 1.45;
}

.rp-ph-before-after {
	--rp-ba-position: 50%;
}

.rp-ph-before-after-stage {
	position: relative;
	aspect-ratio: 4 / 5;
	min-height: 390px;
	overflow: hidden;
	background: #111417;
}

.rp-ph-before-after .rp-ph-ba-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	pointer-events: none;
	user-select: none;
}

.rp-ph-ba-before-wrap {
	position: absolute;
	inset: 0;
	clip-path: inset(0 calc(100% - var(--rp-ba-position)) 0 0);
	z-index: 2;
}

.rp-ph-ba-label {
	position: absolute;
	top: 14px;
	z-index: 4;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(17, 20, 23, .82);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .04em;
	pointer-events: none;
}

.rp-ph-ba-label-before {
	left: 14px;
}

.rp-ph-ba-label-after {
	right: 14px;
}

.rp-ph-ba-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--rp-ba-position);
	z-index: 3;
	width: 3px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
	transform: translateX(-50%);
	pointer-events: none;
}

.rp-ph-ba-handle span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 42px;
	height: 42px;
	border: 2px solid rgba(255, 255, 255, .96);
	border-radius: 50%;
	background: rgba(17, 20, 23, .82);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
	transform: translate(-50%, -50%);
}

.rp-ph-ba-handle span::before,
.rp-ph-ba-handle span::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 8px;
	height: 8px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
}

.rp-ph-ba-handle span::before {
	left: 11px;
	transform: translateY(-50%) rotate(-45deg);
}

.rp-ph-ba-handle span::after {
	right: 11px;
	transform: translateY(-50%) rotate(135deg);
}

.rp-ph-ba-range {
	position: absolute;
	inset: 0;
	z-index: 6;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	cursor: ew-resize;
	opacity: 0;
}

.rp-ph-before-after figcaption {
	z-index: 5;
}

.rp-ph-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.rp-ph-gallery figure {
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
	background: var(--rp-soft);
}

.rp-ph-gallery img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.rp-ph-gallery figcaption {
	padding: 13px 15px 15px;
	color: var(--rp-muted);
	font-size: 14px;
	line-height: 1.45;
}

.rp-ph-testimonial {
	padding: 74px 0;
	background: #111417;
	color: #fff;
}

.rp-ph-testimonial .rp-ph-section-head {
	margin-bottom: 26px;
}

.rp-ph-testimonial .rp-ph-section-head h2,
.rp-ph-testimonial .rp-ph-section-head p:not(.rp-ph-kicker) {
	color: #fff;
}

.rp-ph-testimonial blockquote {
	max-width: 960px;
	margin: 0;
	padding: 26px 30px;
	border-left: 5px solid var(--rp-red);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

.rp-ph-testimonial p {
	margin: 0 0 18px;
	color: #fff;
	font-size: 25px;
	line-height: 1.48;
}

.rp-ph-testimonial blockquote p {
	color: var(--rp-ink);
}

.rp-ph-testimonial-source {
	color: var(--rp-red);
	display: block;
	font-size: .82rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: .08em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.rp-ph-testimonial cite {
	color: #fff;
	font-size: 16px;
	font-style: normal;
	font-weight: 800;
}

.rp-ph-testimonial blockquote cite {
	color: var(--rp-ink);
}

.rp-ph-cta {
	padding: 70px 0;
	background:
		linear-gradient(100deg, rgba(227, 30, 35, .35), rgba(227, 30, 35, .08) 42%, transparent),
		#f2f4f5;
}

.rp-ph-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: end;
	min-height: 52px;
	padding: 14px 22px;
	border-radius: 5px;
	background: var(--rp-red);
	color: #fff !important;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 12px 26px rgba(0, 0, 0, .16);
	transition: background-color .18s ease, transform .18s ease;
}

.rp-ph-button:hover,
.rp-ph-button:focus {
	background: var(--rp-red-dark);
	color: #fff !important;
	transform: translateY(-2px);
}

.rp-ph-archive-hero {
	padding: 170px 0 86px;
	background:
		linear-gradient(115deg, rgba(17, 20, 23, .96), rgba(17, 20, 23, .78)),
		linear-gradient(90deg, var(--rp-red), var(--rp-blue));
	color: #fff;
}

.rp-ph-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.rp-ph-card {
	border: 1px solid var(--rp-line);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
}

.rp-ph-card-link {
	display: block;
	height: 100%;
	color: inherit !important;
	text-decoration: none !important;
}

.rp-ph-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.rp-ph-card-body {
	display: block;
	padding: 22px;
}

.rp-ph-card strong {
	display: block;
	margin: 0 0 9px;
	color: var(--rp-ink);
	font-size: 21px;
	line-height: 1.2;
}

.rp-ph-card span:not(.rp-ph-card-body):not(.rp-ph-kicker),
.rp-ph-empty {
	display: block;
	color: var(--rp-muted);
	font-size: 15px;
	line-height: 1.55;
}

.rp-ph-card small {
	margin: 14px 0 0;
	color: var(--rp-red);
}

.rp-ph-related {
	background: var(--rp-soft);
}

@media (max-width: 980px) {
	.rp-ph-hero {
		min-height: 560px;
	}

	.rp-ph-hero-content h1,
	.rp-ph-archive-hero h1 {
		font-size: 44px;
	}

	.rp-ph-overview-grid,
	.rp-ph-story-grid,
	.rp-ph-cta-grid {
		grid-template-columns: 1fr;
	}

	.rp-ph-feature-grid,
	.rp-ph-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rp-ph-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rp-ph-story-image-left .rp-ph-story-copy,
	.rp-ph-story-image-left .rp-ph-photo-frame {
		order: initial;
	}

	.rp-ph-button {
		justify-self: start;
	}
}

@media (max-width: 640px) {
	.rp-ph-wrap {
		width: min(100% - 32px, 1180px);
	}

	.rp-ph-hero {
		min-height: 520px;
	}

	.rp-ph-hero-content {
		padding: 150px 0 54px;
	}

	.rp-ph-hero-content h1,
	.rp-ph-archive-hero h1 {
		font-size: 34px;
	}

	.rp-ph-hero-content p:not(.rp-ph-kicker),
	.rp-ph-archive-hero p {
		font-size: 17px;
	}

	.rp-ph-overview,
	.rp-ph-story,
	.rp-ph-gallery-section,
	.rp-ph-archive-list,
	.rp-ph-related,
	.rp-ph-band,
	.rp-ph-testimonial,
	.rp-ph-cta {
		padding: 52px 0;
	}

	.rp-ph-overview h2,
	.rp-ph-story h2,
	.rp-ph-section-head h2,
	.rp-ph-cta h2 {
		font-size: 30px;
	}

	.rp-ph-feature-grid,
	.rp-ph-card-grid,
	.rp-ph-gallery {
		grid-template-columns: 1fr;
	}

	.rp-ph-photo-frame img {
		min-height: 280px;
	}

	.rp-ph-testimonial p {
		font-size: 20px;
	}
}
