/* ==========================================================================
   Single Team Member (single-team.php)
   Ported from HTML/{deb-swope,denise-mott,sue-thiers}.html.
   ========================================================================== */

/* --- Hero --- */
.team-hero {
	background: linear-gradient(180deg, var(--color-blue-tint), var(--color-white));
	padding: 66px 0 80px;
	padding: clamp(50px, calc(38.073px + 1.455vw), 66px) 0 clamp(50px, calc(27.636px + 2.727vw), 80px);
	text-align: center;
}
.team-hero-crumbs {
	font-size: 16px;
	color: var(--color-gray-d);
	margin-bottom: 20px;
	line-height: 1.4;
}
.team-hero-crumbs a {
	color: var(--color-blue);
	font-weight: 700;
}
.team-hero .eyebrow {
	display: block;
	margin-bottom: 12px;
}
.team-hero-heading {
	font-size: 50px;
	font-size: clamp(2.125rem, 1.2788rem + 1.5385vw, 3.125rem);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -.01em;
	color: var(--color-blue-deep);
	max-width: 34ch;
	margin: 0 auto;
}

.team-hero-lead {
	font-size: var(--font-size-22px);
	color: #4a4f57;
	max-width: 58ch;
	margin: 24px auto 0;
	line-height: 1.5;
}

/* --- Bio --- */
.team-bio {
	padding: 60px 0;
	padding: clamp(40px, calc(25.091px + 1.818vw), 60px) 0;
}

.team-bio-wrap {
	display: grid;
	grid-template-columns: .7fr 1.3fr;
	gap: 52px;
	align-items: start;
}
.team-bio-photo {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--shadow);
	aspect-ratio: 4/4.9;
	position: relative;
	background: var(--color-blue-soft);
}
.team-bio-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.team-bio-photo.is-placeholder::after {
	content: attr(data-initials);
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--color-blue);
	font-weight: 800;
	font-size: 55px;
	background: linear-gradient(160deg, var(--color-blue-soft), var(--color-blue-tint));
}
.team-bio-tag {
	position: absolute;
	left: 22px;
	bottom: 16px;
	background: rgba(0, 48, 122, .9);
	color: var(--color-white);
	border-radius: 11px;
	padding: 10px 15px;
	backdrop-filter: blur(2px);
	line-height: 1.2;
	width: auto;
	max-width: calc(100% - 40px);
}
.is-placeholder .team-bio-tag{
	display: none;
}
.team-bio-tag b {
	display: block;
  font-size: 19.4px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 4px 0;
}
.team-bio-tag span {
	font-size: 15px;
  color: #cfddf4;
  font-weight: 600;
}
.team-bio-copy p {
	color: #3f444c;
	font-size: 20.4px;
	margin-bottom: 16px;
	line-height: 1.65;
}
.team-bio-copy p a{
	font-weight: 700;
}
.team-bio-stats {
	display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0px 0 29px;
}
.team-bio-stats span {
	background: var(--color-blue-soft);
  border: 1px solid #dfe8f5;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 16.4px;
  font-weight: 700;
  color: var(--color-blue-deep);
}
.team-bio-back {
	margin: 0;
}
.team-bio-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin: 0;
}
.btn.btn-linkedin {
	background: #0A66C2;
	color: var(--color-white);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.btn.btn-linkedin:hover,
.btn.btn-linkedin:focus {
	background: #084e96;
	color: var(--color-white);
}
.btn.btn-linkedin svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.single-team-page section.steam-final-cta {
	text-align: center;
	background: linear-gradient(180deg, var(--color-white), var(--color-green-soft));
	padding-top: 90px;
	padding-bottom: 75px;
}
.steam-final-cta .final-cta-intro {
	font-size: var(--font-size-20px);
	margin: 15px auto 28px;
}
.steam-final-cta .final-cta-heading{
	font-size: var(--heading-font-size-40px);
}


/* Bottom CTA is rendered with .final-cta markup; styles come from
   page-templates/flexible-layouts/final_cta/final_cta.css (enqueued from
   single-team.php). */

/* --- Responsive --- */

@media (max-width: 1200px) {
	.team-hero-lead{
		margin: 15px auto 0;
	}
	.team-hero-crumbs{
		margin-bottom: 16px;
	}
	.team-bio-copy p{
		font-size: 20px;
	}
	.team-bio-stats span{
		padding: 8px 16px; font-size: 15px;
	}

	.btn.btn-linkedin svg{
		width: 18px; height: 18px;
	}
	.team-bio-tag{
		left: 15px; bottom: 15px;
	}
	.team-bio-tag b{
		font-size: 18px;
	}
	.team-bio-tag span{
		font-size: 13px;
	}
}

@media (max-width: 920px) {
	.team-bio-copy p{
		font-size: 18px;
	}
	.team-bio-wrap{
		gap: 30px;
	}
}

@media (max-width: 780px) {
	.team-hero-heading { font-size: 32px; }
	.team-bio-wrap {
		grid-template-columns: 1fr;
		gap: 26px;
	}
	.team-bio-photo {
		max-width: 400px;
		margin: 0 auto;
	}
	.team-bio-photo.is-placeholder{
		padding: 50% 0 0 0;
		max-width: 400px;
		width: 100%;
		display: none;
	}
	.team-bio-copy p{
		font-size: 16px;
	}
}
