/* Christmas / New Year hero on the home page (inc/tprs-festive.php, tprs_festive_home_hero). Temporary, until 6 Jan 2027. */
.tprs-xhero {
	--x-pine: #1d382d;
	--x-pine-2: #24453a;
	--x-cream: #f4ecdf;
	--x-gold: #cfae72;
	position: relative;
	overflow: hidden;
	color: var(--x-cream);
	background:
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 1.5px) 0 0 / 34px 34px,
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 1.5px) 17px 17px / 34px 34px,
		radial-gradient(120% 90% at 85% 40%, var(--x-pine-2), var(--x-pine) 70%);
}
.tprs-xhero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(28px, 4vw, 72px);
	max-width: var(--tprs-wrap, 1680px);
	min-height: clamp(520px, 64vh, 680px);
	margin: 0 auto;
	padding-block: clamp(40px, 5vw, 72px);
	padding-left: max(var(--tprs-gutter, 24px), env(safe-area-inset-left, 0px));
	padding-right: max(var(--tprs-gutter, 24px), env(safe-area-inset-right, 0px));
}
.tprs-xhero__eyebrow {
	margin: 0 0 16px;
	font-family: var(--tprs-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--x-gold);
}
.tprs-xhero h1.tprs-xhero__title {
	margin: 0 0 20px;
	font-family: var(--tprs-serif) !important;
	font-size: clamp(56px, 7.2vw, 112px) !important;
	font-weight: 400 !important;
	line-height: .92;
	letter-spacing: -.01em;
	color: #fff !important;
	text-wrap: balance;
}
.tprs-xhero__title em {
	font-style: italic;
	color: var(--x-gold);
}
.tprs-xhero__text {
	max-width: 42ch;
	margin: 0 0 30px;
	font-size: 17px;
	line-height: 1.6;
	color: #e3d9c6;
}
.tprs-xhero__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.tprs-xhero a.tprs-xhero__btn {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 28px;
	border: 1px solid var(--x-cream);
	border-radius: 999px;
	background: var(--x-cream);
	color: var(--x-pine);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.tprs-xhero a.tprs-xhero__btn:hover {
	background: #fff;
	color: var(--x-pine);
}
.tprs-xhero a.tprs-xhero__btn--ghost {
	background: transparent;
	color: var(--x-cream);
}
.tprs-xhero a.tprs-xhero__btn--ghost:hover {
	background: var(--x-cream);
	color: var(--x-pine);
}
.tprs-xhero__notes {
	margin: 26px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: #cdbf9f;
}
.tprs-xhero__notes b {
	color: #fff;
	font-weight: 600;
}

/* collage: one big room photo, two smaller ones overlapping its edges, like prints laid on a table */
.tprs-xhero__art {
	position: relative;
	aspect-ratio: 1.12;
	max-height: 560px;
	width: 100%;
	justify-self: center;
}
.tprs-xhero__photo {
	position: absolute;
	display: block;
	overflow: hidden;
	background: var(--x-pine-2);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
	outline: 6px solid var(--x-cream);
	outline-offset: -1px;
}
.tprs-xhero__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.tprs-xhero__photo--1 {
	top: 6%;
	left: 14%;
	width: 62%;
	aspect-ratio: 1;
	z-index: 1;
}
.tprs-xhero__photo--2 {
	top: 0;
	right: 0;
	width: 32%;
	aspect-ratio: 1;
	z-index: 2;
}
.tprs-xhero__photo--3 {
	bottom: 0;
	left: 0;
	width: 36%;
	aspect-ratio: 1;
	z-index: 2;
}

@media (max-width: 900px) {
	.tprs-xhero__inner {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-block: 32px 44px;
	}
	.tprs-xhero__art {
		order: -1;
		max-width: 520px;
		max-height: none;
	}
}
@media (max-width: 767px) {
	.tprs-xhero h1.tprs-xhero__title {
		font-size: clamp(48px, 14vw, 64px) !important;
	}
	.tprs-xhero__text {
		font-size: 16px;
	}
	.tprs-xhero__photo {
		outline-width: 4px;
	}
	.tprs-xhero__btns a.tprs-xhero__btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}

/* ---- 'photo' design: one full-width room photo, text on its calm left side (like the collection hero) */
.tprs-xhero--photo {
	--x-wall: #f1e9de;
	color: var(--tprs-ink);
	background: var(--x-wall);
}
.tprs-xhero--photo .tprs-xhero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 70% 22%;
}
.tprs-xhero--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(241, 233, 222, .94) 0%, rgba(241, 233, 222, .82) 28%, rgba(241, 233, 222, 0) 52%);
	pointer-events: none;
}
.tprs-xhero--photo .tprs-xhero__inner {
	position: relative;
	z-index: 2;
	grid-template-columns: minmax(0, 520px);
	min-height: clamp(520px, 62vh, 660px);
}
.tprs-xhero--photo .tprs-xhero__eyebrow { color: #6d1f2b; }
.tprs-xhero--photo h1.tprs-xhero__title { color: var(--tprs-ink) !important; }
.tprs-xhero--photo .tprs-xhero__title em { color: #1d382d; }
.tprs-xhero--photo .tprs-xhero__text { color: var(--tprs-ink-soft); }
.tprs-xhero--photo .tprs-xhero__notes { color: var(--tprs-ink-soft); }
.tprs-xhero--photo .tprs-xhero__notes b { color: #6d1f2b; }
.tprs-xhero--photo a.tprs-xhero__btn { background: var(--tprs-ink); border-color: var(--tprs-ink); color: #fff; }
.tprs-xhero--photo a.tprs-xhero__btn:hover { background: #000; color: #fff; }
.tprs-xhero--photo a.tprs-xhero__btn--ghost { background: transparent; color: var(--tprs-ink); }
.tprs-xhero--photo a.tprs-xhero__btn--ghost:hover { background: var(--tprs-ink); color: #fff; }

@media (max-width: 767px) {
	/* phones: the photo on top as a square, the text below on the wall colour */
	.tprs-xhero--photo { display: flex; flex-direction: column; }
	.tprs-xhero--photo .tprs-xhero__bg { position: relative; inset: auto; height: auto; aspect-ratio: 1; object-position: 62% 30%; }
	.tprs-xhero--photo::before { display: none; }
	.tprs-xhero--photo .tprs-xhero__inner { min-height: 0; grid-template-columns: 1fr; padding-block: 28px 40px; }
}
@media (min-width: 768px) {
	/* desktop: the photo fills the right two-thirds; its left edge fades into the wall colour under the text */
	.tprs-xhero--photo .tprs-xhero__bg { left: auto; right: 0; width: 66%; object-position: 50% 30%; }
	.tprs-xhero--photo::before { background: linear-gradient(90deg, var(--x-wall) 0%, var(--x-wall) 37%, rgba(241, 233, 222, .7) 45%, rgba(241, 233, 222, .25) 52%, rgba(241, 233, 222, 0) 60%); }
}

/* ---- 'room' design (Kosta's pick): the green panel, copy on the left, one living-room gallery wall
   filling the right half to the edges */
.tprs-xhero--room .tprs-xhero__bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 50%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 30%;
}
.tprs-xhero--room .tprs-xhero__inner {
	position: relative;
	z-index: 1;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.tprs-xhero--room .tprs-xhero__copy {
	padding-right: clamp(16px, 3vw, 48px);
}
@media (max-width: 767px) {
	.tprs-xhero--room { display: flex; flex-direction: column; }
	.tprs-xhero--room .tprs-xhero__bg { position: relative; width: 100%; height: auto; aspect-ratio: 1; }
	.tprs-xhero--room .tprs-xhero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 30px 42px; }
}
