/* Mathematics archive only: predictable image, title and card proportions. */
body.tax-course_category.term-mathematik
	.edublink-course-archive > .edublink-course-style-1 {
	display: flex;
}

body.tax-course_category.term-mathematik
	.edublink-course-archive .edublink-single-course {
	width: 100%;
}

body.tax-course_category.term-mathematik
	.edublink-course-archive .thumbnail {
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

body.tax-course_category.term-mathematik
	.edublink-course-archive .thumbnail .course-thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

body.tax-course_category.term-mathematik
	.edublink-course-archive .content {
	display: flex;
	flex-direction: column;
	min-height: 225px;
}

body.tax-course_category.term-mathematik
	.edublink-course-archive .title {
	display: -webkit-box;
	min-height: 52px;
	max-height: 52px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.tax-course_category.term-mathematik
	.edublink-course-archive .course-meta {
	margin-top: auto;
}
