/*
	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: 48px;
	color: #0b467e;
}

.core-cards,
.core-cards * {
	font-family: inherit;
}

.core-cards .slides {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	margin: 0 auto;
	padding: 0 20px;
	max-width: 1200px;
}

@media (min-width: 40em) {
	.core-cards .slides {
		gap: 24px 10px;
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 64em) {
	.core-cards[data-slides-across="3"] .slides {
		grid-template-columns: repeat(3, 1fr);
	}

	.core-cards[data-slides-across="4"] .slides {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.core-cards[data-slides-across="5"] .slides {
		grid-template-columns: repeat(5, 1fr);
	}
}

.core-cards .slide > .inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.core-cards .slide .img-cont {
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
}

.core-cards .slide .content-section {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.core-cards .slide .slide-title {
	margin: 0;
	margin-bottom: 10px;
	font-size: 24px;
	font-weight: 700;
	color: #0b467e;
}

.core-cards .slide p {
	margin-bottom: 16px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #0b467e;
}

.core-cards .slide .recurrence {
    display: flex;
    align-items: baseline;
    line-height: 1.2;	
}

.core-cards .slide .locations {
    display: flex;
    align-items: baseline;
	line-height: 1.2;
}