/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Date List 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-date-list {
	--color-display-hover: var(--grey-dark);
	margin-bottom: var(--widget-margin-bottom);
	padding: var(--widget-padding-top) var(--space-6);
	max-width: 1180px;
}

.core-date-list .slides {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 0;
}

.core-date-list .date {
	--background-color: var(--blue-dark);
	padding: 10px;
	border-radius: var(--rounded-circle);
	height: 60px;
	width: 60px;
}

.core-date-list .date .month {
	font-size: var(--text-sm);
	font-weight: 500;
	line-height: var(--leading-none);
	letter-spacing: 0;
	text-transform: uppercase;
}

.core-date-list .date .day {
	font-size: var(--text-2xl);
	font-weight: 700;
	line-height: var(--leading-none);
	letter-spacing: var(--tracking-tighter);
}

.core-date-list .slide .slide-title {
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--color-display);
	line-height: var(--leading-tight);
}

.core-date-list .widget-header {
	max-width: 1180px;
}

.core-date-list .widget-header-inner {
	border-bottom: unset;
	flex-direction: column;
	padding-bottom: var(--space-5);
}

.core-date-list .widget-title {
	font-size: var(--text-4xl);
	line-height: var(--leading-none);
	align-self: flex-start;
}

.core-date-list .widget-view-all {
	--button-color: var(--green);
	text-transform: uppercase;
	font-size: var(--text-base);
	padding: var(--space-3) var(--space-4);
}

.core-date-list .slide .content-section {
	margin-top: -5px;
	padding: 0 var(--space-4);
	gap: var(--space-2);
}

.core-date-list .slide a.read-more:not(p *),
.core-date-list .slide .slide-footer a {
	color: var(--blue-dark);
	text-transform: uppercase;
	background-color: unset;
	border-radius: unset;
	font-weight: 600;
	position: relative;
	padding: 0;
}

.core-date-list .slide .slide-footer a::after {
	content: '\f061';
	position: absolute;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-left: 5px;
	color: var(--green);
	
}

.core-date-list .details {
	--text-color: var(--grey-dark);
}

.core-date-list .details li {
	line-height: var(--leading-none);
	font-weight: 400;
}

.core-date-list .slide .slide-footer > * {
	margin: 0 var(--space-4);
}

.core-date-list .slides > * {
	min-height: 140px;
}

.core-date-list .details li a {
	font-weight: 400;
}

.core-date-list .slide > .inner {
	gap: 10px;
}

.core-date-list .slide .content-section > .inner {
	gap: var(--space-2);
}

.core-date-list .view-all-container {
	display: flex;
	justify-content: center;
}

@media (hover: hover) {
	.core-date-list .slide a.read-more:not(p *):hover,
	.core-date-list .slide .slide-footer a:hover {
		background-color: unset;
	}
	
}

@media (min-width: 40em) {
	.core-date-list .widget-title {
		font-size: var(--text-6xl);
	}

	.ccl-widget .widget-header-inner {
		padding-bottom: var(--space-10);
	}

	.core-date-list .slide .slide-title {
		font-size: var(--text-2xl-1);
	}

	.core-date-list .details,
	.core-date-list .details li a,
	.core-date-list .slide a.read-more:not(p *),
	.core-date-list .slide .slide-footer a {
		font-size: var(--text-base);
	}

	.core-date-list .slide .content-section {
		gap: var(--space-3);
	}
}