.borec-team {
	display: grid;
	gap: 2.5rem;
}

.borec-team__coach {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 2rem;
	align-items: center;
	padding: 1.5rem;
	background: var(--global-palette9, #ffffff);
	border-left: 4px solid var(--global-palette6, #b8923a);
}

.borec-team__coach-photo {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
}

.borec-team__coach-name {
	margin: 0 0 0.25rem;
}

.borec-team__coach-meta {
	margin: 0 0 0.75rem;
	color: var(--global-palette6, #b8923a);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.borec-team__coach-info {
	margin: 0;
}

.borec-team__list {
	border-top: 2px solid var(--global-palette3, #141b2d);
}

.borec-team__row {
	display: grid;
	grid-template-columns: 64px 1.4fr 1fr 1fr 2fr;
	gap: 1rem;
	align-items: center;
	padding: 0.6rem 0.5rem;
	border-bottom: 1px solid var(--global-palette7, #ede6d3);
}

.borec-team__row:nth-child(even) {
	background: var(--global-palette8, #f7f3e9);
}

.borec-team__row--head {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--global-palette5, #5a6275);
	background: none !important;
}

.borec-team__photo img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.borec-team__name {
	font-weight: 600;
	color: var(--global-palette3, #141b2d);
}

.borec-team__info {
	font-size: 0.9rem;
	color: var(--global-palette5, #5a6275);
}

@media (max-width: 767px) {
	.borec-team__coach {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.borec-team__coach-photo {
		max-width: 260px;
	}

	.borec-team__row--head {
		display: none;
	}

	.borec-team__row {
		grid-template-columns: 56px 1fr;
		grid-template-areas:
			"photo name"
			"photo meta"
			"info info";
		gap: 0.25rem 0.75rem;
		padding: 0.75rem 0.5rem;
	}

	.borec-team__photo {
		grid-area: photo;
	}

	.borec-team__photo img {
		width: 56px;
		height: 56px;
	}

	.borec-team__name {
		grid-area: name;
	}

	.borec-team__age,
	.borec-team__weight {
		grid-area: meta;
		font-size: 0.85rem;
	}

	.borec-team__weight {
		justify-self: end;
	}

	.borec-team__info {
		grid-area: info;
	}

	.borec-team__info:empty {
		display: none;
	}
}
