body.uspf-team-fullwidth-page .main-content > .container,
body.uspf-team-fullwidth-page .page-container {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

body.uspf-team-fullwidth-page .page-content,
body.uspf-team-fullwidth-page .entry-card.page-content {
	width: min(100%, 1320px);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(12px, 3vw, 32px);
	padding-right: clamp(12px, 3vw, 32px);
	border-radius: 0;
}

body.uspf-team-fullwidth-page .entry-content {
	width: 100%;
	max-width: none;
}

.uspf-team-cards-wrap {
	width: min(100%, 920px);
	margin: 0 auto;
}

/* Shortcode accidentally wrapped in <code> inside the page editor */
code:has(> .uspf-team-cards-wrap),
p > code:has(> .uspf-team-cards-wrap) {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	white-space: normal;
}

.uspf-team-search {
	display: grid;
	gap: 7px;
	margin: 0 0 14px;
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.uspf-team-search span {
	font-size: 0.84rem;
	color: #f8d11e;
}

.uspf-team-search__input {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid rgba(248, 209, 30, 0.45);
	border-radius: 8px;
	background: rgba(0, 26, 64, 0.76);
	color: #fff;
	font-size: 1rem;
	outline: none;
}

.uspf-team-search__input::placeholder {
	color: rgba(255, 255, 255, 0.58);
}

.uspf-team-search__input:focus {
	border-color: #f8d11e;
	box-shadow: 0 0 0 3px rgba(248, 209, 30, 0.18);
}

.uspf-team-empty {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.8);
}

.uspf-team-cards {
	display: grid;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 0;
}

.uspf-person {
	position: relative;
	border: 1px solid rgba(248, 209, 30, 0.28);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

.uspf-person[hidden] {
	display: none;
}

.uspf-person__summary {
	display: grid;
	grid-template-columns: 64px 1fr 24px;
	align-items: center;
	gap: 14px;
	min-height: 76px;
	padding: 10px 14px;
	cursor: pointer;
	list-style: none;
	background: rgba(0, 50, 110, 0.72);
	color: #fff;
	transition: background 0.2s ease;
}

.uspf-person__summary::-webkit-details-marker {
	display: none;
}

.uspf-person__summary:hover,
.uspf-person[open] .uspf-person__summary {
	background: rgba(0, 81, 179, 0.86);
}

.uspf-person__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border: 2px solid #02a9e8;
	border-radius: 8px;
	background: #fff;
	color: #00326e;
	font-size: 1.35rem;
	font-weight: 800;
}

.uspf-person__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.uspf-person__name {
	min-width: 0;
	color: #fff;
	font-size: clamp(1rem, 2.2vw, 1.25rem);
	line-height: 1.15;
	font-weight: 800;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.uspf-person__toggle {
	position: relative;
	width: 18px;
	height: 18px;
	justify-self: end;
}

.uspf-person__toggle::before,
.uspf-person__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	border-radius: 999px;
	background: #f8d11e;
	transform: translate(-50%, -50%);
}

.uspf-person__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.uspf-person[open] .uspf-person__toggle::after {
	opacity: 0;
}

.uspf-person__card {
	display: none;
}

.uspf-person[open] .uspf-person__card {
	position: relative;
	display: flex;
	justify-content: center;
	padding: clamp(14px, 2vw, 24px);
	overflow: visible;
	background: rgba(0, 26, 64, 0.52);
}

.uspf-person__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 2px solid rgba(248, 209, 30, 0.75);
	border-radius: 8px;
	background: #00326e;
	cursor: pointer;
}

.uspf-person__close::before,
.uspf-person__close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: #f8d11e;
}

.uspf-person__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.uspf-person__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.uspf-athlete-card {
	--card-blue: #006fc1;
	container-type: inline-size;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 2cqw;
	width: min(100%, 1064px);
	height: auto;
	aspect-ratio: auto;
	flex: 0 0 auto;
	padding: 5.4cqw 6.8cqw 4.2cqw;
	border: 0.55cqw solid #f8d11e;
	border-radius: 4.4cqw;
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.12), transparent 18%),
		linear-gradient(140deg, rgba(0, 88, 173, 0.94), rgba(0, 43, 108, 0.98)),
		#00326e;
	box-shadow: 0 18px 45px rgba(0, 28, 70, 0.32);
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.uspf-athlete-card::before,
.uspf-athlete-card::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: -1;
}

.uspf-athlete-card::before {
	top: 8.3%;
	left: -2%;
	width: 72%;
	height: 3.4%;
	border-radius: 0 1.2cqw 1.2cqw 0;
	background: linear-gradient(90deg, #f8d11e, #ffd900);
	transform: rotate(-4deg);
	box-shadow: 43cqw 2.2cqw 0 -0.55cqw #f8d11e;
}

.uspf-athlete-card::after {
	inset: 0;
	background:
		linear-gradient(173deg, transparent 30%, rgba(248, 209, 30, 0.9) 30.3%, transparent 30.6%),
		linear-gradient(176deg, transparent 76%, rgba(248, 209, 30, 0.86) 76.3%, transparent 76.6%),
		linear-gradient(120deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(60deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: auto, auto, 3.6cqw 3.6cqw, 3.6cqw 3.6cqw;
	opacity: 0.58;
}

.uspf-athlete-card__ribbon {
	display: none;
}

.uspf-athlete-card__brand {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 2cqw;
	text-transform: uppercase;
}

.uspf-athlete-card__site-logo {
	display: block;
	width: 20.5cqw;
	height: 7.2cqw;
	object-fit: contain;
	object-position: left center;
	filter: drop-shadow(0 0.25cqw 0.35cqw rgba(0, 0, 0, 0.22));
}

.uspf-athlete-card__mark {
	display: inline-grid;
	grid-template-columns: repeat(3, 0.85cqw);
	gap: 0.32cqw;
	align-items: end;
	height: 3.6cqw;
}

.uspf-athlete-card__mark span {
	display: block;
	width: 0.85cqw;
	border-radius: 0.25cqw;
	background: #d8e2ef;
}

.uspf-athlete-card__mark span:nth-child(1) {
	height: 2.5cqw;
}

.uspf-athlete-card__mark span:nth-child(2) {
	height: 3.1cqw;
	background: #9eafc4;
}

.uspf-athlete-card__mark span:nth-child(3) {
	height: 3.6cqw;
	background: #f8d11e;
}

.uspf-athlete-card__brand-text {
	font-size: 7.2cqw;
	line-height: 0.76;
	font-weight: 900;
	letter-spacing: 0;
	color: #f8d11e;
	text-shadow: -0.1cqw 0.1cqw 0 rgba(255, 255, 255, 0.24);
}

.uspf-athlete-card__federation {
	max-width: none;
	font-size: 2.15cqw;
	line-height: 1.06;
	font-weight: 900;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.95);
}

.uspf-athlete-card__title {
	position: relative;
	z-index: 1;
	margin: 0 0 0 34.5%;
	color: #fff;
	font-size: clamp(1rem, 2.9cqw, 1.65rem);
	line-height: 1.08;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0;
}

.uspf-athlete-card__body {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 27% minmax(0, 1fr);
	align-items: start;
	gap: 7.5%;
	min-width: 0;
}

.uspf-athlete-card__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 0.58cqw solid #02a9e8;
	border-radius: 2.25cqw;
	background: #fff;
	box-shadow: 0 1.1cqw 2.2cqw rgba(0, 0, 0, 0.2);
	color: #00326e;
	font-size: 8cqw;
	font-weight: 800;
}

.uspf-athlete-card__photo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center top;
}

.uspf-athlete-card__info {
	position: relative;
	width: 100%;
	display: grid;
	gap: 0.36cqw;
	min-width: 0;
}

.uspf-athlete-card__row {
	display: grid;
	grid-template-columns: 34% minmax(0, 1fr);
	gap: 1.05cqw;
	align-items: center;
	min-height: 2.62cqw;
	padding: 0.32cqw 1cqw;
	border-radius: 0.72cqw;
	background: rgba(0, 107, 194, 0.82);
	color: #fff;
	font-size: clamp(0.72rem, 1.18cqw, 0.95rem);
	line-height: 1.08;
}

.uspf-athlete-card__row span {
	min-width: 0;
	font-weight: 650;
	color: rgba(255, 255, 255, 0.92);
}

.uspf-athlete-card__row strong {
	min-width: 0;
	font-size: 1.02em;
	font-weight: 850;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.uspf-athlete-card__row.is-highlighted {
	min-height: 2.92cqw;
}

.uspf-athlete-card__row.is-highlighted strong {
	font-size: 1.18em;
}

@media (max-width: 720px) {
	.uspf-team-cards-wrap {
		width: 100%;
	}

	.uspf-person__summary {
		grid-template-columns: 58px 1fr 22px;
		gap: 12px;
		padding: 9px 11px;
	}

	.uspf-person__photo {
		width: 52px;
		height: 52px;
	}

}

/* Use the same stable vertical card layout on every screen size. */
	.uspf-person[open] .uspf-person__card {
		padding: 48px 8px 14px;
	}

	.uspf-athlete-card {
		display: flex;
		flex-direction: column;
		gap: 12px;
		width: 100%;
		height: auto;
		aspect-ratio: auto;
		padding: 14px 14px 16px;
		border-width: 3px;
		border-radius: 14px;
	}

	.uspf-athlete-card::before {
		top: 10px;
		left: -4px;
		width: 58%;
		height: 4px;
		box-shadow: 28px 8px 0 -1px #f8d11e;
	}

	.uspf-athlete-card::after {
		opacity: 0.35;
		background-size: auto, auto, 24px 24px, 24px 24px;
	}

	.uspf-athlete-card__brand {
		position: static;
		grid-template-columns: auto 1fr;
		gap: 10px;
		align-items: center;
	}

	.uspf-athlete-card__site-logo {
		width: auto;
		height: 34px;
		max-width: 42%;
	}

	.uspf-athlete-card__mark {
		height: 28px;
		grid-template-columns: repeat(3, 7px);
		gap: 3px;
	}

	.uspf-athlete-card__mark span {
		width: 7px;
		border-radius: 2px;
	}

	.uspf-athlete-card__mark span:nth-child(1) {
		height: 18px;
	}

	.uspf-athlete-card__mark span:nth-child(2) {
		height: 22px;
	}

	.uspf-athlete-card__mark span:nth-child(3) {
		height: 28px;
	}

	.uspf-athlete-card__brand-text {
		font-size: 1.65rem;
		line-height: 0.9;
	}

	.uspf-athlete-card__federation {
		font-size: 0.62rem;
		line-height: 1.15;
	}

	.uspf-athlete-card__title {
		position: static;
		margin: 0;
		font-size: 0.92rem;
		line-height: 1.2;
	}

	.uspf-athlete-card__body {
		position: static;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.uspf-athlete-card__photo {
		position: static;
		width: min(46vw, 168px);
		max-width: 100%;
		margin: 0;
		border-width: 3px;
		border-radius: 10px;
		font-size: 2.4rem;
	}

	.uspf-athlete-card__info {
		position: static;
		width: 100%;
		display: grid;
		gap: 6px;
	}

	.uspf-athlete-card__row {
		grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
		gap: 8px;
		min-height: 0;
		padding: 7px 10px;
		border-radius: 7px;
		font-size: 0.72rem;
		line-height: 1.25;
	}

	.uspf-athlete-card__row.is-highlighted {
		min-height: 0;
	}

	.uspf-athlete-card__row.is-highlighted strong {
		font-size: 1.08em;
	}

@media (max-width: 420px) {
	.uspf-person__summary {
		grid-template-columns: 50px 1fr 18px;
	}

	.uspf-person__photo {
		width: 46px;
		height: 46px;
	}

	.uspf-person__close {
		top: 8px;
		right: 8px;
		width: 30px;
		height: 30px;
	}
}
