.team-archive {
	padding-top: 0;
	background:
		linear-gradient(rgba(55, 116, 74, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(55, 116, 74, 0.035) 1px, transparent 1px),
		#f7f9f8;
	background-size: 42px 42px;
}

.team-archive__hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 80% 24%, rgba(109, 201, 0, 0.18), transparent 28%),
		linear-gradient(118deg, #061a11 0%, #092719 58%, #0d341d 100%);
}

.team-archive__hero::before,
.team-archive__hero::after {
	position: absolute;
	content: "";
	border: 1px solid rgba(109, 201, 0, 0.13);
	border-radius: 50%;
}

.team-archive__hero::before {
	right: -120px;
	bottom: -260px;
	width: 520px;
	aspect-ratio: 1;
	box-shadow: 0 0 0 68px rgba(109, 201, 0, 0.03), 0 0 0 136px rgba(109, 201, 0, 0.018);
}

.team-archive__hero::after {
	top: 38px;
	right: 19%;
	width: 86px;
	height: 86px;
	opacity: 0.36;
}

.team-archive__hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
	min-height: 290px;
	padding-block: clamp(2.6rem, 6vw, 4.7rem);
}

.team-archive__identity {
	display: flex;
	gap: 1.5rem;
	align-items: center;
}

.team-archive__crest {
	position: relative;
	display: grid;
	width: 108px;
	height: 124px;
	flex: 0 0 108px;
	place-items: center;
	color: #102217;
	background: linear-gradient(145deg, #fff 0%, #eaf3e7 100%);
	border: 5px solid rgba(109, 201, 0, 0.92);
	border-radius: 48% 48% 46% 46% / 34% 34% 62% 62%;
	box-shadow: inset 0 0 0 5px #173b25, 0 22px 42px rgba(0, 0, 0, 0.25);
}

.team-archive__crest::after {
	position: absolute;
	inset: 12px;
	content: "";
	border: 1px solid rgba(15, 48, 27, 0.16);
	border-radius: inherit;
}

.team-archive__crest > span {
	position: relative;
	z-index: 1;
	font-size: 3.1rem;
	font-weight: 900;
	line-height: 1;
}

.team-archive__eyebrow,
.team-archive__section-header span,
.team-archive__all small {
	display: block;
	color: #6dc900;
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.team-archive__identity h1 {
	margin: 0.3rem 0 0;
	font-size: clamp(1.75rem, 3vw, 2.75rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.team-archive__league {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin: 0.7rem 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.8rem;
}

.team-archive__league img {
	width: 22px;
	height: 15px;
	object-fit: cover;
	border-radius: 1px;
}

.team-archive__hero-copy {
	padding-left: 2rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.87rem;
	line-height: 1.75;
	border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.team-archive__hero-copy p,
.team-archive__hero-copy div {
	margin: 0;
}

.team-archive__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-top: 1rem;
	margin-top: 1rem !important;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.team-archive__stats > div {
	display: flex;
	gap: 0.4rem;
	align-items: baseline;
}

.team-archive__stats > div + div {
	padding-left: 1rem;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.team-archive__stats strong {
	color: #fff;
	font-size: 1.55rem;
	line-height: 1;
}

.team-archive__stats span {
	font-size: 0.69rem;
}

.team-archive__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 1.25rem;
	align-items: start;
	padding-block: 1.6rem 3rem;
}

.team-archive__content,
.team-archive__box,
.team-archive__all {
	background: #fff;
	border: 1px solid #dfe6e1;
	border-radius: 11px;
	box-shadow: 0 8px 28px rgba(18, 51, 29, 0.055);
}

.team-archive__content {
	min-width: 0;
	padding: 1.2rem;
}

.team-archive__section-header {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid #e6ebe8;
}

.team-archive__section-header .ui-title {
	margin: 0.2rem 0 0;
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
	line-height: 1.2;
}

.team-archive__section-header small {
	padding: 0.35rem 0.65rem;
	color: #388f17;
	font-size: 0.68rem;
	font-weight: 750;
	white-space: nowrap;
	background: #eef8ea;
	border-radius: 999px;
}

.team-archive__sidebar {
	position: sticky;
	top: 1rem;
	display: grid;
	gap: 1rem;
}

.team-archive__all {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 0.8rem;
	padding: 1rem;
	border-top: 3px solid #6dc900;
}

.team-archive__all > span {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	color: #3d9f18;
	background: #eef8ea;
	border-radius: 50%;
}

.team-archive__all svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.team-archive__all .ui-title {
	margin: 0.15rem 0 0;
	font-size: 1rem;
	line-height: 1.3;
}

.team-archive__all > a {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.7rem 0.8rem;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	text-decoration: none;
	background: linear-gradient(90deg, #33930f, #51b923);
	border-radius: 7px;
}

.team-archive__box {
	padding: 1rem;
}

.team-archive__box > header {
	padding-bottom: 0.7rem;
	border-bottom: 1px solid #e6ebe8;
}

.team-archive__box .ui-title {
	margin: 0;
	font-size: 1rem;
}

.team-archive__box ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.team-archive__box li + li {
	border-top: 1px solid #edf0ee;
}

.team-archive__box li > a {
	display: flex;
	gap: 0.65rem;
	align-items: center;
	min-height: 48px;
	color: #27302a;
	font-size: 0.75rem;
	text-decoration: none;
}

.team-archive__box li > a:hover strong,
.team-archive__box li > a:focus-visible strong {
	color: #3d9f18;
}

.team-archive__competitions li > a {
	justify-content: space-between;
}

.team-archive__competitions li span {
	color: #3d9f18;
}

.team-archive__opponent-mark {
	display: grid;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	place-items: center;
	color: #347f17;
	font-size: 0.72rem;
	font-weight: 850;
	background: #eff8eb;
	border-radius: 50%;
}

.team-archive__opponents strong {
	min-width: 0;
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.team-archive__opponents small {
	min-width: 26px;
	padding: 0.12rem 0.35rem;
	color: #3d9f18;
	text-align: center;
	background: #edf8e9;
	border-radius: 999px;
}

.team-archive .navigation.pagination {
	margin-top: 1.25rem;
}

.team-archive .nav-links {
	display: flex;
	gap: 0.4rem;
	justify-content: center;
}

.team-archive .page-numbers {
	display: grid;
	min-width: 36px;
	height: 36px;
	padding-inline: 0.55rem;
	place-items: center;
	color: #52605a;
	font-size: 0.75rem;
	font-weight: 750;
	text-decoration: none;
	background: #f6f8f7;
	border: 1px solid #e0e6e2;
	border-radius: 7px;
}

.team-archive .page-numbers.current,
.team-archive .page-numbers:hover,
.team-archive .page-numbers:focus-visible {
	color: #fff;
	background: #3d9f18;
	border-color: #3d9f18;
}

.team-archive__empty {
	padding: 3rem 1rem;
	color: #68736c;
	text-align: center;
}

.team-archive__empty > span {
	font-size: 2.25rem;
}

.team-archive__empty .ui-title {
	margin: 0.65rem 0 0.25rem;
}

.team-archive__empty p {
	margin: 0;
}

@media (max-width: 1050px) {
	.team-archive__layout {
		grid-template-columns: minmax(0, 1fr) 280px;
	}

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

@media (max-width: 820px) {
	.team-archive__hero-inner,
	.team-archive__layout {
		grid-template-columns: 1fr;
	}

	.team-archive__hero-inner {
		gap: 1.5rem;
	}

	.team-archive__hero-copy {
		padding: 1.25rem 0 0;
		border-top: 1px solid rgba(255, 255, 255, 0.13);
		border-left: 0;
	}

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

	.team-archive__all {
		grid-column: 1 / -1;
	}
}

@media (max-width: 620px) {
	.team-archive__identity {
		align-items: flex-start;
		flex-direction: column;
	}

	.team-archive__crest {
		width: 78px;
		height: 90px;
		flex-basis: 78px;
		border-width: 4px;
	}

	.team-archive__crest > span {
		font-size: 2.25rem;
	}

	.team-archive__layout {
		padding-top: 1rem;
	}

	.team-archive__content {
		padding: 0.8rem;
	}

	.team-archive__section-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.team-archive__grid,
	.team-archive__sidebar {
		grid-template-columns: 1fr;
	}

	.team-archive__all {
		grid-column: auto;
	}
}
