/*
	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-v2-date-list.date-list .mini-date-section {
	/* --month-size: var(--text-sm);
	--day-size: var(--text-5xl); */
	position: relative;
}
.core-v2-date-list.date-list .date-month {
	letter-spacing: var(--tracking-widest);
}

.core-v2-date-list.date-list .slide > .inner.has-date {
	gap: var(--space-5);
}
.core-v2-date-list.date-list .content-upper {
	gap: var(--space-2);
}
.core-v2-date-list.date-list .content-section {
	padding: 0;
}

.core-v2-date-list.date-list .slide-title {
	font-size: 1.5625rem;
	line-height: var(--leading-none);
}


.core-v2-date-list.date-list .details {
	padding-left: var(--space-2);
}

@container (min-width: 64em) {
	.core-v2-date-list.date-list .widget-header {
		margin-bottom: var(--space-16);
	}
	.core-v2-date-list.date-list .slides {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: 1270px;
   		gap: calc(40px + (90 - 40) * ((100vw - 1024px) / (1250 - 1024)));
	}
	.core-v2-date-list.date-list .slide > .inner.has-date {
		gap: var(--space-8);
	}
	
	.core-v2-date-list.date-list .slide-title {
		font-size: calc(20px + (28 - 20) * ((100vw - 1024px) / (1250 - 1024)));
	}
	.core-v2-date-list.date-list .details {
		font-size: var(--base);
		padding-left: var(--space-1);
	}
	.core-v2-date-list.date-list .details .icon {
		font-size: var(--text-sm);
	}
}

@container (min-width: 1250px) {
	.core-v2-date-list.date-list .slides {
   		gap: 90px;
	}
	.core-v2-date-list.date-list .mini-date-section {
		width: 127px;
		height: 127px;
	}
	.core-v2-date-list.date-list .mini-date-section::after {
		left: -14px;
		top: -14px;
		width: calc(100% + 28px);
		height: calc(100% + 28px);
		border: 1px dashed var(--slate);
	}
	.core-v2-date-list.date-list .date-month {
		font-size: 1.75rem;
	}
	.core-v2-date-list.date-list .date-day {
		font-size: 3.75rem ;
	}
	.core-v2-date-list.date-list .slide-title {
		font-size: 1.75rem;
	}
}