div.main-container {
	padding-bottom: 100px;
}

.top-section {
	margin-bottom: 30px;
}

.top-section h1 {
	font-weight: 700;
	font-size: 28px;
	line-height: 160%;
	letter-spacing: -0.02em;
	color: rgb(38, 25, 25);
}

.event-card-wrapper {
	height: 100%;
}

ul.event-card {
	gap: unset !important;
}

.event-card li {
	display: inline-block;
	height: auto;
	vertical-align: top;
	padding: 0px 15px;
	margin-bottom: 45px;
}

.event-card li figure {
	position: relative;
	width: 100%;
	height: 0px;
	padding-bottom: 71.3%;
	border: 1px solid rgb(238, 238, 238);
	border-radius: 10px;
	margin-bottom: 14px;
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: unset !important;
}

.event-card li img {
	position: absolute;
	height: 100%;
}

.card-title h2 {
	font-weight: 700;
	font-size: 20px;
	line-height: 160%;
	letter-spacing: -0.02em;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.card-title time {
	display: inline-block;
	font-weight: 400;
	font-size: 14px;
	line-height: 160%;
	letter-spacing: -0.02em;
	margin-top: 6px;
	color: rgb(153, 153, 153);
	white-space: nowrap;
}

.card-title h2 a {
	display: inline;
}

.pagenum-wrapper {
	position: relative;
	display: inline-block;
	left: 50%;
	transform: translateX(-50%) !important;
}

.pagenum {
	display: flex;
	-webkit-box-pack: justify;
	justify-content: space-between !important;
	-webkit-box-align: center;
	align-items: center;
	gap: unset !important;
}

.page-number {
	padding: 0px 13px;
	margin: 0 !important;
	display: flex;
}

.page-number .page-numbers {
	font-weight: 600;
	margin: 0px 13px;
	font-size: 14px;
	line-height: 21px;
	letter-spacing: -0.03em;
	cursor: pointer;
	width: 14px;
	display: block;
	text-align: center;
}

.page-number .page-numbers.current {
	border-bottom: 1px solid rgb(124, 90, 255);
	color: rgb(124, 90, 255);
	cursor: none !important;
	pointer-events: none;
}

.pagenum-wrapper .button {
	width: 7px;
	height: 13px;
	background-position: center center;
	background-repeat: no-repeat;
	transition: 0.4s;
	cursor: pointer !important;
	margin: unset !important;
}

.page-prev-button {
	background-image: url(/images/page-arrow.svg);
	background-position: center center;
	transform: rotate(180deg);
	cursor: pointer;
}

.page-next-button {
	background-image: url(/images/page-arrow.svg);
	background-position: center center;
	cursor: pointer;
}

@media (max-width: 770px) {
	div.main-container {
		overflow: hidden;
		padding: 80px 0px 0px;
	}

	div.main-container-inner {
		padding: unset;
		margin: -20px 20px 0px !important;
	}

	div.main-container {
		padding: 30px 20px 0px;
	}

	.top-section {
		margin-bottom: 20px;
	}

	.top-section h1 {
		font-size: 22px;
	}

	.event-card {
		display: block !important;
	}

	.event-card li {
		width: 100%;
		margin-bottom: 30px;
		padding: 0px;
	}
	.event-card li figure {
		margin-bottom: 10px;
		border: 1px solid rgb(238, 238, 238);
	}

	.card-title h2 {
		font-size: 16px;
	}

	.card-title time {
		font-size: 12px;
		margin-top: 4px;
	}

	.pagenum-wrapper {
		transform: scale(0.9, 0.9);
		margin-bottom: 50px !important;
	}
}