/* Instructor profile (instructor-detail.html). */

.lms-instructor-profile {
	padding-bottom: 64px;
}

.lms-instructor-profile__body {
	padding-bottom: 24px;
}

.lms-instructor-hero {
	background: #fff;
	border: 1px solid var(--lms-line);
	border-radius: var(--lms-radius);
	padding: 20px;
	margin-bottom: 28px;
}

.lms-instructor-hero__top {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.lms-instructor-hero__photo {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	overflow: hidden;
	background: #eef0fb;
	border: 1px solid var(--lms-line);
}

.lms-instructor-hero__photo img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lms-instructor-hero__placeholder {
	display: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--lms-navy);
	font-size: 36px;
	background: #eef0fb;
}

.lms-instructor-hero__photo.is-placeholder .lms-instructor-hero__placeholder {
	display: flex;
}

.lms-instructor-hero__info {
	min-width: 0;
	flex: 1;
}

.lms-instructor-hero__kicker {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lms-navy);
}

.lms-instructor-hero__name {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.lms-instructor-hero__qual {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #475569;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.lms-instructor-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}

.lms-instructor-hero__chip {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 6px;
	background: #eef0fb;
	color: var(--lms-navy);
	font-size: 12px;
	font-weight: 600;
}

.lms-instructor-hero__chip.is-popular {
	background: #ecfdf3;
	color: #166534;
}

.lms-instructor-hero__org {
	font-size: 13px;
	font-weight: 600;
	color: var(--lms-muted);
	text-decoration: none;
	overflow-wrap: anywhere;
}

a.lms-instructor-hero__org {
	color: var(--lms-navy);
}

a.lms-instructor-hero__org:hover,
a.lms-instructor-hero__org:focus {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lms-instructor-hero__about {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--lms-line);
}

.lms-instructor-hero__about-title {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lms-navy);
}

.lms-instructor-hero__about p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #475569;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.lms-instructor-courses {
	margin: 0;
	padding: 0;
}

.lms-instructor-courses__title {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: var(--lms-ink);
}

.lms-instructor-courses__title span {
	font-size: 13px;
	font-weight: 600;
	color: var(--lms-muted);
}

.lms-instructor-profile .course-empty-state {
	margin-top: 0;
}

@media only screen and (max-width: 767.98px) {
	.lms-instructor-profile {
		padding-bottom: 40px;
	}

	.lms-instructor-hero {
		padding: 14px;
	}

	.lms-instructor-hero__top {
		gap: 14px;
	}

	.lms-instructor-hero__photo {
		width: 64px;
		height: 64px;
	}

	.lms-instructor-hero__placeholder {
		font-size: 26px;
	}

	.lms-instructor-hero__name {
		font-size: 22px;
	}

	.lms-instructor-hero__qual {
		-webkit-line-clamp: 4;
	}
}
