

/* Start:/local/templates/z_clinic/components/bitrix/news/doctors_v6/bitrix/news.list/.default/style.css?179447093475697*/
/* Figma: Untitled Copy / «Разводящая взрослые» — doctor catalog 1:1 */

.doctor-catalog {
	--dc-green: #009b77;
	--dc-green-play: #009b77;
	--dc-child-bar: #ffdc66;
	--dc-bar: var(--dc-green);
	--dc-ink: #000000;
	--dc-muted: #505050;
	--dc-placeholder: #ababab;
	--dc-card-bg: #fff;
	--dc-photo-bg: #f5f5f5;
	--dc-border: #f0f0f0;
	--dc-tag-border: #ededed;
	--dc-pill-bg: #f8f8f8;
	--dc-content: 1440px;
	font-family: Gilroy, arial, sans-serif;
	padding: 48px 0 80px;
	color: var(--dc-ink);
	overflow: visible;
}

.doctor-catalog.is-child-mode {
	--dc-bar: var(--dc-child-bar);
}

.doctor-catalog,
.doctor-catalog * {
	box-sizing: border-box;
	letter-spacing: 0;
}

.doctor-catalog__container {
	width: 100%;
	max-width: calc(var(--dc-content) + 48px);
	margin: 0 auto;
	padding: 0 24px;
	overflow: visible;
}

/* Title — Figma 7:707, ~50px line */
.doctor-catalog__heading {
	margin: 0 0 16px;
}

.doctor-catalog__heading h1 {
	margin: 0;
	font-family: Gilroy, arial, sans-serif;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.14;
	color: var(--dc-ink);
}

/* Filter bar — Figma 7:885; взрослые #009b77, детские #FFDC66 */
.doctor-catalog__filters {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 85px;
	padding: 15px 18.5px;
	border-radius: 40px;
	background: var(--dc-bar);
	transition: background .25s ease;
}

.doctor-catalog__filters label {
	margin-bottom: 0;
}

.doctor-catalog__search {
	flex: 1 1 427px;
	min-width: 0;
	max-width: 427px;
}

.doctor-catalog__search input,
.doctor-catalog__dropdown-toggle {
	width: 100%;
	height: 55px;
	border: 0;
	border-radius: 25px;
	background: #fff;
	color: var(--dc-muted);
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	outline: 0;
}

.doctor-catalog__search input {
	padding: 10px 20px;
	color: var(--dc-ink);
}

.doctor-catalog__search input::placeholder {
	color: var(--dc-placeholder);
	font-weight: 500;
}

.doctor-catalog__search input:focus,
.doctor-catalog__dropdown-toggle:focus-visible,
.doctor-catalog__audience button:focus-visible {
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .55);
}

/* Audience pills — Figma 7:890, 354×55, inner pills 40h */
.doctor-catalog__audience {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex: 0 0 354px;
	width: 354px;
	height: 55px;
	padding: 0 9px;
	border-radius: 25px;
	background: #fff;
}

.doctor-catalog__audience button {
	height: 40px;
	padding: 9px 14px;
	border: 0;
	border-radius: 33px;
	background: var(--dc-pill-bg);
	color: var(--dc-muted);
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	line-height: 19px;
	white-space: nowrap;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.doctor-catalog__audience button[data-doctor-audience="all"] {
	min-width: 75px;
}

.doctor-catalog__audience button[data-doctor-audience="adult"] {
	min-width: 136px;
}

.doctor-catalog__audience button[data-doctor-audience="child"] {
	min-width: 115px;
}

.doctor-catalog__audience button.is-active {
	background: var(--dc-green);
	color: #fff;
}

/* На жёлтой плашке активная кнопка остаётся зелёной (как в макете) */
.doctor-catalog.is-child-mode .doctor-catalog__audience button.is-active {
	background: var(--dc-green);
	color: #fff;
}

/* Dropdowns — specialty 306, clinic 256 */
.doctor-catalog__dropdown {
	position: relative;
	flex: 0 0 306px;
	width: 306px;
	min-width: 0;
}

.doctor-catalog__dropdown--clinic {
	flex: 0 0 256px;
	width: 256px;
}

.doctor-catalog__dropdown-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 20px;
	cursor: pointer;
	text-align: left;
}

.doctor-catalog__dropdown-toggle > span:first-child {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--dc-muted);
}

.doctor-catalog__chevron {
	position: relative;
	width: 18px;
	height: 16px;
	flex: 0 0 18px;
}

.doctor-catalog__chevron::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #505050;
	border-bottom: 2px solid #505050;
	transform: rotate(45deg);
	transition: transform .2s ease;
}

.doctor-catalog__dropdown.is-open .doctor-catalog__chevron::before {
	top: 8px;
	transform: rotate(225deg);
}

.doctor-catalog__dropdown-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 30;
	display: none;
	width: max(100%, 280px);
	max-height: 340px;
	padding: 10px;
	overflow-y: auto;
	border: 1px solid #e0e8e5;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.doctor-catalog__dropdown.is-open .doctor-catalog__dropdown-menu {
	display: block;
}

.doctor-catalog__option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 8px;
	color: var(--dc-ink);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	cursor: pointer;
}

.doctor-catalog__option:hover {
	background: #f4f8f7;
}

.doctor-catalog__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.doctor-catalog__checkbox {
	position: relative;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border: 1.5px solid #aeb8b4;
	border-radius: 4px;
}

.doctor-catalog__option input:checked + .doctor-catalog__checkbox {
	border-color: var(--dc-green);
	background: var(--dc-green);
}

.doctor-catalog__option input:checked + .doctor-catalog__checkbox::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 5px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

.doctor-catalog__filter-footer {
	display: flex;
	justify-content: flex-end;
	min-height: 28px;
	padding: 8px 4px 0;
}

.doctor-catalog__reset {
	display: none;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border: 0;
	background: transparent;
	color: #e34258;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.doctor-catalog__reset.is-visible {
	display: flex;
}

/* Grid — 3×468, gap 18 (Figma x: 240 / 726 / 1212) */
.doctor-catalog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 54px;
}

/* Card — Figma 7:32, 468×310, radius 40, bg #fbfbfb, border #f0f0f0 */
.doctor-catalog-card {
	display: grid;
	grid-template-columns: 225px minmax(0, 1fr);
	width: 100%;
	min-width: 0;
	height: 310px;
	overflow: hidden;
	border: 1px solid var(--dc-border);
	border-radius: 40px;
	background: var(--dc-card-bg);
}

.doctor-catalog-card.b-doctor-card {
	background: #fff;
}

.doctor-catalog-card[hidden],
.doctor-catalog-card.is-page-hidden {
	display: none;
}

/* Photo column — 225×310, bg #f1f8f5 */
.doctor-catalog-card__media {
	position: relative;
	width: 225px;
	height: 310px;
	overflow: hidden;
	border-radius: 40px;
	background: var(--dc-photo-bg);
	border: 1px solid var(--dc-border);
}

.doctor-catalog-card__photo {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.doctor-catalog-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform .3s ease;
}

.doctor-catalog-card:hover .doctor-catalog-card__photo img {
	transform: scale(1.03);
}

.doctor-catalog-card__media-fade {
	display: none !important;
}

/* catalog video modal player (same look as detail #myVideo) */
#doctorCatalogVideoModal video#doctorCatalogVideo,
#doctorCatalogVideo {
	width: 100% !important;
	height: 100%;
	border-radius: 30px;
	object-fit: contain;
	object-position: center;
	max-height: 80dvh;
	background: #000;
}

/* Video pill — like detail: white bg + text, bottom left; opens modal */
.doctor-catalog-card__video {
	position: absolute;
	left: 10px;
	bottom: 12px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: auto;
	min-width: 0;
	max-width: calc(100% - 20px);
	height: 36px;
	margin: 0;
	padding: 0 10px 0 4px;
	border: 1px solid #fff;
	border-radius: 32px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
	color: #313131;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	box-sizing: border-box;
	pointer-events: auto;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.doctor-catalog-card__video:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, .16);
	transform: translateY(-1px);
}

.doctor-catalog-card__play {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	line-height: 0;
}

.doctor-catalog-card__play svg {
	display: block;
	width: 24px;
	height: 24px;
}

.doctor-catalog-card__video-text {
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 11px;
	line-height: 1;
	color: #313131;
}

/* Body — content from x≈254 → ~29px left padding from photo edge */
.doctor-catalog-card__body {
	display: flex;
	min-width: 0;
	height: 100%;
	padding: 20px;
	flex-direction: column;
}

.doctor-catalog-card__name {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;
}

.doctor-catalog-card__name a {
	color: var(--dc-ink);
	text-decoration: none;
}

.doctor-catalog-card__name a:hover {
	color: var(--dc-green);
}

/* Tags — pills (as on detail page), no empty stretch */
.doctor-catalog-card__tags {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0 0 18px;
}

.doctor-catalog-card__tags span {
	display: inline-flex;
	align-items: center;
	width: auto;
	max-width: 100%;
	flex: 0 1 auto;
	min-height: 20px;
	padding: 4px 8px;
	border: 1px solid var(--dc-tag-border);
	border-radius: 16px;
	background: #fff;
	color: #000;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.2;
	box-sizing: border-box;
}

.doctor-catalog-card__tags span::after {
	content: none;
	display: none;
}

/* Meta — labels #009b77 Bold 12, values black Regular */
.doctor-catalog-card__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
	margin-bottom: 16px;
}

.doctor-catalog-card__meta-row {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.doctor-catalog-card__meta-item {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 5px;
}

.doctor-catalog-card__meta-item--full {
	width: 100%;
}

.doctor-catalog-card__meta-item span {
	color: var(--dc-green);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
}

.doctor-catalog-card__meta-item strong {
	color: #000;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.doctor-catalog-card__meta-item--full strong {
	white-space: normal;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* Footer: button 120×40 + rating */
.doctor-catalog-card__footer {
	display: flex;
	align-items: center;
	gap: 8px;
}

.doctor-catalog-card__footer--mobile {
	display: none;
}

.doctor-catalog-card__more {
	display: inline-flex;
	width: auto;
	padding: 0 14px;
	text-align: center;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 33px;
	background: var(--dc-green);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 19px;
	text-decoration: none;
	transition: background .2s ease, opacity .2s ease;
}

.doctor-catalog-card__more:hover {
	background: #0f966b;
	color: #fff;
}

.doctor-catalog-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #000;
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
}

.doctor-catalog-card__rating img {
	display: block;
	width: 21px;
	height: 20px;
}

.doctor-catalog__empty {
	padding: 54px 0;
	color: var(--dc-muted);
	font-size: 18px;
	text-align: center;
}

/* Show more — Figma 7:708, 192×50 */
button.doctor-catalog__more {
	display: flex;
	width: 192px;
	height: 50px;
	align-items: center;
	justify-content: center;
	margin: 36px auto 0;
	padding: 0 24px;
	border: 2px solid var(--dc-green);
	border-radius: 25px;
	background: #fff;
	color: var(--dc-green);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

button.doctor-catalog__more[hidden],
.doctor-catalog__empty[hidden] {
	display: none !important;
}

button.doctor-catalog__more:hover {
	background: var(--dc-green);
	color: #fff;
}

.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
	.doctor-catalog__filters {
		flex-wrap: wrap;
		height: auto;
		border-radius: 32px;
	}

	.doctor-catalog__search {
		flex: 1 1 280px;
		max-width: none;
	}

	.doctor-catalog__audience {
		flex: 1 1 320px;
		width: auto;
	}

	.doctor-catalog__dropdown,
	.doctor-catalog__dropdown--clinic {
		flex: 1 1 220px;
		width: auto;
	}
}

@media (max-width: 1100px) {
	.doctor-catalog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.doctor-catalog {
		padding-bottom: 56px;
	}

	.doctor-catalog__heading h1 {
		font-size: 32px;
	}

	.doctor-catalog__filters {
		gap: 10px;
		padding: 12px;
		border-radius: 28px;
	}

	.doctor-catalog__search,
	.doctor-catalog__audience,
	.doctor-catalog__dropdown,
	.doctor-catalog__dropdown--clinic {
		flex: 1 1 100%;
		max-width: none;
		width: 100%;
	}

	.doctor-catalog__audience {
		justify-content: stretch;
		padding: 6px;
	}

	.doctor-catalog__audience button {
		flex: 1 1 0;
		min-width: 0 !important;
		padding: 0 8px;
		font-size: 15px;
	}

	.doctor-catalog__search input,
	.doctor-catalog__dropdown-toggle {
		font-size: 16px;
	}

	.doctor-catalog__grid {
		grid-template-columns: 1fr;
		margin-top: 28px;
	}

	.doctor-catalog-card {
		height: auto;
		min-height: 0;
		grid-template-columns: minmax(132px, 36%) minmax(0, 1fr);
		border-radius: 28px;
		align-items: stretch;
	}

	/* photo column full height — green bg full; image anchored to bottom */
	.doctor-catalog-card__media {
		width: 100%;
		height: 100%;
		min-height: 100%;
		align-self: stretch;
		margin-top: 0;
		border-radius: 28px 0 0 28px;
		background: var(--dc-photo-bg);
	}

	.doctor-catalog-card__photo {
		display: flex;
		align-items: flex-end;
		justify-content: center;
		height: 100%;
		min-height: 100%;
	}

	.doctor-catalog-card__photo img {
		width: 100%;
		height: 100%;
		min-height: 100%;
		max-height: none;
		object-fit: cover;
		object-position: center bottom;
	}

	.doctor-catalog-card__video {
		left: 6px;
		bottom: 8px;
		height: 28px;
		padding: 0 8px 0 3px;
		max-width: calc(100% - 12px);
	}

	.doctor-catalog-card__play {
		width: 18px;
		height: 18px;
		flex-basis: 18px;
	}

	.doctor-catalog-card__play svg {
		width: 18px;
		height: 18px;
	}

	.doctor-catalog-card__video-text {
		display: inline;
		font-size: 9px;
	}

	.doctor-catalog-card__body {
		padding: 12px 12px 12px 14px;
	}

	.doctor-catalog-card__name {
		font-size: 15px;
		margin-bottom: 8px;
		line-height: 1.2;
	}

	.doctor-catalog-card__tags {
		margin-bottom: 10px;
		gap: 4px;
	}

	.doctor-catalog-card__tags span {
		font-size: 10px;
		padding: 3px 7px;
		min-height: 0;
	}

	.doctor-catalog-card__meta {
		margin-bottom: 10px;
		gap: 6px;
	}

	.doctor-catalog-card__meta-item span,
	.doctor-catalog-card__meta-item strong {
		font-size: 11px;
	}
}

@media (max-width: 520px) {
	.doctor-catalog__heading h1 {
		font-size: 22px;
	}

	.doctor-catalog-card {
		grid-template-columns: minmax(118px, 38%) minmax(0, 1fr);
		min-height: 0;
		border-radius: 22px;
		align-items: stretch;
	}

	.doctor-catalog-card__media {
		width: 100%;
		height: 100%;
		min-height: 100%;
		align-self: stretch;
		margin-top: 0;
		border-radius: 22px 0 0 22px;
		background: var(--dc-photo-bg);
	}

	.doctor-catalog-card__photo {
		display: flex;
		align-items: flex-end;
		justify-content: center;
		height: 100%;
		min-height: 100%;
	}

	.doctor-catalog-card__photo img {
		height: 100%;
		min-height: 100%;
		object-position: center bottom;
	}

	/* keep video text on narrow; badge top-left so no collision */
	.doctor-catalog-card__video-text {
		display: inline;
		font-size: 9px;
	}

	.doctor-catalog-card__video {
		height: 26px;
		padding: 0 6px 0 2px;
	}

	.doctor-catalog-card__name {
		font-size: 15px;
	}

	.doctor-catalog-card__tags span:nth-child(n+4) {
		display: none;
	}

	.doctor-catalog-card__meta-row {
		flex-direction: column;
		gap: 6px;
	}

	.doctor-catalog-card__more {
		width: 100px;
		height: 36px;
		font-size: 12px;
	}

	/* mobile type scale for list page */
	.doctor-catalog__heading h1 {
		font-size: 22px;
	}

	.doctor-ratings__head h2,
	.doctor-tour__head h2 {
		font-size: 22px;
	}

	.doctor-ratings__head p,
	.doctor-tour__head p {
		font-size: 15px;
	}
}

/* ========== Decor: docs.png / docs2.png — как на скриншотах ========== */
.doctor-catalog__top {
	position: relative;
	padding-top: 0;
	overflow: visible;
}

/*
 * Взрослые: цветок справа, над правым краем зелёной плашки,
 * нижняя часть слегка заходит на бар (бар сверху по z-index).
 * Детские: широкая полоска иконок над жёлтой плашкой, по центру-справа.
 */
.doctor-catalog__decor {
	position: absolute;
	top: -82px;
	right: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	width: 230px;
	height: 190px;
	pointer-events: none;
	user-select: none;
	overflow: visible;
}

.doctor-catalog__decor-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: right bottom;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .06));
}

/* Детский декор — широкая полоска над плашкой */
.doctor-catalog.is-child-mode .doctor-catalog__decor {
	top: -64px;
	right: 12px;
	left: auto;
	width: min(760px, 64%);
	height: 190px;
}

.doctor-catalog__decor-img.is-child,
.doctor-catalog.is-child-mode .doctor-catalog__decor-img {
	width: 100%;
	height: 100%;
	object-position: right bottom;
}

.doctor-catalog__top .doctor-catalog__heading {
	position: relative;
	z-index: 1;
	max-width: calc(100% - 250px);
	margin-bottom: 18px;
	padding-right: 12px;
}

/* Плашка поверх нижней части декора */
.doctor-catalog__top .doctor-catalog__filters {
	position: relative;
	z-index: 3;
}

/* ========== Virtual tour (Figma 7:710) ========== */
.doctor-tour {
	padding: 72px 0 40px;
	font-family: Gilroy, arial, sans-serif;
}

.doctor-tour__head {
	max-width: 1060px;
	margin: 0 auto 42px;
	text-align: center;
}

.doctor-tour__head h2 {
	margin: 0 0 15px;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.1;
	color: #000;
}

.doctor-tour__head p {
	margin: 0;
	color: #505050;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.35;
}

.doctor-tour__media {
	position: relative;
	width: 100%;
	height: 550px;
	overflow: hidden;
	border: 1px solid #f0f0f0;
	border-radius: 80px;
	background: #fbfbfb;
}

.doctor-tour__bg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.doctor-tour__vr {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: min(372px, 42%);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.doctor-tour__vr img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .18));
}

/* ========== Ratings — review aggregators (WP design) + clinic switch ========== */
.doctor-ratings {
	padding: 56px 0 40px;
	font-family: Gilroy, arial, sans-serif;
}

.doctor-ratings__head {
	max-width: 830px;
	margin: 0 auto 28px;
	text-align: center;
}

.doctor-ratings__head h2 {
	margin: 0 0 15px;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.1;
	color: #000;
}

.doctor-ratings__head p {
	margin: 0;
	color: #505050;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.35;
}

.doctor-ratings__clinics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 auto 20px;
	max-width: 960px;
}

.doctor-ratings__clinic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border: 1px solid #e4e4e4;
	border-radius: 999px;
	background: #fff;
	color: #313131;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.doctor-ratings__clinic:hover {
	border-color: #009b77;
	color: #009b77;
}

.doctor-ratings__clinic.is-active {
	border-color: #009b77;
	background: #009b77;
	color: #fff;
	font-weight: 700;
}

.doctor-ratings .review-aggregators {
	display: none;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 8px;
	border-radius: 16px;
	background: #f7f7f7;
}

.doctor-ratings .review-aggregators.is-active {
	display: grid;
}

.doctor-ratings .review-agg {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.2s ease;
}

.doctor-ratings a.review-agg:hover {
	box-shadow: 0 2px 12px rgba(20, 20, 30, 0.06);
}

.doctor-ratings .review-agg__logo {
	display: inline-flex;
	align-items: center;
	height: 28px;
}

.doctor-ratings .review-agg__logo img {
	max-height: 28px;
	width: auto;
	max-width: 120px;
	display: block;
	object-fit: contain;
}

.doctor-ratings .review-agg__wordmark {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	font-size: 18px;
	line-height: 1;
	font-weight: 700;
	color: #15161a;
}

.doctor-ratings .review-agg__wordmark--yandex::first-letter {
	color: #fc3f1d;
}

.doctor-ratings .review-agg__wordmark--prodoctorov {
	color: #16afc6;
}

.doctor-ratings .review-agg__wordmark--doctu {
	color: #246bfd;
}

.doctor-ratings .review-agg__wordmark--sber {
	color: #21a038;
}

.doctor-ratings .review-agg__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.doctor-ratings .review-agg__rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	color: #15161a;
	font-size: 15px;
}

.doctor-ratings .review-agg__rating svg {
	flex-shrink: 0;
}

.doctor-ratings .review-agg__count {
	font-size: 14px;
	color: #595353;
	text-decoration: underline;
	text-decoration-color: rgba(89, 83, 83, 0.3);
	text-underline-offset: 3px;
}

/* legacy (unused) */
.doctor-ratings__bar,
.doctor-ratings__item,
.doctor-ratings__star {
	display: none;
}

/* ========== CTA cards (Figma 7:908) 1:1 ========== */
.doctor-cta {
	padding: 56px 0 96px;
	font-family: Gilroy, arial, sans-serif;
	background: #fff;
	overflow: visible;
}

.doctor-cta__grid {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	width: 100%;
	max-width: 1186px;
	margin: 0 auto;
}

.doctor-cta__card {
	position: relative;
	flex: 0 0 auto;
	width: 353px;
	height: 455px;
	overflow: hidden;
	border-radius: 32px;
	text-align: center;
}

/* Центральная выше: 416×544 */
.doctor-cta__card--appoint {
	width: 416px;
	height: 544px;
}

.doctor-cta__card--callback {
	background: #66e58e;
}

.doctor-cta__card--appoint {
	background: #009b77;
}

.doctor-cta__card--online {
	background: #fdc85f;
}

/* Нижнее свечение как ellipse в Figma */
.doctor-cta__glow {
	position: absolute;
	left: 50%;
	bottom: -40%;
	z-index: 0;
	width: 180%;
	height: 90%;
	border-radius: 50%;
	transform: translateX(-50%);
	pointer-events: none;
}

.doctor-cta__card--callback .doctor-cta__glow {
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 68%);
}

.doctor-cta__card--appoint .doctor-cta__glow {
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 68%);
}

.doctor-cta__card--online .doctor-cta__glow {
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, 0) 68%);
}

/* Кнопка: top 35.5 / 38, h 50, border 2 white, radius 100 */
.doctor-cta__btn {
	position: absolute;
	top: 35.5px;
	left: 50%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 214px;
	height: 50px;
	margin: 0;
	padding: 0 20px;
	border: 2px solid #fff;
	border-radius: 100px;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	transform: translateX(-50%);
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.doctor-cta__card--appoint .doctor-cta__btn {
	top: 38px;
}

.doctor-cta__btn:hover {
	background: #fff;
	color: #009b77;
}

.doctor-cta__card--callback .doctor-cta__btn:hover {
	color: #3ecf72;
}

.doctor-cta__card--online .doctor-cta__btn:hover {
	color: #e0a42e;
}

/* Текст: top ~105–108, gap 8, title 28 bold, sub 20 regular */
.doctor-cta__text {
	position: absolute;
	top: 105.5px;
	left: 50%;
	z-index: 4;
	width: 238px;
	margin: 0;
	padding: 0;
	color: #fff;
	transform: translateX(-50%);
}

.doctor-cta__card--appoint .doctor-cta__text {
	top: 108px;
	width: 297px;
}

.doctor-cta__card--online .doctor-cta__text {
	top: 106px;
	width: 330px;
}

.doctor-cta__text h3 {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

.doctor-cta__text p {
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
}

/* Визуалы */
.doctor-cta__visual {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

/* Телефон — bottom half, ~255×258, centered */
.doctor-cta__visual--phone img {
	position: absolute;
	left: 50%;
	bottom: 10px;
	width: 255px;
	max-width: none;
	height: auto;
	transform: translateX(-50%);
	object-fit: contain;
	object-position: bottom center;
}

/* Календарь — повёрнут ~12°, крупный */
.doctor-cta__visual--calendar img {
	position: absolute;
	top: 159px;
	left: -69px;
	width: 508px;
	max-width: none;
	height: auto;
	transform: rotate(12.38deg);
	transform-origin: center;
	object-fit: contain;
	object-position: center bottom;
}

/* Онлайн: ноутбук + аватар + трубки */
.doctor-cta__visual--online {
	overflow: hidden;
}

.doctor-cta__online-laptop {
	position: absolute;
	left: calc(50% + 73px);
	top: 179px;
	width: 486px;
	max-width: none;
	height: auto;
	transform: translateX(-50%);
	object-fit: contain;
	object-position: center top;
}

.doctor-cta__online-screen {
	position: absolute;
	top: 241px;
	left: 50%;
	z-index: 2;
	display: block;
	width: 108px;
	height: 108px;
	overflow: hidden;
	border-radius: 50%;
	transform: translateX(-50%);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
	background: #f3f6f8;
}

.doctor-cta__online-avatar {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transform: scaleX(-1);
}

.doctor-cta__online-phone {
	position: absolute;
	top: 373px;
	left: 171px;
	z-index: 3;
	width: 66px;
	height: auto;
	object-fit: contain;
}

.doctor-cta__online-decline {
	position: absolute;
	top: 386px;
	left: 113px;
	z-index: 3;
	width: 48px;
	height: auto;
	object-fit: contain;
}
.doctor-catalog__grid .b-doctor-card {
	gap: 0;
}

@media (max-width: 1240px) {
	.doctor-cta__grid {
		gap: 16px;
		max-width: 100%;
	}

	.doctor-cta__card {
		width: 300px;
		height: 400px;
	}

	.doctor-cta__card--appoint {
		width: 352px;
		height: 476px;
	}

	.doctor-cta__text h3 {
		font-size: 24px;
	}

	.doctor-cta__text p {
		font-size: 17px;
	}

	.doctor-tour__head h2,
	.doctor-ratings__head h2 {
		font-size: 36px;
	}

	.doctor-tour__media {
		height: 420px;
		border-radius: 48px;
	}
}

@media (max-width: 980px) {
	.doctor-catalog {
		padding-top: 20px;
	}

	.doctor-catalog__decor {
		top: -28px;
		right: 0;
		width: 160px;
		height: 136px;
	}

	.doctor-catalog.is-child-mode .doctor-catalog__decor {
		top: -40px;
		right: 0;
		width: min(480px, 68%);
		height: 136px;
	}

	.doctor-catalog__top .doctor-catalog__heading {
		max-width: calc(100% - 170px);
	}

	.doctor-cta__grid {
		flex-direction: column;
		align-items: stretch;
		max-width: 416px;
		margin: 0 auto;
		gap: 20px;
	}

	.doctor-cta__card,
	.doctor-cta__card--appoint {
		width: 100%;
		height: 455px;
	}

	.doctor-cta__card--appoint {
		height: 500px;
	}

	.doctor-tour__head p,
	.doctor-ratings__head p {
		font-size: 16px;
	}

	.doctor-tour__media {
		height: 300px;
		border-radius: 32px;
	}

	.doctor-ratings .review-aggregators {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.doctor-ratings__clinic {
		min-height: 38px;
		padding: 8px 14px;
		font-size: 13px;
	}
}

@media (max-width: 640px) {
	.doctor-catalog__grid .doctor-catalog-card.b-doctor-card {
		grid-template-columns: 100px minmax(0, 1fr);
		grid-template-areas:
			"media body"
			"footer footer";
		column-gap: 14px;
		row-gap: 12px;
		height: auto;
		min-height: 0;
		padding: 12px;
		align-items: start;
		border-radius: 20px;
		background: #fff;
		overflow: hidden;
	}

	.doctor-catalog-card__media {
		grid-area: media;
		width: 100px;
		height: 130px;
		min-height: 0;
		margin: 0;
		align-self: start;
		border-radius: 14px;
		background: #f5f5f5;
	}

	.doctor-catalog-card__photo {
		display: block;
		width: 100px;
		height: 130px;
		min-height: 0;
	}

	.doctor-catalog-card__photo img {
		width: 100px;
		height: 130px;
		min-height: 0;
		max-height: 130px;
		object-fit: cover;
		object-position: center top;
	}

	.doctor-catalog-card__body {
		grid-area: body;
		height: auto;
		min-height: 130px;
		padding: 2px 0 0;
	}

	.doctor-catalog-card__name {
		margin-bottom: 8px;
		font-size: 17px;
		line-height: 1.2;
	}

	.doctor-catalog-card__tags {
		margin-bottom: 10px;
	}

	.doctor-catalog-card__meta-row {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px 14px;
	}

	.doctor-catalog-card__meta-item--full {
		width: 100%;
	}

	.doctor-catalog-card__meta {
		margin-top: 0;
		margin-bottom: 0;
	}

	.doctor-catalog-card__footer--desktop {
		display: none;
	}

	.doctor-catalog-card__footer--mobile {
		grid-area: footer;
		display: flex;
		width: 100%;
		gap: 10px;
		align-items: center;
	}

	.doctor-catalog-card__book {
		display: inline-flex;
		min-width: 0;
		max-width: 180px;
		height: 40px;
		padding: 0 14px;
		flex: 1 1 150px;
		align-items: center;
		justify-content: center;
		border: 0;
		border-radius: 24px;
		background: var(--dc-green);
		color: #fff;
		font-family: inherit;
		font-size: 13px;
		font-weight: 700;
		line-height: 1;
		text-align: center;
		text-decoration: none;
		cursor: pointer;
	}

	.doctor-catalog-card__book:hover {
		color: #fff;
	}

	.doctor-catalog-card__footer--mobile .doctor-catalog-card__rating {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.doctor-catalog-card__video {
		left: 6px;
		bottom: 6px;
		width: 36px;
		height: 36px;
		padding: 0;
		justify-content: center;
		gap: 0;
	}

	.doctor-catalog-card__video .doctor-catalog-card__play {
		position: static;
		transform: none;
		margin: 0;
		width: 24px;
		height: 24px;
		flex: 0 0 24px;
	}

	.doctor-catalog-card__video .doctor-catalog-card__play svg {
		width: 24px;
		height: 24px;
	}

	.doctor-catalog-card__video-text {
		display: none;
	}

	.doctor-catalog__decor {
		top: -36px;
		width: 110px;
		height: 100px;
	}

	.doctor-catalog.is-child-mode .doctor-catalog__decor {
		top: -28px;
		width: min(300px, 76%);
		height: 100px;
	}

	.doctor-catalog__top .doctor-catalog__heading {
		max-width: calc(100% - 116px);
		margin-bottom: 12px;
	}

	.doctor-catalog.is-child-mode .doctor-catalog__top .doctor-catalog__heading {
		max-width: 100%;
		margin-bottom: 0;
		padding-right: 0;
	}

	.doctor-catalog.is-child-mode .doctor-catalog__decor {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		width: 100%;
		height: 76px;
		margin: 0 0 8px;
		justify-content: center;
	}

	.doctor-catalog.is-child-mode .doctor-catalog__decor-img {
		object-position: center;
	}

	.doctor-tour,
	.doctor-ratings {
		padding-top: 40px;
	}

	.doctor-cta {
		padding-bottom: 56px;
	}

	.doctor-tour__head h2,
	.doctor-ratings__head h2 {
		font-size: 28px;
	}

	.doctor-cta__text h3 {
		font-size: 24px;
	}

	.doctor-cta__text p {
		font-size: 16px;
	}

	.doctor-ratings .review-aggregators {
		grid-template-columns: 1fr;
	}

	.doctor-ratings__clinics {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 4px;
		margin-left: -12px;
		margin-right: -12px;
		padding-left: 12px;
		padding-right: 12px;
	}

	.doctor-ratings__clinic {
		flex: 0 0 auto;
	}
}

/* ===== Вариант D (19.10.2026): фото отдельной плиткой + карточка; по мотивам Duet Clinic в стиле «Здоровья» ===== */
.doctor-catalog .dl-help { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; padding: 18px 24px; background: #fff; border: 1px solid #edf0ef; border-radius: 28px; }
.doctor-catalog .dl-help__text b { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 700; color: #000; }
.doctor-catalog .dl-help__text span { font-size: 15px; color: #6c7d76; }
.doctor-catalog .dl-help__text a { color: #009b77; font-weight: 700; text-decoration: none; white-space: nowrap; }
.doctor-catalog .dl-help__btn { flex: none; height: 48px; padding: 0 28px; border: 0; border-radius: 24px; background: #009b77; color: #fff; font: 600 16px/1 Gilroy, arial, sans-serif; cursor: pointer; }
.doctor-catalog .dl-help__btn:hover, .doctor-catalog .dl-card__book:hover { background: #137863; }

.doctor-catalog .doctor-catalog__grid.dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.doctor-catalog .dl-card { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 10px; min-width: 0; }
.doctor-catalog .dl-card[hidden],
.doctor-catalog .dl-card.is-page-hidden { display: none !important; }

.doctor-catalog .dl-card__ph { position: relative; min-height: 340px; overflow: hidden; border-radius: 32px; background: #e9f3ef; }
.doctor-catalog .dl-card__ph-link, .doctor-catalog .dl-card__ph-link img { position: absolute; inset: 0; width: 100%; height: 100%; }
.doctor-catalog .dl-card__ph-link img { object-fit: cover; object-position: top; transition: transform .3s; }
.doctor-catalog .dl-card__ph-link:hover img { transform: scale(1.03); }
.doctor-catalog .dl-card__kid { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.94); color: #ed405d; }
.doctor-catalog .dl-card__video { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 8px; border: 0; border-radius: 20px; background: #fff; font: 600 13px/1 Gilroy, arial, sans-serif; color: #1d1d1b; cursor: pointer; }
.doctor-catalog .dl-card__play { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #009b77; color: #fff; }

.doctor-catalog .dl-card__body { container-type: inline-size; display: flex; flex-direction: column; min-width: 0; padding: 26px 28px 24px; background: #fff; border: 1px solid #edf0ef; border-radius: 32px; }
.doctor-catalog .dl-card__name { margin: 0 0 12px; font-size: 24px; font-weight: 700; line-height: 1.15; color: #000; }
.doctor-catalog .dl-card__name a { color: inherit; text-decoration: none; }
.doctor-catalog .dl-card__name a:hover { color: #009b77; }
.doctor-catalog .dl-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.doctor-catalog .dl-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border: 1px solid #cfdad6; border-radius: 15px; font-size: 14px; font-weight: 500; color: #1d1d1b; white-space: nowrap; }
.doctor-catalog .dl-chip--regalia { height: 32px; padding: 0 14px; border: 1.6px solid #009b77; background: transparent; color: #009b77; font-weight: 600; }
.doctor-catalog .dl-chip--more { color: #6c7d76; cursor: help; }

.doctor-catalog .dl-card__facts { display: grid; grid-template-columns: auto auto minmax(0, max-content); justify-content: start; gap: 8px 24px; margin: 18px 0 0; }
.doctor-catalog .dl-card__facts dt { margin: 0 0 3px; font-size: 14px; font-weight: 700; color: #009b77; white-space: nowrap; }
.doctor-catalog .dl-card__facts dd { margin: 0; font-size: 17px; font-weight: 500; color: #000; white-space: nowrap; }
.doctor-catalog .dl-card__where ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.doctor-catalog .dl-card__where li { display: flex; align-items: flex-start; gap: 6px; font-size: 16px; white-space: normal; }
.doctor-catalog .dl-card__where li svg { margin-top: 2px; }
.doctor-catalog .dl-card__where dd { white-space: normal; }
.doctor-catalog .dl-card__where svg { flex: none; color: #009b77; }
@container (max-width: 310px) {
	.doctor-catalog .dl-card__facts { grid-template-columns: auto auto; }
	.doctor-catalog .dl-card__where { grid-column: 1 / -1; }
}

.doctor-catalog .dl-card__foot { display: flex; align-items: center; gap: 22px; margin-top: auto; padding-top: 20px; }
.doctor-catalog .dl-card__book { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 30px; border-radius: 24px; background: #009b77; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.doctor-catalog .dl-card__reviews { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 1px; border-bottom: 1px solid #cfdad6; font-size: 15px; font-weight: 500; color: #434343; text-decoration: none; white-space: nowrap; }
.doctor-catalog .dl-card__reviews svg { color: #009b77; }
.doctor-catalog .dl-card__reviews:hover { color: #009b77; border-color: #009b77; }

@media (max-width: 1360px) {
	.doctor-catalog .dl-card { grid-template-columns: 240px minmax(0, 1fr); }
	.doctor-catalog .dl-card__body { padding: 24px; }
}
@media (max-width: 1180px) {
	.doctor-catalog .doctor-catalog__grid.dl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.doctor-catalog .dl-help { flex-direction: column; align-items: flex-start; padding: 16px; border-radius: 22px; }
	.doctor-catalog .doctor-catalog__grid.dl-grid { gap: 18px; }
	.doctor-catalog .dl-card { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.doctor-catalog .dl-card__ph { min-height: 0; aspect-ratio: 1 / .82; border-radius: 26px; }
	.doctor-catalog .dl-card__body { padding: 20px; border-radius: 26px; }
	.doctor-catalog .dl-card__name { font-size: 21px; }
	.doctor-catalog .dl-card__facts { grid-template-columns: auto auto; }
	.doctor-catalog .dl-card__where { grid-column: 1 / -1; }
	.doctor-catalog .dl-card__book { height: 44px; padding: 0 24px; }
}
/* регалии: 3D-иконка статуса 22px + зелёный текст (вместо мятных плашек) */
.doctor-catalog .dl-card__regalia { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 15px; font-weight: 700; line-height: 1.3; color: #009b77; }
.doctor-catalog .dl-card__regalia img { flex: none; width: 22px; height: 22px; }
.doctor-catalog .dl-card__kid { width: 34px; height: 34px; background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.doctor-catalog .dl-card__kid img { width: 26px; height: 26px; }

/* фото в плитке (20.10.2026): не cover, а крупнее ширины на 18%, голова по центру (--dl-left из photo-focus), прижато к низу — плечи видны, макушка с отступом */
.doctor-catalog .dl-card__ph-link img { inset: auto; left: var(--dl-left, -9%); bottom: 0; width: var(--dl-w, 118%); height: auto; max-width: none; object-fit: fill; transition: transform .3s; transform-origin: 50% 100%; }
.doctor-catalog .dl-card__ph-link:hover img { transform: scale(1.03); }
@media (max-width: 640px) {
	/* на телефоне плитка квадратная, снимок целиком по ширине */
	.doctor-catalog .dl-card__ph { aspect-ratio: 1 / 1; }
	.doctor-catalog .dl-card__ph-link img { left: 0; width: 100%; }
}

/* ===== 20.10.2026: плашки регалий в фирменном стиле (3D-иконка внутри) и подсказки при наведении ===== */
.doctor-catalog .dl-chip--regalia.has-ic { gap: 5px; padding-left: 7px; }
.doctor-catalog .dl-chip__ic { flex: none; width: 20px; height: 20px; }

/* подсказка: текст из data-tip, показывается при наведении и при фокусе (тап на телефоне) */
.doctor-catalog .dl-tip { position: relative; cursor: help; outline: none; }
.doctor-catalog .dl-tip::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 40; width: max-content; max-width: 230px; padding: 10px 14px; border: 1px solid #edf0ef; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.12); color: #434343; font-size: 14px; font-weight: 500; line-height: 1.35; white-space: normal; text-align: left; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.doctor-catalog .dl-tip:hover::after, .doctor-catalog .dl-tip:focus::after { opacity: 1; visibility: visible; transform: none; }
.doctor-catalog .dl-tip--below::after { left: auto; right: 0; bottom: auto; top: calc(100% + 10px); }
/* подсказка поверх соседних карточек */
.doctor-catalog .dl-card:hover, .doctor-catalog .dl-card:focus-within { position: relative; z-index: 30; }
/* плитка фото не режет подсказку значка: обрезка перенесена на ссылку с фото */
.doctor-catalog .dl-card__ph { overflow: visible; }
.doctor-catalog .dl-card__ph-link { overflow: hidden; border-radius: 32px; }
.doctor-catalog .dl-card__ph-link img { transform-origin: 50% 100%; }
@media (max-width: 640px) { .doctor-catalog .dl-card__ph-link { border-radius: 26px; } .doctor-catalog .dl-tip::after { max-width: 200px; } }
/* значок «детский врач» остаётся в правом верхнем углу фото (position: relative от .dl-tip его не сбивает) */
.doctor-catalog .dl-card__kid.dl-tip { position: absolute; top: 12px; right: 12px; }
/* подсказка у второй и последующих плашек выравнивается по правому краю — не выходит за карточку */
.doctor-catalog .dl-chip--regalia.dl-tip:not(:first-child)::after { left: auto; right: 0; }

/* значок «детский врач»: солнышко из фирменной картинки фильтра «Детские» (docs2.png), кружок 40px */
.doctor-catalog .dl-card__kid.dl-tip { width: 40px; height: 40px; }
.doctor-catalog .dl-card__kid img { width: 34px; height: 34px; object-fit: contain; }

/* фото на белом фоне, регалии (Лидер, Ведущий, К.М.Н. и т. п.) в карточках списка не показываем */
.doctor-catalog .dl-card__ph,.doctor-catalog .dl-card__ph-link{background:#fff}
/* регалии — не в «баблах», а строкой зелёного текста с иконкой */
.doctor-catalog .dl-card__chips:has(.dl-chip--regalia){gap:4px 16px;margin-bottom:2px}
.doctor-catalog .dl-chip--regalia,.doctor-catalog .dl-chip--regalia.has-ic{height:auto;padding:0;border:0;background:none;font-size:15px;font-weight:700;color:#009b77;gap:6px}
/* рамка вокруг фото врача */
.doctor-catalog .dl-card__ph-link{}
.doctor-catalog .dl-card__ph-link::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px #e3e8e6;pointer-events:none}
/* подсказка «Принимает детей» на телефоне: слева от значка, в уровень с ним, не выпадает вниз */
@media(max-width:640px){
 .doctor-catalog .dl-card__kid.dl-tip.dl-tip--below::after{top:50%;bottom:auto;right:calc(100% + 8px);left:auto;transform:translateY(-50%);white-space:nowrap;max-width:none;padding:7px 12px;font-size:13px;box-shadow:none}
 .doctor-catalog .dl-card__kid.dl-tip.dl-tip--below:hover::after,.doctor-catalog .dl-card__kid.dl-tip.dl-tip--below:focus::after{transform:translateY(-50%)}
}
/* без иконок: лошадка «Принимает детей» и иконки регалий в карточках списка */
.doctor-catalog .dl-card__kid,.doctor-catalog .dl-chip__ic{display:none!important}
/* воздух между строкой регалий и специальностями */
.doctor-catalog .dl-card__chips:has(.dl-chip--regalia){margin-bottom:12px}
.doctor-catalog .dl-card__chips:has(.dl-chip--regalia) + .dl-card__chips{margin-top:0}

/* ===== v2 (21.10.2026): список врачей, новая сетка карточек dc2 ===== */
.doctor-catalog .doctor-catalog__top { position: relative; margin-bottom: 8px; }
.doctor-catalog .doctor-catalog__heading h1 { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.015em; color: #173f35; margin: 0 0 24px; }
.doctor-catalog .doctor-catalog__decor { display: none !important; }
.doctor-catalog .doctor-catalog__filters { background: #eaf8f2 !important; border-radius: 32px !important; padding: 12px !important; gap: 10px !important; box-shadow: none !important; }
.doctor-catalog .doctor-catalog__search input,
.doctor-catalog .doctor-catalog__dropdown-toggle { background: #fff !important; border: 1px solid #d3efe5 !important; color: #173f35 !important; font-size: 16px; font-weight: 600; }
.doctor-catalog .doctor-catalog__audience { background: #fff !important; border: 1px solid #d3efe5 !important; }
.doctor-catalog .doctor-catalog__audience button { color: #59645f !important; font-weight: 700; }
.doctor-catalog .doctor-catalog__audience button.is-active { background: #009b77 !important; color: #fff !important; }
.doctor-catalog .doctor-catalog__reset { color: #137863; font-weight: 700; }

.doctor-catalog .doctor-catalog__grid.dl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
@media (max-width: 1279px) { .doctor-catalog .doctor-catalog__grid.dl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .doctor-catalog .doctor-catalog__grid.dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

.dc2 { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2ece8; border-radius: 28px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; font-family: Gilroy, Arial, sans-serif; }
.dc2:hover { box-shadow: 0 18px 40px -22px rgba(19,120,99,.45); border-color: #bfe3d6; transform: translateY(-2px); }
.dc2[hidden] { display: none !important; }
.dc2__ph { position: relative; aspect-ratio: 1 / 1.08; background: #fff; }
.dc2__ph-link { display: block; width: 100%; height: 100%; }
.dc2__ph-link img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.dc2__kid { position: absolute; top: 12px; right: 12px; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -6px rgba(0,0,0,.25); }
.dc2__video { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 5px; border: 0; border-radius: 17px; background: rgba(255,255,255,.96); color: #173f35; font: 700 13px/1 Gilroy, Arial, sans-serif; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0,0,0,.3); }
.dc2__play { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: #009b77; color: #fff; padding-left: 2px; }
.dc2__body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.dc2__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.dc2__tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px 1px; border-radius: 13px; background: #e6f6f1; color: #137863; font-size: 13px; font-weight: 700; line-height: 1; }
.dc2__name { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: #173f35; }
.dc2__name a { color: inherit; text-decoration: none; }
.dc2__name a:hover { color: #009b77; }
.dc2__spec { margin: 6px 0 0; font-size: 15px; line-height: 1.35; font-weight: 600; color: #137863; }
.dc2__more { color: #59645f; font-weight: 700; cursor: help; }
.dc2__meta { display: flex; flex-direction: column; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.3; font-weight: 600; color: #59645f; }
.dc2__meta li { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; }
.dc2__meta li::before { display: none; }
.dc2__meta b { color: #173f35; font-weight: 800; }
.dc2__meta a { display: inline-flex; align-items: center; gap: 6px; color: #173f35; text-decoration: none; }
.dc2__meta a svg { color: #f5a623; }
.dc2__meta a:hover { color: #009b77; }
.dc2__where svg { flex: none; color: #009b77; }
.dc2__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.dc2__price small { display: block; font-size: 12px; font-weight: 600; color: #59645f; }
.dc2__price b { display: block; margin-top: 2px; font-size: 19px; line-height: 1.1; font-weight: 800; color: #173f35; white-space: nowrap; }
.dc2__book { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px 2px; border-radius: 23px; background: #009b77; color: #fff; font: 700 15px/1 Gilroy, Arial, sans-serif; text-decoration: none; transition: background .18s, transform .18s; }
.dc2__book:hover { background: #137863; color: #fff; transform: translateY(-1px); }
.dc2__book:focus-visible, .dc2__name a:focus-visible, .dc2__ph-link:focus-visible { outline: 3px solid #009b77; outline-offset: 3px; }
.doctor-catalog .dl-help { border: 0; border-radius: 32px; background: #eaf8f2; }

@media (max-width: 899px) {
	.doctor-catalog .doctor-catalog__heading h1 { font-size: 34px; }
	.dc2 { border-radius: 24px; }
	.dc2__body { padding: 14px 14px 16px; }
	.dc2__name { font-size: 17px; }
	.dc2__spec { font-size: 14px; }
	.dc2__foot { flex-direction: column; align-items: stretch; gap: 10px; }
	.dc2__book { width: 100%; }
}
@media (max-width: 560px) {
	.doctor-catalog .doctor-catalog__grid.dl-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.dc2 { display: grid; grid-template-columns: 128px minmax(0, 1fr); }
	.dc2__ph { aspect-ratio: auto; min-height: 100%; }
	.dc2__ph-link img { object-position: 50% 12%; }
	.dc2__kid { top: 8px; right: 8px; width: 34px; height: 34px; }
	.dc2__kid img { width: 26px; height: 26px; }
	.dc2__video { display: none; }
	.dc2__body { padding: 14px 14px 14px 16px; }
	.dc2__meta { margin-top: 10px; }
	.dc2__foot { flex-direction: row; align-items: center; padding-top: 12px; }
	.dc2__book { width: auto; height: 42px; padding: 0 16px 2px; }
}
.dc2 .dc2__ph { flex: none; overflow: hidden; }
.dc2 .dc2__kid { position: absolute !important; top: 12px !important; right: 12px !important; left: auto !important; bottom: auto !important; margin: 0; }
.dc2 .dc2__kid img { width: 30px; height: 30px; }
.dc2__tags { margin: 12px 0 0; }
.dc2__meta { margin-top: 12px; }
@media (min-width: 900px) { .dc2__name { min-height: 2.4em; } .dc2__tags { min-height: 58px; align-content: flex-start; } }
@media (max-width: 899px) { .dc2__foot { flex-direction: column; align-items: stretch; } }
@media (max-width: 560px) { .dc2__foot { flex-direction: column !important; align-items: stretch !important; gap: 8px; } .dc2__book { width: 100% !important; } .dc2__price { display: flex; align-items: baseline; gap: 6px; } }

/* ===== toolbar: chips / count / sort / view ===== */
.doctor-catalog .doctor-catalog__lead { margin: -8px 0 22px; max-width: 760px; font-size: 18px; line-height: 1.5; font-weight: 500; color: #4f6b62; }
.dc-bar { display: flex; flex-direction: column; gap: 16px; margin: 22px 0 22px; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-chip { height: 40px; padding: 0 18px 2px; border: 1px solid #d3efe5; border-radius: 22px; background: #fff; color: #137863; font: 700 15px/1 Gilroy, Arial, sans-serif; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.dc-chip:hover { background: #eaf8f2; }
.dc-chip.is-active { background: #009b77; border-color: #009b77; color: #fff; }
.dc-chip:focus-visible, .dc-view button:focus-visible, .dc-sort select:focus-visible { outline: 3px solid #007a5e; outline-offset: 2px; }
.dc-tools { display: flex; align-items: center; gap: 18px; }
.dc-count { margin-right: auto; font-size: 17px; font-weight: 600; color: #4f6b62; }
.dc-count b { color: #173f35; font-weight: 800; }
.dc-sort { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #4f6b62; }
.dc-sort select { height: 44px; padding: 0 38px 0 16px; border: 1px solid #d3efe5; border-radius: 22px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009b77' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; color: #173f35; font: 700 15px Gilroy, Arial, sans-serif; appearance: none; -webkit-appearance: none; cursor: pointer; }
.dc-view { display: inline-flex; padding: 4px; border: 1px solid #d3efe5; border-radius: 24px; background: #fff; }
.dc-view button { width: 42px; height: 36px; border: 0; border-radius: 18px; background: transparent; color: #137863; display: grid; place-items: center; cursor: pointer; }
.dc-view button.is-active { background: #009b77; color: #fff; }
.doctor-catalog .doctor-catalog__filter-footer { margin: 0 0 8px; }

/* list view */
@media (min-width: 761px) {
	.doctor-catalog__grid.dl-grid.is-list { display: flex !important; flex-direction: column; gap: 16px; }
	.is-list .dc2 { display: grid !important; grid-template-columns: 220px 1fr; border-radius: 28px; min-height: 0; }
	.is-list .dc2__ph { aspect-ratio: auto !important; height: 100%; min-height: 240px; border-radius: 28px 0 0 28px; }
	.is-list .dc2__ph img { height: 100%; }
	.is-list .dc2__body { display: grid !important; grid-template-columns: 1fr 240px; column-gap: 32px; align-content: center; padding: 24px 28px !important; }
	.is-list .dc2__body > * { grid-column: 1; }
	.is-list .dc2__name { min-height: 0 !important; font-size: 24px !important; }
	.is-list .dc2__tags { min-height: 0 !important; }
	.is-list .dc2__foot { grid-column: 2; grid-row: 1 / span 6; align-self: center; flex-direction: column; align-items: stretch; gap: 14px; padding: 22px; border-radius: 24px; background: #f1f8f5; border: 0; margin: 0; }
	.is-list .dc2__foot .dc2__book { width: 100%; justify-content: center; }
}
@media (max-width: 760px) {
	.dc-view, .dc-sort span { display: none; }
	.dc-tools { gap: 12px; }
	.dc-sort { flex: 1; }
	.dc-sort select { width: 100%; }
	.dc-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.dc-chips::-webkit-scrollbar { display: none; }
	.dc-chip { flex: none; }
	.doctor-catalog .doctor-catalog__lead { font-size: 16px; margin-bottom: 16px; }
}
.doctor-catalog .doctor-catalog__filter-footer { min-height: 0 !important; margin: 0 !important; padding: 0 !important; height: auto; }
.doctor-catalog .doctor-catalog__filter-footer:not(:has(.is-visible)) { display: none; }
.doctor-catalog .doctor-catalog__grid { margin-top: 12px !important; }

/* Бренд-иконки статусов (гайдлайн 2024: изумруд #009B77 + мак #ED405D) */
.dc2__tag:has(.dc2__tag-ic) { padding-left: 5px; gap: 5px; }
.dc2__tag-ic { width: 18px; height: 18px; flex: none; display: block; }
.dc2 .dc2__kid { background: #fff; box-shadow: 0 6px 16px -6px rgba(0, 155, 119, .35); }

/* «Ближайшая запись» на карточке врача */
.dl-next { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0 0 12px; padding: 7px 14px 8px; border-radius: 16px; background: #e6f6f1; color: #02775b; font-size: 14px; font-weight: 600; line-height: 1.2; }
.dl-next[hidden] { display: none; }
.dl-next b { font-weight: 800; color: #173f35; }
.dl-next__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #009b77; box-shadow: 0 0 0 0 rgba(0, 155, 119, .5); animation: dlNextPulse 2.2s infinite; }
@keyframes dlNextPulse { 70% { box-shadow: 0 0 0 7px rgba(0, 155, 119, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 155, 119, 0); } }
@media (prefers-reduced-motion: reduce) { .dl-next__dot { animation: none; } }

/* плашки статусов на карточках: аккуратные пилюли */
.dl-chip--regalia, .dc2__tag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px 1px; border-radius: 15px; background: #e6f6f1; color: #02775b; font-size: 13.5px; font-weight: 700; line-height: 1; border: 1px solid #cfe9df; }
.dl-chip--regalia.has-ic, .dc2__tag:has(.dc2__tag-ic) { padding-left: 6px; }
.dl-chip--regalia:first-child, .dc2__tag:first-child { background: #fff; border-color: #009b77; }

/* ===== v5: список врачей в дизайн-языке стационара (серые карточки r28, пилюли, нейтральные цвета) ===== */
.doctor-catalog{--hs-bg:#f7f7f7;--hs-ink:#232524;--hs-mut:#737d78;--hs-line:#e8ecea}
.doctor-catalog .doctor-catalog__heading,.doctor-catalog h1{color:var(--hs-ink)!important;font-weight:700!important;letter-spacing:0!important}
.doctor-catalog .doctor-catalog__top p,.doctor-catalog__heading+p{color:var(--hs-mut)!important}
/* панель фильтров: серая, без мятной заливки */
.doctor-catalog .doctor-catalog__filters{background:var(--hs-bg)!important;border:0!important;box-shadow:none!important;border-radius:28px!important}
.doctor-catalog .doctor-catalog__search input,.doctor-catalog .doctor-catalog__audience,.doctor-catalog .doctor-catalog__dropdown-toggle{background:#fff!important;border:0!important;box-shadow:none!important}
/* быстрые специальности: контурные пилюли как .hs-nav */
.doctor-catalog .dc-chip{background:transparent!important;border:1.5px solid #009b77!important;color:var(--hs-ink)!important;font-weight:500!important;box-shadow:none!important}
.doctor-catalog .dc-chip:hover,.doctor-catalog .dc-chip.is-active,.doctor-catalog .dc-chip[aria-pressed="true"]{background:#009b77!important;color:#fff!important}
/* карточка врача */
.dc2{background:var(--hs-bg)!important;border:0!important;border-radius:28px!important;box-shadow:none!important}
.dc2:hover{background:#fff!important;box-shadow:0 16px 40px rgba(19,120,99,.12)!important;transform:none!important;border:0!important}
.dc2 .dc2__ph img,.dc2 .dc2__ph picture img{mix-blend-mode:multiply}
.dc2:hover .dc2__ph img{mix-blend-mode:normal}
.dc2 .dc2__name,.dc2 .dc2__name a{color:var(--hs-ink)!important;font-weight:700!important}
.dc2 .dc2__spec{color:#3d4b46!important;font-weight:700!important}
.dc2 .dc2__meta,.dc2 .dc2__where,.dc2 .dc2__meta *{color:#3f4a45}
.dc2 .dc2__tag,.dc2 .dc2__tag:first-child{background:#fff!important;border:0!important;color:#137863!important;font-weight:600!important}
.dc2 .dc2__price small{color:var(--hs-mut)!important}
.dc2 .dc2__price b{color:var(--hs-ink)!important;font-weight:700!important}
.dc2 .dc2__book{box-shadow:none!important;height:48px;font-weight:600}
.dc2 .dc2__book:hover{transform:none!important}
.dc2 .dc2__kid{background:#fff!important;box-shadow:none!important}
/* «Ближайшая запись» в стиле v5: белая пилюля, спокойная точка */
.dc2 .dl-next{background:#fff!important;color:var(--hs-ink)!important;border-radius:999px!important;padding:7px 16px 8px!important;font-weight:600!important;border:0!important}
.dc2 .dl-next b{color:#137863!important;font-weight:700!important}
.dc2 .dl-next__dot{background:#009b77!important;box-shadow:none!important;animation:none!important;width:8px;height:8px}
.doctor-catalog .doctor-catalog__top *{animation:none}
/* кнопка «Видео» на фото: ровная пилюля */
.dc2 .dc2__video{height:36px;padding:0 16px 2px 6px;gap:8px;border-radius:999px;background:#fff!important;box-shadow:none!important;color:var(--hs-ink)!important;font:600 14px/1 Gilroy,Arial,sans-serif;align-items:center}
.dc2 .dc2__play{width:24px;height:24px;padding:0;flex:none;display:inline-grid;place-items:center}
.dc2 .dc2__play svg{display:block;width:10px;height:10px;margin-left:1px}
/* теги «Лидер направления», «Ведущий врач», «К.М.Н.»: без иконок */
.dc2 .dc2__tag-ic{display:none!important}
.dc2 .dc2__tag,.dc2 .dc2__tag:has(.dc2__tag-ic){padding-left:14px!important}
/* «Ближайшая запись»: на одной линии у всех карточек ряда, прижата к низу блока, слева по краю текста */
.dc2 .dl-next:not([hidden]){margin:auto 0 0!important;align-self:flex-start;padding:7px 14px 8px 12px!important}
.dc2 .dl-next:not([hidden]) + .dc2__foot{margin-top:0;padding-top:14px}
.dc2 .dc2__meta{margin-bottom:14px}
/* убрано: ряд быстрых специальностей */
.doctor-catalog .dc-chips{display:none!important}
/* иконка «Принимает детей»: крупнее и чётче, без белого кружка */
.dc2 .dc2__kid{width:44px!important;height:44px!important;background:transparent!important;box-shadow:none!important}
.dc2 .dc2__kid img{width:44px!important;height:44px!important;image-rendering:auto}
/* сетка: специальность резервирует 2 строки, чтобы теги и стаж были на одной линии у всех карточек ряда */
@media (min-width:900px){.dc2 .dc2__spec{min-height:2.7em}}
.is-list .dc2 .dc2__spec{min-height:0!important}
/* сетка: блок «стаж/отзывы/адрес» прижат вниз, слот «Ближайшая запись» резервируется, чтобы ряды совпадали */
@media (min-width:900px){
.dc2 .dc2__body{display:flex;flex-direction:column}
.dc2 .dc2__meta{margin-top:auto}
.dc2 .dl-next[hidden]{display:block!important;visibility:hidden;height:34px;margin:0 0 0!important}
}

/* v6: панель «Найдено / Сортировка / вид» скрыта (элементы остаются для скриптов) */
.dc-tools{display:none!important}

/* v6: лёгкая рамка у карточек; при наведении фон остаётся серым */
.dc2,.dc2:hover{background:var(--hs-bg)!important;border:1px solid #e3e8e5!important;box-shadow:none!important;transform:none!important}
.dc2:hover{border-color:#cfd8d4!important}
.dc2:hover .dc2__ph img,.dc2:hover .dc2__ph picture img{mix-blend-mode:multiply!important}

/* v6: текст в плашках-тегах карточек — наш тёмный */
.dc2 .dc2__tag,.dc2 .dc2__tag *{color:var(--hs-ink,#232524)!important}
.dc2 .dc2__kid,.dc2 .dc2__kid img{width:52px!important;height:52px!important}
.dc2 .dc2__tag:first-child,.dc2 .dc2__tag:first-child *,.dc2 .dc2__tag:not(:first-child){color:var(--hs-ink,#232524)!important}
.dc2 .dc2__kid{background:url(/local/templates/z_clinic/components/bitrix/news/doctors_v6/bitrix/news.list/.default/images/brand/kid-matte.webp?v=3) center/contain no-repeat!important}
.dc2 .dc2__kid img{opacity:0!important}

/* v6: плашки регалий — белые, текст тёмный (везде, включая режим списка) */
.dl-chip--regalia,.doctor-catalog .dl-chip--regalia,.dc2 .dc2__tag,.dc2 .dc2__tag:first-child{background:#fff!important;border:0!important;color:var(--hs-ink,#232524)!important}
.dl-chip--regalia *{color:var(--hs-ink,#232524)!important}

/* v6 mobile: фото слева рядом с именем, факты и кнопка на всю ширину */
@media (max-width:560px){
html body .dc2{display:grid!important;grid-template-columns:104px minmax(0,1fr);grid-template-rows:auto auto 1fr auto auto;column-gap:14px;padding:14px;align-items:start}
html body .dc2 .dc2__body{display:contents!important}
html body .dc2 .dc2__ph{grid-column:1;grid-row:1/4;aspect-ratio:3/4!important;min-height:0!important;height:auto;border-radius:18px;align-self:start}
html body .dc2 .dc2__ph-link,html body .dc2 .dc2__ph-link img{height:100%}
html body .dc2 .dc2__name{grid-column:2;grid-row:1;font-size:18px;min-height:0;margin:0}
html body .dc2 .dc2__spec{grid-column:2;grid-row:2;margin:4px 0 0;font-size:14px;min-height:0!important}
html body .dc2 .dc2__tags{grid-column:2;grid-row:3;margin:10px 0 0;align-content:flex-start;gap:6px}
html body .dc2 .dc2__tag{height:26px;font-size:13px;padding:0 10px 1px}
html body .dc2 .dc2__meta{grid-column:1/-1;grid-row:4;flex-direction:row;flex-wrap:wrap;gap:6px 16px;margin:14px 0 0}
html body .dc2 .dl-next{grid-column:1/-1}
html body .dc2 .dc2__foot{grid-column:1/-1;grid-row:5;flex-direction:row!important;align-items:center!important;justify-content:space-between;gap:12px;padding-top:14px}
html body .dc2 .dc2__book{width:auto!important;flex:1;max-width:190px}
html body .dc2 .dc2__kid,html body .dc2 .dc2__kid img{width:36px!important;height:36px!important}
html body .dc2 .dc2__kid{top:6px!important;right:6px!important}
}

/* значок «Принимает детей» — внизу слева, чтобы не ложился на голову как заколка */
html body .dc2 .dc2__kid{top:auto!important;right:auto!important;left:10px!important;bottom:10px!important}
@media (max-width:560px){html body .dc2 .dc2__kid{left:6px!important;bottom:6px!important;top:auto!important;right:auto!important}}
html body .doctor-catalog .dc2 .dc2__kid.dl-tip::after{top:50%!important;bottom:auto!important;left:calc(100% + 6px)!important;right:auto!important;transform:translateY(-50%)!important;white-space:nowrap;max-width:none;padding:7px 12px;font-size:13px;box-shadow:0 6px 16px -6px rgba(0,0,0,.25)}
html body .doctor-catalog .dc2 .dc2__kid.dl-tip:hover::after,html body .doctor-catalog .dc2 .dc2__kid.dl-tip:focus::after{transform:translateY(-50%)!important}
/* значок «Принимает детей» — слева сверху (внизу слева кнопка «Видео») */
html body .dc2 .dc2__kid,html body .dc2 .dc2__kid.dl-tip{top:8px!important;bottom:auto!important;left:8px!important;right:auto!important}

/* «Принимает детей» — маленький мак рядом с именем, не на фото */
html body .dc2 .dc2__ph .dc2__kid{display:none!important}
html body .dc2 .dc2__name .dc2__kid{position:relative!important;display:inline-block!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:26px!important;height:26px!important;margin:0 0 0 4px!important;vertical-align:-5px;background:url(/local/templates/z_clinic/components/bitrix/news/doctors_v6/bitrix/news.list/.default/images/brand/kid-matte.webp?v=3) center/contain no-repeat!important}
html body .dc2 .dc2__name .dc2__kid img{width:26px!important;height:26px!important;opacity:0!important}
html body .doctor-catalog .dc2 .dc2__name .dc2__kid.dl-tip::after{top:auto!important;bottom:calc(100% + 8px)!important;left:0!important;right:auto!important;transform:none!important;white-space:nowrap}
html body .doctor-catalog .dc2 .dc2__name .dc2__kid.dl-tip:hover::after,html body .doctor-catalog .dc2 .dc2__name .dc2__kid.dl-tip:focus::after{transform:none!important}

/* мобильный список: шкала 14 / 16 / 20, цена — как заголовок */
@media (max-width:560px){
html body .dc2 .dc2__name{font-size:20px!important;font-weight:800!important;line-height:1.2!important}
html body .dc2 .dc2__spec{font-size:14px!important}
html body .dc2 .dc2__tag,html body .dc2 .dl-chip--regalia{font-size:14px!important;height:28px}
html body .dc2 .dc2__meta{font-size:16px!important;font-weight:600!important}
html body .dc2 .dc2__meta b{font-size:16px!important}
html body .dc2 .dl-next{font-size:14px!important}
html body .dc2 .dc2__price small{font-size:14px!important}
html body .dc2 .dc2__price b{font-size:20px!important;font-weight:800!important;line-height:1.2!important}
html body .dc2 .dc2__book{font-size:16px!important}
}
html body .doctor-catalog .dc2 .dc2__name .dc2__kid.dl-tip::after{left:auto!important;right:-8px!important;font-size:13px;font-weight:600;color:#232524}
/* мак — всегда в правом верхнем углу блока имени, на первой строке */
html body .dc2 .dc2__name .dc2__kid{float:right!important;margin:0 0 4px 8px!important;vertical-align:baseline}

/* ровные интервалы в карточке: имя → специальность 4, → плашки 12, → факты 14, → низ 16 */
html body .dc2 .dc2__name{min-height:0!important;margin:0!important}
html body .dc2 .dc2__spec{min-height:0!important;margin:4px 0 0!important}
html body .dc2 .dc2__tags{min-height:0!important;margin:12px 0 0!important;gap:6px!important}
html body .dc2 .dc2__meta{margin:14px 0 0!important;gap:6px!important}
html body .dc2 .dl-next{margin:12px 0 0!important}
html body .dc2 .dc2__foot{margin-top:auto!important;padding-top:16px!important}
@media (max-width:560px){
html body .dc2 .dc2__foot{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:16px;padding-top:16px!important}
html body .dc2 .dc2__price{display:block!important}
html body .dc2 .dc2__price small{display:block;margin:0 0 2px}
html body .dc2 .dc2__price b{display:block;white-space:nowrap}
html body .dc2 .dc2__book{width:100%!important;max-width:none!important;flex:none}
html body .dc2 .dc2__tags{margin-top:10px!important}
}
html body .doctor-catalog .dc2 .dc2__name .dc2__kid.dl-tip::after{top:calc(100% + 6px)!important;bottom:auto!important;left:auto!important;right:-8px!important;transform:none!important;z-index:60}
html body .doctor-catalog .dc2 .dc2__name .dc2__kid.dl-tip:hover::after,html body .doctor-catalog .dc2 .dc2__name .dc2__kid.dl-tip:focus::after{opacity:1!important;visibility:visible!important;transform:none!important}
@media (max-width:560px){
html body .dc2{grid-template-rows:auto auto 1fr auto auto auto}
html body .dc2 .dl-next{grid-column:1/-1;grid-row:5;margin:12px 0 0!important}
html body .dc2 .dl-next[hidden]{display:none!important}
html body .dc2 .dc2__foot{grid-row:6;padding-top:14px!important}
}
@media (max-width:560px){
html body .dc2 .dc2__foot{grid-row:5!important}
html body .dc2 .dl-next{grid-row:6!important;margin:22px 0 0!important}
}
/* плашка «Ближайшая запись»: воздух со всех сторон на любой ширине */
@media (min-width:561px){
html body .dc2 .dl-next:not([hidden]){margin:16px 0 0!important}
html body .dc2 .dl-next:not([hidden]) + .dc2__foot{padding-top:16px!important}
}
@media (max-width:560px){
html body .dc2 .dc2__foot{padding-bottom:6px!important}
html body .dc2 .dl-next:not([hidden]){margin:28px 0 0!important}
}

/* компактнее карточки (сетка, ≥561px) */
@media(min-width:561px){
  html body .dc2 .dc2__ph{aspect-ratio:1/.88}
  html body .dc2 .dc2__body{padding:14px 18px 16px}
  html body .dc2 .dc2__name{font-size:18px}
  html body .dc2 .dc2__foot{padding-top:12px}
}

/* убран вводный абзац под заголовком */
.doctor-catalog__lead{display:none!important}

/* значок-мак у имени убран: «Принимает детей» теперь плашка в тегах */
.dc2__kid{display:none!important}

/* подсказки у плашек (Лидер направления, К.М.Н., категория): раскрываются под строкой плашек на всю её ширину,
   поэтому не обрезаются краем карточки и не наезжают на фото и имя ни на телефоне, ни на компьютере */
html body .doctor-catalog .dc2__tags { position: relative; }
html body .doctor-catalog .dc2__tag.dl-tip { position: static; }
html body .doctor-catalog .dc2__tag.dl-tip::after { left: 0 !important; right: 0 !important; width: auto; max-width: none; bottom: auto !important; top: calc(100% + 6px); white-space: normal; text-align: left; }

/* стаж и отзывы в карточке — обычным начертанием, жирным остаются имя и цена */
html body .dc2 .dc2__meta{font-weight:400!important}
html body .dc2 .dc2__meta,html body .dc2 .dc2__meta *{font-weight:400!important}

/* поиск и сброс внутри выпадающих списков фильтра */
.doctor-catalog__dd-tools{position:sticky;top:-10px;z-index:2;display:flex;gap:8px;align-items:center;margin:-10px -10px 6px;padding:10px;background:#fff;border-bottom:1px solid #eef2f0}
.doctor-catalog__dd-search{flex:1;min-width:0;height:40px;padding:0 14px;border:1.5px solid #e0e8e5;border-radius:999px;background:#f7f7f7;font:inherit;font-size:15px;color:inherit}
.doctor-catalog__dd-search:focus{outline:0;border-color:#009b77;background:#fff}
.doctor-catalog__dd-reset{flex:none;height:40px;padding:0 14px;border:0;border-radius:999px;background:transparent;color:#137863;font:inherit;font-size:14px;font-weight:600;cursor:pointer;margin-left:auto}
.doctor-catalog__dd-reset:hover{background:#e6f6f1}
.doctor-catalog__option[hidden]{display:none}

/* список врачей: значок «Видео» крупнее и по центру кружка */
.dc2 .dc2__video{padding:0 16px 0 6px}
.dc2 .dc2__play svg{width:12px;height:12px;margin-left:2px}
/* фото-jpg с серым фоном #f5f5f5 (Попова, Тетенькина): выравниваем фон до белого, как у остальных */
.dc2__ph-link img[data-bg="grey"]{filter:brightness(1.0455)}

/* текст в поиске врача: чёрный */
html body .doctor-catalog .doctor-catalog__search input{color:#000!important;caret-color:#000}

/* мобильная карточка: фото ставится по положению головы (--dl-w/--dl-left из photo-focus), голова не обрезается; средняя ширина: обрезка только снизу */
@media (max-width: 899px) { .dc2__ph-link img { object-position: 50% 0; } }
@media (max-width: 560px) {
	.dc2__ph-link { position: relative; overflow: hidden; }
	html body .dc2 .dc2__ph-link img { position: absolute; inset: auto; left: var(--dl-left, -9%); bottom: 0; width: var(--dl-w, 118%); height: auto; max-width: none; object-fit: fill; object-position: 50% 100%; }
	/* место приёма всегда отдельной строкой: у всех карточек одинаково (стаж и отзывы вместе, ниже адрес) */
	html body .dc2 .dc2__meta .dc2__where { flex: 0 0 100%; }
}

/* End */


/* Start:/local/components/techart/clinic.ratings/templates/.default/style.css?17901872603671*/
.clinic-ratings,
.clinic-ratings * {
	box-sizing: border-box;
	letter-spacing: 0;
}

.clinic-ratings {
	padding: 56px 0 40px;
	font-family: Gilroy, arial, sans-serif;
}

.clinic-ratings__container {
	width: 100%;
	max-width: 1488px;
	margin: 0 auto;
	padding: 0 24px;
}

.clinic-ratings__head {
	max-width: 830px;
	margin: 0 auto 28px;
	text-align: center;
}

.clinic-ratings .clinic-ratings__head h2 {
	margin: 0 0 15px;
	color: #000;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: none;
}

.clinic-ratings .clinic-ratings__head p {
	margin: 0;
	color: #505050;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.35;
}

.clinic-ratings--embedded .clinic-ratings__container {
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

.clinic-ratings__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	max-width: 960px;
	margin: 0 auto 20px;
}

.clinic-ratings__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border: 1px solid #e4e4e4;
	border-radius: 999px;
	background: #fff;
	color: #313131;
	font: 500 15px/1 Gilroy, arial, sans-serif;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.clinic-ratings__tab:hover {
	border-color: #009b77;
	color: #009b77;
}

.clinic-ratings__tab.is-active {
	border-color: #009b77;
	background: #009b77;
	color: #fff;
	font-weight: 700;
}

.clinic-ratings__grid {
	display: none;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 8px;
	border-radius: 16px;
	background: #f7f7f7;
}

.clinic-ratings__grid.is-active {
	display: grid;
}

.clinic-ratings__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: box-shadow .2s ease;
}

.clinic-ratings__card:hover {
	box-shadow: 0 2px 12px rgba(20, 20, 30, .06);
}

.clinic-ratings__logo {
	display: inline-flex;
	align-items: center;
	height: 28px;
}

.clinic-ratings__logo img {
	display: block;
	width: auto;
	max-width: 120px;
	max-height: 28px;
	object-fit: contain;
}

.clinic-ratings__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.clinic-ratings__rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #15161a;
	font-size: 15px;
	font-weight: 500;
}

.clinic-ratings__rating svg {
	flex-shrink: 0;
}

.clinic-ratings__count {
	color: #595353;
	font-size: 14px;
	text-decoration: underline;
	text-decoration-color: rgba(89, 83, 83, .3);
	text-underline-offset: 3px;
}

.clinic-ratings__write {
	align-self: flex-start;
	color: #009b77;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

@media (max-width: 1240px) {
	.clinic-ratings .clinic-ratings__head h2 {
		font-size: 36px;
	}
}

@media (max-width: 980px) {
	.clinic-ratings .clinic-ratings__head p {
		font-size: 16px;
	}

	.clinic-ratings__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.clinic-ratings {
		padding-top: 40px;
	}

	.clinic-ratings__container {
		padding: 0 12px;
	}

	.clinic-ratings .clinic-ratings__head h2 {
		font-size: 28px;
	}

	.clinic-ratings .clinic-ratings__head p {
		font-size: 15px;
	}

	.clinic-ratings--embedded .clinic-ratings__container {
		padding-right: 0;
		padding-left: 0;
	}

	.clinic-ratings__tabs {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 4px;
	}

	.clinic-ratings__tab {
		flex: 0 0 auto;
	}

	.clinic-ratings__grid {
		grid-template-columns: 1fr;
	}
}

/* End */
/* /local/templates/z_clinic/components/bitrix/news/doctors_v6/bitrix/news.list/.default/style.css?179447093475697 */
/* /local/components/techart/clinic.ratings/templates/.default/style.css?17901872603671 */
