@import url('modules/variables.css');

/* Coach Profile page — BestPreviews layout, Bet90 green theme */

.bp-coach-page {
	max-width: 100%;
	min-width: 0;
	width: 100%;
	flex: 0 0 100%;
	overflow-x: clip;
}

.bp-coach-profile-page #primary.bp-coach-page,
.bp-coach-profile-page #primary.content-area.bp-coach-page {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	float: none;
}

.bp-coach-profile-page #secondary {
	display: none !important;
}

.bp-coach-page .site-main {
	max-width: 100%;
	margin: 0;
	padding: 0 12px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	background-color: transparent !important;
}

.bp-coach-profile-page .fp-breadcrumb {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 12px;
	box-sizing: border-box;
}

.bp-coach-wrap {
	display: grid;
	gap: 24px;
	padding: 10px 0 36px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

table.bp-coach-table {
	margin-bottom: 0;
	border: none;
}

table.bp-coach-table tr,
table.bp-coach-table td,
table.bp-coach-table th {
	border-color: rgba(182, 204, 168, 0.22);
}

/* ── Hero ── */
.bp-coach-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	background: var(--card-gradient-subtle-green);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	padding: 26px 28px;
	color: #ffffff;
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
	backdrop-filter: blur(10px);
}

.bp-coach-hero__main {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 20px;
	flex: 1 1 280px;
	min-width: 0;
}

.bp-coach-hero__info {
	flex: 1 1 0;
	min-width: 0;
	max-width: 100%;
}

.bp-coach-hero__photo-wrap {
	position: relative;
	flex: 0 0 auto;
}

.bp-coach-hero__photo-wrap::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(182, 204, 168, 0.55), rgba(36, 96, 48, 0.45));
	z-index: 0;
}

.bp-coach-hero__photo {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 124px;
	height: 124px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid rgba(33, 33, 32, 0.9);
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.5);
}

.bp-coach-hero__role {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #b6cca8;
}

.bp-coach-hero__name {
	margin: 0 0 10px;
	font-size: clamp(1.55rem, 3.5vw, 2.05rem);
	font-weight: 800;
	line-height: 1.15;
	color: #ffffff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	overflow-wrap: anywhere;
	word-break: break-word;
}

.bp-coach-hero__team {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 600;
}

.bp-coach-hero__team img {
	width: 26px;
	height: 26px;
	object-fit: contain;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	padding: 2px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.bp-coach-hero__team a {
	color: #ffffff;
	text-decoration: none;
}

.bp-coach-hero__team a:hover {
	color: #b6cca8;
	text-decoration: underline;
}

.bp-coach-hero__contract {
	color: rgba(255, 255, 255, 0.72);
	font-weight: 500;
	font-size: 12px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
}

.bp-coach-meta-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bp-coach-meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	transition: border-color 0.2s ease, background-color 0.2s ease;
	text-decoration: none;
}

.bp-coach-meta-chip:hover {
	border-color: rgba(182, 204, 168, 0.35);
	background: rgba(182, 204, 168, 0.08);
	color: #ffffff;
}

.bp-coach-meta-chip--link {
	border-color: rgba(182, 204, 168, 0.28);
	color: #b6cca8;
}

.bp-coach-hero__aside {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 10px;
	flex: 0 0 auto;
	min-width: 120px;
}

.bp-coach-hero__stat-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 108px;
	padding: 14px 16px;
	border-radius: 16px;
	text-align: center;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bp-coach-hero__stat-badge--ppg {
	border-color: rgba(250, 204, 21, 0.4);
	background: linear-gradient(160deg, rgba(234, 179, 8, 0.18) 0%, rgba(0, 0, 0, 0.2) 100%);
	box-shadow: 0 0 24px rgba(250, 204, 21, 0.12);
}

.bp-coach-hero__stat-badge--win {
	border-color: rgba(74, 222, 128, 0.45);
	background: linear-gradient(160deg, rgba(34, 197, 94, 0.22) 0%, rgba(0, 0, 0, 0.2) 100%);
	box-shadow: 0 0 24px rgba(74, 222, 128, 0.15);
}

.bp-coach-hero__stat-value {
	display: block;
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
}

.bp-coach-hero__stat-badge--ppg .bp-coach-hero__stat-value {
	color: #facc15;
}

.bp-coach-hero__stat-badge--win .bp-coach-hero__stat-value {
	color: #4ade80;
}

.bp-coach-hero__stat-label {
	display: block;
	margin-top: 6px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.62);
	max-width: 100px;
	line-height: 1.3;
}

/* ── Shared card ── */
.bp-coach-card {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	border: 1px solid rgba(182, 204, 168, 0.22);
	border-radius: 16px;
	padding: 20px 22px;
	background: linear-gradient(160deg, rgba(33, 33, 32, 0.96) 0%, rgba(24, 48, 32, 0.98) 100%);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
	color: rgba(255, 255, 255, 0.92);
}

.bp-coach-section-title {
	margin: 0 0 14px;
	padding: 0 0 10px;
	border-bottom: 2px solid rgba(182, 204, 168, 0.38);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #ffffff;
}

/* ── Career summary ── */
.bp-coach-career-summary {
	padding-top: 18px;
}

.bp-coach-summary-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr));
	gap: 12px;
	min-width: 0;
}

.bp-coach-summary-chip {
	position: relative;
	padding: 14px 14px 14px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.09);
	overflow: hidden;
	text-align: left;
	transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.bp-coach-summary-chip::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: rgba(182, 204, 168, 0.5);
}

.bp-coach-summary-chip:hover {
	transform: translateY(-1px);
	border-color: rgba(182, 204, 168, 0.28);
	background: rgba(182, 204, 168, 0.06);
}

.bp-coach-summary-chip--wins::before { background: #4ade80; }
.bp-coach-summary-chip--draws::before { background: #facc15; }
.bp-coach-summary-chip--losses::before { background: #f87171; }
.bp-coach-summary-chip--total_matches::before { background: #b6cca8; }
.bp-coach-summary-chip--win_percentage::before { background: #27733f; }
.bp-coach-summary-chip--points_per_game::before { background: #38bdf8; }

.bp-coach-summary-chip__label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.52);
	margin-bottom: 6px;
}

.bp-coach-summary-chip__value {
	font-size: 1.35rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.1;
}

/* ── Match cards ── */
.bp-coach-match-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 16px;
	min-width: 0;
}

.bp-coach-match-row--no-next {
	grid-template-columns: 1fr;
}

.bp-coach-match-row > * {
	min-width: 0;
	max-width: 100%;
}

.bp-coach-match-card {
	border: 1px solid rgba(182, 204, 168, 0.24);
	border-radius: 16px;
	padding: 0;
	background: linear-gradient(160deg, rgba(33, 33, 32, 0.96) 0%, rgba(24, 48, 32, 0.98) 100%);
	color: rgba(255, 255, 255, 0.92);
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.bp-coach-match-card--result-w,
.bp-coach-match-card--result-win { border-top: 3px solid #4ade80; }
.bp-coach-match-card--result-d,
.bp-coach-match-card--result-draw { border-top: 3px solid #facc15; }
.bp-coach-match-card--result-l,
.bp-coach-match-card--result-loss { border-top: 3px solid #f87171; }

.bp-coach-match-card__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 18px 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bp-coach-match-card__title {
	margin: 0;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.58);
}

.bp-coach-match-card__comp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 11px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bp-coach-match-card__comp-badge img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.bp-coach-match-card__stage {
	margin: 0;
	padding: 0 18px 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.bp-coach-match-card__fixture {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	padding: 16px 18px 14px;
}

.bp-coach-match-card__team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	min-width: 0;
}

.bp-coach-match-card__team img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	padding: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.bp-coach-match-card__team-name {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.95);
	word-break: break-word;
}

.bp-coach-match-card__scoreblock {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 72px;
	padding: 10px 14px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.bp-coach-match-card__score {
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.02em;
	color: #ffffff;
}

.bp-coach-match-card__vs {
	font-size: 11px;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.45);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.bp-coach-match-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.18);
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
}

.bp-coach-match-card__date {
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.62);
}

.bp-coach-match-card__opponent-coach a {
	color: #b6cca8;
	text-decoration: none;
	font-weight: 700;
}

.bp-coach-match-card__opponent-coach a:hover {
	text-decoration: underline;
}

.bp-coach-match-card__status {
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(182, 204, 168, 0.15);
	color: #b6cca8;
	font-weight: 700;
	font-size: 11px;
}

.bp-coach-result {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.bp-coach-result--w,
.bp-coach-result--win {
	background: rgba(34, 197, 94, 0.18);
	color: #4ade80;
	border: 1px solid rgba(74, 222, 128, 0.3);
}

.bp-coach-result--d,
.bp-coach-result--draw {
	background: rgba(234, 179, 8, 0.16);
	color: #facc15;
	border: 1px solid rgba(250, 204, 21, 0.28);
}

.bp-coach-result--l,
.bp-coach-result--loss {
	background: rgba(239, 68, 68, 0.16);
	color: #f87171;
	border: 1px solid rgba(248, 113, 113, 0.28);
}

/* ── Tables (player-aligned) ── */
.bp-coach-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-radius: 12px;
	background: rgba(33, 33, 32, 0.55);
	border: 1px solid rgba(182, 204, 168, 0.22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	-webkit-overflow-scrolling: touch;
}

.bp-coach-table {
	width: 100%;
	min-width: 720px;
	table-layout: fixed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.9);
}

.bp-coach-matches-table {
	min-width: 860px;
}

.bp-coach-table thead {
	position: sticky;
	top: 0;
	z-index: 2;
}

.bp-coach-table th {
	padding: 12px 10px;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: rgba(255, 255, 255, 0.92);
	background: linear-gradient(135deg, rgba(33, 33, 32, 0.98) 0%, rgba(36, 96, 48, 0.98) 55%, rgba(39, 115, 63, 0.98) 100%);
	border-bottom: 2px solid rgba(182, 204, 168, 0.35);
	white-space: nowrap;
	text-align: left;
	overflow: hidden;
}

.bp-coach-table__th-num,
.bp-coach-table__th-center {
	text-align: center;
}

.bp-coach-table td {
	padding: 12px 10px;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	vertical-align: middle;
	background: rgba(33, 33, 32, 0.72);
	overflow: hidden;
}

.bp-coach-table tbody tr:nth-child(even) td {
	background: rgba(24, 48, 32, 0.82);
}

.bp-coach-table tbody tr:last-child td {
	border-bottom: none;
}

.bp-coach-table tbody tr:hover td {
	background: rgba(182, 204, 168, 0.07) !important;
}

.bp-coach-table__stat,
.bp-coach-table__th-center {
	text-align: center;
}

.bp-coach-table__team {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	max-width: 100%;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}

.bp-coach-table__team img {
	width: 22px;
	height: 22px;
	object-fit: contain;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	padding: 2px;
	flex: 0 0 22px;
}

.bp-coach-table__match {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}

.bp-coach-table__match img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	padding: 1px;
	flex: 0 0 18px;
}

.bp-coach-table__match-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.bp-coach-table__match-vs {
	flex: 0 0 auto;
	opacity: 0.55;
	font-size: 11px;
	text-transform: uppercase;
}

.bp-coach-matches-table tr.is-upcoming td {
	color: rgba(255, 255, 255, 0.88);
}

.bp-coach-matches-table .bp-coach-table__status-cell {
	white-space: nowrap;
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.62);
}

/* ── Grid / lists ── */
.bp-coach-grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 16px;
	min-width: 0;
}

.bp-coach-grid-2 > * {
	min-width: 0;
	max-width: 100%;
}

.bp-coach-team-history-list,
.bp-coach-tournament-list,
.bp-coach-trophy-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.bp-coach-team-history-item,
.bp-coach-tournament-item,
.bp-coach-trophy-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s ease, background-color 0.2s ease;
	min-width: 0;
}

.bp-coach-team-history-item:hover,
.bp-coach-tournament-item:hover,
.bp-coach-trophy-item:hover {
	border-color: rgba(182, 204, 168, 0.28);
	background: rgba(182, 204, 168, 0.06);
}

.bp-coach-team-history-item.is-active {
	border-color: rgba(182, 204, 168, 0.35);
	background: rgba(182, 204, 168, 0.08);
}

.bp-coach-team-history-item__logo {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	object-fit: contain;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	padding: 2px;
}

.bp-coach-team-history-item__body,
.bp-coach-tournament-item__body,
.bp-coach-trophy-item__body {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bp-coach-team-history-item__body strong,
.bp-coach-tournament-item__body strong,
.bp-coach-trophy-item__body strong {
	font-size: 14px;
	color: #ffffff;
}

.bp-coach-team-history-item__body a {
	color: #ffffff;
	text-decoration: none;
}

.bp-coach-team-history-item__body a:hover {
	color: #b6cca8;
	text-decoration: underline;
}

.bp-coach-team-history-item__dates,
.bp-coach-tournament-item__body span,
.bp-coach-trophy-item__body span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.bp-coach-team-history-item__badge {
	flex: 0 0 auto;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: rgba(182, 204, 168, 0.15);
	color: #b6cca8;
	border: 1px solid rgba(182, 204, 168, 0.3);
}

.bp-coach-trophy-item__icon {
	font-size: 1.35rem;
	flex: 0 0 auto;
}

.bp-coach-tournament-item img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	flex: 0 0 24px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.bp-coach-page .site-main {
		padding: 0 10px;
	}

	.bp-coach-profile-page .fp-breadcrumb {
		padding: 0 10px;
	}

	.bp-coach-wrap {
		gap: 18px;
		padding: 8px 0 28px;
	}

	.bp-coach-hero {
		flex-direction: column;
		padding: 18px 14px;
		gap: 16px;
	}

	.bp-coach-hero__main {
		flex: 1 1 100%;
		width: 100%;
	}

	.bp-coach-hero__aside {
		flex-direction: row;
		width: 100%;
		min-width: 0;
		justify-content: center;
	}

	.bp-coach-hero__stat-badge {
		flex: 1 1 0;
		max-width: 220px;
	}

	.bp-coach-card {
		padding: 18px 16px;
	}

	.bp-coach-summary-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.bp-coach-grid-2,
	.bp-coach-match-row {
		grid-template-columns: 1fr;
	}

	.bp-coach-match-card__fixture {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 8px;
		padding: 14px 12px 12px;
	}

	.bp-coach-match-card__team {
		gap: 6px;
	}

	.bp-coach-match-card__team img {
		width: 34px;
		height: 34px;
		padding: 3px;
	}

	.bp-coach-match-card__team-name {
		font-size: 11px;
		line-height: 1.2;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		word-break: normal;
	}

	.bp-coach-match-card__scoreblock {
		min-width: 58px;
		padding: 8px 10px;
		gap: 4px;
	}

	.bp-coach-match-card__score {
		font-size: 1.15rem;
	}

	.bp-coach-match-card__footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.bp-coach-table-wrap {
		margin: 0 -4px;
		padding: 0 4px;
	}

	.bp-coach-table__match {
		flex-wrap: wrap;
		row-gap: 6px;
	}

	.bp-coach-table__match-name {
		flex: 1 1 100%;
		max-width: 100%;
		white-space: normal;
	}

	.bp-coach-team-history-item,
	.bp-coach-tournament-item,
	.bp-coach-trophy-item {
		flex-wrap: wrap;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.bp-coach-page .site-main {
		padding: 0 8px;
	}

	.bp-coach-profile-page .fp-breadcrumb {
		padding: 0 8px;
	}

	.bp-coach-card {
		padding: 18px 14px 20px;
		border-radius: 14px;
	}

	.bp-coach-hero {
		padding: 16px 12px;
		border-radius: 14px;
	}

	.bp-coach-hero__photo {
		width: 96px;
		height: 96px;
	}

	.bp-coach-hero__main {
		flex: unset !important;
	}

	.bp-coach-summary-row {
		grid-template-columns: 1fr;
	}

	.bp-coach-summary-chip {
		padding: 12px 12px 12px 14px;
	}

	.bp-coach-summary-chip__value {
		font-size: 1.15rem;
	}

	.bp-coach-meta-chip {
		font-size: 11px;
		padding: 5px 10px;
	}

	.bp-coach-hero__stat-label {
		font-size: 9px;
		max-width: none;
	}

	.bp-coach-table {
		font-size: 12px;
	}

	.bp-coach-table th,
	.bp-coach-table td {
		padding: 10px 8px;
	}
}
