/* ============================================================
   Single team member — the long-bio page (/team/<slug>/).
   Matches the approved bio design: photo + name/role hero, a full-bleed
   intro band (the excerpt), a cream bio panel (the editor content), then
   optional "Who I connect with", "Watch", and "Read" sections.
   Palette anchors to brand tokens; warm neutrals are literals from the design.
   ============================================================ */

/* Local design tokens (kept literal where the theme has no matching var). */
.tc-team-single {
	--tcbio-tint: #F7F3EA;
	--tcbio-cream: #FBF7EC;
	--tcbio-text: #3B4157;
	--tcbio-muted: #5C6076;
	--tcbio-line: #ECE5D6;
	--tcbio-ph: #EFE8D8;
	--tcbio-ph-ic: #B7B199;
}

/* Full-width page so the intro band can run edge-to-edge; content is re-centred by __wrap.
   Clip horizontal overflow at the main region (this stylesheet only loads on team pages). */
.tc-main { overflow-x: clip; }
.tc-page.tc-team-single {
	max-width: 1000px;
}
.tc-team-single__wrap {
	max-width: 1000px;
	margin-inline: auto;
	padding-inline: 24px;
}

/* Back link. */
.tc-team-single__back {
	margin: 26px 0 8px;
	font-family: var(--font-ui);
	font-size: 0.82rem;
	font-weight: var(--w-bold);
	text-transform: none;
}
.tc-team-single__back a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--pumpkin);
}
.tc-team-single__back a:hover { color: #dd6d1c; }
.tc-team-single__back--end { margin: 40px 0 70px; }

/* ---------- Hero: photo + name / role / socials ---------- */
.tc-team-hero {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 40px;
	align-items: start;
	padding: 14px 0 8px;
}
.tc-team-hero__photo {
	width: 320px;
	height: 380px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--tcbio-ph);
	box-shadow: inset 0 0 0 1px var(--tcbio-line);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tcbio-ph-ic);
}
.tc-team-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-team-hero__photo > svg { width: 38%; height: 38%; }

.tc-team-hero__eyebrow {
	margin: 6px 0 10px;
	font-family: var(--font-ui);
	font-weight: var(--w-bold);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.74rem;
	color: var(--pumpkin);
}
.tc-team-hero__name {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-size: clamp(2.1rem, 5vw, 3rem);
	font-weight: var(--w-bold);
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--navy);
}
.tc-team-hero__role {
	margin: 0 0 18px;
	font-family: var(--font-display);
	font-weight: var(--w-bold);
	font-size: 1rem;
	color: var(--sienna);
}

/* Social icons: bordered circles that fill navy on hover. */
.tc-team-hero__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.tc-team-hero__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1.6px solid var(--tcbio-line);
	color: var(--navy);
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.tc-team-hero__socials a svg { width: 20px; height: 20px; }
.tc-team-hero__socials a:hover {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
	transform: translateY(-2px);
}
.tc-team-hero__socials a:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(51, 198, 245, 0.5);
}

/* ---------- Intro band: full-bleed tint with the excerpt as a lead ---------- */
.tc-team-single__intro {
	margin-top: 26px;
	margin-inline: calc(50% - 50vw);
	background: var(--tcbio-tint);
	border-top: 1px solid var(--tcbio-line);
	border-bottom: 1px solid var(--tcbio-line);
}
.tc-team-single__lead {
	max-width: 720px;
	margin: 0;
	padding: 40px 0;
	font-size: 1.28rem;
	line-height: 1.5;
	font-weight: 600;
	color: var(--navy);
}

/* ---------- Bio panel: cream card with the editor content ---------- */
.tc-team-single__body { padding-top: 44px; }
.tc-team-bio {
	max-width: 760px;
	padding: 34px 38px;
	background: var(--tcbio-cream);
	border: 1px solid var(--tcbio-line);
	border-radius: 18px;
}
.tc-team-bio p {
	max-width: 660px;
	margin: 0 0 18px;
	font-family: var(--font-body);
	font-size: 1.05rem;
	line-height: 1.66;
	color: var(--tcbio-text);
}
.tc-team-bio p:last-child { margin-bottom: 0; }
.tc-team-bio h2, .tc-team-bio h3 {
	margin: 26px 0 12px;
	font-family: var(--font-display);
	font-weight: var(--w-bold);
	color: var(--navy);
}
.tc-team-bio a { color: var(--pumpkin); word-break: break-word; }
.tc-team-bio a:hover { color: var(--navy); }

/* ---------- Section label: colored tick + trailing hairline ---------- */
.tc-seclabel {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 52px 0 22px;
	font-family: var(--font-display);
	font-weight: var(--w-bold);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.82rem;
	color: var(--pumpkin);
}
.tc-seclabel__tick { width: 10px; height: 10px; border-radius: 3px; background: var(--pumpkin); flex: 0 0 auto; }
.tc-seclabel__line { flex: 1; height: 1px; background: var(--tcbio-line); }
.tc-seclabel--navy { color: var(--navy); }
.tc-seclabel--navy .tc-seclabel__tick { background: var(--navy); }

/* ---------- "Who I connect with" cards ---------- */
.tc-connect {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.tc-ccard {
	background: #fff;
	border: 1px solid var(--tcbio-line);
	border-radius: 16px;
	padding: 22px;
	box-shadow: 0 16px 36px -32px rgba(27, 45, 91, 0.5);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.tc-ccard:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 44px -30px rgba(27, 45, 91, 0.55);
}
.tc-ccard__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	margin-bottom: 14px;
}
.tc-ccard__icon svg { width: 24px; height: 24px; }
.tc-ccard__icon--0 { background: #F5E4D2; color: var(--sienna); }
.tc-ccard__icon--1 { background: #FBE1CC; color: var(--pumpkin); }
.tc-ccard__icon--2 { background: #D8F1FB; color: #1596C4; }
.tc-ccard__icon--3 { background: #E9EDF6; color: var(--navy); }
.tc-ccard__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: var(--w-bold);
	font-size: 1.05rem;
	color: var(--navy);
}

/* ---------- Watch: video cards ---------- */
.tc-media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}
.tc-mcard {
	background: #fff;
	border: 1px solid var(--tcbio-line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 16px 36px -32px rgba(27, 45, 91, 0.5);
	transition: transform 0.16s ease;
}
.tc-mcard:hover { transform: translateY(-3px); }
.tc-mcard__link { display: block; color: inherit; text-decoration: none; }
.tc-mcard__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #eef1f7, #e3e8f2);
}
.tc-mcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-mcard__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(27, 45, 91, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
}
.tc-mcard__play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.tc-mcard__body { display: block; padding: 20px 22px; }
.tc-mcard__desc { display: block; margin: 0 0 12px; color: var(--tcbio-muted); font-size: 0.92rem; line-height: 1.5; }
.tc-mcard__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-display);
	font-weight: var(--w-bold);
	font-size: 0.8rem;
	color: var(--pumpkin);
}
.tc-mcard__link:hover .tc-mcard__more,
.tc-linkrow__link:hover .tc-mcard__more { color: #dd6d1c; }
.tc-mcard__arw { transition: transform 0.16s ease; }
.tc-mcard__link:hover .tc-mcard__arw,
.tc-linkrow__link:hover .tc-mcard__arw { transform: translateX(3px); }

/* ---------- Read: link rows ---------- */
.tc-linkrow {
	background: #fff;
	border: 1px solid var(--tcbio-line);
	border-radius: 16px;
	box-shadow: 0 16px 36px -32px rgba(27, 45, 91, 0.5);
	transition: transform 0.16s ease;
}
.tc-linkrow:hover { transform: translateY(-3px); }
.tc-linkrow__link {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 22px;
	color: inherit;
	text-decoration: none;
}
.tc-linkrow__icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #FBE1CC;
	color: var(--pumpkin);
	display: flex;
	align-items: center;
	justify-content: center;
}
.tc-linkrow__icon svg { width: 22px; height: 22px; }
.tc-linkrow__body { display: block; }
.tc-linkrow__desc { display: block; margin: 0 0 12px; color: var(--tcbio-muted); font-size: 0.92rem; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.tc-team-hero { grid-template-columns: 1fr; gap: 22px; }
	.tc-team-hero__photo { width: 100%; height: 340px; }
	.tc-connect { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.tc-connect, .tc-media { grid-template-columns: 1fr; }
	.tc-team-bio { padding: 26px 22px; }
}
