.xs-medical-page {
	background: #fff;
	color: #000;
}

.xs-medical-page,
.xs-medical-page * {
	box-sizing: border-box;
}

.xs-medical-shell {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.xs-medical-hero img {
	display: block;
	width: 100%;
	height: 496px;
	object-fit: cover;
	object-position: center;
}

.xs-medical-intro {
	padding: 38px 20% 44px;
	text-align: center;
}

.xs-medical-intro h1,
.xs-medical-section__heading h2,
.xs-medical-banner h2 {
	margin: 0;
	color: #000;
	font-family: inherit;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.45;
}

.xs-medical-intro h1 {
	margin-bottom: 14px;
}

.xs-medical-intro p,
.xs-medical-section__heading p,
.xs-medical-card p,
.xs-medical-disclaimer {
	margin: 0;
	color: #52585d;
	font-size: 14px;
	line-height: 1.9;
}

.xs-medical-directions {
	display: flex;
	justify-content: center;
	padding: 0 0 64px;
	gap: 42px;
}

.xs-medical-directions article {
	width: 124px;
	text-align: center;
}

.xs-medical-directions article > a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.xs-medical-directions .xs-medical-direction--no-image {
	display: flex;
	min-height: 124px;
	border: 1px solid #e5e5e5;
	border-radius: 62px;
	align-items: center;
	justify-content: center;
}

.xs-medical-directions img {
	display: block;
	width: 124px;
	height: 124px;
	border-radius: 50%;
	object-fit: cover;
}

.xs-medical-directions h2 {
	margin: 14px 0 0;
	color: #000;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
}

.xs-medical-section {
	padding: 55px 0 70px;
	border-top: 1px solid #f0f0f0;
}

.xs-medical-section__heading {
	max-width: 760px;
	margin: 0 auto 34px;
	text-align: center;
}

.xs-medical-section__heading h2 {
	margin-bottom: 14px;
}

.xs-medical-grid {
	display: grid;
	gap: 20px;
}

.xs-medical-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xs-medical-grid--2 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xs-medical-card {
	min-width: 0;
	background: #fff;
	text-align: center;
}

.xs-medical-card--no-image {
	display: flex;
	min-height: 220px;
	border: 1px solid #eee;
	align-items: center;
	justify-content: center;
}

.xs-medical-card__image {
	display: block;
	overflow: hidden;
}

.xs-medical-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.xs-medical-card__copy {
	padding: 22px 18px 26px;
}

.xs-medical-card h3 {
	margin: 0 0 12px;
	color: #000;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.45;
}

.xs-medical-card__copy > a {
	display: inline-block;
	margin-top: 18px;
	border-bottom: 1px solid currentColor;
	color: #000;
	font-size: 12px;
	line-height: 1.45;
	text-decoration: none;
}

.xs-medical-disclaimer {
	padding: 42px 20px 52px;
	border-top: 1px solid #f0f0f0;
	text-align: center;
}

.xs-medical-banner {
	position: relative;
	width: 100%;
	height: 340px;
	overflow: hidden;
	background-image: var(--xs-medical-banner);
	background-position: center;
	background-size: cover;
	color: #fff;
}

.xs-medical-banner__shade {
	position: absolute;
	inset: 0;
	background: rgba(13, 15, 13, .58);
}

.xs-medical-banner__content {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
}

.xs-medical-banner__mark {
	display: flex;
	width: 54px;
	height: 54px;
	margin: 0 0 15px;
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 50%;
	color: #fff;
	font-size: 15px;
	letter-spacing: 1px;
	align-items: center;
	justify-content: center;
}

.xs-medical-banner h2 {
	margin-bottom: 7px;
	color: #fff;
	font-size: 28px;
	font-weight: 500;
}

.xs-medical-banner__subtitle,
.xs-medical-banner__body {
	margin: 0;
	color: #fff;
}

.xs-medical-banner__subtitle {
	font-size: 17px;
	line-height: 1.5;
}

.xs-medical-banner__body {
	max-width: 680px;
	margin: 16px auto 20px;
	font-size: 15px;
	line-height: 1.65;
}

.xs-medical-banner a {
	display: flex;
	width: 225px;
	height: 40px;
	border: 1px solid #111;
	border-radius: 22px;
	background: #fff;
	color: #111;
	font-size: 14px;
	text-decoration: none;
	align-items: center;
	justify-content: center;
}

.xs-medical-page + .xs-footer {
	margin-top: 0;
}

@media (max-width: 1279px) {
	.xs-medical-shell {
		width: calc(100% - 40px);
	}
}

@media (max-width: 760px) {
	.xs-medical-shell {
		width: 100%;
	}

	.xs-medical-hero img {
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.xs-medical-intro {
		padding: 36px 8% 42px;
	}

	.xs-medical-directions {
		display: grid;
		grid-template-columns: repeat(2, 124px);
		padding-bottom: 50px;
		gap: 28px 42px;
	}

	.xs-medical-section {
		padding: 44px 18px 54px;
	}

	.xs-medical-section__heading {
		margin-bottom: 28px;
	}

	.xs-medical-grid--3,
	.xs-medical-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.xs-medical-card__copy {
		padding: 17px 8px 23px;
	}

	.xs-medical-card h3 {
		font-size: 16px;
	}

	.xs-medical-card p {
		font-size: 13px;
		line-height: 1.7;
	}

	.xs-medical-banner {
		height: 440px;
	}

	.xs-medical-banner__content {
		padding: 28px 20px;
	}

	.xs-medical-banner h2 {
		font-size: 24px;
	}

	.xs-medical-banner__subtitle {
		font-size: 16px;
	}

	.xs-medical-banner__body {
		max-width: 330px;
		font-size: 14px;
	}
}
