/* Athlete profile
   Brief-locked with Michael 2026-08-27: showcase the athlete, photo large
   alongside the facts, lead with the positives and integrate the classification
   rather than opening on medical data.

   The signature move here is the figure row - contest weight, off-season, years
   training at display scale. It is the one part that could not be lifted onto
   another site: those are the numbers this sport actually compares, and putting
   them at headline size is what makes the page read as an athlete profile
   rather than a records entry. Squared corners throughout, matching the theme.
*/

.wcbb-profile {
	display: grid;
	grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
	gap: 34px;
	align-items: start;
	padding: 8px 0 4px;
}

.wcbb-profile__media img {
	display: block;
	width: 100%;
	height: auto;
	border: 3px solid #c8102e;
}

.wcbb-profile__lead { min-width: 0; }

.wcbb-profile__name {
	margin: 0;
	font-family: Oswald, "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	font-size: clamp(34px, 4.4vw, 58px);
	line-height: .96;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	color: #fff;
}

/* Status is the credential, so it gets the weight. Gold only for pros - the
   distinction is the whole point of the federation. */
.wcbb-profile__status {
	display: inline-block;
	margin: 12px 0 0;
	padding: 5px 13px;
	background: #c8102e;
	color: #fff;
	font-family: Oswald, "Arial Narrow", Arial, sans-serif;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.wcbb-profile__status.is-pro { background: #d4a017; color: #241a00; }

.wcbb-profile__where {
	margin: 14px 0 0;
	font-size: 17px;
	color: #cfd6dc;
}
.wcbb-profile__nick {
	margin: 4px 0 0;
	font-size: 17px; font-style: italic;
	color: #8d9aa6;
}

/* The figures. Display scale, no boxes - the numbers carry the emphasis on
   their own and a border around each would only add furniture. */
.wcbb-figures {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 26px 0 0;
	padding: 20px 0 0;
	border-top: 2px solid rgba(255,255,255,.14);
}
.wcbb-figure { padding: 0 18px 0 0; margin: 0 18px 14px 0; border-right: 1px solid rgba(255,255,255,.13); }
.wcbb-figure:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.wcbb-figure dt {
	margin: 0;
	font-family: Oswald, "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	font-size: clamp(24px, 2.5vw, 34px);
	line-height: 1;
	color: #fff;
	white-space: nowrap;
}
.wcbb-figure dd {
	margin: 6px 0 0;
	font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
	color: #8d9aa6;
}

/* Classification, integrated. Same row, quieter voice. */
.wcbb-profile__class {
	margin: 4px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid rgba(255,255,255,.13);
	font-size: 15px;
	color: #b6c0c8;
}

.wcbb-profile__cta { margin: 22px 0 0; }
.wcbb-profile__cta .wcbb-btn {
	display: inline-flex; align-items: center; height: 48px; padding: 0 26px;
	background: #c8102e; color: #fff; text-decoration: none;
	font-family: Oswald, "Arial Narrow", Arial, sans-serif;
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.wcbb-profile__cta .wcbb-btn:hover { background: #ec6a2a; }

/* Everything else, demoted. Two columns of quiet label/value pairs. */
.wcbb-detail {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 0 32px;
	margin: 26px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid rgba(255,255,255,.13);
}
.wcbb-detail dt {
	margin: 0;
	font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase;
	color: #7d8892;
}
.wcbb-detail dd {
	margin: 2px 0 13px;
	font-size: 15px;
	color: #dfe4e8;
}

@media (max-width: 860px) {
	.wcbb-profile { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.wcbb-profile__media img { max-width: 420px; }
	.wcbb-figure { padding-right: 20px; margin-right: 20px; }
}

/* Phone widths: flex-wrap lets a wide figure ("97 lbs / 44 kg") claim a full
   row while a narrow one ("1") shares a row with its neighbour, so the grid
   of dividers reads unevenly - one item per line, then two sharing a line.
   A fixed two-column grid keeps every pair aligned regardless of how long
   either value's text is. */
@media (max-width: 600px) {
	.wcbb-figures {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 20px;
		row-gap: 14px;
	}
	.wcbb-figure {
		padding: 0; margin: 0; border-right: 0;
	}
	.wcbb-figure:nth-child(odd) {
		border-right: 1px solid rgba(255,255,255,.13);
		padding-right: 20px;
	}
}

/* Social links
   The theme renders these as "<strong>Instagram :</strong> <a>https://full-url</a>".
   An earlier pass styled the anchor itself as a 44px tile, which left the whole
   URL rendering inside a 44px box - overlapping text and a stray blue square.
   These are now proper chips: an icon, the platform name, and no raw URL. */
.wcbb-socials {
	display: flex; flex-wrap: wrap; gap: 10px;
	margin: 18px 0 4px; padding: 0; list-style: none;
}
.wcbb-social {
	display: inline-flex; align-items: center; gap: 9px;
	height: 44px; padding: 0 16px 0 13px;
	background: #1a3648; color: #f1f1e6; text-decoration: none;
	font-family: Oswald, "Arial Narrow", Arial, sans-serif;
	font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	transition: background .15s ease;
}
.wcbb-social:hover, .wcbb-social:focus-visible { background: #c8102e; color: #fff; }
.wcbb-social:focus-visible { outline: 3px solid #ec6a2a; outline-offset: 2px; }
.wcbb-social svg { width: 18px; height: 18px; flex: 0 0 18px; fill: currentColor; }

/* Contact form.
   Labels were #1a3648 - the same navy the profile page paints behind them, so
   they composited to roughly 1.5:1 and read as invisible rather than merely
   low contrast. Found by Marc on 27 Aug. #f1f1e6 on #0e0e0e is the pairing the
   rest of the dark UI uses and clears WCAG AA comfortably. The inputs keep
   dark-on-white; only the labels sat on the dark ground. */
.wcbb-contact { margin: 34px 0 10px; }
.wcbb-contact__form { max-width: 560px; }
.wcbb-contact__row { margin-bottom: 14px; }
.wcbb-contact__row label {
	display: block; margin-bottom: 5px;
	font-family: Oswald, "Arial Narrow", Arial, sans-serif;
	font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #f1f1e6;
}
.wcbb-contact__row input, .wcbb-contact__row textarea {
	width: 100%; padding: 10px 12px; font-size: 15px; font-family: inherit;
	border: 1px solid #c8c8bb; background: #fff; color: #1a3648; border-radius: 0;
}
.wcbb-contact__row textarea { resize: vertical; }
.wcbb-contact__ok, .wcbb-contact__err { padding: 11px 14px; margin-bottom: 16px; font-size: 15px; }
.wcbb-contact__ok { background: #edf6ed; border-left: 4px solid #3f8a3f; color: #1e4620; }
.wcbb-contact__err { background: #fbeceb; border-left: 4px solid #b3352c; color: #6b1f1a; }

/* Honeypot stays in the DOM for bots but out of sight and out of the a11y tree. */
.wcbb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Turnstile widget sits between the message field and the button. */
.wcbb-contact__bot { margin: 4px 0 18px; }
.wcbb-contact__bot .cf-turnstile { display: block; min-height: 65px; }
