/* Teacher detail: scoped profile card. */
.content.margin-auto .cont-left {
	box-sizing: border-box;
	background: transparent;
	border: 0;
}

.content.margin-auto .teacher-profile-card,
.content.margin-auto .teacher-profile-card * {
	box-sizing: border-box;
}

.content.margin-auto .teacher-profile-card {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dbe8e6;
	border-top: 4px solid #08796f;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(21, 73, 68, .08);
}

.content.margin-auto .teacher-profile-card::before {
	content: "";
	position: absolute;
	top: -78px;
	right: -70px;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	background: rgba(8, 121, 111, .06);
	pointer-events: none;
}

.content.margin-auto .teacher-profile-header {
	position: relative;
	z-index: 1;
	padding: 21px 20px 18px;
	text-align: center;
	background: linear-gradient(135deg, #f4faf9 0%, #fff 78%);
	border-bottom: 1px solid #e5eeec;
}

.content.margin-auto .teacher-profile-kicker {
	display: block;
	margin-bottom: 6px;
	font-family: Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 1.8px;
	color: #8aa5a1;
}

.content.margin-auto .teacher-profile-header h2 {
	position: relative;
	margin: 0;
	padding: 0 0 13px;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 2px;
	color: #173d39;
}

.content.margin-auto .teacher-profile-header h2::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 34px;
	height: 2px;
	transform: translateX(-50%);
	background: #b98a54;
}

.content.margin-auto .teacher-intro {
	margin: 0;
	padding: 20px 18px 21px;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.content.margin-auto .teacher-pic {
	float: none;
	width: 100%;
	margin: 0 auto 20px;
	padding: 0;
	background: #eef4f3;
	border: 0;
	border-radius: 3px;
}

.content.margin-auto .teacher-pic img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 3px;
	box-shadow: none;
}

.content.margin-auto .intro {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #edf2f1;
}

.content.margin-auto .intro li {
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	column-gap: 11px;
	align-items: start;
	margin: 0;
	padding: 9px 2px;
	font-size: 13px;
	line-height: 1.55;
	color: #334744;
	background: transparent;
	border-bottom: 1px solid #edf2f1;
	border-radius: 0;
}

.content.margin-auto .intro li.is-empty {
	display: none;
}

.content.margin-auto .intro .info-label {
	position: relative;
	padding-left: 11px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.7;
	color: #08796f;
	white-space: nowrap;
}

.content.margin-auto .intro .info-label::before {
	content: "";
	position: absolute;
	left: 0;
	top: .63em;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #bd8a51;
}

.content.margin-auto .intro .info-value {
	min-width: 0;
	color: #344542;
	word-break: break-word;
	overflow-wrap: anywhere;
}

@media (max-width: 700px) {
	.content.margin-auto .teacher-profile-card {
		border-top-width: 3px;
		border-radius: 10px;
		box-shadow: 0 6px 20px rgba(15, 74, 68, .08);
	}

	.content.margin-auto .teacher-profile-header {
		padding: 19px 16px 16px;
	}

	.content.margin-auto .teacher-profile-header h2 {
		font-size: 25px;
	}

	.content.margin-auto .teacher-intro {
		padding: 18px 16px 17px;
	}

	.content.margin-auto .teacher-pic {
		width: 58%;
		max-width: 230px;
		margin-bottom: 18px;
		padding: 5px;
		border-radius: 8px;
	}

	.content.margin-auto .teacher-pic img {
		border-radius: 5px;
	}

	.content.margin-auto .intro li {
		grid-template-columns: 82px minmax(0, 1fr);
		padding: 10px 7px;
		font-size: 14px;
	}

	.content.margin-auto .intro .info-label {
		font-size: 14px;
	}
}
