﻿/* Team member details page */

.team-details {
	--td-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--td-text: #555;
	--td-heading: #111;
	--td-border: #e3e3e3;
	--td-link: var(--gs-green-color, #165153);
	max-width: 1000px;
}

/* ---------- profile card ---------- */

.team-card {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--td-border);
	background: #fff;
	margin-bottom: 45px;
}

.team-card__image {
	flex: 0 0 43%;
	max-width: 43%;
	background: #4a4a4a;
}

.team-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.team-card__info {
	flex: 1 1 auto;
	padding: 40px 42px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.team-details .team-card__name {
	display: block;
	font-family: "SofiaProLightAz";
	font-weight: 400;
	font-size: 40px;
	line-height: 1.1;
	color: var(--gs-gold-color);
	text-align: left;
	letter-spacing: 0;
	text-transform: none;
	margin: 0 0 6px;
}

.team-details .team-card__role {
	font-size: 16px;
	color: var(--td-link);
	margin: 0;
}

.team-card__rule {
	border: 0;
	border-top: 1px solid var(--td-border);
	opacity: 1;
	margin: 26px 0 20px;
}

.team-details .team-card__contact {
	font-size: 16px;
	color: var(--td-text);
	margin: 0 0 8px;
	color: var(--gs-gold-color);
}

.team-details .team-card__contact a {
	color: var(--td-link);
	text-decoration: none;
	word-break: break-word;
}

.team-details .team-card__contact a.team-card__tel {
	color: inherit;
}

.team-details .team-card__contact a:hover {
	text-decoration: underline;
}

/* ---------- biography ---------- */

.team-bio {
	
}

.team-bio p {
	margin: 0 0 12px;
	text-align: left;
}

.team-bio h2 {
	margin-top: 35px;
}

.team-bio ul, .team-bio ol {
	padding-left: 15px;
}

/* drop cap on the opening paragraph */
.team-bio > p:first-of-type::first-letter,
.team-bio > p:first-child::first-letter {
	float: left;
	font-family: var(--td-serif);
	font-weight: 400;
	font-size: 92px;
	line-height: 0.8;
	color: var(--td-heading);
	margin: 8px 12px 0 0;
}

.team-bio a {
	color: var(--td-link);
}

/* ---------- responsive ---------- */

@media (max-width: 767px) {
	.team-card {
		flex-direction: column;
	}

	.team-card__image {
		flex-basis: auto;
		max-width: 100%;
	}

	.team-card__info {
		padding: 28px 22px;
	}

	.team-details .team-card__name {
		font-size: 32px;
	}

	.team-bio > p:first-of-type::first-letter,
	.team-bio > p:first-child::first-letter {
		font-size: 70px;
	}
}
