.spadent-doctors-archive {
	background: #fff;
	color: var(--wd-text-color);
	font-family: var(--wd-text-font);
}

.spadent-doctors-archive__header {
	padding: 34px 0 22px;
}

.spadent-doctors-archive__intro h1 {
	margin: 0;
	color: var(--wd-title-color, #182234);
	font-family: var(--wd-title-font);
	font-size: clamp(36px, 4.6vw, 64px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: 0;
}

.spadent-doctors-archive__body {
	padding: 0 0 82px;
}

.spadent-doctors-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 34px;
}

.spadent-doctors-tabs .wd-nav > li > a {
	text-transform: inherit;
	font-weight: 500;
	font-size: 20px;
}

.spadent-doctors-ajax {
	position: relative;
	min-height: 360px;
}

.spadent-doctors-ajax.is-loading {
	opacity: .58;
	pointer-events: none;
}

.spadent-doctors-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	align-items: stretch;
}

.spadent-doctor-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 560px;
	border-radius: 28px;
	background: #eef2f6;
	overflow: hidden;
	isolation: isolate;
}

.spadent-doctor-card__media {
	position: absolute;
	inset: 0;
	display: block;
	background: #eef2f6;
	overflow: hidden;
}

.spadent-doctor-card__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	transition: opacity .65s cubic-bezier(.19, 1, .22, 1), transform .75s ease;
}

.spadent-doctor-card__image img,
.spadent-doctor-card__image picture,
img.spadent-doctor-card__image,
picture.spadent-doctor-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: opacity .65s cubic-bezier(.19, 1, .22, 1), transform .75s ease;
}

.spadent-doctor-card__image--hover {
	opacity: 0;
}

.spadent-doctor-card__feature-label {
	position: absolute;
	z-index: 2;
	top: 18px;
	left: 18px;
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	max-width: calc(100% - 36px);
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 12px 28px rgba(24, 34, 52, .12);
	color: #445775;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
}

.spadent-doctor-card--hover-loaded:not(.spadent-doctor-card--disabled):hover .spadent-doctor-card__image--primary,
.spadent-doctor-card--hover-loaded:not(.spadent-doctor-card--disabled):focus-within .spadent-doctor-card__image--primary {
	opacity: 0;
	transform: scale(1.025);
}

.spadent-doctor-card--hover-loaded:not(.spadent-doctor-card--disabled):hover .spadent-doctor-card__image--hover,
.spadent-doctor-card--hover-loaded:not(.spadent-doctor-card--disabled):focus-within .spadent-doctor-card__image--hover {
	opacity: 1;
	transform: scale(1.025);
}

.spadent-doctor-card__panel {
	position: relative;
	z-index: 1;
	display: flex;
	align-self: flex-end;
	flex-direction: column;
	gap: 0;
	width: calc(100% - 56px);
	margin: 0 20px 20px;
	padding: 20px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 36px rgba(24, 34, 52, .08);
}

.spadent-doctor-card__copy {
	display: grid;
	gap: 12px;
}

.spadent-doctor-card h2 {
	margin: 0;
	color: #111827;
	font-family: var(--wd-title-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
}

.spadent-doctor-card h2 a {
	color: inherit;
}

.spadent-doctor-card__position {
	margin: 0;
	color: #656e79;
	font-size: 16px;
	line-height: 1.45;
}

.spadent-doctor-card__position span {
	display: block;
}

.spadent-doctor-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	max-height: 0;
	margin-top: 0;
	opacity: 0;
	overflow: visible;
	transform: translateY(8px);
	pointer-events: none;
	transition: max-height .2s ease, margin-top .2s ease, opacity .2s ease, transform .2s ease;
}

.spadent-doctor-card:not(.spadent-doctor-card--disabled):hover .spadent-doctor-card__actions,
.spadent-doctor-card:not(.spadent-doctor-card--disabled):focus-within .spadent-doctor-card__actions {
	max-height: 50px;
	margin-top: 18px;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.spadent-doctor-card__experience {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #f0f4fa;
	color: #445775;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.spadent-doctor-card__arrow {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07);
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.spadent-doctor-card__arrow::before {
	content: "";
	width: 15px;
	height: 15px;
	background: #656e79;
	clip-path: polygon(20% 46%, 64% 46%, 47% 29%, 55% 21%, 86% 52%, 55% 83%, 47% 75%, 64% 58%, 20% 58%);
	transform: rotate(-45deg);
	transition: background-color .2s ease;
}

.spadent-doctor-card:not(.spadent-doctor-card--disabled):hover .spadent-doctor-card__arrow,
.spadent-doctor-card:not(.spadent-doctor-card--disabled):focus-within .spadent-doctor-card__arrow {
	background: var(--wd-primary-color);
	box-shadow: none;
	transform: translate(1px, -1px);
}

.spadent-doctor-card:not(.spadent-doctor-card--disabled):hover .spadent-doctor-card__arrow::before,
.spadent-doctor-card:not(.spadent-doctor-card--disabled):focus-within .spadent-doctor-card__arrow::before {
	background: #fff;
}

.spadent-doctors-pagination {
	margin-top: 42px;
	text-align: center;
}

.spadent-doctors-pagination nav.wd-pagination li .page-numbers {
	border-radius: 12px;
}

.spadent-doctors-archive__empty {
	margin: 0;
	color: #5e6d80;
	font-size: 18px;
	line-height: 1.5;
}

@media (max-width: 1199px) {
	.spadent-doctors-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.spadent-doctor-card {
		min-height: 530px;
	}
}

@media (max-width: 767px) {
	.spadent-doctors-archive__header {
		padding-top: 24px;
	}

	.spadent-doctors-archive__body {
		padding-bottom: 58px;
	}

	.spadent-doctors-toolbar {
		margin-bottom: 24px;
	}

	.spadent-doctors-tabs .wd-nav > li > a {
		font-size: 16px;
	}

	.spadent-doctors-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.spadent-doctor-card {
		min-height: 500px;
		border-radius: 22px;
	}

	.spadent-doctor-card__panel {
		width: calc(100% - 32px);
		margin: 0 16px 16px;
		padding: 20px;
		border-radius: 16px;
	}
}

@media (max-width: 420px) {
	.spadent-doctor-card {
		min-height: 470px;
	}

	.spadent-doctor-card__actions {
		align-items: flex-start;
	}

	.spadent-doctor-card__experience {
		white-space: normal;
	}
}
