.upcoming_events {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.upcoming_events .upcoming_events__tile_date,
.upcoming_events .upcoming_events__tile_time
{
	font-family: 'Founders Grotesk Regular', 'Founders Grotesk Regular Fallback', sans-serif;
}


.upcoming_events__header {
	display: flex;
	flex-direction: column;
}

.upcoming_events__cta {
	margin-top: 1rem;
}

.upcoming_events__cta .h-button-text--light::before,
.upcoming_events__cta .h-button-text--light::after {
	content: none;
	display: none;
}

.upcoming_events__cta .h-button-text-content {
	font-weight: 500;
	text-decoration: none;
}

.upcoming_events__swiper {
	display: flex;
	flex-wrap: nowrap;
}

.upcoming_events__swiper:not(.tns-slider) {
	gap: 16px;
	overflow: hidden;
	min-height: 380px;
}

.upcoming_events__swiper:not(.tns-slider) > .upcoming_events__tile {
	flex: 0 0 320px;
}

.upcoming_events__swiper.tns-slider {
	gap: 0;
}

.upcoming_events .tns-item {
	box-sizing: border-box;
}

.upcoming_events__tile {
	display: flex !important;
	flex-direction: column !important;
	width: 320px;
	height: 380px;
	background-color: #ffffff;
}

.upcoming_events__tile_image {
	position: relative;
	overflow: hidden;
	height: 200px;
	min-height: 200px;
}

.upcoming_events__tile_image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.upcoming_events__tile_content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	height: 180px;
	background-color: #ffffff;
}

.upcoming_events__tile_info {
	padding: 16px 16px 0;
}

.upcoming_events__tile_tag {
	margin-bottom: 4px;
}

.upcoming_events__tile_title {
	margin-bottom: 0;
}

.upcoming_events__tile_subtitle {
	margin-top: 0.25rem;
	margin-bottom: 0;
}

.upcoming_events__tile_details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	flex-grow: 1;
	padding: 8px 16px 16px;
}

.upcoming_events__tile_date_time p {
	margin-bottom: 0;
}

.upcoming_events__tile_cta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	align-self: flex-start;
	margin-top: auto;
	margin-left: 0;
}

.upcoming_events .tns-ovh {
	overflow: visible;
}

.upcoming_events .tns-nav {
	display: flex;
	height: 0.375rem;
	margin: 2.5rem 2rem 0;
	border-radius: 0.375rem;
	background-color: #e5e7eb;
}

.upcoming_events .tns-nav button {
	flex: 1;
	border-radius: 0.375rem;
	outline: none;
	transition: background-color 0.15s ease;
}

.upcoming_events .tns-nav-active {
	background-color: var(--faculty-color-light);
}

@media (min-width: 640px) {
	.upcoming_events .tns-slide-cloned {
		display: none !important;
	}
}

@media (min-width: 768px) {
	.upcoming_events__header {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.upcoming_events__cta {
		margin-top: 0;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	.upcoming_events__swiper:not(.tns-slider) {
		min-height: 180px;
	}

	.upcoming_events__swiper:not(.tns-slider) > .upcoming_events__tile {
		flex: 0 0 586px;
		min-width: 586px;
		width: 586px;
	}

	.upcoming_events__tile {
		flex-direction: row !important;
		width: 586px;
		min-width: 586px;
		max-width: 586px;
		height: 180px;
		background-color: transparent;
	}

	.upcoming_events__tile_image {
		width: 16.25rem;
		min-width: 16.25rem;
		height: 180px;
		min-height: 180px;
	}

	.upcoming_events__tile_content {
		flex: 0 0 326px;
		width: 326px;
		min-width: 326px;
		max-width: 326px;
		height: 180px;
		background-color: transparent;
	}

	.upcoming_events__tile_info {
		flex-grow: 1;
		padding: 16px;
	}

	.upcoming_events__tile_details {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 326px;
		min-width: 326px;
		max-width: 326px;
		gap: 8px;
		padding: 8px 16px;
	}

	.upcoming_events__tile_date_time {
		flex: 1;
		min-width: 0;
		text-align: left;
	}

	.upcoming_events__tile_date_sep {
		display: none;
	}

	.upcoming_events__tile_time {
		display: block;
	}

	.upcoming_events__tile_cta {
		margin-top: 0;
		margin-left: auto;
		align-self: center;
		flex-shrink: 0;
		justify-content: flex-end;
	}
}

@media (min-width: 1024px) {
	.upcoming_events {
		padding-bottom: 5rem;
	}

	.upcoming_events__heading {
		font-size: 64px;
		line-height: 1.1;
	}
}
