.spadent-doctor-page {
	--spadent-product-radius: 18px;
	background: #fff;
	color: #202a37;
	font-family: var(--wd-text-font);
}

.spadent-doctor-hero {
	background: #fff;
	padding: 46px 0 34px;
}

.spadent-doctor-hero__container {
	display: grid;
	grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}

.spadent-doctor-breadcrumbs {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	align-items: center;
	margin: 0 0 12px;
	color: var(--wd-text-color);
	font-size: 15px;
	line-height: 1.4;
}

.spadent-doctor-breadcrumbs a {
	color: var(--wd-primary-color);
}

.spadent-doctor-breadcrumbs a:hover,
.spadent-doctor-breadcrumbs span:last-child {
	color: var(--wd-text-color);
}

.spadent-doctor-breadcrumbs__separator {
	margin-inline: 8px;
	color: var(--wd-bcrumb-delim-color, var(--color-gray-300));
}

.spadent-doctor-gallery {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.spadent-doctor-gallery__stage {
	position: relative;
	overflow: hidden;
	height: 580px;
	border-radius: var(--spadent-product-radius);
	background: transparent;
}

.spadent-doctor-gallery__slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease;
}

.spadent-doctor-gallery__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.spadent-doctor-gallery__image,
.spadent-doctor-gallery__thumb-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.spadent-doctor-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.spadent-doctor-gallery__thumb {
	appearance: none;
	overflow: hidden;
	height: 106px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--spadent-product-radius);
	background: transparent;
	cursor: pointer;
}

.spadent-doctor-gallery__thumb.is-active {
	display: none;
}

.spadent-doctor-gallery__thumb:not(.is-active):hover .spadent-doctor-gallery__thumb-image {
	transform: scale(1.035);
}

.spadent-doctor-gallery__thumb-image {
	transition: transform .2s ease;
}

.spadent-doctor-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 42px;
	height: 42px;
	margin-top: -21px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 12px 30px rgba(68, 87, 117, .16);
}

.spadent-doctor-gallery__arrow--prev {
	left: 14px;
}

.spadent-doctor-gallery__arrow--next {
	right: 14px;
}

.spadent-doctor-hero__content {
	display: flex;
	flex-direction: column;
	min-height: 700px;
	padding: 54px 56px 48px;
	border-radius: var(--spadent-product-radius);
	background: #f3f5f8;
}

.spadent-doctor-hero__title {
	max-width: 680px;
	margin: 0;
	color: #182234;
	font-family: var(--wd-title-font);
	font-size: 48px;
	font-weight: 500;
	line-height: 1.17;
	letter-spacing: 0;
}

.spadent-doctor-hero__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 230px));
	gap: 14px;
	margin: 30px 0 0;
}

.spadent-doctor-fact {
	min-height: 92px;
	padding: 18px 20px;
	border-radius: var(--spadent-product-radius);
	background: #fff;
	box-shadow: 0 18px 40px rgba(68, 87, 117, .08);
}

.spadent-doctor-fact span,
.spadent-doctor-hero__clinics-label {
	display: block;
	margin: 0 0 7px;
	color: var(--wd-text-color);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.spadent-doctor-fact strong {
	display: block;
	color: #182234;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
}

.spadent-doctor-hero__bio {
	max-width: 760px;
	margin-top: 30px;
	color: #5e6d80;
	font-size: 18px;
	line-height: 1.65;
}

.spadent-doctor-hero__bio p {
	margin: 0 0 12px;
}

.spadent-doctor-hero__bio p:last-child {
	margin-bottom: 0;
}

.spadent-doctor-hero__badges,
.spadent-doctor-hero__clinics {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.spadent-doctor-hero__badges {
	margin-top: 26px;
}

.spadent-doctor-hero__clinics-wrap {
	margin-top: 24px;
}

.spadent-doctor-hero__clinics-label {
	margin-bottom: 16px;
}

.spadent-doctor-badge,
.spadent-doctor-clinic {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 9px 15px;
	border-radius: var(--spadent-product-radius);
	background: #fff;
	color: #202a37;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
}

.spadent-doctor-clinic {
	background: #e7eef3;
	color: #445775;
}

.spadent-doctor-clinic::before {
	content: "\f3c5";
	display: inline-block;
	flex: 0 0 auto;
	color: currentColor;
	font-family: "Font Awesome 5 Free", "FontAwesome";
	font-size: .9em;
	font-weight: 900;
	line-height: 1;
}

@media (min-width: 768px) {
	.spadent-doctor-fact span,
	.spadent-doctor-hero__clinics-label {
		font-size: 18px;
	}

	.spadent-doctor-badge,
	.spadent-doctor-clinic {
		font-size: 18px;
	}
}

.spadent-doctor-hero__button,
.spadent-doctor-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 54px;
	margin-top: 30px;
	padding: 16px 38px;
	border-radius: 50px;
	background: linear-gradient(90deg, #445775 0%, #8699b7 50%, #445775 100%);
	background-position: 0 0;
	background-size: 200% 100%;
	color: #fff;
	font-family: var(--wd-text-font);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: 0 18px 36px rgba(68, 87, 117, .2);
	transition: background-position .24s ease, opacity .2s ease, transform .2s ease;
}

.spadent-doctor-hero__button:hover,
.spadent-doctor-hero__button:focus,
.spadent-doctor-cta__button:hover,
.spadent-doctor-cta__button:focus {
	background-position: 100% 0;
	color: #fff;
	opacity: .95;
	transform: translateY(-1px);
}

.spadent-doctor-page__content {
	padding-top: 48px;
	padding-bottom: 72px;
}

.spadent-doctor-section {
	margin-bottom: 28px;
	padding: 32px;
	border: 1px solid #edf1f5;
	border-radius: var(--spadent-product-radius);
	background: #fff;
}

.spadent-doctor-section__title {
	margin: 0 0 24px;
	color: #182234;
	font-family: var(--wd-title-font);
	font-size: 30px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
}

.spadent-doctor-section__text {
	max-width: none;
	color: var(--wd-text-color);
	font-size: 18px;
	line-height: 1.65;
}

.spadent-doctor-section__text p {
	margin: 0 0 12px;
}

.spadent-doctor-section__text p:last-child {
	margin-bottom: 0;
}

.spadent-doctor-services {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.spadent-doctor-services__item {
	position: relative;
	display: flex;
	gap: 20px;
	align-items: flex-start;
	min-height: 96px;
	padding: 24px;
	border-radius: var(--spadent-product-radius);
	background: #f4f7fa;
	color: var(--wd-text-color);
	font-size: 18px;
	line-height: 1.55;
}

.spadent-doctor-services__item::before {
	content: "";
	align-self: flex-start;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	margin-top: 4px;
	background: url("../icons/doctor-spec.svg") center / contain no-repeat;
}

.spadent-doctor-card-text {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
}

.spadent-doctor-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
}

.spadent-doctor-section--education {
	padding-bottom: 36px;
}

.spadent-doctor-timeline {
	--spadent-timeline-line-x: 18px;
	--spadent-timeline-dot-size: 14px;
	--spadent-timeline-card-bg: #f7f9fb;
	position: relative;
	display: grid;
	gap: 20px;
	padding-left: 48px;
}

.spadent-doctor-timeline::before {
	content: "";
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: var(--spadent-timeline-line-x);
	border-left: 2px solid var(--brdcolor-gray-300);
}

.spadent-doctor-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 0;
	align-items: start;
	padding: 22px 26px;
	border: 1px solid var(--brdcolor-gray-200);
	border-radius: var(--spadent-product-radius);
	background: var(--spadent-timeline-card-bg);
}

.spadent-doctor-timeline__item::before {
	content: "";
	position: absolute;
	top: 28px;
	left: calc((var(--spadent-timeline-line-x) - 48px) - (var(--spadent-timeline-dot-size) / 2));
	z-index: 2;
	width: var(--spadent-timeline-dot-size);
	height: var(--spadent-timeline-dot-size);
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--wd-primary-color);
	box-shadow: 0 0 0 1px var(--brdcolor-gray-300);
}

.spadent-doctor-timeline__item::after {
	content: "";
	position: absolute;
	top: 30px;
	left: -6px;
	width: 12px;
	height: 12px;
	border-left: 1px solid var(--brdcolor-gray-200);
	border-bottom: 1px solid var(--brdcolor-gray-200);
	background: var(--spadent-timeline-card-bg);
	transform: rotate(45deg);
}

.spadent-doctor-timeline__year {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-width: 72px;
	min-height: 38px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--wd-primary-color);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.spadent-doctor-timeline__check {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: var(--wd-primary-color);
}

.spadent-doctor-timeline__check::before {
	content: "";
	width: 11px;
	height: 7px;
	margin-top: -1px;
	border-left: 3px solid #fff;
	border-bottom: 3px solid #fff;
	transform: rotate(-45deg);
}

.spadent-doctor-timeline__text,
.spadent-doctor-list__item {
	margin: 0;
	color: var(--wd-text-color);
	font-size: 18px;
	line-height: 1.65;
}

.spadent-doctor-timeline__item--note {
	grid-template-columns: 52px minmax(0, 1fr);
	background: var(--spadent-timeline-card-bg);
}

.spadent-doctor-list {
	display: grid;
	gap: 14px;
}

.spadent-doctor-list__item {
	position: relative;
	display: flex;
	gap: 20px;
	align-items: flex-start;
	min-height: 96px;
	padding: 24px;
	border-radius: var(--spadent-product-radius);
	background: #f4f7fa;
	line-height: 1.55;
}

.spadent-doctor-list__item::before {
	content: "";
	align-self: flex-start;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	margin-top: 4px;
	background: url("../icons/doctor-edu.svg") center / contain no-repeat;
}

.spadent-doctor-card-text strong {
	margin-right: 20px;
}

.spadent-doctor-certificates {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}

.spadent-doctor-certificates__item {
	display: block;
	overflow: hidden;
	border-radius: var(--spadent-product-radius);
	background: transparent;
}

.spadent-doctor-certificates__link {
	display: block;
	width: 100%;
	height: auto;
}

.spadent-doctor-certificates__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: inherit;
}

.spadent-doctor-cta {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	padding: 34px;
	border-radius: var(--spadent-product-radius);
	background: #f3f5f8;
}

.spadent-doctor-cta__title {
	margin: 0 0 8px;
	color: #182234;
	font-family: var(--wd-title-font);
	font-size: 28px;
	font-weight: 500;
	letter-spacing: 0;
}

.spadent-doctor-cta__text {
	margin: 0;
	color: #4c5d72;
	font-size: 16px;
}

@media (min-width: 1025px) {
	.spadent-doctor-services__item,
	.spadent-doctor-list__item {
		align-items: center;
	}

	.spadent-doctor-services__item::before,
	.spadent-doctor-list__item::before {
		align-self: center;
		margin-top: 0;
	}

	.spadent-doctor-services__item.is-multiline,
	.spadent-doctor-list__item.is-multiline {
		align-items: flex-start;
	}

	.spadent-doctor-services__item.is-multiline::before,
	.spadent-doctor-list__item.is-multiline::before {
		align-self: flex-start;
		margin-top: 4px;
	}
}

.spadent-doctor-cta__button {
	margin-top: 0;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.spadent-doctor-hero__container {
		grid-template-columns: 330px minmax(0, 1fr);
		gap: 18px;
	}

	.spadent-doctor-gallery__stage {
		height: 480px;
	}

	.spadent-doctor-gallery__thumb {
		height: 84px;
	}

	.spadent-doctor-hero__content {
		min-height: 584px;
		padding: 36px 32px 32px;
	}

	.spadent-doctor-hero__title {
		font-size: 38px;
	}

	.spadent-doctor-hero__fact {
		padding: 18px;
	}

	.spadent-doctor-hero__bio {
		font-size: 17px;
	}

	.spadent-doctor-hero__facts,
	.spadent-doctor-services,
	.spadent-doctor-columns {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.spadent-doctor-page {
		--spadent-product-radius: 14px;
	}

	.spadent-doctor-hero {
		padding: 26px 0 24px;
	}

	.spadent-doctor-hero__container {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.spadent-doctor-breadcrumbs {
		margin-bottom: 0;
		font-size: 14px;
	}

	.spadent-doctor-gallery__stage {
		height: auto;
		min-height: 420px;
		aspect-ratio: .78;
	}

	.spadent-doctor-gallery__thumbs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 9px;
	}

	.spadent-doctor-gallery__thumb {
		height: 78px;
	}

	.spadent-doctor-gallery__arrow {
		width: 38px;
		height: 38px;
		margin-top: -19px;
	}

	.spadent-doctor-hero__content {
		min-height: 0;
		padding: 30px 22px 24px;
	}

	.spadent-doctor-hero__title {
		font-size: 34px;
	}

	.spadent-doctor-hero__bio {
		font-size: 16px;
		line-height: 1.62;
	}

	.spadent-doctor-hero__button {
		width: 100%;
		margin-top: 28px;
		padding-inline: 24px;
	}

	.spadent-doctor-page__content {
		padding-top: 34px;
		padding-bottom: 46px;
	}

	.spadent-doctor-section,
	.spadent-doctor-cta {
		padding: 24px 18px;
	}

	.spadent-doctor-section__title,
	.spadent-doctor-cta__title {
		font-size: 24px;
	}

	.spadent-doctor-section__text {
		font-size: 17px;
	}

	.spadent-doctor-services__item,
	.spadent-doctor-list__item {
		flex-direction: column;
		gap: 14px;
		align-items: flex-start;
		padding: 18px;
	}

	.spadent-doctor-services__item::before {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
		margin-top: 0;
	}

	.spadent-doctor-list__item::before {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
		margin-top: 0;
	}

	.spadent-doctor-timeline {
		--spadent-timeline-line-x: 8px;
		padding-left: 28px;
		gap: 16px;
	}

	.spadent-doctor-timeline__item {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 18px;
	}

	.spadent-doctor-timeline__item::before {
		top: 24px;
		left: calc((var(--spadent-timeline-line-x) - 28px) - (var(--spadent-timeline-dot-size) / 2));
		width: var(--spadent-timeline-dot-size);
		height: var(--spadent-timeline-dot-size);
	}

	.spadent-doctor-timeline__item::after {
		top: 26px;
	}

	.spadent-doctor-certificates {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.spadent-doctor-cta {
		display: block;
	}

	.spadent-doctor-cta__button {
		width: 100%;
		margin-top: 22px;
		white-space: normal;
	}
}

@media (max-width: 480px) {
	.spadent-doctor-section {
		padding: 20px 14px;
	}

	.spadent-doctor-timeline {
		padding-left: 22px;
	}

	.spadent-doctor-timeline__item::before {
		left: calc((var(--spadent-timeline-line-x) - 22px) - (var(--spadent-timeline-dot-size) / 2));
	}

	.spadent-doctor-certificates {
		grid-template-columns: 1fr;
	}
}
