/*==============================*/
/*=====----- TEMPLATE -----=====*/
/*==============================*/

.custom-featured-events {
	position: relative;
	padding: 0 20px;
	margin-bottom: 40px;
	color: var(--gray-dark);
}

.custom-featured-events .slides {
	max-width: 1160px;
	margin: 0 auto;
}

.custom-featured-events .template-header {
	position: relative;
	padding-left: 18px;
	margin-bottom: 20px;
}

.custom-featured-events .template-header::before {
	position: absolute;
	inset: 0 auto 0 0;
	display: block;
	width: 8px;
	content: '';
	background: var(--yellow);
	border-radius: var(--rounded-full);
}

.custom-featured-events .template-title {
	font-family: var(--font-display);
	font-weight: var(--font-weight-black);
	font-size: 2.25rem;
	line-height: 1;
	text-transform: uppercase;
	color: inherit;
}

.custom-featured-events .template-title small {
	display: block;
	font-weight: var(--font-weight-med);
	font-size: 1.25rem;
}

/*============================*/
/*=====----- SLIDES -----=====*/
/*============================*/

.custom-featured-events .slide,
.custom-featured-events .img-cont,
.custom-featured-events .slide-img {
	position: relative;
	z-index: 1;
}

.custom-featured-events .slide > .inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

.custom-featured-events .img-cont {
	margin-bottom: 20px;
}

.custom-featured-events .slide-img {
	width: 100%;
	border-radius: 2px;
}

.custom-featured-events .mini-date-section {
	--background-color: var(--yellow);
}

.custom-featured-events .content-section {
	order: 1;
}

.custom-featured-events .slide-title {
	margin-bottom: 20px;
	font-family: var(--font-display);
	font-weight: var(--font-weight-black);
	font-size: 2.25rem;
	line-height: calc(41 / 36);
	color: inherit;
}

.custom-featured-events .details {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 15px;
	padding: 0;
	margin: 0;
	font-family: var(--font-body);
	font-weight: var(--font-weight-med);
	font-size: 1rem;
	line-height: 1.625;
	list-style: none;
	color: inherit;
}

.custom-featured-events .details .info-item:not(.has-link),
.custom-featured-events .details .info-item.has-link a {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.custom-featured-events .details a {
	font: inherit;
	text-decoration: none;
	color: inherit;
}

.custom-featured-events .details i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	aspect-ratio: 1;
	flex-shrink: 0;
	background: var(--yellow);
	border-radius: 50%;
	font-size: 1.25rem;
	line-height: 1;
}

/*===================================*/
/*=====----- MEDIA QUERIES -----=====*/
/*===================================*/

@media (min-width: 40em) {
	.custom-featured-events .template-header {
		margin: 0;
	}

	.custom-featured-events .slide > .inner {
		grid-template: auto minmax(0, 1fr) / repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.custom-featured-events .img-cont {
		grid-row: span 2;
		order: unset;
		margin: 0;
	}
}

@media (min-width: 64em) {
	.custom-featured-events {
		margin-bottom: 55px;
	}

	.custom-featured-events .template-header {
		padding-left: 27px;
	}

	.custom-featured-events .template-header::before {
		width: 12px;
	}

	.custom-featured-events .template-title {
		font-size: 3.8125rem;
	}

	.custom-featured-events .template-title small {
		font-size: 1.5625rem;
	}

	.custom-featured-events .slide > .inner {
		grid-template-columns: minmax(0, 1fr) 580px;
		gap: 50px;
	}

	.custom-featured-events .slide-title {
		font-size: 3rem;
		line-height: calc(55 / 48);
	}

	.custom-featured-events .details {
		font-size: var(--text-lg);
		line-height: 1.5;
	}
}