/* Case Studies Sets — frontend grid & card.
   Spacing, colors and sizing are overridden by the Elementor widget via {{WRAPPER}}. */

.cssets-grid {
	display: grid;
	grid-template-columns: repeat(var(--cssets-columns, 3), minmax(0, 1fr));
	gap: 24px;
}

.cssets-card {
	display: flex;
	flex-direction: column;
}

.cssets-card__media {
	display: block;
	line-height: 0;
}

.cssets-card__img {
	display: block;
	width: 100%;
	height: auto;
}

.cssets-card__body {
	display: flex;
	flex-direction: column;
}

.cssets-card__title {
	margin: 16px 0 0;
	font-size: 1.15rem;
	line-height: 1.3;
}

.cssets-card__title a {
	text-decoration: none;
	color: inherit;
}

.cssets-card__excerpt {
	margin-top: 10px;
	line-height: 1.55;
}

.cssets-card__btn {
	display: inline-block;
	align-self: flex-start;
	margin-top: 14px;
	padding: 10px 20px;
	text-decoration: none;
	background: #2271b1;
	color: #fff;
	border-radius: 4px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cssets-card__btn:hover {
	background: #135e96;
	color: #fff;
}

.cssets-notice {
	padding: 10px 14px;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	color: #646970;
	font-size: 14px;
}

@media (max-width: 1024px) {
	.cssets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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