/**
 * Kenningwell United WFC
 * Teams pages.
 */

 /* --------------------------------------------------------------
   Teams Directory
-------------------------------------------------------------- */

.teams-squad {
	margin-block:
		clamp(
			2.5rem,
			6vw,
			5rem
		);
}

.teams-squad .team-players {
	margin-top: 0;
}

.teams-directory {
	margin-top:
		clamp(
			3rem,
			7vw,
			6rem
		);
}

.teams-directory__intro {
	max-width: 46rem;
	margin:
		1rem
		0
		0;
	color: var(
		--colour-text-muted,
		#555
	);
	line-height: 1.65;
}

.teams-directory__header {
	margin-bottom: 2rem;
}

.teams-directory__grid {
	display: grid;
	grid-template-columns:
		repeat(
			2,
			minmax(
				0,
				1fr
			)
		);
	gap:
		clamp(
			1.5rem,
			4vw,
			3rem
		);
	align-items: stretch;
}

.teams-directory-section {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.teams-directory-section
	.teams-directory-card {
	height: 100%;
}

@media (max-width: 48rem) {

	.teams-directory__grid {
		grid-template-columns: 1fr;
	}

}

/* --------------------------------------------------------------
   Teams Directory
-------------------------------------------------------------- */

.teams-squad {
	margin-block:
		clamp(
			2.5rem,
			6vw,
			5rem
		);
}

.teams-directory {
	margin-top:
		clamp(
			3rem,
			7vw,
			6rem
		);
}

.teams-directory__intro {
	max-width: 46rem;
	margin:
		1rem
		0
		0;
	color: var(
		--colour-text-muted,
		#555
	);
	line-height: 1.65;
}

.teams-directory__header {
	margin-bottom: 2rem;
}

.teams-directory__eyebrow,
.team-profile__eyebrow {
	margin: 0 0 0.6rem;
	color: var(--colour-red);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.teams-directory__title,
.team-profile__section-title {
	margin: 0;
	color: var(--colour-black);
	font-size: clamp(2rem,
			6vw,
			3rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
}

.teams-directory__title::after,
.team-profile__section-title::after {
	display: block;
	width: 3.75rem;
	height: 0.25rem;
	margin-top: 0.7rem;
	background:
		linear-gradient(to right,
			var(--colour-red) 0%,
			var(--colour-red) 78%,
			var(--colour-yellow) 78%,
			var(--colour-yellow) 100%);
	content: "";
}

.teams-directory__grid {
	display: grid;
	grid-template-columns:
		repeat(
			2,
			minmax(
				0,
				1fr
			)
		);
	gap:
		clamp(
			1.5rem,
			4vw,
			3rem
		);
	align-items: stretch;
}

.teams-directory-section {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.teams-directory-section
	+ .teams-directory-section {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}


.teams-directory-section
	.teams-directory-card {
	height: 100%;
}

.teams-directory-card {
	min-width: 0;
	overflow: hidden;
	border:
		1px solid rgb(255 255 255 / 8%);
	background:
		linear-gradient(145deg,
			#111111 0%,
			var(--colour-black) 100%);
	box-shadow:
		0 0.5rem 1.8rem rgb(0 0 0 / 12%);
}

.teams-directory-card__link {
	display: flex;
	height: 100%;
	flex-direction: column;
	color: var(--colour-white);
	text-decoration: none;
}

.teams-directory-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #111111;
}



.teams-directory-card__media::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to top,
			rgb(0 0 0 / 48%) 0%,
			rgb(0 0 0 / 8%) 48%,
			transparent 72%);
	content: "";
	pointer-events: none;
}

.teams-directory-card__competition {
	position: absolute;
	right: 0.85rem;
	bottom: 0.85rem;
	z-index: 2;
	max-width: calc(100% - 1.7rem);
	padding:
		0.45rem 0.7rem;
	background: var(--colour-red);
	color: var(--colour-white);
	font-size: 0.65rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-align: right;
	text-transform: uppercase;
}

.teams-directory-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 250ms ease;
}

.teams-directory-card__image--fallback {
	background:
		linear-gradient(135deg,
			var(--colour-red),
			var(--colour-black));
}

.teams-directory-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 1.65rem;
	border-top:
		0.3rem solid var(--colour-red);
}

.teams-directory-card__title {
	margin: 0;
	color: var(--colour-white);
	font-size: clamp(1.6rem,
			4vw,
			2rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
	text-transform: uppercase;
}

.teams-directory-card__title::after {
	display: block;
	width: 2.25rem;
	height: 0.18rem;
	margin-top: 0.7rem;
	background: var(--colour-red);
	content: "";
}

.teams-directory-card__excerpt {
	max-width: 38rem;
	margin:
		1rem 0 0;
	color: rgb(255 255 255 / 68%);
	font-size: 0.92rem;
	line-height: 1.65;
}

.teams-directory-card__action {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 0.55rem;
	margin-top: auto;
	padding-top: 1.5rem;
	color: var(--colour-yellow);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.teams-directory-card__action>span[aria-hidden="true"] {
	transition: transform 150ms ease;
}

.teams-directory-card__link:focus-visible {
	outline:
		0.25rem solid var(--colour-yellow);
	outline-offset: -0.25rem;
}

@media (hover: hover) and (pointer: fine) {

	.teams-directory-card__link:hover .teams-directory-card__image {
		transform: scale(1.035);
	}

	.teams-directory-card__link:hover .teams-directory-card__action>span[aria-hidden="true"] {
		transform: translateX(0.25rem);
	}

	.teams-directory-card__link:hover .teams-directory-card__action {
		color: var(--colour-orange);
	}
}

.teams-directory-card--first-team .teams-directory-card__content {
	border-top-color:
		var(--colour-yellow);
}

.teams-directory-card--first-team .teams-directory-card__title::after {
	background:
		var(--colour-yellow);
}


/* --------------------------------------------------------------
   Individual Team
-------------------------------------------------------------- */

.team-profile .page-hero {
	min-height: clamp(24rem,
			60vw,
			36rem);
	isolation: isolate;
}

.team-profile .page-hero__title {
	max-width: 12ch;
	text-shadow:
		0 0.2rem 0.8rem rgb(0 0 0 / 40%);
}

.team-profile .page-hero__overlay {
	background:
		linear-gradient(to top,
			rgb(0 0 0 / 94%) 0%,
			rgb(0 0 0 / 52%) 48%,
			rgb(0 0 0 / 14%) 100%);
}

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

.team-profile__layout {
	display: grid;
	gap: 3rem;
	align-items: start;
}

.team-profile__main {
	min-width: 0;
}

.team-profile__lead {
	position: relative;
	max-width: 50rem;
	margin:
		0 0 2.5rem;
	padding-left: 1.4rem;
	border-left:
		0.3rem solid var(--colour-red);
	color: var(--colour-black);
	font-size: clamp(1.2rem,
			3vw,
			1.55rem);
	font-weight: 700;
	line-height: 1.55;
}

.team-profile__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: "";
}

.team-profile__details {
	position: relative;
	align-self: start;
	overflow: hidden;
	padding: 1.75rem;
	border-top:
		0.35rem solid var(--colour-yellow);
	background:
		linear-gradient(145deg,
			#151515 0%,
			var(--colour-black) 100%);
	color: var(--colour-white);
	box-shadow:
		0 0.5rem 1.8rem rgb(0 0 0 / 12%);
}

.team-profile__details::after {
	position: absolute;
	right: -3rem;
	bottom: -4rem;
	width: 9rem;
	height: 9rem;
	border:
		1rem solid var(--colour-red);
	border-radius: 50%;
	content: "";
	opacity: 0.06;
	pointer-events: none;
}

.team-profile__details-title,
.team-profile__facts {
	position: relative;
	z-index: 1;
}

.team-profile__details-title {
	margin: 0 0 1.5rem;
	color: var(--colour-white);
	font-size: 1.3rem;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.team-profile__details-title::after {
	display: block;
	width: 2rem;
	height: 0.16rem;
	margin-top: 0.6rem;
	background: var(--colour-red);
	content: "";
}

.team-profile__facts {
	margin: 0;
}

.team-profile__fact+.team-profile__fact {
	margin-top: 1.35rem;
	padding-top: 1.35rem;
	border-top:
		1px solid rgb(255 255 255 / 12%);
}

.team-profile__fact dt {
	margin: 0;
	color: var(--colour-yellow);
	font-size: 0.65rem;
	font-weight: 900;
	letter-spacing: 0.11em;
	line-height: 1.3;
	text-transform: uppercase;
}

.team-profile__fact dd {
	margin: 0.45rem 0 0;
	color: var(--colour-white);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
}

.team-profile__staff {
	position: relative;
	margin-top: clamp(4rem,
			9vw,
			6rem);
	padding-top: 3rem;
	border-top:
		1px solid rgb(0 0 0 / 10%);
}

.team-profile__section-header {
	margin-bottom: 2.25rem;
}

.team-profile__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.team-profile__eyebrow::before {
	width: 1.8rem;
	height: 0.16rem;
	background: var(--colour-red);
	content: "";
}

.team-profile__staff-grid {
	display: grid;
	gap: 1.5rem;
}

.team-profile__join {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	margin-top: clamp(4.5rem,
			10vw,
			6.5rem);
	padding:
		2.25rem 1.5rem;
	overflow: hidden;
	background:
		linear-gradient(135deg,
			var(--colour-red) 0%,
			#930914 100%);
	color: var(--colour-white);
}

.team-profile__join::before {
	position: absolute;
	top: -20%;
	right: 5.5rem;
	width: 0.3rem;
	height: 145%;
	background: var(--colour-yellow);
	content: "";
	opacity: 0.6;
	transform: skewX(-18deg);
	transform-origin: top;
	pointer-events: none;
}

.team-profile__join::after {
	position: absolute;
	top: -20%;
	right: -5rem;
	width: 12rem;
	height: 145%;
	background: var(--colour-black);
	content: "";
	opacity: 0.16;
	transform: skewX(-18deg);
	transform-origin: top;
	pointer-events: none;
}

.team-profile__join-content,
.team-profile__join-button {
	position: relative;
	z-index: 1;
}

.team-profile__join-eyebrow {
	margin: 0 0 0.5rem;
	color: var(--colour-yellow);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.team-profile__join-title {
	max-width: 25ch;
	margin: 0;
	color: var(--colour-white);
	font-size: clamp(1.7rem,
			5vw,
			2.5rem);
	font-weight: 900;
	line-height: 1.05;
}

.team-profile__join-button {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	justify-content: center;
	gap: 0.6rem;
	min-height: 3.1rem;
	padding:
		0.85rem 1.3rem;
	border:
		0.125rem solid var(--colour-yellow);
	background: var(--colour-yellow);
	color: var(--colour-black);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		background 150ms ease,
		border-color 150ms ease,
		color 150ms ease;
}

.team-profile__join-button:hover {
	border-color: var(--colour-black);
	background: var(--colour-black);
	color: var(--colour-white);
}

.team-profile__join-button:focus-visible {
	outline:
		0.2rem solid var(--colour-white);
	outline-offset: 0.2rem;
}

.team-profile__information {
	box-shadow:
		0 0.5rem 2rem rgb(0 0 0 / 8%);
}

/* --------------------------------------------------------------
   Team Players
-------------------------------------------------------------- */

.team-players {
	position: relative;
	margin-top: clamp(5rem,
			10vw,
			7rem);
	overflow: hidden;
	padding:
		clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3rem);
	background:
		linear-gradient(145deg,
			#141414,
			var(--colour-black));
	color: var(--colour-white);
}

.team-section-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.team-section-header__eyebrow {
	margin: 0 0 0.45rem;
	color: var(--colour-red);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.team-section-header__title {
	margin: 0;
	color: var(--colour-black);
	font-size: clamp(2rem,
			6vw,
			3rem);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1;
}

.team-section-header__title::after {
	display: block;
	width: 3.75rem;
	height: 0.24rem;
	margin-top: 0.7rem;
	background:
		linear-gradient(to right,
			var(--colour-red) 0%,
			var(--colour-red) 80%,
			var(--colour-yellow) 80%,
			var(--colour-yellow) 100%);
	content: "";
}

.team-players__viewport {
	overflow-x: auto;
	padding-bottom: 0.75rem;
	scrollbar-color:
		rgb(255 255 255 / 28%) transparent;
	scrollbar-width: thin;
	scroll-snap-type: x mandatory;
}

.team-players__track {
	display: flex;
	gap: clamp(1rem,
			2vw,
			1.5rem);
}

.team-players__slide {
	flex:
		0 0 min(82%, 20rem);
	min-width: 0;
	scroll-snap-align: start;
}

.team-players::before {
	position: absolute;
	top: -20%;
	right: -10rem;
	width: 24rem;
	height: 150%;
	background: var(--colour-red);
	content: "";
	opacity: 0.06;
	pointer-events: none;
	transform: skewX(-18deg);
}

.team-players::after {
	position: absolute;
	top: -20%;
	right: 10rem;
	width: 0.3rem;
	height: 150%;
	background: var(--colour-yellow);
	content: "";
	opacity: 0.25;
	pointer-events: none;
	transform: skewX(-18deg);
}

.team-players>* {
	position: relative;
	z-index: 1;
}

.team-players .team-section-header__eyebrow {
	color: var(--colour-yellow);
}

.team-players .team-section-header__title {
	color: var(--colour-white);
}

.team-players .team-section-header__title::after {
	background:
		linear-gradient(to right,
			var(--colour-yellow) 0%,
			var(--colour-yellow) 78%,
			var(--colour-red) 78%,
			var(--colour-red) 100%);
}

.team-players__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.team-players__control {
	display: inline-flex;
	min-width: 2.9rem;
	min-height: 2.9rem;
	align-items: center;
	justify-content: center;
	padding:
		0.55rem 0.85rem;
	border:
		1px solid rgb(255 255 255 / 22%);
	background:
		rgb(255 255 255 / 6%);
	color: var(--colour-white);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	cursor: pointer;
}

.team-players__control:hover {
	border-color: var(--colour-yellow);
	background: var(--colour-yellow);
	color: var(--colour-black);
}

.team-players__control:focus-visible {
	outline:
		0.2rem solid var(--colour-yellow);
	outline-offset: 0.2rem;
}

.team-players__slide {
	flex:
		0 0 min(82%, 19rem);
}

.player-card {
	height: 100%;
	filter:
		drop-shadow(0 0.6rem 0.8rem rgb(0 0 0 / 40%));
}

.player-card__visual {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--colour-black);
}

.player-card__frame {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	user-select: none;
}

.player-card__portrait-area {
	position: absolute;
	top: 17%;
	right: 14%;
	bottom: 7%;
	left: 14%;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	pointer-events: none;
}

.player-card__portrait {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
	filter:
		drop-shadow(0 0.25rem 0.35rem rgb(0 0 0 / 42%));
}

.player-card__text-gradient {
	position: absolute;
	right: 14%;
	bottom: 7%;
	left: 14%;
	z-index: 3;
	height: 32%;
	background:
		linear-gradient(to top,
			rgb(0 0 0 / 94%) 0%,
			rgb(0 0 0 / 58%) 48%,
			transparent 100%);
	pointer-events: none;
}

.player-card__details {
	position: absolute;
	right: 18%;
	bottom: 10%;
	left: 18%;
	z-index: 4;
	text-align: center;
}

.player-card__number {
	margin:
		0 0 0.25rem;
	color: var(--colour-yellow);
	font-size: clamp(1.5rem,
			4vw,
			2.4rem);
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1;
}

.player-card__name {
	margin: 0;
	color: var(--colour-white);
	font-weight: 900;
	letter-spacing: 0.025em;
	line-height: 1;
	overflow-wrap: anywhere;
	text-shadow:
		0 0.15rem 0.5rem rgb(0 0 0 / 65%);
	text-transform: uppercase;
	max-width: 100%;
	font-size: clamp(1.15rem,
			2.5vw,
			1.75rem);
}

.player-card__position {
	margin:
		0.5rem 0 0;
	color: var(--colour-yellow);
	font-size: 0.66rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.player-card__portrait-fallback {
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 50% 55%,
			rgb(193 7 21 / 12%),
			transparent 50%);
}

.player-card__link {
	display: block;
	position: relative;
	color: inherit;
	text-decoration: none;
}

.player-card__link:focus-visible {
	outline:
		0.2rem solid
		var(--colour-yellow);
	outline-offset: 0.25rem;
}

@media (hover: hover) and (pointer: fine) {

	.player-card__link
		.player-card__visual {
		transition:
			transform 220ms ease;
	}

	.player-card__link:hover
		.player-card__visual {
		transform:
			translateY(-0.2rem);
	}

}




/* --------------------------------------------------------------
   Team Profile Intro
-------------------------------------------------------------- */

.single-kuwfc_team .team-profile__intro {
	padding-top: clamp(3rem,
			7vw,
			5rem);
}


/* --------------------------------------------------------------
   Team Fixtures & Results
-------------------------------------------------------------- */

.team-match-centre {
	margin-top: clamp(5rem,
			10vw,
			7rem);
	padding-top: clamp(3rem,
			7vw,
			4rem);
	border-top:
		1px solid rgb(0 0 0 / 10%);
	margin-top: 0;
	padding:
		clamp(4rem, 9vw, 6rem) 0;
	border-top: 0;
	background: var(--colour-white);
}

.team-fixture-group {
	margin-top: 2.5rem;
}

.team-fixture-group__title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin:
		0 0 1rem;
	color: var(--colour-black);
	font-size: 1.3rem;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.team-fixture-group__marker {
	display: block;
	width: 0.28rem;
	height: 1.6rem;
	background: var(--colour-red);
}

.team-fixture-group__marker--upcoming {
	background: var(--colour-yellow);
}

.team-fixture-group__marker--results {
	background: var(--colour-red);
}

.team-fixture-table-wrap {
	width: 100%;
	overflow-x: auto;
	border:
		1px solid rgb(0 0 0 / 9%);
	background: var(--colour-white);
	box-shadow:
		0 0.35rem 1.25rem rgb(0 0 0 / 4%);
}

.team-fixture-table {
	width: 100%;
	min-width: 44rem;
	border-collapse: collapse;
}

.team-fixture-table th {
	padding:
		0.85rem 1rem;
	background:
		linear-gradient(to bottom,
			#161616,
			var(--colour-black));
	color: var(--colour-white);
	font-size: 0.64rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}

.team-fixture-table td {
	padding:
		1.05rem 1rem;
	border-bottom:
		1px solid rgb(0 0 0 / 7%);
	color: rgb(0 0 0 / 68%);
	font-size: 0.86rem;
	line-height: 1.4;
	vertical-align: middle;
}

.team-fixture-table tbody tr:nth-child(even) {
	background: #fafafa;
}

.team-fixture-table td:first-child {
	color: var(--colour-black);
	font-weight: 800;
	white-space: nowrap;
}

.team-fixture-table__opponent {
	color: var(--colour-black) !important;
	font-weight: 900;
}

.team-fixture-table__score,
.team-fixture-table__kickoff {
	color: var(--colour-black) !important;
	font-size: 1rem !important;
	font-weight: 900;
	white-space: nowrap;
}

.team-fixture-table td:nth-child(2) {
	color: rgb(0 0 0 / 55%);
	font-size: 0.78rem;
}

.team-fixture-location {
	display: inline-flex;
	width: 2rem;
	height: 2rem;
	align-items: center;
	justify-content: center;
	background: #eeeeee;
	color: var(--colour-black);
	font-size: 0.67rem;
	font-weight: 900;
}

.team-fixture-location--home {
	background: var(--colour-yellow);
}

.team-result {
	display: inline-flex;
	width: 2.15rem;
	height: 2.15rem;
	align-items: center;
	justify-content: center;
	color: var(--colour-white);
	font-size: 0.7rem;
	font-weight: 900;
}

.team-result--win {
	background: #16783d;
}

.team-result--draw {
	background: #666666;
}

.team-result--loss {
	background: var(--colour-red);
}

.team-fixture-table tbody tr:nth-child(even) {
	background: #fafafa;
}

.team-fixture-status {
	display: inline-flex;
	min-width: 2.6rem;
	min-height: 2rem;
	align-items: center;
	justify-content: center;
	padding:
		0.3rem 0.45rem;
	font-size: 0.62rem;
	font-weight: 900;
}

.team-fixture-status--postponed {
	background: var(--colour-yellow);
	color: var(--colour-black);
}

.team-fixture-status--cancelled {
	background: var(--colour-red);
	color: var(--colour-white);
}

.team-match-centre__all {
	display: inline-flex;
	min-height: 2.9rem;
	align-items: center;
	gap: 0.5rem;
	padding:
		0.7rem 1rem;
	border:
		0.125rem solid var(--colour-black);
	background: transparent;
	color: var(--colour-black);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		background 150ms ease,
		border-color 150ms ease,
		color 150ms ease;
}

.team-match-centre__all:hover {
	border-color: var(--colour-red);
	background: var(--colour-red);
	color: var(--colour-white);
}

.team-fixture-table-wrap:focus-visible {
	outline:
		0.2rem solid var(--colour-yellow);
	outline-offset: 0.15rem;
}

.team-match-centre .team-section-header__eyebrow {
	color: var(--colour-red);
}

.team-match-centre .team-section-header__title {
	color: var(--colour-black);
}

.team-match-centre .team-section-header__title::after {
	background:
		linear-gradient(to right,
			var(--colour-red) 0%,
			var(--colour-red) 80%,
			var(--colour-yellow) 80%,
			var(--colour-yellow) 100%);
}

.team-fixture-table__hint {
	display: none;
	margin:
		0 0 0.65rem;
	color: rgb(0 0 0 / 58%);
	font-size: 0.75rem;
	line-height: 1.4;
}

.team-fixture-table-wrap:focus-visible {
	outline:
		0.2rem solid var(--colour-yellow);
	outline-offset: 0.2rem;
}

.team-profile__staff {
	margin-top: clamp(5rem,
			10vw,
			7rem);
	padding-top: clamp(3rem,
			7vw,
			4rem);
	border-top:
		1px solid rgb(0 0 0 / 10%);
}

.teams-squad .team-players {
	margin-top: 0;
}


/* --------------------------------------------------------------
   Team League Table
-------------------------------------------------------------- */

.team-league-table {
	margin-top:
		clamp(
			4rem,
			9vw,
			7rem
		);
	padding-top:
		clamp(
			3rem,
			7vw,
			4rem
		);
	border-top:
		1px solid rgb(0 0 0 / 10%);
}

.team-league-table__updated {
	margin:
		-1rem
		0
		1.5rem;
	color:
		rgb(0 0 0 / 58%);
	font-size: 0.78rem;
}

.team-league-table__wrap {
	width: 100%;
	overflow-x: auto;
	border:
		1px solid rgb(0 0 0 / 9%);
	background:
		var(--colour-white);
	box-shadow:
		0 0.35rem 1.25rem
		rgb(0 0 0 / 4%);
}

.team-league-table__table {
	width: 100%;
	min-width: 42rem;
	border-collapse: collapse;
}

.team-league-table__table th,
.team-league-table__table td {
	padding:
		1rem
		0.85rem;
	border-bottom:
		1px solid rgb(0 0 0 / 7%);
	text-align: center;
}

.team-league-table__table thead th {
	background:
		linear-gradient(
			to bottom,
			#161616,
			var(--colour-black)
		);
	color:
		var(--colour-white);
	font-size: 0.64rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.team-league-table__table th:nth-child(2),
.team-league-table__table td:nth-child(2) {
	text-align: left;
}

.team-league-table__table tbody th {
	color:
		var(--colour-black);
	font-size: 0.88rem;
	font-weight: 800;
}

.team-league-table__table tbody td {
	color:
		rgb(0 0 0 / 68%);
	font-size: 0.85rem;
}

.team-league-table__table
	tbody tr:nth-child(even) {
	background: #fafafa;
}

.team-league-table__club {
	background:
		rgb(254 206 2 / 16%)
		!important;
}

.team-league-table__club th {
	position: relative;
}

.team-league-table__club th::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0.25rem;
	background:
		var(--colour-red);
	content: "";
}

.team-league-table__club td:last-child,
.team-league-table__club th {
	color:
		var(--colour-black);
	font-weight: 900;
}

.team-league-table__wrap:focus-visible {
	outline:
		0.2rem solid
		var(--colour-yellow);
	outline-offset: 0.2rem;
}


@media (max-width: 47.999rem) {

	.team-fixture-table__hint {
		display: block;
	}

}


/* --------------------------------------------------------------
   Team League Table
-------------------------------------------------------------- */

.team-league {
	margin-top:
		clamp(
			4rem,
			9vw,
			7rem
		);
	padding-top:
		clamp(
			3rem,
			7vw,
			4rem
		);
	border-top:
		1px solid rgb(0 0 0 / 10%);
}

.team-league__updated {
	margin:
		-1rem
		0
		1.5rem;
	color:
		rgb(0 0 0 / 60%);
	font-size: 0.78rem;
}

.team-league__table-wrap {
	width: 100%;
	overflow-x: auto;
	border:
		1px solid rgb(0 0 0 / 10%);
	background:
		var(--colour-white);
	box-shadow:
		0 0.35rem 1.25rem
		rgb(0 0 0 / 5%);
}

.team-league__table {
	width: 100%;
	min-width: 46rem;
	border-collapse: collapse;
}

.team-league__table th,
.team-league__table td {
	padding:
		0.9rem
		0.75rem;
	border-bottom:
		1px solid rgb(0 0 0 / 8%);
	text-align: center;
	white-space: nowrap;
}

.team-league__table thead th {
	background:
		linear-gradient(
			to bottom,
			#161616,
			var(--colour-black)
		);
	color:
		var(--colour-white);
	font-size: 0.63rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.team-league__table th:nth-child(2) {
	text-align: left;
}

.team-league__table tbody th {
	color:
		var(--colour-black);
	font-size: 0.86rem;
	font-weight: 800;
}

.team-league__table tbody td {
	color:
		rgb(0 0 0 / 70%);
	font-size: 0.84rem;
}

.team-league__row:nth-child(even) {
	background: #fafafa;
}

.team-league__row--club {
	background:
		rgb(254 206 2 / 18%);
}

.team-league__row--club th {
	position: relative;
	font-weight: 900;
}

.team-league__row--club th::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0.25rem;
	background:
		var(--colour-red);
	content: "";
}

.team-league__row--club td:last-child {
	color:
		var(--colour-black);
	font-weight: 900;
}

.team-league__mobile-hint {
	display: none;
	margin:
		0
		0
		0.75rem;
	color:
		rgb(0 0 0 / 60%);
	font-size: 0.75rem;
}

.team-league__table-wrap:focus-visible {
	outline:
		0.2rem solid
		var(--colour-yellow);
	outline-offset: 0.2rem;
}

/* --------------------------------------------------------------
   Team Achievements
-------------------------------------------------------------- */

.team-achievements {
	margin-top:
		clamp(
			4rem,
			9vw,
			7rem
		);
	padding-top:
		clamp(
			3rem,
			7vw,
			4rem
		);
	border-top:
		1px solid
		rgb(0 0 0 / 10%);
}

.team-achievements__grid {
	display: grid;
	grid-template-columns:
		repeat(
			auto-fit,
			minmax(
				min(
					100%,
					18rem
				),
				1fr
			)
		);
	gap:
		clamp(
			1rem,
			3vw,
			1.75rem
		);
}

.team-achievement {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border:
		1px solid
		rgb(0 0 0 / 10%);
	background:
		var(--colour-white);
	box-shadow:
		0 0.45rem 1.5rem
		rgb(0 0 0 / 6%);
}

.team-achievement::before {
	width: 100%;
	height: 0.3rem;
	flex: 0 0 auto;
	background:
		linear-gradient(
			to right,
			var(--colour-red)
				0%,
			var(--colour-red)
				80%,
			var(--colour-yellow)
				80%,
			var(--colour-yellow)
				100%
		);
	content: "";
}

.team-achievement__media {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background:
		var(--colour-black);
}

.team-achievement__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-achievement__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding:
		clamp(
			1.25rem,
			3vw,
			1.75rem
		);
}

.team-achievement__season {
	margin:
		0
		0
		0.5rem;
	color:
		var(--colour-red);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.team-achievement__title {
	margin: 0;
	color:
		var(--colour-black);
	font-size:
		clamp(
			1.2rem,
			2vw,
			1.55rem
		);
	font-weight: 900;
	line-height: 1.15;
}

.team-achievement__excerpt,
.team-achievement__description {
	margin:
		0.9rem
		0
		0;
	color:
		rgb(0 0 0 / 68%);
	font-size: 0.9rem;
	line-height: 1.65;
}

.team-achievement__description
	> :first-child {
	margin-top: 0;
}

.team-achievement__description
	> :last-child {
	margin-bottom: 0;
}

.team-achievement__content {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	padding:
		clamp(
			1.4rem,
			3vw,
			1.8rem
		);
}

.team-achievement__season {
	margin:
		0
		0
		0.65rem;
	color:
		var(--colour-red);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.team-achievement__title {
	max-width: 22ch;
	margin: 0;
	color:
		var(--colour-black);
	font-size:
		clamp(
			1.3rem,
			2.5vw,
			1.65rem
		);
	font-weight: 900;
	line-height: 1.12;
}

.team-achievement__excerpt {
	max-width: 42rem;
	margin:
		1rem
		0
		0;
	color:
		rgb(0 0 0 / 68%);
	font-size: 0.92rem;
	line-height: 1.65;
}

/* --------------------------------------------------------------
   Team Media
-------------------------------------------------------------- */

.team-media {
	margin-top:
		clamp(
			4rem,
			9vw,
			7rem
		);
	padding-top:
		clamp(
			3rem,
			7vw,
			4rem
		);
	border-top:
		1px solid
		rgb(0 0 0 / 10%);
}

.team-media__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom:
		clamp(
			1.5rem,
			4vw,
			2.5rem
		);
}

.team-media__header
	.team-profile__section-title {
	margin-bottom: 0;
}

.team-media__grid {
	display: grid;
	grid-template-columns:
		minmax(0, 1fr);
	gap:
		clamp(
			1rem,
			3vw,
			1.75rem
		);
}

.team-media__all-link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.55rem;
	color:
		var(--colour-red);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.team-media__all-link span {
	transition:
		transform
		180ms ease;
}

.team-media__all-link:hover span,
.team-media__all-link:focus-visible span {
	transform:
		translateX(
			0.25rem
		);
}

.team-media__all-link:focus-visible {
	outline:
		0.2rem solid
		var(--colour-yellow);
	outline-offset: 0.25rem;
}

.team-media__mobile-action {
	display: none;
	margin-top: 1.5rem;
}



/* --------------------------------------------------------------
   Team Achievements - Responsive
-------------------------------------------------------------- */

@media (max-width: 64rem) {

	.team-achievements__grid {
		grid-template-columns:
			repeat(
				2,
				minmax(
					0,
					1fr
				)
			);
	}

}

@media (max-width: 48rem) {

	.team-achievements__grid {
		grid-template-columns: 1fr;
	}

	.team-achievement {
		width: 100%;
		max-width: none;
	}

	.team-achievement__content {
		padding: 1.35rem;
	}

	.team-achievement__title {
		max-width: none;
		font-size: 1.35rem;
	}

}

/* --------------------------------------------------------------
   screens sizes
-------------------------------------------------------------- */

@media (max-width: 48rem) {

	.teams-directory__grid {
		grid-template-columns: 1fr;
	}

	.team-league__mobile-hint {
		display: block;
	}

	.team-media__header {
		display: block;
	}

	.team-media__header
		> .team-media__all-link {
		display: none;
	}



	.team-media__mobile-action {
		display: block;
	}



}

@media (min-width: 40rem) {

	.team-profile__staff-grid {
		grid-template-columns:
			repeat(
				2,
				minmax(
					0,
					1fr
				)
			);
	}

	.team-players__slide {
		flex-basis:
			calc(
				50% - 0.5rem
			);
	}

	.team-achievements__grid {
		grid-template-columns:
			1fr;
	}

	.team-media__grid {
		grid-template-columns:
			repeat(
				2,
				minmax(
					0,
					1fr
				)
			);
	}

}

@media (min-width: 64rem) {

	
	

	.team-profile__layout {
		grid-template-columns:
			minmax(0, 2fr) minmax(16rem, 0.8fr);
		gap: 4rem;
		align-items: start;
	}

	.team-profile__staff-grid {
		grid-template-columns:
			repeat(3,
				minmax(0, 1fr));
	}

	.team-profile__join {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding:
			2.75rem 3rem;
	}

	.team-profile__details {
		position: sticky;
		top: 8.5rem;
		width: min(100%, 21rem);
		justify-self: end;
	}

	.team-players__slide {
		flex-basis:
			calc(33.333% - 0.75rem);
	}

	.teams-directory-section
		.teams-directory-card__link {
		display: grid;
		grid-template-columns:
			minmax(0, 1.3fr)
			minmax(20rem, 0.7fr);
	}

	.teams-directory-section
		.teams-directory-card__media {
		height: 100%;
		min-height: 22rem;
		aspect-ratio: auto;
	}

	.teams-directory-section
		.teams-directory-card__content {
		justify-content: center;
		padding:
			3rem
			clamp(2rem, 4vw, 3.5rem);
		border-top: 0;
		border-left:
			0.35rem solid
			var(--colour-red);
	}

	.teams-directory-section
		.teams-directory-card--first-team
		.teams-directory-card__content {
		border-left-color:
			var(--colour-yellow);
	}

	.team-achievements__grid {
		grid-template-columns:
			repeat(
				2,
				minmax(
					0,
					1fr
				)
			);
	}

	.team-media__grid {
		grid-template-columns:
			repeat(
				3,
				minmax(
					0,
					1fr
				)
			);
	}


}

@media (max-width: 47.999rem) {

	.team-profile .page-hero::after {
		right: -14rem;
		opacity: 0.14;
	}

}

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

	.teams-directory-card__image {
		transition: none;
	}

	.teams-directory-card__link:hover .teams-directory-card__image {
		transform: none;
	}

	.teams-directory-card__image,
	.teams-directory-card__action>span[aria-hidden="true"],
	.team-profile__join-button {
		transition: none;
	}

	.teams-directory-card__link:hover .teams-directory-card__image,
	.teams-directory-card__link:hover .teams-directory-card__action>span[aria-hidden="true"] {
		transform: none;
	}

	.team-players__viewport {
		scroll-behavior: auto;
	}

	.team-match-centre__all {
		transition: none;
	}

}