body.single-teacher {
	--bamdad-profile-navy: #0b2c59;
	--bamdad-profile-blue: #1766c2;
	--bamdad-profile-cyan: #31d4df;
	--bamdad-profile-yellow: #f2c94c;
	--bamdad-profile-text: #435572;
	background: #f5f8fc;
}

body.single-teacher .main-page-content.default-margin {
	padding-bottom: 52px;
	padding-top: 42px;
}

.bamdad-profile-page .site-content-inner {
	max-width: 1220px;
}

.bamdad-profile-shell {
	direction: rtl;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
	margin: 0 auto;
}

.bamdad-profile-card,
.bamdad-profile-resume {
	background: #fff;
	border: 1px solid #dbe7f5;
	border-radius: 24px;
	box-shadow: 0 18px 46px rgba(11, 44, 89, .09);
	overflow: hidden;
}

.bamdad-profile-card {
	align-self: start;
	position: sticky;
	top: 102px;
}

.bamdad-profile-card__image {
	background: linear-gradient(145deg, #edf5ff, #fff);
	border-bottom: 4px solid var(--bamdad-profile-yellow);
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.bamdad-profile-card__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	width: 100%;
}

.bamdad-profile-card__placeholder {
	align-items: center;
	color: var(--bamdad-profile-blue);
	display: flex;
	font-size: 78px;
	font-weight: 950;
	height: 100%;
	justify-content: center;
}

.bamdad-profile-card__body {
	padding: 22px;
	text-align: center;
}

.bamdad-profile-card__type {
	background: #eef6ff;
	border: 1px solid #d8e8fb;
	border-radius: 999px;
	color: var(--bamdad-profile-blue);
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 11px;
	padding: 5px 12px;
}

.bamdad-profile-card h2 {
	color: var(--bamdad-profile-navy);
	font-size: 27px;
	font-weight: 950;
	line-height: 1.5;
	margin: 0;
}

.bamdad-profile-card__job {
	color: #677b96;
	font-size: 15px;
	font-weight: 750;
	margin: 5px 0 0;
}

.bamdad-profile-card__socials:empty {
	display: none;
}

.bamdad-profile-card__socials {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 13px;
}

.bamdad-profile-card__socials a.studi_teacher_sbtn {
	align-items: center;
	background: #eff5fc;
	border-radius: 10px;
	color: var(--bamdad-profile-blue);
	display: inline-flex;
	height: 38px;
	justify-content: center;
	margin: 0;
	width: 38px;
}

.bamdad-profile-card__cta {
	align-items: center;
	background: linear-gradient(135deg, var(--bamdad-profile-blue), var(--bamdad-profile-navy));
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(23, 102, 194, .2);
	color: #fff !important;
	display: grid;
	gap: 2px;
	margin-top: 18px;
	min-height: 58px;
	padding: 10px 15px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.bamdad-profile-card__cta:hover,
.bamdad-profile-card__cta:focus-visible {
	box-shadow: 0 14px 30px rgba(11, 44, 89, .28);
	transform: translateY(-2px);
}

.bamdad-profile-card__cta span {
	font-size: 13px;
	font-weight: 900;
}

.bamdad-profile-card__cta strong {
	color: #fff;
	direction: ltr;
	font-size: 17px;
	font-weight: 950;
}

.bamdad-profile-resume {
	min-width: 0;
}

.bamdad-profile-resume__header {
	background: linear-gradient(135deg, var(--bamdad-profile-navy), var(--bamdad-profile-blue));
	border-top: 5px solid var(--bamdad-profile-yellow);
	color: #fff;
	padding: 24px 28px 23px;
	position: relative;
}

.bamdad-profile-resume__header::after {
	background: rgba(255, 255, 255, .09);
	border-radius: 50%;
	content: "";
	height: 150px;
	left: -42px;
	position: absolute;
	top: -70px;
	width: 150px;
}

.bamdad-profile-resume__header span {
	color: #dbeaff;
	font-size: 13px;
	font-weight: 800;
}

.bamdad-profile-resume__header h2 {
	color: #fff;
	font-size: 29px;
	font-weight: 950;
	line-height: 1.5;
	margin: 4px 0 0;
}

.bamdad-profile-resume__content {
	color: var(--bamdad-profile-text);
	font-size: 17px;
	line-height: 2.05;
	padding: 26px 30px 30px;
}

.bamdad-profile-resume__content > :first-child {
	margin-top: 0;
}

.bamdad-profile-resume__content > :last-child {
	margin-bottom: 0;
}

.bamdad-profile-resume__content h2,
.bamdad-profile-resume__content h3,
.bamdad-profile-resume__content h4 {
	color: var(--bamdad-profile-navy);
	font-size: 21px;
	font-weight: 950;
	line-height: 1.65;
	margin: 24px 0 8px;
	padding: 0 17px 0 0 !important;
	position: relative;
}

.bamdad-profile-resume__content img.emoji {
	display: inline-block !important;
	height: 1.15em !important;
	margin: 0 .08em !important;
	max-height: 1.15em !important;
	max-width: 1.15em !important;
	vertical-align: -.15em;
	width: 1.15em !important;
}

.bamdad-profile-resume__content h2::before,
.bamdad-profile-resume__content h3::before,
.bamdad-profile-resume__content h4::before {
	background: linear-gradient(180deg, var(--bamdad-profile-yellow), var(--bamdad-profile-cyan));
	border-radius: 999px;
	content: "";
	height: 28px;
	position: absolute;
	right: 0;
	top: 3px;
	width: 5px;
}

.bamdad-profile-resume__content p,
.bamdad-profile-resume__content li {
	color: var(--bamdad-profile-text);
	font-size: inherit;
	line-height: inherit;
}

.bamdad-profile-resume__content p {
	background: #f8fbff;
	border: 1px solid #e5edf7;
	border-radius: 14px;
	margin: 0 0 14px;
	padding: 14px 16px;
}

.bamdad-profile-resume__content ul,
.bamdad-profile-resume__content ol {
	background: #f8fbff;
	border: 1px solid #e5edf7;
	border-radius: 14px;
	margin: 0 0 14px;
	padding: 14px 36px 14px 16px;
}

.bamdad-profile-resume__content li::marker {
	color: var(--bamdad-profile-blue);
}

.bamdad-profile-courses {
	background: #fff;
	border: 1px solid #dbe7f5;
	border-radius: 22px;
	box-shadow: 0 14px 38px rgba(11, 44, 89, .07);
	margin-top: 28px;
	padding: 24px;
}

.bamdad-profile-courses__header {
	align-items: center;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.bamdad-profile-courses__header h2 {
	color: var(--bamdad-profile-navy);
	font-size: 24px;
	font-weight: 950;
	margin: 0;
}

.bamdad-profile-courses__header a {
	color: var(--bamdad-profile-blue);
	font-weight: 900;
}

@media (max-width: 900px) {
	body.single-teacher .main-page-content.default-margin {
		padding-bottom: 36px;
		padding-top: 26px;
	}

	.bamdad-profile-shell {
		grid-template-columns: minmax(0, 1fr);
	}

	.bamdad-profile-card {
		margin: 0 auto;
		max-width: 520px;
		position: static;
		width: 100%;
	}
}

@media (max-width: 640px) {
	.bamdad-profile-shell {
		gap: 16px;
	}

	.bamdad-profile-card,
	.bamdad-profile-resume {
		border-radius: 18px;
	}

	.bamdad-profile-card {
		max-width: 380px;
	}

	.bamdad-profile-card__body {
		padding: 18px;
	}

	.bamdad-profile-card h2 {
		font-size: 25px;
	}

	.bamdad-profile-resume__header {
		padding: 19px 18px 18px;
	}

	.bamdad-profile-resume__header h2 {
		font-size: 24px;
	}

	.bamdad-profile-resume__content {
		font-size: 16px;
		line-height: 1.95;
		padding: 18px 16px 20px;
	}

	.bamdad-profile-resume__content h2,
	.bamdad-profile-resume__content h3,
	.bamdad-profile-resume__content h4 {
		font-size: 19px;
		margin-top: 20px;
	}

	.bamdad-profile-courses {
		border-radius: 18px;
		padding: 16px;
	}

	.bamdad-profile-courses__header {
		align-items: flex-start;
		flex-direction: column;
	}
}
