/*
	README

	Do NOT modify this file directly; a number of widgets depend on this file being as is.
	Use the CSS file that is associated with your widget
	(ie. template: widget_template_custom_my_widget.html, CSS: widget_template_custom_my_widget.css)
	to make any theme-ing or overwrites you need.

	If you need to make significant changes such that overwriting would be complicated
	consider not using a different component from the Core Collection Library or
	not using the Core Component Library altogether.

	If you still feel the need to edit this file, copy/paste this CSS into a different file
	and use that instead.
*/

.core-cards {
	margin-bottom: 30px;
}

.core-cards,
.core-cards * {
	font-family: inherit;
}

.core-cards .slides {
	display: flex;
	flex-wrap: wrap;
}

.core-cards .slides > * {
	margin-bottom: 40px;
	padding: 0 20px;
	width: 100%;
}

@media (min-width: 640px) {
	.core-cards .slides > * {
		width: 50%;
	}
}

@media (min-width: 1024px) {
	.core-cards.slides-across-3 .slides > * {
		width: 33.33333%
	}

	.core-cards.slides-across-4 .slides > * {
		width: 25%;
	}
}

@supports (display: grid) {
	.core-cards .slides {
		display: grid;
		grid-template-columns: 1fr;
		gap: 20px;
		margin: 0 auto;
		padding: 0 15px;
		max-width: 1190px;
	}

	.core-cards .slides > * {
		margin-bottom: 0;
		padding: 0;
		width: 100% !important;
	}
	
	@media (min-width: 640px) {
		.core-cards .slides {
			grid-template-columns: repeat(2, 1fr);
		}
	}
	
	@media (min-width: 1024px) {
		.core-cards.slides-across-3 .slides {
			grid-template-columns: repeat(3, 1fr);
		}
	
		.core-cards.slides-across-4 .slides {
			grid-template-columns: repeat(4, 1fr);
		}
	}
}

.core-cards .slide .img-cont {
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
}

.core-cards .slide .img-cont img {
	display: block;
	width: 100%;
}

.core-cards .slide h4 {
	margin: 0;
	margin-bottom: 10px;
	font-size: 24px;
	font-weight: 700;
	color: #0b467e;
}

.core-cards .slide p {
	font-size: 18px;
	font-weight: 600;
	color: #0b467e;
}