/* ── ExpertCardBlock: карточка эксперта ── */
.ExpertCardBlock {
	font-family: AvenirNextCyr-Regular, Arial, sans-serif;
	color: #3c3e43;
	padding: 20px;
}

/* ── Header: фото + мета ── */
.ExpertCardBlock__Header {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}
.ExpertCardBlock__AvatarWrap {
	position: relative;
	flex-shrink: 0;
	width: 128px;
	height: 128px;
}
.ExpertCardBlock__Avatar {
	width: 128px;
	height: 128px;
	border-radius: 50%;
	object-fit: cover;
}

/* Галочка верификации — справа внизу аватара, с иконкой внутри */
.ExpertCardBlock__Verified {
	position: absolute;
	bottom: 6px;
	right: 6px;
	width: 20px;
	height: 20px;
	background: #4caf50;
	border-radius: 50%;
	border: 2px solid #fff;
}
.ExpertCardBlock__Verified::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 6px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.ExpertCardBlock__HeaderInfo {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

/* Имя и описание — сброс стилей глобальных h1/h2 */
.ExpertCardBlock__Name {
	font-family: AvenirNextCyr-Bold, Arial, sans-serif;
	font-size: 26px;
	color: #0b0b0b;
	margin: 0;
}
.ExpertCardBlock__Description {
	font-family: AvenirNextCyr-Regular, Arial, sans-serif;
	font-size: 18px;
	color: #6b6e75;
	margin: 0;
}

/* ── Теги ── */
.ExpertCardBlock__Tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}
.ExpertCardBlock__Tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-family: AvenirNextCyr-Medium, Arial, sans-serif;
	font-size: 16px;
	color: #3d35c0;
	background-color: #eeedfe;
	text-decoration: none;
	transition: background-color 0.3s;
}
a.ExpertCardBlock__Tag:hover {
	background-color: #dddcf7;
}

/* ── Body: SEO-текст + характеристики ── */
.ExpertCardBlock__Body {
	margin-top: 20px;
}
.ExpertCardBlock__SeoText {
	font-size: 18px;
	line-height: 1.6;
	color: #3c3e43;
}
.ExpertCardBlock__SeoText p {
	margin: 0 0 12px;
}
.ExpertCardBlock__SeoText a {
	color: #795fd0;
	text-decoration: none;
}
.ExpertCardBlock__SeoText a:hover {
	text-decoration: underline;
}

/* ── Характеристики (features): прогрессивный перенос при <250px ── */
.ExpertCardBlock__Features {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-top: 16px;
	border-top: 1px solid #e8e9ec;
	padding-top: 16px;
}
.ExpertCardBlock__Feature {
	flex: 1 0 300px;
	text-align: center;
	padding: 12px 12px;
	position: relative;
}
.ExpertCardBlock__Feature:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 12px;
	bottom: 12px;
	width: 1px;
	/* background: #e8e9ec; */
}
.ExpertCardBlock__FeatureTitle {
	font-family: AvenirNextCyr-Bold, Arial, sans-serif;
	font-size: 18px;
	color: #3c3e43;
	margin-bottom: 6px;
}
.ExpertCardBlock__FeatureSubtitle {
	font-family: AvenirNextCyr-Regular, Arial, sans-serif;
	font-size: 18px;
	color: #3c3e43;
}
.ExpertCardBlock__FeatureLink {
	color: #3c3e43;
	text-decoration: none;
}
.ExpertCardBlock__FeatureLink:hover {
	color: #795fd0;
}

/* ── Кнопка CTA ── */
.ExpertCardBlock__ButtonWrap {
	margin-top: 20px;
	display: flex;
	justify-content: flex-start;
}
.ExpertCardBlock__Button {
	background: linear-gradient(180deg, #995ce2 0%, #7f6be5 100%);
	color: #fff;
	border: none;
	min-width: 380px;
	padding: 14px 40px;
	border-radius: 32px;
	font-family: AvenirNextCyr-Medium, Arial, sans-serif;
	font-size: 16px;
	cursor: pointer;
	transition: opacity 0.3s;
}
.ExpertCardBlock__Button:hover {
	opacity: 0.9;
}

/* ── Адаптив ── */
@media (max-width: 768px) {
	.ExpertCardBlock__AvatarWrap {
		width: 100px;
		height: 100px;
	}
	.ExpertCardBlock__Avatar {
		width: 100px;
		height: 100px;
	}
	.ExpertCardBlock__Name {
		font-size: 20px;
	}
	.ExpertCardBlock__Verified {
		position: absolute;
		bottom: 6px;
		right: 6px;
		width: 18px;
		height: 18px;
	}
	.ExpertCardBlock__Verified::after {
		top: 3.5px;
		left: 5px;
		width: 4px;
		height: 6px;
	}
	.ExpertCardBlock {
		padding: 10px;
	}
	.ExpertCardBlock__Header {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 12px;
	}
	.ExpertCardBlock__HeaderInfo {
		align-items: center;
	}
	.ExpertCardBlock__Tags {
		justify-content: center;
	}
	.ExpertCardBlock__Description {
		font-size: 16px;
	}
	.ExpertCardBlock__SeoText {
		font-size: 15px;
	}
	.ExpertCardBlock__FeatureTitle {
		font-size: 15px;
	}
	.ExpertCardBlock__FeatureSubtitle {
		font-size: 14px;
	}
	/* Фичи: текст по левому краю */
	.ExpertCardBlock__Feature {
		text-align: left;
		padding: 8px 0;
	}
	.ExpertCardBlock__Feature:not(:last-child)::after {
		display: none;
	}
	.ExpertCardBlock__ButtonWrap {
		justify-content: center;
	}
	.ExpertCardBlock__Tag {
		padding: 4px 10px;
		border-radius: 20px;
		font-size: 14px;
	}
	.ExpertCardBlock__Button {
		width: 100%;
		min-width: auto;
		max-width: 380px;
	}
}
