/* ---------- Leadership team grid (Vision) + tile hover per Figma spec ---------- */
.mcdp-team-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px 32px;
	width: 100%;
	margin-top: 52px;
}
.mcdp-team-tile {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-decoration: none;
	border-radius: 14px;
	transform-origin: center;
	transition: transform var(--mcdp-motion-interaction) var(--mcdp-motion-ease-ui),
		box-shadow var(--mcdp-motion-interaction) ease;
}
@media (prefers-reduced-motion: reduce) {
	.mcdp-team-tile {
		transform: none;
		transition: none;
	}
}
.mcdp-team-tile:hover {
	transform: none;
}
.mcdp-team-tile__photo {
	position: relative;
	display: block;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 232 / 268;
	margin-bottom: 12px;
	box-shadow: none;
}
.mcdp-team-tile:hover .mcdp-team-tile__photo {
	box-shadow: none;
}
.mcdp-team-tile__photo img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transform-origin: center;
	transition: transform var(--mcdp-motion-interaction) var(--mcdp-motion-ease-ui);
}
@media (prefers-reduced-motion: reduce) {
	.mcdp-team-tile__photo img {
		transform: none;
		transition: none;
	}
}
.mcdp-team-tile__veil {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(180deg, rgba(12, 29, 42, 0) 40%, rgba(12, 29, 42, 0.55) 100%);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.mcdp-team-tile:hover .mcdp-team-tile__veil,
.mcdp-team-tile:focus-visible .mcdp-team-tile__veil {
	opacity: 1;
}
.mcdp-team-tile__cta {
	position: absolute;
	left: 16px;
	bottom: 14px;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: none;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.mcdp-team-tile:hover .mcdp-team-tile__cta,
.mcdp-team-tile:focus-visible .mcdp-team-tile__cta {
	opacity: 1;
	transform: none;
}
.mcdp-team-tile__cta span {
	display: inline-block;
	transition: transform 0.2s ease;
}
.mcdp-team-tile:hover .mcdp-team-tile__cta span {
	transform: translateX(4px);
}
@media (hover: none) {
	/* touch devices: affordance shown persistently (Figma note) */
	.mcdp-team-tile__veil,
	.mcdp-team-tile__cta {
		opacity: 1;
		transform: none;
	}
}
.mcdp-team-tile__name {
	color: var(--wp--preset--color--main, #13232f);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}
.mcdp-team-tile__credentials {
	display: inline;
	font-size: 14px;
	font-weight: 500;
	color: var(--wp--preset--color--secondary, #54636e);
	white-space: nowrap;
}
.mcdp-team-tile__role {
	color: var(--wp--preset--color--eyebrow, #2c6396);
	font-size: 14.5px;
	line-height: 1.4;
}
@media (max-width: 1023px) {
	.mcdp-team-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 36px 24px;
	}
}
@media (max-width: 639px) {
	.mcdp-team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 16px;
	}
}
.mcdp-bio-nav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	min-height: 44px;
}
@media (max-width: 599px) {
	.mcdp-bio-body { padding-inline: 20px; }
	.mcdp-bio-nav {
		flex-wrap: wrap;
		gap: 8px;
	}
	.mcdp-bio-nav__pager {
		width: 100%;
		justify-content: space-between;
	}
}
/* ---------- Team bio pages ---------- */
/* Keep the hero behind the transparent header at every breakpoint. The
 * default block gap exposes a white strip behind the mobile wordmark. */
body.single-mcdp_team .mcdp-team-page {
	margin-block: 0;
}
body.single-mcdp_team .mcdp-team-page > .mcdp-bio-hero {
	--mcdp-bio-linkedin-size: 38px;
	display: flex;
	align-items: center;
	height: auto;
	min-height: 560px;
	/* Figma's biography content is centered, unlike the standard page hero. */
	padding: 65px 32px 64px !important;
}
body.single-mcdp_team .mcdp-bio-hero .mcdp-hero__content {
	width: min(1248px, 100%);
}
body.single-mcdp_team .mcdp-bio-hero .mcdp-hero__content h1 {
	width: 820px;
	min-height: 156px;
	align-content: center;
}
.mcdp-bio-hero__credentials {
	font-size: 0.62em;
	font-weight: 600;
}
.mcdp-bio-hero__byline {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: var(--mcdp-bio-linkedin-size);
	color: var(--wp--preset--color--main-accent, #9fb2c0);
	font-size: 20px;
	line-height: 1.4;
}
.mcdp-bio-hero__byline > span,
.mcdp-bio-hero__linkedin > span {
	min-width: 0;
}
.mcdp-bio-hero__linkedin {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: inherit;
	min-width: 0;
	max-width: 100%;
	color: inherit;
	text-decoration: none;
	border-radius: 3px;
}
.mcdp-bio-hero__linkedin::after {
	content: "";
	position: absolute;
	top: -6px;
	right: -6px;
	bottom: -6px;
	left: -6px;
}
.mcdp-bio-hero__linkedin:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary-alt, #6fb0e0);
	outline-offset: 6px;
}
.mcdp-bio-hero__linkedin:hover > span,
.mcdp-bio-hero__linkedin:focus-visible > span {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.mcdp-bio-hero__linkedin img {
	flex: 0 0 var(--mcdp-bio-linkedin-size);
	width: var(--mcdp-bio-linkedin-size);
	height: var(--mcdp-bio-linkedin-size);
	display: block;
}
@media (max-width: 1023px) {
	body.single-mcdp_team .mcdp-team-page > .mcdp-bio-hero {
		--mcdp-bio-linkedin-size: 36px;
		align-items: flex-end;
		min-height: 480px;
		padding: 144px 56px 64px !important;
	}
	body.single-mcdp_team .mcdp-bio-hero .mcdp-hero__content {
		gap: 18px;
	}
	body.single-mcdp_team .mcdp-bio-hero .mcdp-hero__content h1 {
		min-height: 0;
		font-size: 44px;
		line-height: 1.12;
		letter-spacing: -.44px;
	}
	.mcdp-bio-hero .mcdp-hero__eyebrow {
		font-size: 12px;
		line-height: 1.5;
	}
	.mcdp-bio-hero .mcdp-hero__rule {
		width: 440px;
	}
	.mcdp-bio-hero__byline {
		gap: 14px;
		font-size: 17px;
	}
}
@media (max-width: 599px) {
	body.single-mcdp_team .mcdp-team-page > .mcdp-bio-hero {
		--mcdp-bio-linkedin-size: 32px;
		min-height: 360px;
		padding: 128px 24px 32px !important;
	}
	body.single-mcdp_team .mcdp-bio-hero .mcdp-hero__content h1 {
		font-size: 32px;
		letter-spacing: -.32px;
	}
	.mcdp-bio-hero .mcdp-hero__eyebrow {
		font-size: 11px;
	}
	.mcdp-bio-hero .mcdp-hero__rule {
		width: 100%;
	}
	.mcdp-bio-hero__byline {
		font-size: 16px;
	}
}

.mcdp-bio-body {
	background: #fff;
	padding: 72px 32px 112px;
}
@media (min-width: 1024px) {
	body.single-mcdp_team .mcdp-team-page > * {
		margin-block-start: 0;
	}
	body.single-mcdp_team .mcdp-bio-body {
		box-sizing: border-box;
	}
	/* Preserve the design minimums while allowing narrow columns and edited
	 * biographies to grow before the following CTA begins. */
	body.postid-201 .mcdp-bio-body, body.postid-203 .mcdp-bio-body, body.postid-205 .mcdp-bio-body, body.postid-207 .mcdp-bio-body, body.postid-209 .mcdp-bio-body, body.postid-211 .mcdp-bio-body, body.postid-213 .mcdp-bio-body, body.postid-215 .mcdp-bio-body, body.postid-217 .mcdp-bio-body, body.postid-219 .mcdp-bio-body, body.postid-221 .mcdp-bio-body,
	body.postid-223 .mcdp-bio-body {
		min-height: 0;
	}
}
.mcdp-bio-body__row {
	display: flex;
	gap: 72px;
	align-items: flex-start;
	width: 1248px;
	max-width: 100%;
	margin: 0 auto;
}
.mcdp-bio-body__portrait {
	flex: 0 0 480px;
	height: 560px;
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #726f6d;
}
.mcdp-bio-body__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.mcdp-team-tile__photo picture,
.mcdp-bio-body__portrait picture {
	display: contents;
}
@media (hover: hover) and (pointer: fine) {
	.mcdp-interactive-card:is(:hover, :focus-within) .mcdp-team-tile__photo img {
		transform: scale(1.015);
		transition-duration: var(--mcdp-motion-interaction);
	}
}
@media (prefers-reduced-motion: reduce) {
	.mcdp-team-tile:is(:hover, :focus-visible, :active),
	.mcdp-team-tile:is(:hover, :focus-visible) .mcdp-team-tile__photo img {
		transform: none;
		transition: none;
	}
}
.mcdp-bio-body__copy {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.mcdp-bio-body__about {
	font-size: 21px;
	font-weight: 500;
	color: var(--wp--preset--color--main, #13232f);
	margin: 0;
}
.mcdp-bio-body__content p,
.mcdp-bio-body__content li {
	color: var(--wp--preset--color--secondary, #54636e);
	font-size: 17px;
	line-height: 1.76;
}
.mcdp-bio-body__content p {
	margin: 0 0 18px;
}
.mcdp-bio-body__content ul {
	list-style: disc;
	padding-left: 22px;
	margin: 0 0 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.mcdp-bio-body__content li strong {
	color: var(--wp--preset--color--main, #13232f);
	font-weight: 500;
}
.mcdp-bio-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	max-width: 696px;
	padding-top: 20px;
	border-top: 1px solid #e2e6ea;
	font-size: 15px;
	font-weight: 500;
}
.mcdp-bio-nav a {
	color: var(--wp--preset--color--deep, #1e4a73);
	text-decoration: none;
}
.mcdp-news-card .taxonomy-category,
.mcdp-news-card .taxonomy-category a,
.mcdp-related-news .taxonomy-category,
.mcdp-related-news .taxonomy-category a,
.mcdp-article-readmore a {
	color: var(--wp--preset--color--deep, #1e4a73) !important;
	--wp--preset--color--primary: var(--wp--preset--color--deep, #1e4a73);
}
.mcdp-news-card .wp-block-post-date,
.mcdp-related-news .wp-block-post-date,
.mcdp-news-card time {
	color: var(--wp--preset--color--secondary, #54636e) !important;
}
.mcdp-publisher-card .has-primary-color,
#more-from-the-blog p a {
	color: var(--wp--preset--color--deep, #1e4a73);
}
body.mcdp-nav-open {
	overflow: hidden;
}

/* Profile navigation and compact portrait layout. */
.mcdp-bio-nav a:hover {
	text-decoration: underline;
}
.mcdp-bio-nav__pager {
	display: flex;
	gap: 28px;
}
@media (max-width: 1023px) {
	.mcdp-bio-body__row {
		flex-direction: column;
		gap: 40px;
	}
	.mcdp-bio-body__portrait {
		flex: none;
		width: 100%;
		max-width: 480px;
		height: auto;
		aspect-ratio: 480 / 560;
	}
}

@media (max-width: 599px) {
	body.single-mcdp_team .mcdp-team-page > .mcdp-bio-body {
		padding-block: 48px;
	}
	.mcdp-bio-body__content :is(p, li) { font-size: 14px; }
	.mcdp-bio-nav { flex-direction: column; gap: 8px; }
	.mcdp-bio-nav__pager { justify-content: center; }
	.mcdp-bio-role__separator { display: none; }
	.mcdp-bio-role__cofounder { display: block; white-space: nowrap; }
}
