/* Мобильная шапка карточки специалиста (до 767px) — по макету 1: заголовок и категория по центру,
   описание слева с «Развернуть» справа, контакты строкой, кнопка WhatsApp на всю ширину,
   иконки соцсетей по центру, ссылка «Поделиться» по центру. */
@media (max-width: 767px) {
	.pro_page_top .name_before {
		text-align: center !important;
		font-size: 15px;
		line-height: 1.4;
		color: #5B6D9C;
		margin-bottom: 6px;
	}
	.pro_page_top h1 {
		text-align: center !important;
		font-size: 22px !important;
		font-weight: 600 !important;
		line-height: 1.3 !important;
		margin: 0 0 14px !important;
	}
	.pro_page_top .preview_text {
		font-size: 13px;
		line-height: 1.6;
		color: #5B6D9C;
		display: -webkit-box;
		-webkit-line-clamp: 6;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.pro_page_top .description_link {
		text-align: right !important;
		margin: 6px 0 18px;
	}
	.pro_page_top .description_link a {
		font-size: 14px;
	}
	.pro_page_top .pro_whatsapp_cta {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 44px;
		box-sizing: border-box;
		font-size: 15px;
		font-weight: 600;
		border-radius: 6px;
		background: linear-gradient(90deg, #1b4f8f 0%, #0066B2 100%);
		margin: 14px 0 16px;
	}
	.pro_page_top .pro_social_icons {
		justify-content: center;
		gap: 12px;
		margin-bottom: 14px;
	}
	.pro_page_top .pro_share_link {
		justify-content: center;
		width: 100%;
	}
}

/* Строка языков и детали по макету 1 (мобильная версия). */
.pro_page_top .pro_lang_row {
	display: none;
}
@media (max-width: 767px) {
	.pro_page_top .pro_lang_row {
		display: block;
		text-align: center;
		font-size: 14px;
		color: #5B6D9C;
		margin: 2px 0 14px;
	}
	.pro_page_top .offer_contacts_item .icon-wa span {
		color: #1E8A4C !important;
	}
	.pro_page_top .pro_whatsapp_cta {
		font-weight: 400 !important;
		border-radius: 8px !important;
		background: linear-gradient(180deg, #1f5597 0%, #0d3f7b 100%) !important;
		box-shadow: 0 2px 6px rgba(13, 63, 123, 0.3);
	}
	.pro_page_top .pro_social_icons {
		flex-wrap: nowrap;
		width: 100%;
		gap: 12px;
	}
}

/* Строка языков: на всю ширину блока, чтобы не оставалась слева в flex-строке контактов. */
@media (max-width: 767px) {
	.pro_page_top .pro_lang_row {
		flex: 0 0 100% !important;
		width: 100% !important;
		box-sizing: border-box !important;
		text-align: center !important;
	}
	.pro_page_top .pro_social_icons {
		justify-content: center !important;
		width: 100% !important;
	}
}

/* Контакты по макету 2 (мобильная версия): номер синий, WhatsApp-иконка зелёная,
   «Скопировать» — контурная иконка и синий текст, строка языка синяя, соцсети крупнее. */
@media (max-width: 767px) {
	.pro_page_top .offer_contacts_item .icon-wa span {
		color: #0066B2 !important;
	}
	.pro_page_top .offer_contacts_item .icon-wa svg {
		fill: #1E8A4C;
	}
	.pro_page_top .pro_copy_btn {
		color: #0066B2 !important;
		font-size: 15px;
	}
	.pro_page_top .pro_copy_btn svg {
		fill: none !important;
		stroke: currentColor;
		stroke-width: 1.8;
	}
	.pro_page_top .pro_lang_row {
		color: #0066B2 !important;
		font-size: 15px !important;
	}
	.pro_page_top .pro_social_icons {
		gap: 14px !important;
	}
	.pro_page_top .pro_social_icon {
		width: 44px;
		height: 44px;
	}
	.pro_page_top .pro_social_icon svg {
		width: 44px;
		height: 44px;
	}
}
