/* Шапка статьи: дата, автор, анонс, изображение */
.article-head {
	padding-top: 12px;
	padding-bottom: 28px;
}

.article-author .breadcrumbs {
	margin-bottom: 12px;
}

.article-author .article-head__title {
	margin: 0 0 16px;
	font-size: clamp(24px, 4vw, 36px);
	line-height: 1.2;
}

.article-head__title {
	margin: 0 0 20px;
}

.article-head__date {
	display: inline-block;
	padding: 8px 14px;
	background: #fff;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.3;
	color: #333;
	white-space: nowrap;
}

.article-head__date--solo {
	margin-bottom: 8px;
}

.article-author {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	align-self: stretch;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	margin: 0 0 20px;
	padding: 20px 22px;
	background: #fff;
	border-radius: 8px;
}

.article-author__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
	gap: 24px 32px;
	align-items: stretch;
	width: 100%;
}

.article-author__layout--thumb-only {
	grid-template-columns: 1fr;
}

.article-author__main {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-width: 0;
}

.article-author__thumb {
	display: flex;
	align-items: stretch;
	min-height: 100%;
}

.article-author__thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
	border-radius: 8px;
}

.article-author .article-head__date {
	display: inline-block;
	align-self: flex-start;
	margin: 0;
	padding: 8px 14px;
	background: #f3f3f3;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.3;
	color: #333;
	white-space: nowrap;
}

.article-author .box-list__img {
	flex: 0 0 88px;
	width: 88px;
	margin: 0;
	align-self: center;
}

.article-author .box-list__img img {
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 50%;
}

.article-author .box-list__cnt {
	flex: 1 1 auto;
	min-width: 0;
}

.article-author__label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #888;
	margin-bottom: 4px;
}

.article-author__name {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.3;
}

.article-author__name a {
	color: #00bcd4;
}

.article-author .box-list__position {
	margin: 0 0 8px;
	font-size: 14px;
}

.article-head__intro {
	max-width: none;
	margin: 0;
	padding: 16px 18px;
	background: #fff;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.55;
	color: #333;
}

.article-head__intro p {
	margin: 0;
	max-width: none;
	font-size: inherit;
	line-height: inherit;
}

.article-head__intro p + p {
	margin-top: 0.75em;
}

.article-toc {
	max-width: 720px;
	margin: 24px 0 24px;
	padding: 16px 20px;
	background: #f7f7f7;
	border-radius: 8px;
	border-left: 4px solid #00bcd4;
}

.article-toc__title {
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 10px;
}

.article-toc__list {
	margin: 0;
	padding-left: 1.25em;
	list-style: decimal;
}

.article-toc__item {
	margin-bottom: 6px;
	padding-left: 0;
}

.article-toc__item::before {
	content: none !important;
}

.article-toc__item a {
	color: #333;
	border-bottom: 1px dashed #00bcd4;
}

.article-toc__item a:hover {
	color: #00bcd4;
}

.article-toc__item--h3 {
	margin-left: 1em;
	list-style: disc;
}

.article-toc__item--h4 {
	margin-left: 2em;
	list-style: circle;
}

.article .article h2[id],
.s-article .article h2[id],
.s-article .article h3[id],
.s-article .article h4[id] {
	scroll-margin-top: 90px;
}

@media (max-width: 991px) {

	/*
	 * На планшете и мобильном:
	 * фото статьи -> автор
	 */
	.article-author__layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	/*
	 * Фото статьи переносим перед блоком автора.
	 * Так как родитель остаётся grid, order работает.
	 */
	.article-author__thumb {
		order: -1;
		width: 100%;
		min-height: 0;
	}

	.article-author__thumb-img {
		display: block;
		width: 100%;
		height: auto;
		min-height: 0;
		max-height: none;
		object-fit: cover;
	}

}

@media (max-width: 575px) {

	.article-author {
		width: 100%;
		max-width: 100%;
		padding: 16px;
		gap: 14px;
		box-sizing: border-box;
		text-align: left;
		overflow: hidden;
	}

	/* Хлебные крошки */
	.article-author .breadcrumbs {
		width: 100%;
		margin: 0;
		font-size: 13px;
		line-height: 1.45;
		overflow-wrap: anywhere;
	}

	/* H1 */
	.article-author .article-head__title {
		width: 100%;
		margin: 0;
		font-size: 26px;
		line-height: 1.18;
		text-align: left;
	}

	/* Дата */
	.article-author .article-head__date {
		align-self: flex-start;
		margin: 0;
	}

	/*
	 * Контейнер:
	 * сначала фото статьи,
	 * затем информация об авторе
	 */
	.article-author__layout {
		width: 100%;
		gap: 20px;
	}

	.article-author__thumb {
		order: -1;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.article-author__thumb-img {
		display: block;
		width: 100%;
		height: auto;
		min-height: 0;
		max-height: none;
		margin: 0;
		border-radius: 8px;
	}

	/* Блок автора */
	.article-author__main {
		display: block !important;
		width: 100%;
		min-width: 0;
		margin: 0;
		padding: 0;
		text-align: left;
	}

	/* Фото врача — строго по центру */
	.article-author .box-list__img {
		position: static !important;
		inset: auto !important;
		float: none !important;
		transform: none !important;

		display: block;
		width: 104px;
		height: 104px;

		margin: 0 auto 18px !important;
		padding: 0;
	}

	.article-author .box-list__img a {
		display: block;
		width: 100%;
		height: 100%;
	}

	.article-author .box-list__img img {
		display: block;

		width: 104px !important;
		height: 104px !important;
		max-width: 104px;

		margin: 0 auto;
		object-fit: cover;
		border-radius: 50% !important;
	}

	/* Информация о враче — по левому краю */
	.article-author .box-list__cnt {
		display: block;
		clear: both;

		width: 100%;
		max-width: 100%;
		min-width: 0;

		margin: 0;
		padding: 0;

		text-align: left !important;
		padding-left: 0px !important;
	}

	.article-author__label {
		margin: 0 0 4px;
		text-align: left;
	}

	.article-author__name {
		margin: 0 0 8px;
		font-size: 19px;
		line-height: 1.3;
		text-align: left;
	}

	.article-author .box-list__position {
		margin: 0 0 12px;
		font-size: 14px;
		line-height: 1.5;
		text-align: left;
	}

	/* Подробнее о специалисте */
	.article-author .more-btn {
		margin: 8px 0 0;
		text-align: left !important;
		margin-left: 0px !important;
	}
	
	.box-list__item.t-doctor
	{
		margin-top: 0px;
	}

	/* Анонс статьи */
	.article-head__intro {
		padding: 16px;
		box-sizing: border-box;
	}

}

/* Мнение специалиста */
.article-mnenie,
.mnenie.article-mnenie {
	margin: 28px 0;
	padding: 20px 22px;
	background: #f5fbfd;
	border: 1px solid #c5eef5;
	border-radius: 10px;
}

.article-mnenie__label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #00bcd4;
	font-weight: 700;
	margin-bottom: 14px;
}

.article-mnenie__doctor {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.article-mnenie__photo img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
}

.article-mnenie__name {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: #00bcd4;
	margin-bottom: 4px;
}

.article-mnenie__spec {
	font-size: 14px;
	color: #666;
}

.article-mnenie__text {
	font-size: 16px;
	line-height: 1.6;
}

.article-price {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.doctor-articles {
	padding-top: 0;
}

.doctor-articles__list {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.doctor-articles__item {
	margin: 0;
}

/* Точки слайдера «Может быть интересно» */
.section.s-news .slick-news-arrows .el-dots .slick-dots li,
.section.s-news .s-news-slider .slick-dots li {
	width: 10px !important;
	height: 10px !important;
	min-width: 10px;
	min-height: 10px;
	flex: 0 0 10px;
}

.section.s-news .slick-news-arrows .el-dots .slick-dots li button,
.section.s-news .s-news-slider .slick-dots li button {
	width: 10px !important;
	height: 10px !important;
	min-width: 10px !important;
	min-height: 10px !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: #c8e8ee !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

.section.s-news .slick-news-arrows .el-dots .slick-dots li.slick-active button,
.section.s-news .s-news-slider .slick-dots li.slick-active button {
	background: #00bcd5 !important;
}
