.kns-doctor-single {
	--kns-doctor-bg: #ffffff;
	--kns-doctor-soft: #f5f8ff;
	--kns-doctor-soft-strong: #eaf1ff;
	--kns-doctor-title: #1b2978;
	--kns-doctor-text: #40506c;
	--kns-doctor-muted: #7b879d;
	--kns-doctor-line: #d8e4f5;
	--kns-doctor-link: #2f47d2;
	--kns-doctor-accent: #0fbcce;
	--kns-doctor-shadow: 0 20px 55px rgba(27, 41, 120, 0.11);
	color: var(--kns-doctor-text);
	font-family: "Golos Text", sans-serif;
	background:
		linear-gradient(180deg, rgba(245, 248, 255, 0.88) 0%, rgba(255, 255, 255, 1) 42%),
		var(--kns-doctor-bg);
	overflow: hidden;
}

.kns-doctor-single *,
.kns-doctor-single *::before,
.kns-doctor-single *::after {
	box-sizing: border-box;
}

.kns-doctor-single h1,
.kns-doctor-single h2,
.kns-doctor-single h3,
.kns-doctor-single p {
	margin-top: 0;
}

.kns-doctor-single h1,
.kns-doctor-single h2,
.kns-doctor-single h3 {
	color: var(--kns-doctor-title);
	font-family: Onest, sans-serif;
	letter-spacing: 0;
	text-wrap: balance;
}

.kns-doctor-single p {
	text-wrap: pretty;
}

.kns-doctor-hero,
.kns-doctor-section,
.kns-doctor-cta {
	width: min(1290px, calc(100% - 48px));
	margin-right: auto;
	margin-left: auto;
}

.kns-doctor-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
	gap: 56px;
	align-items: start;
	padding: 112px 0 76px;
}

.kns-doctor-breadcrumb {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	min-height: 44px;
	margin-bottom: 40px;
	color: var(--kns-doctor-title);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.kns-doctor-breadcrumb__icon {
	display: inline-grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 50%;
	background: var(--kns-doctor-soft-strong);
	color: var(--kns-doctor-link);
}

.kns-doctor-breadcrumb svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.kns-doctor-eyebrow,
.kns-doctor-section-label {
	margin-bottom: 18px;
	color: var(--kns-doctor-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1;
	text-transform: uppercase;
}

.kns-doctor-hero h1 {
	max-width: 720px;
	margin-bottom: 28px;
	font-size: clamp(52px, 6vw, 96px);
	font-weight: 500;
	line-height: 0.98;
}

.kns-doctor-credentials {
	max-width: 720px;
	margin-bottom: 34px;
	color: var(--kns-doctor-title);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 600;
	line-height: 1.35;
}

.kns-doctor-intro {
	max-width: 640px;
	margin-bottom: 46px;
	color: var(--kns-doctor-text);
	font-size: 18px;
	line-height: 1.7;
}

.kns-doctor-hero__actions,
.kns-doctor-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.kns-doctor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 15px 24px;
	border: 1px solid rgba(47, 71, 210, 0.18);
	border-radius: 999px;
	background: #ffffff;
	color: var(--kns-doctor-title);
	box-shadow: 0 10px 24px rgba(27, 41, 120, 0.07);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.kns-doctor-button--primary {
	border-color: var(--kns-doctor-link);
	background: var(--kns-doctor-link);
	color: #ffffff;
	box-shadow: 0 16px 30px rgba(47, 71, 210, 0.22);
}

.kns-doctor-button:active {
	transform: scale(0.98);
}

.kns-doctor-button:focus-visible,
.kns-doctor-breadcrumb:focus-visible,
.kns-doctor-service a:focus-visible {
	outline: 3px solid rgba(15, 188, 206, 0.5);
	outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
	.kns-doctor-button:hover {
		transform: translateY(-1px);
		box-shadow: 0 16px 30px rgba(27, 41, 120, 0.12);
	}

	.kns-doctor-button--primary:hover {
		background: #1831c5;
		color: #ffffff;
	}
}

.kns-doctor-hero__visual {
	position: relative;
	display: grid;
	gap: 22px;
}

.kns-doctor-hero__visual::before {
	position: absolute;
	z-index: 0;
	inset: 32px -28px auto auto;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: rgba(15, 188, 206, 0.12);
	content: "";
}

.kns-doctor-portrait {
	position: relative;
	z-index: 1;
	margin: 0;
	overflow: hidden;
	border-radius: 30px;
	background: var(--kns-doctor-soft-strong);
	box-shadow: var(--kns-doctor-shadow);
	aspect-ratio: 4 / 5;
}

.kns-doctor-portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	outline: 1px solid rgba(27, 41, 120, 0.06);
	outline-offset: -1px;
}

.kns-doctor-quick-facts {
	position: relative;
	z-index: 2;
	width: calc(100% - 34px);
	margin: -82px auto 0;
	padding: 28px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 20px 46px rgba(27, 41, 120, 0.13);
	backdrop-filter: blur(10px);
}

.kns-doctor-quick-facts h2 {
	margin-bottom: 18px;
	font-size: 24px;
	font-weight: 600;
}

.kns-doctor-fact-group {
	padding-top: 18px;
	border-top: 1px solid var(--kns-doctor-line);
}

.kns-doctor-fact-group + .kns-doctor-fact-group {
	margin-top: 18px;
}

.kns-doctor-fact-group h3 {
	margin-bottom: 8px;
	color: var(--kns-doctor-muted);
	font-family: "Golos Text", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.9px;
	line-height: 1;
	text-transform: uppercase;
}

.kns-doctor-fact-group p,
.kns-doctor-fact-group li {
	margin-bottom: 0;
	color: var(--kns-doctor-title);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.55;
}

.kns-doctor-fact-group ul {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kns-doctor-section {
	padding: 74px 0;
}

.kns-doctor-hero + .kns-doctor-qualification-section {
	padding-top: 56px;
}

.kns-doctor-section-heading {
	display: flex;
	gap: 32px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 34px;
}

.kns-doctor-section-heading h2,
.kns-doctor-split h2,
.kns-doctor-languages h2,
.kns-doctor-cta h2 {
	margin-bottom: 0;
	font-size: clamp(34px, 4vw, 56px);
	font-weight: 500;
	line-height: 1.05;
}

.kns-doctor-section-heading p:not(.kns-doctor-section-label) {
	max-width: 620px;
	margin: 14px 0 0;
	color: var(--kns-doctor-text);
	font-size: 17px;
	line-height: 1.65;
}

.kns-doctor-card-grid,
.kns-doctor-service-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.kns-doctor-info-card,
.kns-doctor-interest,
.kns-doctor-service {
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(27, 41, 120, 0.08);
}

.kns-doctor-info-card {
	min-height: 160px;
	padding: 28px;
}

.kns-doctor-info-card span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 24px;
	border-radius: 50%;
	background: var(--kns-doctor-soft-strong);
	color: var(--kns-doctor-link);
	font-size: 13px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.kns-doctor-info-card h3 {
	margin-bottom: 0;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.22;
}

.kns-doctor-split {
	display: grid;
	grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
	gap: 28px;
	align-items: stretch;
}

.kns-doctor-split__panel {
	padding: 34px;
	border-radius: 30px;
	background: var(--kns-doctor-title);
	color: #ffffff;
}

.kns-doctor-split__panel h2 {
	color: #ffffff;
}

.kns-doctor-split__panel p:not(.kns-doctor-section-label) {
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 17px;
	line-height: 1.65;
}

.kns-doctor-interest-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.kns-doctor-interest {
	position: relative;
	min-height: 150px;
	padding: 26px;
	overflow: hidden;
}

.kns-doctor-interest span {
	display: block;
	width: 12px;
	height: 12px;
	margin-bottom: 32px;
	border-radius: 50%;
	background: var(--kns-doctor-accent);
	box-shadow: 0 0 0 10px rgba(15, 188, 206, 0.12);
}

.kns-doctor-interest h3 {
	margin-bottom: 0;
	font-size: 26px;
	font-weight: 600;
}

.kns-doctor-languages {
	display: flex;
	width: min(100%, 520px);
	margin-top: 52px;
	flex-direction: column;
	gap: 20px;
	align-items: flex-start;
	padding: 28px;
	border-radius: 24px;
	background: var(--kns-doctor-soft);
	box-shadow: 0 20px 46px rgba(27, 41, 120, 0.1);
}

.kns-doctor-languages h2 {
	margin-bottom: 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.12;
}

.kns-doctor-pill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kns-doctor-pill-list li {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #ffffff;
	color: var(--kns-doctor-title);
	box-shadow: 0 8px 22px rgba(27, 41, 120, 0.06);
	font-size: 15px;
	font-weight: 700;
}

.kns-doctor-service {
	display: flex;
	min-height: 250px;
	flex-direction: column;
	padding: 28px;
}

.kns-doctor-service h3 {
	margin-bottom: 14px;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.18;
}

.kns-doctor-service p {
	margin-bottom: 24px;
	color: var(--kns-doctor-text);
	font-size: 16px;
	line-height: 1.65;
}

.kns-doctor-service a {
	margin-top: auto;
	color: var(--kns-doctor-link);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

.kns-doctor-cta {
	display: flex;
	gap: 32px;
	align-items: center;
	justify-content: space-between;
	margin-top: 34px;
	margin-bottom: 118px;
	padding: 44px;
	border-radius: 30px;
	background: #0fbcce;
	color: #ffffff;
}

.kns-doctor-cta .kns-doctor-section-label,
.kns-doctor-cta h2 {
	color: #ffffff;
}

.kns-doctor-cta p:not(.kns-doctor-section-label) {
	max-width: 660px;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 17px;
	line-height: 1.65;
}

.kns-doctor-cta .kns-doctor-button:not(.kns-doctor-button--primary) {
	border-color: rgba(255, 255, 255, 0.34);
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	box-shadow: none;
}

@media (max-width: 1279px) {
	.kns-doctor-hero {
		grid-template-columns: 1fr;
		gap: 42px;
		padding-top: 88px;
	}

	.kns-doctor-hero__visual {
		max-width: 620px;
	}

	.kns-doctor-split {
		grid-template-columns: 1fr;
	}

	.kns-doctor-cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	.kns-doctor-hero,
	.kns-doctor-section,
	.kns-doctor-cta {
		width: min(100% - 32px, 1290px);
	}

	.kns-doctor-hero {
		padding: 62px 0 44px;
	}

	.kns-doctor-hero h1 {
		font-size: 44px;
		line-height: 1.02;
	}

	.kns-doctor-intro,
	.kns-doctor-section-heading p:not(.kns-doctor-section-label),
	.kns-doctor-split__panel p:not(.kns-doctor-section-label),
	.kns-doctor-service p,
	.kns-doctor-cta p:not(.kns-doctor-section-label) {
		font-size: 16px;
	}

	.kns-doctor-hero__actions,
	.kns-doctor-cta__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.kns-doctor-button {
		width: 100%;
	}

	.kns-doctor-portrait {
		border-radius: 22px;
	}

	.kns-doctor-quick-facts {
		width: calc(100% - 20px);
		margin-top: -42px;
		padding: 22px;
		border-radius: 20px;
	}

	.kns-doctor-languages {
		width: 100%;
		margin-top: 38px;
	}

	.kns-doctor-section {
		padding: 46px 0;
	}

	.kns-doctor-hero + .kns-doctor-qualification-section {
		padding-top: 36px;
	}

	.kns-doctor-section-heading {
		display: block;
		margin-bottom: 24px;
	}

	.kns-doctor-card-grid,
	.kns-doctor-interest-grid,
	.kns-doctor-service-grid {
		grid-template-columns: 1fr;
	}

	.kns-doctor-info-card,
	.kns-doctor-interest,
	.kns-doctor-service,
	.kns-doctor-split__panel,
	.kns-doctor-languages,
	.kns-doctor-cta {
		border-radius: 22px;
	}

	.kns-doctor-interest {
		min-height: 128px;
		padding: 22px;
	}

	.kns-doctor-interest span {
		margin-bottom: 24px;
	}

	.kns-doctor-interest h3 {
		font-size: 22px;
		line-height: 1.2;
	}

	.kns-doctor-languages,
	.kns-doctor-cta {
		padding: 26px 22px;
	}

	.kns-doctor-cta {
		margin-bottom: 72px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kns-doctor-single *,
	.kns-doctor-single *::before,
	.kns-doctor-single *::after {
		transition-duration: 0.01ms !important;
	}
}
