/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Cards family. This enables the ability to
	a family of widgets in a single update without touching the structure of the widget and without needing
	to duplicate efforts across several widget-specific CSS files.
*/


.core-cards {
	--color-body: var(--black);
	--color-display: var(--black);
	--color-accent: hsla(var(--tertiary-color-hue), 68%, 30%, .9);
	margin-bottom: 70px;
}

.core-cards .slides {
	padding: 0 18%;
	gap: 59px;
	
}

.core-cards.ccl-widget .widget-header {
	margin-bottom: 38px;
}


.core-cards.ccl-widget .widget-header-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0;
}

.core-cards.ccl-widget .widget-title {
	font-size: 2.125rem;
	margin: 0;
	padding: 10px 14px 12px;
	text-transform: uppercase;
	line-height: 1;
	font-weight: var(--font-weight-normal);
	color: var(--black);
	font-family: var(--font-display-alt);
	text-align: center;
}

.core-cards .slide .img-cont {
	margin-bottom: 8px;
}

.core-cards.cards-4-across .slides .img-cont {
	overflow: unset;
}

.core-cards .slide .slide-title {
	font-size: var(--text-lg);
	line-height: var(--leading-tight);
	font-family: var(--font-body-semibold);
	font-weight: var(--font-weight-normal);
}

.core-cards .slide .slide-title a {
	text-decoration: none !important;
}

.core-cards .slide p {
	font-size: var(--text-base);
	line-height: 1.45;
	font-weight: var(--font-weight-normal);
}

.core-cards .slide .slide-footer a {
	margin-top: 1px;
}


.core-cards .slide .slide-footer a {
	font-size: var(--text-base);
}

.core-cards .slide .content-section {
	gap: 0;
}

.core-cards .slide .content-section > .inner {
	gap: 6px;
}


.core-cards .slide .details {
	display: none;
}


.core-cards .slides .slide-top {
	position: relative;
	margin-bottom: 2px;
}

.core-cards .slides .sponsored {
	line-height: .3;
}

.core-cards .slides .has-date.is-sponsored::after {
	top: 12px;
}

.core-cards .slide .slide-footer .qv-btn {
    display: none;
}

@media (min-width: 40em) {

	.core-cards.ccl-widget .widget-header {
		margin-bottom: 38px;
		padding: 0 0 var(--space-4);
		max-width: var(--width-feature);
	}

	.core-cards.ccl-widget .widget-header-inner:before {
		height: 6.5px;
	}
	
	.core-cards.ccl-widget .widget-header-inner:after {
		height: 6.5px;
	}

	.core-cards.ccl-widget .widget-header-inner .accent-color-top, 	.core-cards.ccl-widget .widget-header-inner .accent-color-bottom {
		width: 100px;
		height: 0px;
		position: relative;
	}

	/* .core-cards.ccl-widget .widget-header-inner .accent-color-top {
		bottom: 30px;
	}

	.core-cards.ccl-widget .widget-header-inner .accent-color-bottom {
		bottom: 24px;
	} */

	.core-cards.ccl-widget .widget-title {
		font-size: 3.75rem;
		padding: 17px 0 22px;
	}

	.core-cards .slides {
		padding: 0 10px;
		column-gap: var(--space-6);
	}

	.core-cards .slide .img-cont {
		margin-bottom: 14px;
	}

	.core-cards .slide .slide-title {
		font-size: 1.375rem;
	}

	.core-cards .slide .content-section {
		gap: 11px;
	}
	.core-cards .slide .content-section > .inner {
		gap: 10px;
	}

	.core-cards .slide p {
		font-size: var(--text-xl);
		line-height: 1.35;
	}

	.core-cards .slide .slide-footer a {
		font-size: var(--text-lg);
	}

	.core-cards .slides .sponsored {
		position: absolute;
		left: 0;
		top: -19px;
	}

	.core-cards .slides :is(.has-date, .has-date.is-sponsored)::after {
		height: 83px;
		width: 72px;
		top: -4px;
	}
}

@media (hover: hover) {
	.core-cards .slide .slide-title > a:hover {
		color: var(--black);
		text-decoration: underline;
	}	
}