.hesi-doc-hero-latin {
	margin-top: 12px;
}

.hesi-doc-hero-department {
	margin-top: 14px;
	font-size: 13px;
	letter-spacing: 0.1em;
}

.hesi-doc-hero-summary {
	margin-top: 18px;
	max-width: 460px;
	font-family: var(--hesi-serif);
	font-weight: 300;
	font-size: clamp(15px, 1.5vw, 29px);
	line-height: 1.75;
	letter-spacing: 0.04em;
}

.hesi-doc-hero-media img {
	max-width: 100%;
	height: auto;
}

.hesi-doc-quals {
	overflow-x: clip;
}

.hesi-doc-qual-rows {
	margin: 0;
}

.hesi-doc-qual-row {
	margin: 0;
}

.hesi-doc-qual-label {
	margin: 0;
}

.hesi-doc-qual-value {
	margin: 0;
}

.hesi-doc-treatment-scroll {
	margin-top: 32px;
	margin-left: calc(var(--hesi-pad) * -1);
	margin-right: calc(var(--hesi-pad) * -1);
	display: flex;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-top: var(--hesi-hairline);
	border-bottom: var(--hesi-hairline);
	cursor: grab;
}

.hesi-doc-treatment-scroll::-webkit-scrollbar {
	display: none;
}

.hesi-doc-treatment-scroll.is-dragging {
	scroll-snap-type: none;
	cursor: grabbing;
}

.hesi-doc-treatment-card {
	flex: 0 0 clamp(200px, 24vw, 300px);
	scroll-snap-align: start;
	display: block;
	min-height: 44px;
	padding-bottom: 26px;
	border-right: var(--hesi-hairline);
	transition: color 600ms var(--hesi-ease);
}

.hesi-doc-treatment-card:hover,
.hesi-doc-treatment-card:focus-visible {
	color: var(--hesi-accent);
}

.hesi-doc-treatment-card-media {
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.hesi-doc-treatment-card-media img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	transition: transform 900ms var(--hesi-ease);
}

.hesi-doc-treatment-card:hover .hesi-doc-treatment-card-media img,
.hesi-doc-treatment-card:focus-visible .hesi-doc-treatment-card-media img {
	transform: scale(1.04);
}

.hesi-doc-treatment-card-name {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 14px 20px 0;
	font-family: var(--hesi-serif);
	font-weight: 300;
	font-size: clamp(16px, 1.6vw, 31px);
	line-height: 1.5;
	letter-spacing: 0.04em;
}

@media (max-width: 900px) {
	.hesi-doc-hero-grid {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.hesi-doc-hero-media {
		order: -1;
	}

	.hesi-doc-hero-body {
		padding-bottom: 0;
	}

	.hesi-doc-qual-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}

	.hesi-doc-quote {
		max-width: 100%;
	}

	.hesi-doc-treatment-scroll {
		scroll-snap-type: x proximity;
	}

	.hesi-doc-treatment-card {
		flex-basis: clamp(200px, 42vw, 260px);
	}
}

@media (max-width: 600px) {
	.hesi-doc-hero-name {
		font-size: clamp(30px, 9vw, 44px);
	}

	.hesi-doc-hero-department,
	.hesi-doc-hero-license {
		line-height: 1.7;
	}

	.hesi-doc-treatment-card {
		flex-basis: 68vw;
		padding-bottom: 20px;
	}

	.hesi-doc-treatment-card-name {
		min-height: 44px;
		padding: 12px 16px 0;
		font-size: 16px;
	}

	.hesi-doc-schedule-line {
		flex-direction: column;
		gap: 4px;
	}

	.hesi-doc-invite-body .hesi-btn {
		width: 100%;
		min-height: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hesi-doc-treatment-card-media img {
		transition: none;
	}

	.hesi-doc-treatment-card:hover .hesi-doc-treatment-card-media img,
	.hesi-doc-treatment-card:focus-visible .hesi-doc-treatment-card-media img {
		transform: none;
	}
}
