/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the 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.
*/

.list {
	--font-title: var(--font-georgia);
	--font-text: var(--font-body);
	--font-date: var(--font-museo-cond-700);
	--color-primary: var(--black);
	--color-secondary: var(--grey-6f);
	--color-border: var(--quill-grey);

	margin-bottom: var(--space-3);
}

.list .slide {
	border-top: 1px solid var(--color-border);
	padding: 18px 0;
	margin-bottom: 0;
}

.list .slide .inner {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.list .slide .inner .banner-wrapper {
	background: #FFE293;
    height: 7px;
    width: fit-content;
    position:relative;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 8px;
    margin: 2rem .5rem;
	right: 21px;
    top: 47px;
    z-index: 10;
}

.list .slide .inner .banner-wrapper::before {
	content: "";
    position: absolute;
    height: 0;
    width: 0;
    left: 0;
    bottom: -14px;
	border-bottom: 14px solid transparent;
	border-right: 14px solid #B6AC93;
}

.list .slide .inner .banner-wrapper::after {
	content: "";
    position: absolute;
    height: 0;
    width: 0;
    left: 0;
    bottom: -14px;
    border-bottom: 14px solid transparent;
    border-right: 14px solid #B6AC93;
}

.list .slide .inner .anniversary-banner {
	margin-bottom: 4px;
}
  
.list .slide .inner .anniversary-banner::before {
	content: "";
	position: absolute;
	height: 0;
	width: 0;
	right: -22px;
	top: 0;
	border-bottom: 17px solid transparent;
	border-left: 24px solid #FFE293;
}

.list .slide .inner .anniversary-banner::after {
	content: "";
	position: absolute;
	height: 0;
	width: 0;
	right: -22px;
	bottom: 0;
	border-top: 12px solid transparent;
	border-left: 24px solid #FFE293;
}

.list .slide .inner .banner {
	overflow: visible;
}


.list .slide .inner a {
	position: relative;
}

.list .slide .inner .anniversary-banner .banner-text {
	font-size: 8px;
	font-family: var(--font-museo-900);
	color: var(--off-black);
	text-transform: uppercase;
	line-height: 1.4;
	grid-row: 1 /span 1;
	grid-column: 1 /span 1;
	padding-bottom: 6px;
}


.list .slide .inner .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);
}

.list .slide .content-section > .inner {
	gap: var(--space-1);
}

.list .content-section {
	margin-left: var(--space-3);
	width: 50%;
}

.list .slide .img-cont .mini-date-section {
	display: none;
}

.list .slide .blog-info {
    margin-bottom: 0;
    font-family: var(--font-date);
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.list .slide .blog-info .divider {
    margin: 0 var(--space-1);
}

.list .slide .slide-title {
	font-size: 20px;
	font-family: var(--font-title);
	font-weight: 400;
	line-height: 1.2;
}

.list .slide p {
	font-family: var(--font-text);
	font-weight: 500;
	font-size: 13px;
	line-height: 1.4;
	color: var(--color-secondary);
}

.list .slide .slide-footer {
	display: none;
}

@media screen and (min-width: 64em) {
	.list .slide {
		border-top: none;
	}

	.list .slide .content-section {
		padding: var(--space-4) 0 var(--space-2);
		margin-left: 36px;
		width: 530px;
		border-bottom: 1px solid var(--color-border);
	}

	.list .slide:last-child .content-section {
		border-bottom: none;
	}

	.list .slide .content-section .heading-container {
		gap: 6px;
	}

	.list .slide .inner {
		justify-content: initial;
	}

	.list .slide .blog-info {
		font-size: 15px;
	}

	.list .slide .slide-title {
		font-size: 28px;
		line-height: 1.4;
	}

	.list .slide p {
		font-size: 17px;
		margin-bottom: 50px;
		line-height: 1.5;
	}
}

@media screen and (min-width: 90em) {
	.list {
		padding: 0;
	}
}


