/* Individual team-member profiles only. Loaded by single-team_member.php. */
.single-team_member #main {
	padding: 0 24px 80px;
	background: linear-gradient(180deg, #f6fbf2 0, #fff 360px);
}
.single-team_member #content.qoctor-team-profile {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin-right: 0 !important;
}


.qoctor-team-profile {
	width: 100%;
	max-width: 1120px !important;
	margin: 0 auto;
	color: #153746;
	font-size: 16px;
	line-height: 1.6;
}

.qoctor-team-profile__breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 28px 0 22px;
	color: #4ebc00e6 !important;
	font-size: 13px;
}

.qoctor-team-profile__breadcrumbs a,
.qoctor-team-profile__breadcrumbs a:hover,
.qoctor-team-profile__breadcrumbs a:focus {
	color: #4ebc00e6 !important;
}

.qoctor-team-profile a {
	color: #4ebc00e6;
	text-decoration: none;
}

.qoctor-team-profile a:hover,
.qoctor-team-profile a:focus {
	color: #4ebc00e6;
	text-decoration: underline;
}

.qoctor-team-profile__card {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	min-height: 280px;
	padding: 42px 48px;
	border: 1px solid rgba(78, 188, 0, 0.35);
	border-radius: 22px;
	background: linear-gradient(135deg, #f3fbea 0%, #fff 70%);
	box-shadow: 0 18px 45px rgba(29, 85, 16, 0.11);
}

.qoctor-team-profile__photo {
	width: 180px;
	height: 180px;
	overflow: hidden;
	border: 5px solid #fff;
	border-radius: 50%;
	background: #d9e5e3;
	box-shadow: 0 8px 24px rgba(15, 61, 65, 0.2);
}

.qoctor-team-profile__photo:empty {
	display: none;
}

.qoctor-team-profile__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qoctor-team-profile__summary h1 {
	margin: 0 0 10px;
	color: #4ebc00e6;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
}

.qoctor-team-profile__role {
	display: inline-block;
	margin: 0;
	padding: 7px 14px;
	border-radius: 999px;
	background: #e7f7dc;
	color: #246f0b;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.qoctor-team-profile__interests {
	margin: 14px 0 0;
	color: #607b84;
	font-size: 14px;
}

.qoctor-team-profile__social {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.qoctor-team-profile__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid #d9ead2;
	border-radius: 18px;
	background: #fff;
}

.qoctor-team-profile__bio {
	margin-top: 26px;
	padding: 38px 44px;
	border: 1px solid #e1eadc;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(16, 42, 53, 0.07);
}

.qoctor-team-profile__bio h1,
.qoctor-team-profile__bio h2,
.qoctor-team-profile__section h2 {
	margin: 32px 0 14px;
	color: #4ebc00e6;
	font-size: 27px;
	font-weight: 700;
	line-height: 1.35;
}

.qoctor-team-profile__bio p,
.qoctor-team-profile__bio > span {
	margin: 0 0 18px;
}

.qoctor-team-profile__bio > p:first-of-type {
	display: inline-block;
	margin-bottom: 22px;
	padding: 7px 12px;
	border-radius: 8px;
	background: #f0f9e9;
	color: #286d12;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.025em;
}

.qoctor-team-profile__bio > p:not(:first-of-type) {
	max-width: 900px;
	font-size: 17px;
	line-height: 1.75;
}

.qoctor-team-profile__bio > span {
	display: block;
}

.qoctor-team-profile__section {
	margin-top: 34px;
}

.qoctor-team-profile__article-link {
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid #e3eceb;
}

.qoctor-team-profile__tags span {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 5px 10px;
	border: 1px solid #bad3d0;
	border-radius: 16px;
	color: #42646c;
	font-size: 13px;
}

.qoctor-team-profile__skills .progress {
	margin: 5px 0 15px;
	background: #00877d;
}

.qoctor-team-profile__back {
	display: inline-block;
	margin-top: 36px;
	padding: 10px 18px;
	border: 1px solid #4ebc00;
	border-radius: 999px;
	background: #fff;
	color: #318900;
	font-weight: 700;
}

@media (min-width: 641px) {
	.single-team_member .qoctor-team-profile__breadcrumbs {
		display: flex !important;
		position: relative !important;
		z-index: 20 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 20px !important;
		margin: 34px 0 22px !important;
		clear: both !important;
		overflow: visible !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
	}
}

@media (max-width: 640px) {
	.single-team_member #main {
		padding-right: 18px;
		padding-left: 18px;
	}

	.qoctor-team-profile__breadcrumbs {
		margin-top: 24px;
	}

	.qoctor-team-profile__card {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 24px;
		text-align: center;
	}

	.qoctor-team-profile__photo {
		width: 132px;
		height: 132px;
		margin: 0 auto;
	}

	.qoctor-team-profile__summary h1 {
		font-size: 30px;
	}

	.qoctor-team-profile__social {
		justify-content: center;
	}

	.qoctor-team-profile__bio {
		padding: 26px 22px;
	}

	.qoctor-team-profile__bio h1,
	.qoctor-team-profile__bio h2 {
		font-size: 23px;
	}

	.qoctor-team-profile__bio > p:not(:first-of-type) {
		font-size: 16px;
		line-height: 1.65;
	}
	.single-team_member .priority_booking_signposting {
		margin-left: 0 !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
		padding-right: 0;
		padding-left: 0;
		white-space: normal !important;
		overflow-wrap: anywhere;
		text-align: center !important;
	}

}
