/* =============================================
   DOCTORS ARCHIVE
   ============================================= */
.ts-doctors-hero {
	max-width: var(--ts-max-width);
	margin: 0 auto;
	padding: 26px 40px 18px;
}

.ts-doctors-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ts-doctors-hero__title {
	margin: 0;
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
	font-size: 48px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--ts-dark);
}

.ts-doctors-hero__subtitle {
	margin: 0;
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ts-orient);
	max-width: 980px;
}

.ts-doctors-archive {
	padding: 20px 40px 60px;
}

.ts-doctors-archive__inner {
	max-width: var(--ts-max-width);
	margin: 0 auto;
}

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

.ts-doctors-archive__grid > .ts-dcard {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.ts-doctors-archive .ts-dcard {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	transition: box-shadow .25s, transform .25s;
	border: 1px solid rgba(34, 53, 62, .08);
}

.ts-doctors-archive .ts-dcard:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
	transform: translateY(-3px);
}

.ts-dcard__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 400 / 350;
	overflow: hidden;
	border-radius: 20px;
	background: #d4d4d4;
}

.ts-dcard__photo > img:first-child {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.ts-dcard__flags {
	position: absolute;
	top: 12px;
	right: 16px;
	display: flex;
	gap: 6px;
}

.ts-dcard__flag {
	width: 30px;
	height: 20px;
	object-fit: cover;
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.ts-doctors-archive .ts-dcard__body {
	padding: 18px 20px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.ts-doctors-archive h2.ts-dcard__name {
	font-size: 22px;
	font-weight: 600;
	color: var(--ts-orient) !important;
	margin: 0;
	line-height: 1.15;
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
	overflow-wrap: anywhere;
}

.ts-doctors-archive .ts-dcard__spec {
	font-size: 15.6px;
	font-weight: 400;
	color: var(--ts-dark);
	line-height: 19px;
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
	overflow-wrap: anywhere;
}

.ts-dcard__langs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.ts-dcard__lang {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	background: #f5f5f5;
	border-radius: 33px;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ts-dark);
	text-transform: lowercase;
	white-space: nowrap;
	font-family: "SFTSchriftedSansTRIAL", Sans-serif;
}

@media (max-width: 1024px) {
	.ts-doctors-hero {
		padding: 24px 20px 12px;
	}

	.ts-doctors-hero__title {
		font-size: 40px;
	}

	.ts-doctors-archive {
		padding: 18px 20px 50px;
	}

	.ts-doctors-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.ts-doctors-hero {
		padding: 18px 16px 8px;
	}

	.ts-doctors-hero__title {
		font-size: 30px;
	}

	.ts-doctors-hero__subtitle {
		font-size: 17px;
	}

	.ts-doctors-archive {
		padding: 16px 16px 40px;
	}

	.ts-doctors-archive__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	h2.ts-dcard__name {
		font-size: 20px;
	}
}
