/* service-pages.css
   Child-page link cards used on the main service hub pages
   (Landscaping, Hardscaping, Retaining Walls, Outdoor Living).
----------------------------------------------------------------------------- */
.sp-services {
	clear: both;
	margin: 4px 0 10px;
}
.sp-services__intro {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 26px;
}
.sp-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
}
.sp-card {
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	flex: 1 1 calc(50% - 13px);
	min-width: 280px;
	background: #fff;
	border: 1px solid #e9e1d6;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(56, 42, 30, .07);
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
	color: inherit;
	text-decoration: none;
}
.sp-card:hover {
	border-color: #d63205;
	box-shadow: 0 10px 22px rgba(56, 42, 30, .15);
	transform: translateY(-3px);
	text-decoration: none;
}
.sp-card--wide {
	flex-basis: 100%;
}
.sp-card__thumb {
	display: block;
	flex: 0 0 140px;
	width: 140px;
	height: 108px;
	border-radius: 7px;
	overflow: hidden;
}
.sp-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.sp-card:hover .sp-card__thumb img {
	transform: scale(1.07);
}
.sp-card__body {
	flex: 1 1 auto;
	min-width: 0;
}
.sp-card__title {
	display: block;
	font-family: 'Josefin Sans', sans-serif;
	font-size: 18px;
	line-height: 22px;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #5b391d;
	margin: 0 0 8px;
	transition: color .2s ease;
}
.sp-card:hover .sp-card__title {
	color: #d63205;
}
.sp-card__body p {
	font-size: 1em;
	line-height: inherit;
	color: #3a2f28;
	margin: 0 0 10px;
}
.sp-card__more {
	display: inline-block;
	font-size: 1em;
	font-weight: bold;
	color: #d63205;
}
.sp-card:hover .sp-card__more {
	text-decoration: underline;
}

@media (max-width: 800px) {
	.sp-services {
		margin: 2px 0 8px;
	}
	.sp-grid {
		gap: 20px;
	}
	.sp-card {
		flex: 1 1 100%;
		flex-direction: column;
		padding: 16px;
	}
	.sp-card__thumb {
		width: 100%;
		max-width: 320px;
		height: 200px;
	}
}
