h1 {
	margin-top: 3rem;
	font-weight: 900;
	font-size: 3rem;
	text-align: center;
	width: 75%;
	max-width: 960px;
}
h2 {
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 1rem;
}
h3 {
	text-align: center;
	font-family: "Inria Serif", serif;
	color: var(--brown);
	font-size: 1.5rem;
	margin-bottom: 1rem;
	margin-top: 0.5rem;
}
@media screen and (max-width: 648px) {
	h1 {
		font-size: 2rem;
		margin-top: 1rem;
	}
	h2 {
		font-size: 1.2rem;
	}
	h3 {
		font-size: 1.2rem;
	}
}

.heading-details {
	text-align: center;
	max-width: calc(100% - 3rem);
}
.heading-details a {
	font-weight: 500;
	text-decoration: underline;
	color: var(--brown);
}

/* ----- EVENT LIST STYLING ----- */
.list {
	width: 75%;
	max-width: 1400px;
	margin-top: 3rem;
	margin-bottom: 6rem;
	display: flex;
	flex-direction: column;
}
.event {
	border-radius: 8px;
	overflow: hidden;
	height: 480px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-bottom: 3rem;
}
.event:nth-child(even) .event-info {
	order: -1;
	border-radius: 8px 0 0 8px;
}
.image-container {
	height: 100%;
	width: 100%;
	overflow: hidden;
}
.image-container img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}
.event-info {
	border: 2px solid var(--brown);
	border-radius: 0 8px 8px 0;
	padding: 1rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.event-name {
	font-weight: 500;
	font-size: 2rem;
	line-height: 1.1;
	margin-bottom: 0.5rem;
}
.event-info hr {
	border: 0;
	border-top: 2px solid var(--brown);
	width: 8rem;
	margin: 1rem 0;
}
.event-links {
	display: flex;
	margin-top: 1rem;
}
.event-links a {
	font-weight: 400;
	color: var(--brown);
	text-decoration: underline;
}
.event-links a + a {
	margin-left: 1rem;
}

@media screen and (max-width: 1212px) {
	.event {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto;
		max-height: none;
		height: auto;
	}
	.image-container {
		height: calc(75vw * 0.75);
		max-height: 320px;
	}
	.event:nth-child(even) .event-info {
		order: 0;
	}
	.event-info {
		border-radius: 0 0 8px 8px !important;
	}
}
@media screen and (max-width: 700px) {
	.list {
		width: calc(100% - 3rem);
		margin-top: 2rem;
	}
	.list-header {
		top: 6rem;
		width: calc(100% - 3rem);
	}
	.event-name {
		font-size: 1.5rem;
	}
}
@media screen and (max-width: 648px) {
	h1 {
		font-size: 2rem;
		margin-top: 1rem;
	}
}
@media screen and (max-width: 580px) {
	.event-info {
		font-size: 1rem;
	}
}
