/*
	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 {
	--font-title: var(--font-fraunces);
	--font-desc: var(--font-body);
	--color-body: var(--gray-700);
	--color-body-alt: var(--gray-100);
	--color-accent: var(--primary-color-800);
	--color-display: var(--primary-color-700);
	--color-display-hover: var(--primary-color-800);
	
	margin-bottom: var(--space-12);
	padding-top: var(--space-8);
	color: var(--color-display);
}

.core-cards,
.core-cards * {
	font-family: inherit;
}

.core-cards .slides {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-16);
	margin: 0 auto;
	padding: 0 var(--space-5);
	max-width: var(--width-base);
}

@media (min-width: 40em) {
	.core-cards .slides {
		gap: var(--space-16) var(--space-3);
		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 .slide > .inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.core-cards .slide .img-cont {
	position: relative;
	margin-bottom: var(--space-5);
	overflow: hidden;
}

.core-cards .slide .img-cont .mini-date-section {
	--background-color: var(--color-accent);
	--text-color: var(--color-body-alt);
	--font-family: var(--font-title);
}

.core-cards .slide .slide-top {
	display: grid;
	gap: var(--space-2);
}

.core-cards .slide .content-section {
	display: grid;
	gap: var(--space-4);
}

.core-cards .slide .content-section > .inner {
	display: grid;
	gap: var(--space-3);
}

.core-cards .slide .content-section .heading-container {
	display: grid;
	gap: var(--space-1);
}

.core-cards .blog-feed-header {
	--font-size: var(--text-sm);
	--text-color: var(--color-body);
	--accent-color: var(--color-display);
	--font-family-display: var(--font-title);
	--font-family-body: var(--font-desc);
}

.core-cards .slide .details {
	--font-family: var(--font-desc);
	--text-color: var(--color-body);
	--icon-color: var(--color-display);
}

.core-cards .slide .slide-title {
	margin: 0;
	font-family: var(--font-title);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-display);
}

.core-cards .slide .slide-title > a {
	color: inherit;
}

@media (hover: hover) {
	.core-cards .slide .slide-title > a:hover {
		color: var(--color-display-hover);
	}	
}

.core-cards .slide p {
	margin: 0;
	font-family: var(--font-desc);
	font-size: var(--text-lg);
	font-weight: 600;
	line-height: var(--leading-tight);
	color: var(--color-body);
}

.core-cards .slide .slide-footer {
	--color: var(--gray-700);
	--color-hover: var(--gray-600);
	--font-family: var(--font-desc);
}

.core-cards .slide .slide-footer .qv-btn {
	color: var(--white);
}

@media (hover: hover) {
	.core-cards .slide .slide-footer .qv-btn:hover {
		color: var(--color);
	}
}
