/* Essential Stops — three gateway cards on a navy plate (PSD 1920: cards 525x517); tinted card + faint photo fading downwards, as the template 1 therapy cards */
.home .block-links {padding: 3rem 0;}
.home .block-links .sectionTitle {margin-bottom: 2rem;}

.home .block-links .cards {position: relative; display: grid; grid-template-columns: 1fr; gap: 1.25rem;}

.home .block-links .linkCard {
	position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
	aspect-ratio: 1; padding: 2rem; overflow: hidden; border-radius: 10px;
	background-color: var(--color-secondary); color: var(--color-text); transition: box-shadow .3s;
}
.home .block-links .linkCard:hover .more {color: var(--color-primary);}
.home .block-links .linkCard.hasImage:before {transition: transform .6s ease;}
.home .block-links .linkCard.hasImage:hover:before {transform: scale(1.06);}
.home .block-links .linkCard > * {position: relative; z-index: 1;}
.home .block-links .linkCard.hasImage:before {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: var(--image); background-position: center; background-size: cover; background-repeat: no-repeat;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.5) 20%, rgba(0,0,0,0) 95%);
}
.home .block-links .linkCard h3 {margin: 0; line-height: 1.2; font-size: 1.6rem; font-weight: 700;}
.home .block-links .linkCard p {margin: 1rem 0 0; line-height: 1.5; font-size: 1rem; font-weight: 400;}
.home .block-links .linkCard .more {margin-top: 2.25rem; text-decoration-line: underline; font-size: .95rem; font-weight: 700;}

@media screen and (min-width: 40em) {
	.home .block-links {padding: 5rem 0 8rem;}
	.home .block-links .cards {grid-template-columns: repeat(3, 1fr); gap: 1.25rem; width: 90%; margin: 0 auto;}
	.home .block-links .linkCard {aspect-ratio: 525 / 517; padding: 2rem;}
	.home .block-links .linkCard h3 {font-size: 1.35rem;}
	.home .block-links .linkCard p {font-size: .9rem;}

	.home .block-links .cards:after {
		content: ''; position: absolute; z-index: 0; right: -4.7%; left: -4.7%; top: 67%; bottom: -6rem;
		border-radius: 10px; background-color: var(--color-primary);
	}
}

@media screen and (min-width: 64em) {
	.home .block-links {padding: 4rem 0 10rem;}
	.home .block-links .sectionTitle {margin-bottom: 3.5rem;}
	.home .block-links .cards {width: 85%; gap: clamp(1.25rem, 2vw, 2.5rem);}
	.home .block-links .linkCard {padding: clamp(2rem, 2.8vw, 3.9rem);}
	.home .block-links .linkCard h3 {font-size: clamp(1.6rem, 1.6vw, 2rem);}
	.home .block-links .linkCard p {font-size: clamp(1rem, 1vw, 1.2rem);}
	.home .block-links .linkCard .more {font-size: 1rem;}
}
