/* Team hubs and profiles, 20261110-polish2.
 * Role cards form a connected diagram; experience uses month-based SVG bars.
 * Geometry is in SVG attributes; appearance is in this external stylesheet.
 * Shared about/home slider links keep their existing scoped rules below.
 */

.team-page {
	--tm-navy: #1a1e2e;
	--tm-navy-2: #353c56;
	--tm-yellow: var(--yellow, #ffc600);
	--tm-ink: var(--title, #1a1e2e);
	--tm-text: var(--text, #50566b);
	--tm-line: var(--border, #e2e4eb);
	--tm-soft: var(--light-grey-bg, #f4f5f8);
	--tm-white: var(--white, #ffffff);
	--tm-muted: #656b80;
	color: var(--tm-text);
}

.team-page .team-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
	stroke: currentColor;
}

/* ===== Shared hero frame ===== */

.team-page .team-hero,
.team-page .team-profile-hero {
	background-color: var(--tm-soft);
	padding-top: 150px;
	padding-bottom: 56px;
	position: relative;
	overflow: hidden;
}

.team-page .team-hero::after,
.team-page .team-profile-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: 90px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(26, 30, 46, 0.08);
	border-radius: 50%;
	box-shadow: 0 0 0 60px rgba(26, 30, 46, 0.025), 0 0 0 120px rgba(26, 30, 46, 0.02);
	pointer-events: none;
}

.team-page .team-hero .container,
.team-page .team-profile-hero .container {
	position: relative;
	z-index: 1;
}

.team-page .team-hero h1,
.team-page .team-profile-hero h1 {
	font-size: 36px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--tm-ink);
	position: relative;
	padding-top: 18px;
	line-height: 1.3;
}

.team-page .team-hero h1::before,
.team-page .team-profile-hero h1::before {
	content: "";
	width: 50px;
	height: 5px;
	background-color: var(--tm-yellow);
	position: absolute;
	left: 0;
	top: 0;
}

/* ===== Hub ===== */

.team-page--hub .team-hero h1 {
	font-size: 44px;
}

.team-page--hub .team-hero-intro {
	max-width: 760px;
	margin: 22px 0 0;
	color: var(--tm-text);
	font-size: 18px;
	line-height: 1.6;
}

.team-page--hub .team-grid {
	padding-top: 64px;
	padding-bottom: 64px;
}

.team-page--hub .team-grid-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.team-page--hub .team-grid-list > li {
	display: flex;
	min-width: 0;
}

.team-page--hub .team-card {
	width: 100%;
	min-width: 0;
	background-color: var(--tm-white);
	box-shadow: 0 6px 18px rgba(26, 30, 46, 0.06);
	border: 1px solid rgba(26, 30, 46, 0.06);
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-align: left;
	transition: box-shadow 0.25s ease-out, transform 0.25s ease-out;
}

.team-page--hub a.team-card {
	color: inherit;
	text-decoration: none;
}

.team-page--hub a.team-card:hover,
.team-page--hub a.team-card:focus-visible {
	box-shadow: 0 14px 32px rgba(26, 30, 46, 0.14);
	transform: translateY(-4px);
}

.team-page--hub .team-card-photo {
	background: linear-gradient(to bottom, var(--tm-navy-2) 0%, var(--tm-navy) 100%);
	aspect-ratio: 4 / 5;
	overflow: hidden;
	position: relative;
}

.team-page--hub .team-card-photo::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 4px;
	background-color: var(--tm-yellow);
}

.team-page--hub .team-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.team-page--hub .team-card-body {
	padding: 20px 22px 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.team-page--hub .team-card-name {
	font-size: 18px;
	font-weight: 600;
	color: var(--tm-ink);
	overflow-wrap: break-word;
}

.team-page--hub .team-card-position {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tm-muted);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	overflow-wrap: break-word;
}

.team-page--hub .team-card-badge {
	display: inline-flex;
	align-self: flex-start;
	margin-top: 10px;
	padding: 4px 10px;
	background-color: var(--tm-navy);
	color: var(--tm-white);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 999px;
	border-left: 3px solid var(--tm-yellow);
}

.team-page--hub .team-card-excerpt {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--tm-text);
	overflow-wrap: break-word;
}

.team-page--hub .team-card-cta {
	margin-top: auto;
	padding-top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tm-ink);
}

.team-page--hub .team-card-cta .team-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease-out;
}

.team-page--hub a.team-card:hover .team-card-cta .team-icon,
.team-page--hub a.team-card:focus-visible .team-card-cta .team-icon {
	transform: translate(2px, -2px);
}

/* Back-to-hub CTA on the /about slider (unchanged selectors; also used on the home page) */
.our-team .team-hub-cta {
	text-align: center;
	margin-top: 40px;
}

.our-team .team-hub-cta a {
	display: inline-block;
	padding: 14px 34px;
	background-color: var(--yellow);
	color: var(--but-text);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.25s ease-out;
}

.our-team .team-hub-cta a:hover,
.our-team .team-hub-cta a:focus-visible {
	background-color: var(--yellow-hover);
}

.our-team-item .name a {
	color: inherit;
	text-decoration: none;
}

.our-team-item .name a:hover,
.our-team-item .name a:focus-visible {
	text-decoration: underline;
}

/* ===== Profile: hero ===== */

.team-page--profile .team-profile-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
	margin-top: 10px;
}

.team-page--profile .team-profile-photo {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 6px;
	overflow: hidden;
	background: linear-gradient(160deg, var(--tm-navy-2) 0%, var(--tm-navy) 100%);
	box-shadow: 18px 18px 0 0 var(--tm-yellow);
	margin-right: 18px;
	margin-bottom: 18px;
}

.team-page--profile .team-profile-photo::before {
	content: "";
	position: absolute;
	left: 24px;
	top: 24px;
	right: 24px;
	bottom: 24px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 4px;
	pointer-events: none;
}

.team-page--profile .team-profile-photo img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.team-page--profile .team-profile-heading {
	min-width: 0;
}

.team-page--profile .team-profile-badge {
	display: inline-flex;
	align-items: center;
	margin: 0 0 14px;
	padding: 6px 14px;
	background-color: var(--tm-navy);
	color: var(--tm-white);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 999px;
	border-left: 4px solid var(--tm-yellow);
}

.team-page--profile .team-profile-heading h1 {
	margin: 0;
	font-size: 34px;
	font-weight: 600;
	color: var(--tm-ink);
	line-height: 1.2;
	overflow-wrap: break-word;
}

.team-page--profile .team-profile-position {
	display: block;
	margin-top: 8px;
	font-size: 16px;
	font-weight: 600;
	color: var(--tm-muted);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	overflow-wrap: break-word;
}

.team-page--profile .team-profile-lead {
	margin: 20px 0 0;
	max-width: 640px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--tm-text);
	overflow-wrap: break-word;
}

.team-page--profile .team-profile-linkedin {
	margin-top: 20px;
}

.team-page--profile .team-profile-linkedin a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border: 1px solid rgba(26, 30, 46, 0.18);
	border-radius: 999px;
	color: var(--tm-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease-out, border-color 0.2s ease-out;
}

.team-page--profile .team-profile-linkedin a:hover,
.team-page--profile .team-profile-linkedin a:focus-visible {
	background-color: var(--tm-yellow);
	border-color: var(--tm-yellow);
}

/* ===== Profile: optional section jump nav ===== */

.team-page--profile .team-profile-jump {
	border-bottom: 1px solid var(--tm-line);
	background-color: var(--tm-white);
}

.team-page--profile .team-profile-jump ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	list-style: none;
	margin: 0;
	padding: 16px 0;
}

.team-page--profile .team-profile-jump a {
	display: inline-flex;
	align-items: center;
	color: var(--tm-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.team-page--profile .team-profile-jump a:hover,
.team-page--profile .team-profile-jump a:focus-visible {
	color: var(--tm-ink);
	text-decoration: underline;
}

/* ===== Profile: sections ===== */

.team-page--profile .team-profile-sections {
	padding-bottom: 24px;
}

.team-page--profile .team-profile-section {
	padding-top: 56px;
	padding-bottom: 16px;
	scroll-margin-top: 110px;
}

.team-page--profile .team-profile-section h2 {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--tm-ink);
	position: relative;
	padding-left: 20px;
}

.team-page--profile .team-profile-section h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 5px;
	background-color: var(--tm-yellow);
}

.team-page--profile .team-role-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 760px;
}

.team-page--profile .team-role-title {
	font-size: 17px;
	font-weight: 600;
	color: var(--tm-ink);
}

.team-page--profile .team-role-period {
	color: var(--tm-muted);
	font-weight: 500;
}

.team-page--profile .team-role-intro {
	margin: 0;
	line-height: 1.6;
}

/* Role diagram: a centre node on a spine, duty cards from role.cards on both
   sides. Connector length is fixed by the grid's middle column, so it never
   breaks regardless of node count (3-5) or how tall the CS/RU text makes a
   card (no shared/equal height is imposed on the cards). */
.team-page--profile .team-role-diagram {
	position: relative;
	margin-top: 8px;
}

.team-page--profile .team-role-diagram::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	margin-left: -1px;
	background-color: var(--tm-yellow);
}

.team-page--profile .team-role-diagram-centre {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background-color: var(--tm-navy);
	border: 4px solid var(--tm-yellow);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px rgba(26, 30, 46, 0.18);
}

.team-page--profile .team-role-diagram-centre .team-icon {
	width: 28px;
	height: 28px;
	color: var(--tm-yellow);
}

.team-page--profile .team-role-diagram-nodes {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
	row-gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.team-page--profile .team-role-diagram-node {
	position: relative;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 18px 20px 18px 62px;
	background-color: var(--tm-white);
	border: 1px solid rgba(26, 30, 46, 0.08);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(26, 30, 46, 0.05);
}

.team-page--profile .team-role-diagram-node:nth-child(odd) {
	grid-column: 1;
}

.team-page--profile .team-role-diagram-node:nth-child(even) {
	grid-column: 3;
}

.team-page--profile .team-role-diagram-node::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 55px;
	height: 2px;
	background-color: rgba(26, 30, 46, 0.25);
}

.team-page--profile .team-role-diagram-node:nth-child(odd)::after {
	left: 100%;
}

.team-page--profile .team-role-diagram-node:nth-child(even)::after {
	right: 100%;
}

.team-page--profile .team-role-diagram-node-icon {
	position: absolute;
	left: 16px;
	top: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--tm-navy);
	color: var(--tm-yellow);
}

.team-page--profile .team-role-diagram-node-icon .team-icon {
	width: 16px;
	height: 16px;
}

.team-page--profile .team-role-diagram-node h4 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--tm-ink);
	overflow-wrap: break-word;
}

.team-page--profile .team-role-diagram-node p {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--tm-text);
	overflow-wrap: break-word;
}

.team-page--profile .team-cards-heading {
	margin: 28px 0 16px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--tm-muted);
}

.team-page--profile .team-role-path {
	margin: 20px 0 0;
	font-size: 14px;
	color: var(--tm-muted);
}

.team-page--profile .team-role-path-label {
	font-weight: 600;
	color: var(--tm-ink);
}

/* Duty/contribution/AI-scope card grid, shared by Role, Key contribution and
   "How to prepare a request" sections. */
.team-page--profile .team-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.team-page--profile .team-card-item {
	min-width: 0;
	padding: 24px;
	background-color: var(--tm-soft);
	border-radius: 6px;
	border-top: 3px solid var(--tm-yellow);
}

.team-page--profile .team-card-item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	background-color: var(--tm-navy);
	color: var(--tm-white);
	border-radius: 50%;
}

.team-page--profile .team-card-item h3,
.team-page--profile .team-card-item h4 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	color: var(--tm-ink);
	overflow-wrap: break-word;
}

.team-page--profile .team-card-item p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--tm-text);
	overflow-wrap: break-word;
}

.team-page--profile .team-card-item-list {
	margin: 10px 0 0;
	padding-left: 18px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--tm-text);
}

.team-page--profile .team-card-item-list li {
	margin-bottom: 4px;
	overflow-wrap: break-word;
}

/* Experience text and its month-based graphic share one row. SVG geometry
   attributes carry proportions; all appearance remains in this CSP-safe file. */
.team-page--profile .team-experience-axis-row,
.team-page--profile .team-experience-entry {
 display: grid;
 grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
 gap: 40px;
 align-items: center;
}
.team-page--profile .team-experience-axis-row {
 padding-bottom: 8px;
 border-bottom: 1px solid var(--tm-line);
}
.team-page--profile .team-experience-axis {
 display: block;
 overflow: visible;
 fill: var(--tm-muted);
 font-family: inherit;
 font-size: 12px;
 font-weight: 600;
}
.team-page--profile .team-experience-list { list-style: none; margin: 0; padding: 0; }
.team-page--profile .team-experience-entry { padding: 24px 0; border-bottom: 1px solid var(--tm-line); }
.team-page--profile .team-experience-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.team-page--profile .team-experience-entry:not(.team-experience-entry--dated) .team-experience-text { grid-column: 1 / -1; max-width: 820px; }
.team-page--profile .team-experience-period { font-size: 13px; font-weight: 600; color: var(--tm-muted); }
.team-page--profile .team-experience-title { font-size: 17px; font-weight: 600; color: var(--tm-ink); overflow-wrap: break-word; }
.team-page--profile .team-experience-org { font-size: 14px; color: var(--tm-muted); overflow-wrap: break-word; }
.team-page--profile .team-experience-narrative { margin: 4px 0 0; font-size: 15px; line-height: 1.6; overflow-wrap: break-word; }
.team-page--profile .team-experience-track { display: block; min-width: 0; overflow: visible; }
.team-page--profile .team-experience-gridline { stroke: var(--tm-line); stroke-width: 1; }
.team-page--profile .team-experience-baseline { stroke: var(--tm-line); stroke-width: 1; }
.team-page--profile .team-experience-bar { fill: var(--tm-navy-2); }
.team-page--profile .team-experience-point,
.team-page--profile .team-experience-current { fill: var(--tm-yellow); stroke: var(--tm-navy); stroke-width: 2; }

/* Education / training list (shares the same component) */
.team-page--profile .team-education-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 820px;
}

.team-page--profile .team-education-entry {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 0;
	border-top: 1px solid var(--tm-line);
}

.team-page--profile .team-education-entry:first-child {
	border-top: none;
	padding-top: 0;
}

.team-page--profile .team-education-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--tm-ink);
	overflow-wrap: break-word;
}

.team-page--profile .team-education-org,
.team-page--profile .team-education-period,
.team-page--profile .team-education-note {
	font-size: 14px;
	color: var(--tm-muted);
	overflow-wrap: break-word;
}

/* Languages */
.team-page--profile .team-profile-languages p {
	margin: 0;
	font-size: 16px;
}

.team-page--profile .team-language-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 480px;
	display: flex;
	flex-direction: column;
}

.team-page--profile .team-language-entry {
	font-size: 16px;
	color: var(--tm-ink);
	padding: 10px 0;
	border-top: 1px solid var(--tm-line);
}

.team-page--profile .team-language-entry:first-child {
	border-top: none;
	padding-top: 0;
}

/* AI contact CTA */
.team-page--profile .team-contact-cta {
	display: inline-block;
	padding: 14px 34px;
	background-color: var(--tm-yellow);
	color: var(--but-text, var(--tm-navy));
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 4px;
	transition: filter 0.2s ease-out;
}

.team-page--profile .team-contact-cta:hover,
.team-page--profile .team-contact-cta:focus-visible {
	filter: brightness(0.94);
}

/* ===== Profile: footer nav ===== */

.team-page--profile .team-profile-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding: 32px 0 64px;
	border-top: 1px solid var(--tm-line);
	margin-top: 32px;
}

.team-page--profile .team-profile-nav a {
	font-size: 14px;
	font-weight: 600;
	color: var(--tm-ink);
	text-decoration: none;
}

.team-page--profile .team-profile-nav a:hover,
.team-page--profile .team-profile-nav a:focus-visible {
	text-decoration: underline;
}

.team-page--profile .team-profile-nav a[rel="next"] {
	text-align: right;
	grid-column: 3;
	justify-self: end;
}

.team-page--profile .team-profile-back {
	grid-column: 2;
	justify-self: center;
	padding: 10px 24px;
	border: 1px solid rgba(26, 30, 46, 0.18);
	border-radius: 999px;
}

.team-page--profile .team-profile-back:hover,
.team-page--profile .team-profile-back:focus-visible {
	background-color: var(--tm-yellow);
	border-color: var(--tm-yellow);
	text-decoration: none;
}

/* ===== Responsive ===== */

@media (max-width: 1259px) {
	.team-page .team-hero,
	.team-page .team-profile-hero {
		padding-top: 95px;
	}
}

@media (max-width: 991px) {
	.team-page--profile .team-profile-hero-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.team-page--profile .team-profile-photo {
		max-width: 320px;
	}

	.team-page--profile .team-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Role diagram becomes a single column hanging from a left spine. */
	.team-page--profile .team-role-diagram::before {
		left: 20px;
	}

	.team-page--profile .team-role-diagram-centre {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: 40px;
		height: 40px;
		margin: 0 0 20px;
	}

	.team-page--profile .team-role-diagram-nodes {
		grid-template-columns: minmax(0, 1fr);
		padding-left: 44px;
	}

	.team-page--profile .team-role-diagram-node:nth-child(odd),
	.team-page--profile .team-role-diagram-node:nth-child(even) {
		grid-column: 1;
	}

	.team-page--profile .team-role-diagram-node:nth-child(odd)::after,
	.team-page--profile .team-role-diagram-node:nth-child(even)::after {
		left: auto;
		right: 100%;
		width: 24px;
	}
}

@media (max-width: 767px) {
	.team-page .team-hero,
	.team-page .team-profile-hero {
		padding-top: 72px;
		padding-bottom: 36px;
	}

	.team-page .team-hero h1,
	.team-page .team-profile-hero h1 {
		font-size: 28px;
	}

	.team-page--hub .team-hero h1 {
		font-size: 30px;
	}

	.team-page--hub .team-grid-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.team-page--profile .team-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Career graphic: a deliberately compact rail instead of a squeezed wide
	   chart — the shared axis and per-entry bar track give way to a vertical
	   line with one dot per dated entry, the text unchanged beside it. */
	.team-page--profile .team-experience-axis-row {
		display: none;
	}

	.team-page--profile .team-experience-track {
		display: none;
	}

	.team-page--profile .team-experience-entry {
		display: block;
		position: relative;
		padding-left: 26px;
	}

	.team-page--profile .team-experience-list {
		position: relative;
	}

	.team-page--profile .team-experience-list:has(.team-experience-entry--dated)::before {
		content: "";
		position: absolute;
		left: 8px;
		top: 28px;
		bottom: 28px;
		width: 2px;
		background-color: var(--tm-line);
	}

	.team-page--profile .team-experience-entry--dated::before {
		content: "";
		position: absolute;
		left: 4px;
		top: 28px;
		width: 10px;
		height: 10px;
		border-radius: 50%;
		background-color: var(--tm-navy-2);
		box-shadow: 0 0 0 2px var(--tm-white);
	}

	.team-page--profile .team-profile-nav {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.team-page--profile .team-profile-nav a[rel="next"] {
		text-align: center;
		grid-column: 1;
		justify-self: center;
	}

	.team-page--profile .team-profile-back {
		grid-column: 1;
		order: -1;
	}
}

/* Visible keyboard focus, independent of inherited link resets. */
.team-page a:focus-visible {
	outline: 3px solid var(--tm-navy);
	outline-offset: 4px;
}


/* Team discovery from the existing About page and shared team slider. */
.about-block .team-about-cta {
	margin: 0 0 28px;
}

.about-block .team-about-cta a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 28px;
	background: var(--yellow, #ffcc00);
	color: var(--but-text, #1a1e2e);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	border-radius: 4px;
}

.about-block .team-about-cta a:hover {
	background: var(--yellow-hover, #edbd00);
}

.about-block .team-about-cta a:focus-visible,
.our-team .team-hub-cta a:focus-visible,
.our-team .team-slider-profile:focus-visible {
	outline: 3px solid #353c56;
	outline-offset: 4px;
}

.our-team .team-hub-cta {
	margin-top: 24px;
}

.our-team .team-hub-cta + .our-team-box {
	margin-top: 28px;
}

.our-team .team-slider-profile {
	display: block;
	color: inherit;
	text-decoration: none;
}

.our-team .team-slider-profile:hover .name,
.our-team .team-slider-profile:focus-visible .name {
	text-decoration: underline;
	text-underline-offset: 3px;
}
