.event-work-archive {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	grid-template-rows: 1fr;
	grid-column-gap: 36px;
	grid-row-gap: 36px;
}

.event-work-archive article {
	position: relative;
	padding: 24px;
	box-sizing: border-box;
	display: flex;
	align-content: center;
	justify-content: center;
	text-align: center;
	flex-wrap: wrap;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	aspect-ratio: 1;
}

.event-work-archive article::before,
.event-work-archive article::after {
	content: "";
	position: absolute;
	inset: 0;
}

.event-work-archive article::before {
	z-index: 3;
	background-color: rgba(40, 33, 31, 0.5);
}

.event-work-archive article::after {
	z-index: 5;
	background-image: url("https://nobleevents.com/wp-content/uploads/2024/06/Noble-Events-CornerCurve-2.png");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.event-work-archive article:nth-child(even)::after {
	transform: rotate(180deg);
}

.event-work-archive article * {
	z-index: 20;
}

.event-work-archive article h3 {
	text-align: center;
	color: #fff;
	padding: 0;
	display: block;
	margin: 0 0 24px;
	font-weight: 400;
	font-size: 1.5rem;
	width: 100%;
}

.event-work-archive article a {
	background-color: #2a9d8f;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 400;
	border-style: none;
	border-width: 0px;
	border-radius: 50px;
	line-height: 1.2;
	text-transform: none;
	padding: 12px 24px;
	display: inline-block;
	transition: all 0.3s ease-in-out;
}

.event-work-archive article a:hover {
	text-decoration: none;
	color: #fff;
	background-color: #1d6e64;
}

@media screen and (max-width: 768px) {
	.event-work-archive {
		grid-template-columns: repeat(1, 1fr);
		grid-auto-rows: 1fr;
		grid-template-rows: 1fr;
		grid-column-gap: 16px;
		grid-row-gap: 16px;
	}

	.event-work-archive article {
		padding: 12px;
		aspect-ratio: auto;
	}

	.event-work-archive article h3 {
		font-size: 1.25rem;
	}

	.event-work-archive article a {
		font-size: 1rem;
		padding: 12px;
	}
}
