/* Benefits programs page. Loaded only by /patients/programs/. */
.mdx-programs-page{
	min-width:0;
	overflow-x:hidden;
	overflow-x:clip;
}

.mdx-programs-page .container,
.mdx-programs-page .columns > *{
	min-width:0;
}

.mdx-programs-hero .columns{
	align-items:stretch;
}

.mdx-programs-hero .page-intro__content{
	height:100%;
}

.mdx-programs-hero .page-intro__picture{
	display:flex;
	align-items:flex-end;
	justify-content:center;
	height:100%;
	min-height:360px;
	padding:24px 28px 0;
	overflow:hidden;
	border-radius:28px;
	background:
		radial-gradient(circle at 78% 18%,rgba(255,255,255,.95) 0 16%,transparent 17%),
		linear-gradient(145deg,#e8f6f7 0%,#f8fbfc 58%,#d8eef1 100%);
}

.mdx-programs-hero .page-intro__picture img{
	display:block;
	width:100%;
	max-width:560px;
	height:100%;
	max-height:390px;
	object-fit:contain;
	object-position:center bottom;
}

.mdx-programs-page .article,
.mdx-programs-page .card{
	min-width:0;
}

.mdx-programs-page .article__title,
.mdx-programs-page .article__text,
.mdx-programs-page .editor{
	overflow-wrap:anywhere;
}

.mdx-programs-overview .article--big{
	height:100%;
	padding:24px;
	border:1px solid #dcebed;
	border-radius:20px;
	background:#fff;
	box-shadow:0 12px 32px rgba(15,74,85,.06);
}

.mdx-program-gallery{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:20px;
}

.mdx-program-gallery__item{
	min-width:0;
}

.mdx-program-gallery .card-gallery{
	height:auto;
	aspect-ratio:4/3;
	overflow:hidden;
	border-radius:20px;
	background:#eef5f6;
	box-shadow:0 14px 34px rgba(13,67,79,.08);
}

.mdx-program-gallery .card-gallery__picture{
	display:block;
	cursor:zoom-in;
}

.mdx-program-gallery .card-gallery__picture img{
	display:block;
	transition:transform .35s ease;
}

@media(hover:hover){
	.mdx-program-gallery .card-gallery__picture:hover img{
		transform:scale(1.035);
	}
}

.mdx-programs-heart{
	height:130px;
}

.mdx-programs-contact .columns__col--4{
	padding:30px;
	border:1px solid #dcebed;
	border-radius:22px;
	background:linear-gradient(145deg,#f2fafb,#fff);
}

.mdx-programs-contact .button{
	min-height:48px;
}

@media(max-width:1023px){
	.mdx-programs-hero .page-intro__picture{
		min-height:320px;
		border-radius:24px;
	}

	.mdx-program-gallery{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.mdx-programs-page .article--big{
		height:100%;
	}
}

@media(max-width:767px){
	.mdx-programs-hero{
		margin-bottom:52px!important;
	}

	.mdx-programs-hero .page-intro__picture{
		position:relative;
		inset:auto;
		min-height:260px;
		width:100%;
		height:auto;
		margin-top:24px;
		padding:18px 18px 0;
		border-radius:20px;
	}

	.mdx-programs-hero .page-intro__picture::after{
		content:none;
	}

	.mdx-programs-hero .page-intro__picture img{
		max-height:280px;
	}

	.mdx-programs-hero .button,
	.mdx-programs-contact .button{
		width:100%;
	}

	.mdx-programs-gallery-section{
		margin-bottom:54px!important;
	}

	.mdx-program-gallery{
		grid-template-columns:1fr;
		gap:16px;
	}

	.mdx-program-gallery .card-gallery{
		aspect-ratio:16/11;
	}

	.mdx-programs-heart{
		height:96px;
	}

	.mdx-programs-contact .columns__col--4{
		padding:22px;
	}
}

@media(max-width:420px){
	.mdx-programs-hero .page-intro__picture{
		min-height:220px;
	}

	.mdx-programs-overview .article--big{
		padding:20px;
	}
}

@media(prefers-reduced-motion:reduce){
	.mdx-programs-page *,
	.mdx-programs-page *::before,
	.mdx-programs-page *::after{
		transition-duration:.01ms!important;
		animation-duration:.01ms!important;
		animation-iteration-count:1!important;
	}
}
