body.page-template-events {
	background-color: #fff;
}
.container {
	padding: 2.5rem 2rem 5rem 2rem;
}
section.block-acf.block-hero.alignwide.-type-title {
	margin: unset !important;
}
body .block-hero.-type-title .block-hero__shape {
	min-height: 12.5rem;
}
.main-event {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10rem;
	justify-content: space-between;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
	padding-bottom: 3.15rem;
	margin-bottom: 3.75rem;
}
.event-image img {
	margin-left: auto;
	display: block;
	border-radius: 1rem;
}
h1 {
	color: #0c0b0d;
	font-size: 5.25rem;
	font-weight: 400;
	line-height: 88%;
	letter-spacing: -0.315rem;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
	margin-top: unset;
}
.event-description p {
	color: #636363;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 144%;
	letter-spacing: -0.0125rem;
	margin: unset;
}
.event-info {
	max-width: 28.125rem;
}
h2 {
	color: #0c0b0d;
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 116%;
	letter-spacing: -0.125rem;
	text-transform: uppercase;
	margin-top: unset;
	margin-bottom: 3.75rem;
}
.events-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 3.75rem 2rem;
}
.up-events {
	margin-bottom: 6rem;
}
.event-title {
	color: #0c0b0d;
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 144%;
	letter-spacing: -0.0875rem;
	min-height: 4rem;
}
.up-events .event-image,
.past-events .event-image {
	margin-bottom: 1.75rem;
}
a.event-link {
	color: #753cff;
	font-size: 1rem;
	font-weight: 400;
	line-height: 144%;
}
.event-card {
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
	padding-bottom: 1.25rem;
}
.past-events .event-image {
	filter: blur(1px);
	opacity: 0.5;
}
.past-events {
	margin-bottom: 6rem;
}

.b-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gallery {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(12, 1fr);
	/* grid-template-rows: repeat(auto-fit, 21.5rem); */
	padding-inline: 5rem;
}
.gallery__item {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}
.gallery__item:nth-child(8n + 1) {
	grid-column: span 8 / span 8;
	grid-row: span 2 / span 2;
}
.gallery__item:nth-child(8n + 2) {
	grid-column: span 4 / span 4;
	grid-column-start: 9;
}
.gallery__item:nth-child(8n + 3) {
	grid-column: span 4 / span 4;
	grid-column-start: 9;
}
.gallery__item:nth-child(8n + 4) {
	grid-column: span 4 / span 4;
}
.gallery__item:nth-child(8n + 5) {
	grid-column: span 4 / span 4;
	grid-column-start: 5;
}
.gallery__item:nth-child(8n + 6) {
	grid-column: span 4 / span 4;
	grid-column-start: 9;
}
.gallery__item:nth-child(8n + 7) {
	grid-column: span 6 / span 6;
}
.gallery__item:nth-child(8n + 8) {
	grid-column: span 6 / span 6;
	grid-column-start: 7;
}
.gallery__item-caption {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	padding: 1rem;
	transition: all 300ms ease;
	color: #fff;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 100%);
}
.gallery__item-date,
.gallery__item-title {
	font-weight: 400;
	margin: 0;
	color: #fff;
}
.gallery__item-title {
	font-size: 1.26206rem;
	line-height: 132%;
	letter-spacing: -0.03788rem;
}
.gallery__item-meta {
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 100%;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}
.gallery__item:nth-child(8n + 1),
.gallery__item:nth-child(8n + 9) {
	height: 42rem;
}
.gallery__item {
	height: 20rem;
}
footer.site-footer {
	margin-top: unset;
}

.container {
	max-width: 1600px;
	margin-inline: auto;
}
.event-date-location {
	display: flex;
	color: #636363;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 100%;
	text-transform: uppercase;
	gap: 5px;
	margin-bottom: 0.75rem;
}

/* @media screen and (min-width: 2200px) {
	.container {
		max-width: 2400px;
	}
	.event-image {
		order: -1;
	}
	.event-info {
		justify-self: end;
	}
	.events-grid {
		grid-template-columns: repeat(4, 1fr);
	}
} */

@media screen and (max-width: 768px) {
	h1 {
		font-size: 4rem;
		line-height: 88%; /* 3.52rem */
		letter-spacing: -0.24rem;
		text-transform: uppercase;
	}
	.main-event {
		grid-template-columns: 1fr;
		margin-bottom: 4rem;
		padding: unset;
		gap: unset;
		border: unset;
		margin: unset;
	}
	.event-image img {
		border-radius: 0.75rem;
		object-fit: contain;
	}
	.main-event .event-info {
		border-bottom: 1px solid rgba(0, 0, 0, 0.15);
		margin-bottom: 2.5rem;
		padding-bottom: 2.5rem;
	}
	h2 {
		font-size: 1.75rem;
		line-height: 94%;
		letter-spacing: -0.105rem;
		margin-bottom: 2rem;
	}
	.events-grid {
		grid-template-columns: 1fr;
	}
	.event-title {
		min-height: unset;
		font-size: 1.125rem;
		line-height: 132%;
		letter-spacing: -0.03375rem;
	}
	.gallery {
		display: flex;
		flex-wrap: wrap;
		gap: 1rem;
		padding: unset;
	}
	.gallery__item img {
		height: unset;
	}
	.gallery__item:nth-child(3n + 1) img {
		height: unset;
	}
	.gallery__item:nth-child(8n + 1),
	.gallery__item:nth-child(8n + 9) {
		height: unset;
	}
	.gallery__item {
		height: unset;
	}
	.main-event .event-image {
		display: none;
	}
}
