/**
 * #.# Events Module
 *
 * Styles for template-part/modules/events_module.php
**/

/* ── Header row ──────────────────────────────────────────── */

.events_module {
	padding: 75px 0 80px;
}
.events_module,
.events_module_slider,
.events_module-view-all-section {background-color:var(--light-grey);}

.events_module .css-arrow {background-color:var(--white)}
.events_module .css-arrow:hover {background-color:var(--dark-green)}

.events_module .custom-slick-arrows {
  margin-top: 50px;
}

.em-section-subheader {
	font-family: var(--header);
	font-size: 20px;
	letter-spacing: -3%;
  line-height:100%;
	color: var(--dark-green);
	margin: 0 0 0px;
}

.em-section-header {
	font-family: var(--header);
	font-size: 80px;
	line-height: 80px;
	color: var(--dark-green);
	letter-spacing: -3%;
	margin: 0;
}

/* ── Slider section ──────────────────────────────────────── */

.events_module_slider {
	padding-bottom: 40px;
}

/* ── Slider track ────────────────────────────────────────── */

.events-slider {
	overflow: hidden;
}

.events-track {
	display: flex;
	gap: 16px;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	/* item widths set by JS */
}

/* ── Slide items ─────────────────────────────────────────── */

.event-slide {
	flex-shrink: 0;
	display: block;
	text-decoration: none;
	color: inherit;
	/* width set by JS */
}

.event-slide-image {
	overflow: hidden;
	margin-bottom: 14px;
	background-color: var(--light-grey);
  max-height:240px;
	max-height: 300px;
}

.event-slide-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.event-slide-image-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	background-color: var(--light-grey);
}

.event-slide:hover .event-slide-image img {
	transform: scale(1.04);
}

/* ── Slide content ───────────────────────────────────────── */

.event-slide-content {
	padding: 40px;
	background-color: var(--teal);
}

.event-slide-category {
	font-family: var(--header);
	font-size: 15px;
  line-height:24px;
	letter-spacing: -3%;
	color: var(--white);
	margin: 0 0 8px;
}

.event-slide-title {
	font-family: var(--header);
	font-size: 32px;
	line-height: 38px;
	color: var(--dark-green);
	margin: 0 0 40px;
	letter-spacing: -3%;
	font-size: 26px;
  line-height: 32px;
	margin: 0 0 0px;
}

/* ── View all section ────────────────────────────────────── */

.events_module-view-all-section {
	padding-bottom: 60px;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1536px) {

}

@media (max-width: 1366px) {

}

@media (max-width: 1280px) {

}

@media (max-width: 992px) {
	.em-section-header {
		font-size: 40px;
	}

	.events_module .custom-slick-arrows {display:none}
	.events_module {padding: 50p 0px;}
}

@media (max-width: 768px) {
	.events_module {
		padding: 40px 0 24px;
	}

	.em-section-header {
		font-size: 32px;
	}
}

@media (max-width: 600px) {

}
