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

.side-by-side-featured {
	position: relative;
	padding: 30px 20px 30px;
	margin-bottom: var(--widget-margin-bottom);
	background: var(--off-white);
	color: var(--gray-dark);
}

.side-by-side-featured.no-bottom-margin {
	margin-bottom: 0;
}

.side-by-side-featured .template-inner {
	position: relative;
	z-index: 2;
	max-width: 1320px;
	margin: 0 auto;
}

.side-by-side-featured .template-header {
	text-align: center;
}

.side-by-side-featured .template-title {
	font-family: var(--font-display);
	font-weight: bold;
	font-size: 3.75rem;
	line-height: calc(53 / 60);
	text-transform: uppercase;
	color: var(--green);
}

.side-by-side-featured .template-header .view-all {
	display: none;
}

.side-by-side-featured .template-footer {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.side-by-side-featured .slides {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

.side-by-side-featured .bg-image-cont,
.side-by-side-featured .bg-image {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*----- inside featured events panel -----*/

.featured-events-panel .side-by-side-featured {
	background: none;
	margin: 0;
}

.featured-events-panel .side-by-side-featured::after {
	position: absolute;
	inset: auto 20px 0;
	display: block;
	height: 6px;
	content: '';
	background: var(--brown);
	border-radius: 3px;
	opacity: 0.15;
}

.featured-events-panel .side-by-side-featured .template-footer {
	display: none;
}

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

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

.side-by-side-featured .slide {
	transform: none;
	transition: transform var(--transition-appendix);
}

.side-by-side-featured .img-cont {
	margin-bottom: 13px;
	border: 6px solid var(--white);
}

.side-by-side-featured .slide-img {
	width: 100%;
}

.side-by-side-featured .content-section .mini-date-section {
	position: static;
	display: none;
	margin-bottom: 20px;
}

.side-by-side-featured .slide-title {
	margin-bottom: 8px;
	font-family: var(--font-display);
	font-weight: bold;
	font-size: 1.375rem;
	line-height: calc(13 / 11);
	color: inherit;
}

.side-by-side-featured .details {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 9px;
	padding: 0;
	margin: 0 0 12px;
	list-style: none;
	font-family: var(--font-body);
	font-weight: normal;
	font-size: var(--text-sm);
	line-height: 1;
	color: inherit;
}

.side-by-side-featured .location:not(.has-link),
.side-by-side-featured .location.has-link a {
	display: flex;
	align-items: baseline;
	gap: 5px;
}

.side-by-side-featured .details a {
	font: inherit;
	line-height: inherit;
	text-decoration: none;
	color: inherit;
}

.side-by-side-featured .details i {
	flex-shrink: 0;
	font-size: 0.9375rem;
	color: var(--green);
}

.side-by-side-featured .slide-desc {
	font-family: var(--font-body);
	font-weight: normal;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: inherit;
}

.side-by-side-featured .slide-footer {
	margin-top: 13px;
}

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

@media (hover: hover) {
	.side-by-side-featured .slide:hover {
		transform: translateX(18px);
	}

	.side-by-side-featured .slide:hover .read-more::after {
		color: var(--icon-color-hover);
	}
}

@media (min-width: 40em) {
	.featured-events-panel .side-by-side-featured {
		background: none;
	}

	.featured-events-panel .side-by-side-featured::after {
		display: none;
	}

	.side-by-side-featured .slides {
		gap: 16px;
	}

	.side-by-side-featured .slide > .inner {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 27px;
	}

	.side-by-side-featured .img-cont {
		margin: 0;
	}

	.side-by-side-featured .content-section {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
	}
}

@media (min-width: 64em) {
	.side-by-side-featured {
		padding: 50px 20px;
	}

	.featured-events-panel .side-by-side-featured {
		padding-bottom: 10px;
	}

	.side-by-side-featured .template-header {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: 32px;
		text-align: left;
	}

	.side-by-side-featured .template-title {
		font-size: 5.625rem;
	}

	.side-by-side-featured .template-header .view-all {
		display: inline-flex;
		flex-shrink: 0;
	}

	.side-by-side-featured .template-footer {
		display: none;
	}

	.side-by-side-featured .img-cont .mini-date-section {
		display: none;
	}

	.side-by-side-featured .content-section {
		padding-right: 53px;
	}

	.side-by-side-featured .content-section .mini-date-section {
		display: flex;
	}

	.side-by-side-featured .slide-title {
		font-size: 1.75rem;
	}

	.side-by-side-featured .details {
		font-size: 1rem;
	}

	.side-by-side-featured .slide-desc {
		font-size: var(--text-lg);
	}
}

@media (min-width: 75em) {
	.side-by-side-featured .content-section {
		position: relative;
	}

	.side-by-side-featured .content-section::after {
		position: absolute;
		inset: auto 0 -5px 0;
		display: block;
		height: 6px;
		content: '';
		background: var(--brown);
		border-radius: 3px;
		opacity: 0.15;
	}

	.side-by-side-featured .slide:last-child .content-section::after {
		display: none;
	}
}