.acs-course-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	padding: 20px 0;
}

.acs-course-card {
	background: #fff;
	border: none;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}

.acs-course-card:hover {
	transform: translateY(-5px);
}

.acs-course-card a {
	text-decoration: none;
	color: inherit;
	display: block;
	height: 100%;
}

.acs-course-image {
	position: relative;
	height: 160px;
	background: #f5f5f5;
	overflow: hidden;
}

.acs-course-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px !important;
}

.acs-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #999;
	font-size: 0.9em;
}

.acs-course-source {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
}

.acs-course-source.coursera {
	background-color: #0056d2;
}

.acs-course-content {
	padding: 15px;
}

.acs-course-title {
	margin: 0;
	font-size: 1.1em !important;
	line-height: 1.4;
	color: #333;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.acs-button {
	display: inline-block;
	padding: 10px 20px;
	background-color: #333;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background-color 0.2s;
}