﻿.sh-home .sh-services__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 340px));
	justify-content: center;
	gap: 28px;
}

.sh-home .sh-service-card {
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 16px 32px rgba(23, 56, 88, 0.08);
}

.sh-home .sh-service-card__image {
	position: relative;
	height: auto;
	aspect-ratio: 1 / 1;
	background: #d7e8f6;
}

.sh-home .sh-service-card__image::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 42%;
	background: linear-gradient(180deg, rgba(11, 51, 154, 0), rgba(8, 38, 74, 0.78));
}

.sh-home .sh-service-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 1 !important;
	transition: none !important;
}

.sh-home .sh-service-card__body {
	padding: 22px 22px 24px;
}

.sh-home .sh-service-card h3 {
	margin: -56px 0 18px;
	position: relative;
	color: #fff;
	font-size: 22px;
	font-weight: 650;
}

.sh-home .sh-service-card__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid #e8f1f7;
	color: var(--sh-text);
	font-size: 15px;
}

.sh-home .sh-service-card__row strong {
	color: var(--sh-primary);
	font-size: 14px;
	font-weight: 650;
	white-space: nowrap;
}

.sh-home .sh-service-card a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	margin-top: 16px;
	border-radius: 5px;
	background: #eef8ff;
	color: var(--sh-primary);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.sh-home .sh-service-card a::after {
	content: " →";
}

@media (max-width: 767px) {
	.sh-home .sh-services__grid {
		grid-template-columns: minmax(0, 1fr);
		justify-content: center;
		gap: 20px;
	}

	.sh-home .sh-service-card {
		border-radius: 5px;
	}

	.sh-home .sh-service-card__image {
		height: auto;
	}

	.sh-home .sh-service-card__body {
		padding: 13px 12px 16px;
	}

	.sh-home .sh-service-card h3 {
		margin-top: -44px;
		font-size: 20px;
	}

	.sh-home .sh-service-card__row {
		font-size: 14px;
	}
}
