.fly-latest-events{
	display: flex;
	gap: 34px;
	margin-bottom: 25px;
}

.fly-event-item{
	flex: 1;
	display: flex;
	flex-direction: column;
	border-radius: 6px;
	border: 1px solid #0000002B;
}

.fly-event-item a {
	text-align: center;
}

.fly-event-item img{
	border-radius: 6px;
}

.fly-event-item .fly-event-content{
	padding: 28px 35px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	flex-grow: 1;
}

.fly-event-item .fly-event-icon-wrapper{
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.fly-event-item .fly-event-icon-wrapper div{
	display: flex;
	align-items: center;
	gap: 15px;
	font-weight: 500;
}

.fly-event-item p{
	margin: 0;
}

.fly-event-item p:not(.large){
	color: #47494C;
}

.fly-event-learn-more{
	align-self: end;
	margin-top: auto !important;
}

.fly-event-learn-more a{
	display: flex;
	align-items: center;
	gap: 8px;
	text-underline-offset: 2px;
}

.fly-event-learn-more a:after{
	content: '';
	background: url(/wp-content/themes/fly-athletics/assets/arrow.svg) no-repeat;
	background-position: center;
	background-size: contain;
	width: 24px;
	height: 18px;
	margin-bottom: -5px;
}

.events-archive{
	padding-top: 30px;
}

.events-archive .fly-latest-events{
	flex-wrap: wrap;
}

.events-archive .fly-event-item{
	--count: 3;
	width: calc((100% - (34px * (var(--count) - 1))) / var(--count));
	flex: unset;
}

@media screen and (max-width: 849px){
	.fly-event-item{
		display: none;
		border: none;
	}
	
	.fly-event-item:first-child,
	.events-archive .fly-event-item{
		display: block;
	}
	
	.events-archive .fly-event-item{
		width: 100%;
	}
	
	.fly-event-item .fly-event-content{
		padding: 25px 0;
	}
	
	.fly-event-learn-more{
		align-self: start;
	}

	.fly-event-learn-more a:after{
		width: 16px;
		height: 12px;
	}
}