/**
 * Kenningwell United WFC
 * Standard Page Styles
 *
 * Mobile-first.
 */

/* --------------------------------------------------------------
   Page
-------------------------------------------------------------- */

.standard-page-main {
	background: #f4f4f4;
}

.standard-page {
	min-width: 0;
}

/* --------------------------------------------------------------
   Page Hero
-------------------------------------------------------------- */

.page-hero {
	position: relative;
	display: flex;
	min-height: clamp(18rem, 55vw, 30rem);
	align-items: flex-end;
	overflow: hidden;
	background:
		linear-gradient(
			135deg,
			var(--colour-black) 0%,
			#170204 100%
		);
	color: var(--colour-white);
}

.page-hero__media {
	position: absolute;
	inset: 0;
	margin: 0;
}

.page-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.page-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			to top,
			rgb(0 0 0 / 90%) 0%,
			rgb(0 0 0 / 55%) 45%,
			rgb(0 0 0 / 20%) 100%
		);
}

.page-hero__inner {
	position: relative;
	z-index: 2;
	width: min(100%, 80rem);
	margin: 0 auto;
	padding:
		3rem
		1.25rem;
}

.page-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.8rem;
	color: var(--colour-yellow);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.page-hero__eyebrow::before {
	width: 2rem;
	height: 0.18rem;
	background: var(--colour-red);
	content: "";
}

.page-hero__title {
	max-width: 15ch;
	margin: 0;
	color: var(--colour-white);
	font-size: clamp(
		2.8rem,
		11vw,
		5.5rem
	);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 0.95;
	text-wrap: balance;
	text-transform: uppercase;
}

.standard-page__body {
	width: min(100%, 80rem);
	margin: 0 auto;
	padding:
		3rem
		1.25rem
		4rem;
}

.standard-page__content {
	max-width: 70rem;
	margin: 0 auto;
	color: #272727;
	font-size: 1rem;
	line-height: 1.7;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote {
	max-width: 46rem;
}

.entry-content > p {
	margin:
		0
		0
		1.25rem;
}

.entry-content > p:last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--colour-black);
	font-weight: 900;
	line-height: 1.1;
	text-wrap: balance;
}

.entry-content h2 {
	max-width: 24ch;
	margin:
		3rem
		0
		1.25rem;
	font-size: clamp(
		1.9rem,
		5vw,
		2.8rem
	);
	letter-spacing: -0.025em;
}

.entry-content h3 {
	margin:
		2.25rem
		0
		1rem;
	font-size: 1.5rem;
}

.entry-content h4 {
	margin:
		1.75rem
		0
		0.75rem;
	font-size: 1.2rem;
}

.entry-content h2::after {
	display: block;
	width: 3rem;
	height: 0.22rem;
	margin-top: 0.65rem;
	background: var(--colour-red);
	content: "";
}

.entry-content a {
	color: var(--colour-red);
	font-weight: 700;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.entry-content a:hover {
	color: #8e0711;
}

.entry-content a:focus-visible {
	outline: 0.1875rem solid var(--colour-red);
	outline-offset: 0.2rem;
}

.entry-content ul,
.entry-content ol {
	margin:
		0
		0
		1.5rem;
	padding-left: 1.4rem;
}

.entry-content li {
	margin-bottom: 0.45rem;
}

.entry-content li::marker {
	color: var(--colour-red);
	font-weight: 900;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.entry-content figure {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.entry-content figcaption {
	margin-top: 0.6rem;
	color: rgb(0 0 0 / 60%);
	font-size: 0.8rem;
	line-height: 1.5;
}

.entry-content blockquote {
	margin:
		2rem
		0;
	padding:
		1.5rem
		1.5rem;
	border-left: 0.3rem solid var(--colour-red);
	background: var(--colour-white);
}

.entry-content blockquote p {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.6;
}

.entry-content
	.wp-block-button__link {
	padding:
		0.85rem
		1.25rem;
	border: 0.125rem solid var(--colour-red);
	border-radius: 0;
	background: var(--colour-red);
	color: var(--colour-white);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-decoration: none;
	text-transform: uppercase;
}

.entry-content
	.wp-block-button__link:hover {
	border-color: var(--colour-black);
	background: var(--colour-black);
	color: var(--colour-white);
}

.entry-content
	.wp-block-button__link:focus-visible {
	outline: 0.1875rem solid var(--colour-yellow);
	outline-offset: 0.2rem;
}

.entry-content
	.wp-block-columns {
	gap: 1.5rem;
	margin:
		2.5rem
		0;
}

.entry-content
	.wp-block-column {
	min-width: 0;
}

.entry-content
	.page-lead {
	max-width: 50rem;
	margin-bottom: 2.5rem;
	color: var(--colour-black);
	font-size: clamp(
		1.2rem,
		3vw,
		1.5rem
	);
	font-weight: 700;
	line-height: 1.55;
}

.standard-page--about-us
	.about-value {
	height: 100%;
	padding: 1.5rem;
	border-top: 0.3rem solid var(--colour-red);
	background: var(--colour-white);
	box-shadow:
		0 0.4rem 1.4rem
		rgb(0 0 0 / 6%);
}

.standard-page--about-us
	.about-value h3 {
	margin-top: 0;
}

.standard-page--about-us
	.about-value p:last-child {
	margin-bottom: 0;
}

.standard-page--about-us
	.about-value--highlight {
	border-top-color:
		var(--colour-yellow);
	background:
		var(--colour-black);
	color:
		var(--colour-white);
}

.standard-page--about-us
	.about-value--highlight h3 {
	color: var(--colour-white);
}

.standard-page--about-us
	.about-value--highlight p {
	color:
		rgb(255 255 255 / 72%);
}

/* --------------------------------------------------------------
   About Us
-------------------------------------------------------------- */

.standard-page--about-us
	.page-hero {
	min-height: clamp(
		22rem,
		62vw,
		34rem
	);
	isolation: isolate;
}

.standard-page--about-us
	.page-hero__overlay {
	background:
		linear-gradient(
			to top,
			rgb(0 0 0 / 92%) 0%,
			rgb(0 0 0 / 55%) 48%,
			rgb(0 0 0 / 18%) 100%
		);
}

.standard-page--about-us
	.page-hero::after {
	position: absolute;
	top: -15%;
	right: -8rem;
	z-index: 1;
	width: 20rem;
	height: 130%;
	background: var(--colour-red);
	content: "";
	opacity: 0.22;
	pointer-events: none;
	transform: skewX(-18deg);
	transform-origin: top;
}

.standard-page--about-us
	.page-hero__inner::after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 4rem;
	height: 0.22rem;
	background: var(--colour-yellow);
	content: "";
}

.standard-page--about-us
	.page-hero__title {
	max-width: 12ch;
	text-shadow:
		0 0.15rem 0.6rem
		rgb(0 0 0 / 35%);
}

.standard-page--about-us
	.page-lead {
	position: relative;
	max-width: 54rem;
	margin:
		0
		0
		4rem;
	padding-left: 1.5rem;
	font-size: clamp(
		1.25rem,
		3vw,
		1.65rem
	);
	font-weight: 700;
	line-height: 1.5;
}

.standard-page--about-us
	.page-lead::before {
	position: absolute;
	top: 0.2rem;
	bottom: 0.2rem;
	left: 0;
	width: 0.3rem;
	background:
		linear-gradient(
			to bottom,
			var(--colour-red),
			var(--colour-orange)
		);
	content: "";
}

.standard-page--about-us
	.entry-content > h2 {
	margin-top: 4.25rem;
}

.standard-page--about-us
	.entry-content > h2:first-of-type {
	margin-top: 0;
}

.standard-page--about-us
	.entry-content h2::after {
	width: 3.5rem;
	height: 0.25rem;
	background:
		linear-gradient(
			to right,
			var(--colour-red) 0%,
			var(--colour-red) 75%,
			var(--colour-yellow) 75%,
			var(--colour-yellow) 100%
		);
}

.standard-page--about-us
	.about-value {
	position: relative;
	height: 100%;
	overflow: hidden;
	padding: 1.75rem;
	border-top: 0.3rem solid var(--colour-red);
	background: var(--colour-white);
	box-shadow:
		0 0.5rem 1.6rem
		rgb(0 0 0 / 7%);
}

.standard-page--about-us
	.about-value::after {
	position: absolute;
	right: -2.5rem;
	bottom: -3rem;
	width: 7rem;
	height: 7rem;
	border: 0.8rem solid var(--colour-red);
	border-radius: 50%;
	content: "";
	opacity: 0.035;
	pointer-events: none;
}

.standard-page--about-us
	.about-value h3 {
	position: relative;
	z-index: 1;
	margin:
		0
		0
		0.8rem;
	color: var(--colour-black);
	font-size: 1.3rem;
	font-weight: 900;
}

.standard-page--about-us
	.about-value p {
	position: relative;
	z-index: 1;
	color: rgb(0 0 0 / 67%);
	line-height: 1.6;
}

.standard-page--about-us
	.about-value p:last-child {
	margin-bottom: 0;
}

.standard-page--about-us
	.about-value--highlight {
	border-top-color:
		var(--colour-yellow);
	background:
		linear-gradient(
			135deg,
			#111111 0%,
			var(--colour-black) 70%,
			#180204 100%
		);
	color: var(--colour-white);
}

.standard-page--about-us
	.about-value--highlight::after {
	border-color: var(--colour-yellow);
	opacity: 0.06;
}

.standard-page--about-us
	.about-value--highlight h3 {
	color: var(--colour-white);
}

.standard-page--about-us
	.about-value--highlight p {
	color: rgb(255 255 255 / 72%);
}

.standard-page--about-us
	.about-values {
	align-items: stretch;
}

.standard-page--about-us
	.about-values
	.wp-block-column {
	display: flex;
}

.standard-page--about-us
	.about-values
	.about-value {
	width: 100%;
}

.standard-page--about-us
	.about-story {
	position: relative;
	margin-top: 4.5rem;
	padding:
		2rem
		1.5rem;
	border-left: 0.35rem solid var(--colour-red);
	background: var(--colour-white);
	box-shadow:
		0 0.5rem 1.8rem
		rgb(0 0 0 / 5%);
}

.standard-page--about-us
	.about-story h2 {
	margin-top: 0;
}

.standard-page--about-us
	.about-story > *:last-child {
	margin-bottom: 0;
}

.standard-page--about-us
	.about-cta {
	position: relative;
	overflow: hidden;
	margin-top: 4.5rem;
	padding:
		2.25rem
		1.5rem;
	background:
		linear-gradient(
			135deg,
			var(--colour-red) 0%,
			#970a15 100%
		);
	color: var(--colour-white);
}

.standard-page--about-us
	.about-cta::after {
	position: absolute;
	top: -25%;
	right: -6rem;
	width: 13rem;
	height: 150%;
	background: var(--colour-black);
	content: "";
	opacity: 0.14;
	transform: skewX(-18deg);
	transform-origin: top;
	pointer-events: none;
}

.standard-page--about-us
	.about-cta > * {
	position: relative;
	z-index: 1;
}

.standard-page--about-us
	.about-cta h2 {
	margin-top: 0;
	color: var(--colour-white);
}

.standard-page--about-us
	.about-cta h2::after {
	background: var(--colour-yellow);
}

.standard-page--about-us
	.about-cta p {
	max-width: 42rem;
	color: rgb(255 255 255 / 82%);
}

.standard-page--about-us
	.about-cta
	.wp-block-button__link {
	border-color: var(--colour-yellow);
	background: var(--colour-yellow);
	color: var(--colour-black);
}

.standard-page--about-us
	.about-cta
	.wp-block-button__link:hover {
	border-color: var(--colour-black);
	background: var(--colour-black);
	color: var(--colour-white);
}

.standard-page--about-us
	.standard-page__body {
	background:
		linear-gradient(
			to bottom,
			#f4f4f4 0%,
			#f7f7f7 100%
		);
}
/* --------------------------------------------------------------
   screens sizes
-------------------------------------------------------------- */

@media (min-width: 48rem) {

	.page-hero__inner {
		padding:
			4.5rem
			clamp(2rem, 6vw, 6rem);
	}

	.standard-page__body {
		padding:
			4.5rem
			clamp(2rem, 6vw, 6rem)
			6rem;
	}

	.standard-page__content {
		font-size: 1.0625rem;
	}

	.standard-page--about-us
		.about-cta {
		padding:
			3rem
			clamp(2rem, 5vw, 4rem);
	}

	.standard-page--about-us
		.about-story {
		padding:
			3rem
			clamp(2rem, 4vw, 3.5rem);
	}

}

@media (max-width: 47.999rem) {

	.standard-page--about-us
		.page-hero::after {
		right: -13rem;
		width: 18rem;
		opacity: 0.16;
	}

	.standard-page--about-us
		.page-hero__inner::after {
		width: 2.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {

	.standard-page--about-us
		.wp-block-button__link {
		transition: none;
	}
}