.cd-archive {
	min-height: 55vh;
}

.cd-archive-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 82% 20%, rgba(228,167,9, .2), transparent 28%),
		linear-gradient(120deg, #05142e 0%, #06317c 65%, #1d4189 100%);
	border-bottom: 6px solid var(--cd-yellow);
}

.cd-archive-hero::after {
	position: absolute;
	top: -110px;
	right: 7%;
	width: 280px;
	height: 280px;
	border: 48px solid rgba(255, 255, 255, .045);
	border-radius: 50%;
	content: "";
}

.cd-archive-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: 42px 48px;
}

.cd-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 30px;
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.cd-breadcrumbs a {
	color: #fff;
	text-decoration: none;
}

.cd-breadcrumbs a:hover,
.cd-breadcrumbs a:focus {
	color: var(--cd-yellow);
}

.cd-archive-hero__inner > p:not(.cd-archive-hero__description) {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.cd-archive-hero h1 {
	max-width: 900px;
	margin: 0;
	color: var(--cd-yellow);
	font-family: "Lato", Arial, sans-serif;
	font-size: clamp(42px, 7vw, 86px);
	font-style: italic;
	font-weight: 700;
	letter-spacing: -.055em;
	line-height: .95;
	text-transform: none;
}

.cd-archive__content {
	padding-block: 54px 64px;
	scroll-margin-top: 20px;
}

.cd-player-profile {
	padding: 42px 0 0;
	background: linear-gradient(180deg, #eef2fa 0%, #fff 100%);
}

.cd-player-profile + .cd-archive__content {
	padding-top: 42px;
}

.cd-player-profile__card {
	display: grid;
	grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
	overflow: hidden;
	background: #fff;
	border: 1px solid #dce3ee;
	border-radius: 18px;
	box-shadow: 0 20px 55px rgba(5,20,46, .12);
}

.cd-player-profile__media {
	position: relative;
	min-height: 390px;
	overflow: hidden;
	background: linear-gradient(150deg, #062863, #1d4189);
}

.cd-player-profile__image,
.cd-player-profile__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	object-fit: cover;
}

.cd-player-profile__placeholder {
	color: rgba(228,167,9, .9);
	font-size: 96px;
	font-weight: 950;
}

.cd-player-profile__shirt-number {
	position: absolute;
	right: 18px;
	bottom: 16px;
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	color: #071b3d;
	background: var(--cd-yellow);
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
	font-size: 26px;
	font-weight: 950;
}

.cd-player-profile__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(30px, 5vw, 64px);
}

.cd-player-profile__eyebrow {
	margin: 0 0 18px;
	color: #1d4189;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.cd-player-profile__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.cd-player-profile__position {
	margin: 0 0 5px;
	color: #667286;
	font-size: 14px;
	font-weight: 800;
}

.cd-player-profile h2 {
	margin: 0;
	color: #071a3c;
	font-family: "Lato", Arial, sans-serif;
	font-size: clamp(38px, 5vw, 66px);
	font-weight: 950;
	letter-spacing: -.055em;
	line-height: .92;
}

.cd-player-profile__heading > strong {
	color: #e3e8f1;
	font-size: clamp(58px, 8vw, 104px);
	font-weight: 950;
	letter-spacing: -.08em;
	line-height: .75;
}

.cd-player-profile__description {
	max-width: 760px;
	margin-top: 24px;
	color: #344157;
	font-size: 16px;
	line-height: 1.65;
}

.cd-player-profile__description p {
	margin: 0;
}

.cd-player-profile__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 30px 0 0;
	overflow: hidden;
	background: #dce3ee;
	border: 1px solid #dce3ee;
	border-radius: 10px;
}

.cd-player-profile__facts div {
	padding: 14px 16px;
	background: #f7f8fb;
}

.cd-player-profile__facts dt {
	margin-bottom: 4px;
	color: #717e94;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.cd-player-profile__facts dd {
	margin: 0;
	color: #071b3d;
	font-size: 15px;
	font-weight: 900;
}

.cd-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 26px;
}

.cd-archive-card {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e1e6ee;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(5,20,46, .07);
	transition: box-shadow .2s ease, transform .2s ease;
}

.cd-archive-card:hover,
.cd-archive-card:focus-within {
	box-shadow: 0 14px 32px rgba(5,20,46, .13);
	transform: translateY(-3px);
}

.cd-archive-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e9edf4;
}

.cd-archive-card__image,
.cd-archive-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .38s ease;
}

.cd-archive-card__placeholder {
	background:
		linear-gradient(135deg, rgba(228,167,9, .72), transparent 52%),
		var(--cd-blue);
}

.cd-archive-card:hover .cd-archive-card__image,
.cd-archive-card:focus-within .cd-archive-card__image {
	transform: scale(1.035);
}

.cd-archive-card__body {
	padding: 17px 18px 20px;
}

.cd-archive-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	color: #667286;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .045em;
	text-transform: uppercase;
}

.cd-archive-card__meta span {
	overflow: hidden;
	color: var(--cd-blue);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cd-archive-card h2 {
	margin: 0;
	color: #05142e;
	font-family: "Lato", Arial, sans-serif;
	font-size: clamp(21px, 2vw, 28px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.04;
}

.cd-archive-card h2 a {
	text-decoration: none;
}

.cd-archive-card h2 a:hover,
.cd-archive-card h2 a:focus {
	color: var(--cd-blue);
}

.cd-archive .navigation.pagination {
	margin-top: 52px;
}

.cd-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
}

.cd-archive .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	min-height: 40px;
	padding: 8px 12px;
	color: var(--cd-blue);
	background: #fff;
	border: 1px solid #d7deea;
	border-radius: 7px;
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
}

.cd-archive .page-numbers.current,
.cd-archive a.page-numbers:hover,
.cd-archive a.page-numbers:focus {
	color: var(--cd-blue-dark);
	background: var(--cd-yellow);
	border-color: var(--cd-yellow);
}

.cd-archive-empty {
	padding: 50px;
	background: #f3f5f9;
	border-radius: 10px;
	font-weight: 700;
	text-align: center;
}

@media (max-width: 800px) {
	.cd-archive-hero__inner {
		padding-block: 32px 38px;
	}

	.cd-breadcrumbs {
		margin-bottom: 22px;
	}

	.cd-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 18px;
	}

	.cd-player-profile__card {
		grid-template-columns: minmax(200px, 38%) minmax(0, 1fr);
	}

	.cd-player-profile__media {
		min-height: 340px;
	}

	.cd-player-profile__body {
		padding: 30px;
	}

	.cd-player-profile__facts {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.cd-archive-hero h1 {
		font-size: clamp(38px, 14vw, 60px);
	}

	.cd-archive__content {
		padding-block: 34px 48px;
	}

	.cd-archive-grid {
		grid-template-columns: 1fr;
	}

	.cd-archive-card h2 {
		font-size: 24px;
	}

	.cd-player-profile {
		padding-top: 24px;
	}

	.cd-player-profile__card {
		grid-template-columns: 1fr;
	}

	.cd-player-profile__media {
		min-height: 360px;
	}

	.cd-player-profile__body {
		padding: 28px 22px 24px;
	}

	.cd-player-profile__heading > strong {
		display: none;
	}
}

.cd-archive-hero__description {
	max-width: 720px;
	margin: 14px 0 0;
	color: #dce3f0;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
}

.cd-player-profile__facts .cd-player-profile__source {
	margin-top: 4px;
	color: #717e94;
	font-size: 11px;
	font-weight: 400;
}

.cd-castilla-badge--inline {
	display: inline-block;
	margin-left: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	color: #071b3d;
	background: #fff;
	box-shadow: 0 0 0 2px #e4a709;
	font-style: normal;
	letter-spacing: .1em;
	vertical-align: middle;
}
