/* =========================================================
   SEO programme / resource landings (uses front.css tokens)
   ========================================================= */

.tf-page--seo {
	overflow-x: clip;
}

.tf-page-hero--seo {
	position: relative;
	overflow: hidden;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
	min-height: min(48vh, 22rem);
	padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(2.5rem, 5vw, 3.25rem);
}

.tf-page-hero--seo .tf-page-hero__mesh {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 85% 65% at 12% 15%, rgba(6, 0, 0, 0.26), transparent 58%),
		radial-gradient(ellipse 75% 70% at 100% 0%, rgba(27, 58, 42, 0.35), transparent 70%),
		linear-gradient(
			145deg,
			#8f1528 0%,
			#820016 36%,
			#b62c2c 62%,
			#68281f 80%,
			#472315 92%,
			#235430 100%
		);
}

.tf-page-hero--seo .tf-page-hero__inner {
	position: relative;
	z-index: 1;
	width: min(100% - 1.75rem, var(--wrap));
	margin-inline: auto;
	text-align: left;
}

.tf-page-hero--seo .tf-page-hero__inner > * {
	max-width: 42rem;
	margin-left: 0;
	margin-right: auto;
	text-align: left;
}

.tf-page-hero--seo h1 {
	color: #fff;
	font-size: clamp(2rem, 4.6vw, 3rem);
	margin: 0 0 0.75rem;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.tf-page-hero--seo .tf-chip {
	margin-bottom: 0.85rem;
}

.tf-page-hero--seo .tf-lede {
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.08rem;
	line-height: 1.55;
}

.tf-seo-intro {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: center;
}

.tf-page--seo .tf-media {
	margin: 0;
	overflow: hidden;
	border-radius: 1rem;
	background: #1a0a0c;
}

.tf-page--seo .tf-media img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	display: block;
}

.tf-page--seo .tf-section p:not(.tf-kicker) {
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.65;
}

.tf-page--seo .tf-section h2 {
	font-size: clamp(1.65rem, 3vw, 2.15rem);
	margin-bottom: 1rem;
}

.tf-page--seo .tf-checklist {
	margin-top: 1.25rem;
}

.tf-seo-head {
	max-width: 42rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.tf-seo-pillars {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.tf-seo-pillars > li {
	padding: 1.25rem 1.2rem 1.35rem;
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: var(--paper, #fff);
}

.tf-seo-pillars h3 {
	margin: 0 0 0.55rem;
	font-size: 1.12rem;
	letter-spacing: -0.02em;
}

.tf-seo-pillars p {
	margin: 0;
	font-size: 0.98rem !important;
}

.tf-seo-downloads {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.tf-seo-download {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 1.75rem;
	padding: 1.15rem 0;
	border-bottom: 1px solid var(--line);
}

.tf-seo-download__copy {
	min-width: 0;
	flex: 1;
}

.tf-seo-download__meta {
	margin: 0 0 0.25rem;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
}

.tf-seo-download h3 {
	margin: 0 0 0.35rem;
	font-size: 1.12rem;
	letter-spacing: -0.02em;
}

.tf-seo-download p {
	margin: 0;
	font-size: 0.98rem !important;
	color: var(--muted);
}

.tf-seo-download__btn {
	flex-shrink: 0;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.tf-seo-download {
		flex-direction: column;
		align-items: flex-start;
	}

	.tf-seo-download__btn {
		width: 100%;
		text-align: center;
	}
}

.tf-seo-formats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.tf-seo-format {
	padding: 1.35rem 1.3rem 1.5rem;
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: var(--paper, #fff);
}

.tf-seo-format h3 {
	margin: 0.35rem 0 0.75rem;
	font-size: 1.2rem;
	letter-spacing: -0.02em;
}

.tf-seo-offer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 0;
	align-items: stretch;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 1.15rem;
	background: var(--paper, #fff);
}

.tf-seo-offer__media {
	margin: 0;
	overflow: hidden;
	background: #fff;
	min-height: 100%;
	display: flex;
	align-items: stretch;
}

.tf-seo-offer__media img {
	width: 100%;
	height: 100%;
	min-height: 16rem;
	object-fit: contain;
	object-position: center;
	display: block;
}

.tf-seo-offer__media--photo img {
	object-fit: cover;
}

.tf-seo-offer__copy {
	padding: clamp(1.25rem, 3vw, 1.85rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tf-seo-offer__copy h2 {
	margin-bottom: 0.75rem;
}

.tf-seo-offer__meta {
	margin: 0.85rem 0 1.15rem !important;
	color: var(--ink) !important;
	font-weight: 700;
	font-size: 1.05rem !important;
}

.tf-seo-prompts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.tf-seo-prompt {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.85rem 1.1rem;
	align-items: start;
	padding: 1rem 1.15rem;
	border: 1px solid var(--line);
	border-radius: 0.9rem;
	background: var(--paper, #fff);
}

.tf-seo-prompt__day {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--brand);
	padding-top: 0.15rem;
}

.tf-seo-prompt p {
	margin: 0 !important;
	color: var(--ink) !important;
	font-size: 1.02rem !important;
	line-height: 1.55;
}

.tf-seo-lines {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.tf-seo-lines li {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.5;
	padding-left: 0.85rem;
	border-left: 2px solid color-mix(in srgb, var(--brand) 35%, transparent);
}

.tf-seo-related {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.tf-seo-related--4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tf-seo-related__card {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	height: 100%;
	padding: 1.2rem 1.15rem;
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: var(--paper, #fff);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.tf-seo-related__card:hover,
.tf-seo-related__card:focus-visible {
	border-color: color-mix(in srgb, var(--ink) 28%, transparent);
	transform: translateY(-2px);
	outline: none;
}

.tf-seo-related__card strong {
	color: var(--ink);
	font-size: 1.05rem;
}

.tf-seo-related__card span {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.tf-seo-intro,
	.tf-seo-formats,
	.tf-seo-offer,
	.tf-seo-pillars,
	.tf-seo-related,
	.tf-seo-related--4 {
		grid-template-columns: 1fr;
	}

	.tf-seo-offer__media {
		aspect-ratio: 1 / 1;
	}

	.tf-seo-offer__media img {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.tf-page--seo .tf-reveal {
		opacity: 0;
		transform: translateY(1rem);
		transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
	}

	.tf-page--seo .tf-reveal.is-in {
		opacity: 1;
		transform: none;
	}
}
