.esc-service-cards {
	width: 100%;
}

.esc-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 24px;
	row-gap: 24px;
	align-items: stretch;
}

.esc-card {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
	height: 100%;
}

.esc-hover-lift-yes .esc-card:hover {
	transform: translateY(-6px);
}

.esc-card__image {
	width: 100%;
	height: 190px;
	overflow: hidden;
	flex-shrink: 0;
}

.esc-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.esc-card:hover .esc-card__image img {
	transform: scale(1.04);
}

.esc-card__body {
	padding: 0 24px 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.esc-card__title {
	margin: 20px 0 12px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	color: #12294b;
}

.esc-card__description {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.6;
	color: #5c6b7a;
	flex-grow: 1;
}

.esc-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 15px;
	color: #12294b;
	text-decoration: none;
	margin-top: auto;
	cursor: pointer;
	transition: color 0.2s ease, gap 0.2s ease;
}

.esc-card__link:hover {
	color: #0b7285;
	gap: 12px;
}

.esc-card__arrow {
	display: inline-block;
	transition: transform 0.2s ease;
}

.esc-card__link:hover .esc-card__arrow {
	transform: translateX(3px);
}

.esc-view-all-wrap {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.esc-view-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 30px;
	background-color: #eef2f6;
	color: #12294b;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, gap 0.2s ease;
}

.esc-view-all-btn:hover {
	background-color: #e1e8f0;
	gap: 14px;
}

/* Responsive fallback (in case Elementor responsive controls aren't compiled, e.g. preview edge cases) */
@media (max-width: 1024px) {
	.esc-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.esc-grid {
		grid-template-columns: 1fr;
	}
}
