/* ===== Service Cards Shortcode ===== */

.csp-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin: 30px 0;
}

.csp-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.csp-card:hover {
	box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

.csp-card-clickable {
	cursor: pointer;
}

.csp-card-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f0f0f0;
}

.csp-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.csp-card:hover .csp-card-image img {
	transform: scale(1.06);
}

.csp-card-image-placeholder {
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg,#eee,#eee 10px,#f5f5f5 10px,#f5f5f5 20px);
}

.csp-card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.csp-card-title {
	margin: 0 0 12px;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 700;
	color: #1d1d1d;
}

.csp-card-desc {
	flex: 1;
	color: #5f5f5f;
	line-height: 1.6;
	font-size: 15px;
	margin-bottom: 20px;
}

.csp-card-btn-wrap {
	margin-top: auto;
}

.csp-card-btn {
	display: inline-block;
	text-align: center;
	padding: 11px 24px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: opacity 0.2s ease;
}

.csp-card-btn:hover {
	opacity: 0.88;
}

.csp-card-clickable .csp-card-btn {
	pointer-events: none;
}

@media (max-width: 992px) {
	.csp-cards-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 600px) {
	.csp-cards-grid {
		grid-template-columns: 1fr !important;
	}
	.csp-card-body {
		padding: 20px;
	}
}
