.my-team {
	--my-team-bg: #f2f0eb;
	--my-team-card: #faf9f6;
	--my-team-ink: #1a2232;
	--my-team-muted: #8c8880;
	--my-team-body: #4a4f57;
	--my-team-gap: 24px;
	--my-team-columns: 3;
	--my-team-focal: 22%;
	--my-team-ratio: 4 / 5;

	background: var(--my-team-bg);
	padding: 64px 40px 40px;
	box-sizing: border-box;
	max-width: none;
	width: 100%;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Beat theme rules that target headings directly. */
.my-team h2,
.my-team h3,
.my-team p,
.my-team a,
.my-team button {
	font-family: inherit;
}

.my-team *,
.my-team *::before,
.my-team *::after {
	box-sizing: border-box;
}

/* Header ------------------------------------------------------------- */

.my-team__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.my-team__title {
	margin: 0;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	font-weight: 600;
	font-size: clamp(34px, 4.6vw, 58px) !important;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--my-team-ink);
}

.my-team__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	font-size: 15px;
	color: var(--my-team-ink);
	text-decoration: none;
}

.my-team__more:hover {
	opacity: 0.65;
}

.my-team__more svg {
	width: 20px !important;
	height: 20px !important;
	max-width: none;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	transition: transform 0.25s ease;
}

.my-team__more:hover svg {
	transform: translateX(4px);
}

/* Track -------------------------------------------------------------- */

.my-team__viewport {
	overflow: hidden;
}

.my-team__track {
	display: flex;
	gap: var(--my-team-gap);
	scroll-behavior: smooth;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-snap-type: x mandatory;
	padding-bottom: 4px;
	justify-content: flex-start;
}

/*
 * Too few cards to fill the row: centre them instead of leaving a gap
 * on the right. Set by the script, which knows the real overflow.
 */
.my-team.is-static .my-team__track {
	justify-content: center;
	overflow-x: visible;
}

.my-team.is-static .my-team__nav {
	display: none;
}

.my-team__track::-webkit-scrollbar {
	display: none;
}

/* Card --------------------------------------------------------------- */

.my-team__card {
	flex: 0 0 auto;
	width: 30%;
	min-width: 280px;
	background: var(--my-team-card);
	overflow: hidden;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
}

.my-team__image {
	width: 100%;
	aspect-ratio: var(--my-team-ratio, 4 / 5);
	overflow: hidden;
}

.my-team__image img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center var(--my-team-focal, 22%);
	display: block;
	margin: 0;
	border-radius: 0;
}

/* No image set: the name keeps the card the same height as its neighbours. */
.my-team__image.is-empty {
	display: flex;
	width: 100%;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	background: #e7e3da;
}

.my-team__placeholder-name {
	padding: 0 16px;
	font-size: 28px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: #9a948a;
	line-height: 1.2;
	text-align: center;
	overflow-wrap: anywhere;
}

.my-team__body {
	padding: 28px 28px 32px;
}

.my-team__name {
	margin: 0 0 8px;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	font-weight: 600;
	font-size: 26px !important;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--my-team-ink);
}

.my-team__role {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--my-team-muted);
}

.my-team__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--my-team-body);
}

/* Arrows ------------------------------------------------------------- */

.my-team__nav {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 32px;
}

.my-team__arrow {
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: #e6e3dc;
	color: var(--my-team-ink) !important;
	cursor: pointer;
	padding: 0;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.my-team__arrow svg {
	width: 22px !important;
	height: 22px !important;
	max-width: none;
	display: block;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	pointer-events: none;
}

/*
 * Themes commonly set `svg { fill: currentColor }` or reset stroke, which
 * erases an outline icon. Pin both on the path itself.
 */
.my-team__arrow svg path,
.my-team__more svg path {
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.5;
}

.my-team__arrow:hover {
	background: #d5d0c5;
}

.my-team__arrow.is-active {
	background: #c9c2b4;
}

.my-team__arrow[disabled] {
	opacity: 0.35;
	cursor: default;
}

/* Responsive --------------------------------------------------------- */

@media (max-width: 1024px) {
	.my-team {
		padding: 56px 24px 32px;
	}

	.my-team__card {
		width: 45%;
	}
}

@media (max-width: 782px) {
	.my-team__card {
		width: 60%;
		min-width: 0;
		--my-team-focal: 10%;
	}
}

@media (max-width: 640px) {
	.my-team {
		padding: 40px 0 28px;
	}

	/* Heading and arrows keep the gutter; the track bleeds to the edge. */
	.my-team__head,
	.my-team__nav {
		padding: 0 20px;
	}

	.my-team__head {
		display: flex;
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		gap: 16px;
		margin-bottom: 24px;
	}

	.my-team__title {
		font-size: 32px !important;
	}

	.my-team__more {
		font-size: 14px;
	}

	.my-team__more svg {
		width: 16px;
		height: 16px;
	}

	/*
	 * Card peeks past the right edge so it reads as swipeable. Padding on
	 * the track keeps the first card aligned with the heading.
	 */
	.my-team__track {
		--my-team-gap: 16px;
		padding-left: 20px;
		padding-right: 20px;
		scroll-padding-left: 20px;
	}

	.my-team.is-static .my-team__track {
		justify-content: flex-start;
	}

	.my-team__card {
		width: 78%;
		min-width: 0;
		--my-team-ratio: 3 / 4;
		--my-team-focal: 0%;
	}

	.my-team__placeholder-name {
		font-size: 24px;
	}

	.my-team__body {
		padding: 20px 20px 24px;
	}

	.my-team__name {
		font-size: 26px !important;
	}

	.my-team__text {
		font-size: 15px;
	}

	.my-team__nav {
		justify-content: flex-start;
		margin-top: 24px;
	}

	.my-team__arrow {
		width: 46px;
		height: 46px;
	}
}
