/* Layout horizontal de 3 columnas (sobreescribe EAEL fit-to-screen). */

.ccc-ld-courses-widget .eael-learndash-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
}

.ccc-ld-courses-widget .eael-learndash-wrapper.ld-cl-layout-mode-fit-to-screen .eael-learn-dash-course {
	display: block;
	width: 33.3333%; 
	flex: 0 0 33.3333%;
	max-width: 33.3333%;
	box-sizing: border-box;
	float: left;
}

.ccc-ld-courses-widget .eael-learndash-wrapper.ld-cl-layout-mode-fit-to-screen .eael-learn-dash-course:nth-of-type(3n + 1) {
	clear: left;
}

.ccc-ld-courses-widget .eael-learn-dash-course.eael-course-layout-3.card-style.page-1.eael-d-block-lite {
	padding: 7px;
}

.ccc-ld-courses-widget .eael-learndash-wrapper .eael-learn-dash-course-inner {
	height: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 4px !important;
	overflow: hidden;
	background: #fff;
}

.ccc-ld-courses-widget .card-thumb {
	display: block;
	border-radius: 4px 4px 0 0;
	overflow: hidden;
}

.ccc-ld-courses-widget .card-thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.ccc-ld-courses-widget .card-body {
	padding: 1rem 1.25rem 1.25rem;
}

.ccc-ld-courses-widget .course-card-title {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	line-height: 1.3;
}

.ccc-ld-courses-widget .layout-button-wrap {
	margin-top: 0;
}

.ccc-ld-courses-widget .eael-learn-dash-course .eael-learn-dash-course-inner .eael-course-button {
	background-color: var(--e-global-color-primary);
	font-size: 19px;
	text-transform: uppercase;
	color: #ffffff;
	border-radius: 10px;
	padding: 10px 17px;
	margin: 39px 0 0;
	transition: 300ms;
	display: inline-block;
	text-decoration: none;
}

.ccc-ld-courses-widget .eael-learndash-no-course-found {
	padding: 1rem;
	text-align: center;
	width: 100%;
}

.ccc-ld-courses-widget .eael-d-none-lite {
	display: none !important;
}

.ccc-ld-courses-widget .eael-d-block-lite {
	display: block !important;
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
	.ccc-ld-courses-widget .eael-learndash-wrapper.ld-cl-layout-mode-fit-to-screen .eael-learn-dash-course {
		width: 50%;
		flex-basis: 50%;
		max-width: 50%;
	}

	.ccc-ld-courses-widget .eael-learndash-wrapper.ld-cl-layout-mode-fit-to-screen .eael-learn-dash-course:nth-of-type(3n + 1) {
		clear: none;
	}

	.ccc-ld-courses-widget .eael-learndash-wrapper.ld-cl-layout-mode-fit-to-screen .eael-learn-dash-course:nth-of-type(2n + 1) {
		clear: left;
	}
}

@media only screen and (max-width: 767px) {
	.ccc-ld-courses-widget .eael-learndash-wrapper.ld-cl-layout-mode-fit-to-screen .eael-learn-dash-course {
		width: 100%;
		flex-basis: 100%;
		max-width: 100%;
		float: none;
		clear: none !important;
	}
}
