/*
 * Upcoming Event (Event > Upcoming): scheduled event cards pulled from
 * the `event` CPT via ppifrada_get_upcoming_events(-1).
 */

.pf-event-feature-list {
	display: grid;
	gap: 30px;
}

.pf-event-feature {
	position: relative;
	border-radius: 30px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(30, 30, 30, .06);
	box-shadow: 0 1px 2px rgba(30, 30, 30, .04), 0 40px 90px -50px rgba(30, 30, 30, .45);
	display: grid;
	grid-template-columns: 1fr 1.05fr;
}

.pf-event-feature__media {
	position: relative;
	min-height: 360px;
	background: #0a2a1a;
}

.pf-event-feature__media img,
.pf-event-feature__media .pf-image-slot {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pf-event-feature__tag {
	position: absolute;
	top: 20px;
	left: 20px;
	padding: 8px 15px;
	border-radius: 999px;
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .04em;
	box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5);
}

.pf-event-feature__body {
	padding: clamp(30px, 4vw, 52px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.pf-event-feature__date {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: #009B4D;
	margin-bottom: 14px;
}

.pf-event-feature__title {
	font-weight: 700;
	font-size: clamp(1.9rem, 3.6vw, 2.8rem);
	letter-spacing: -.025em;
	color: var(--pf-ink);
}

.pf-event-feature__text {
	margin-top: 16px;
	font-size: 1.08rem;
	line-height: 1.7;
	color: var(--pf-muted);
	font-weight: 500;
}

.pf-event-feature__actions {
	display: flex;
	gap: 14px;
	margin-top: 30px;
	flex-wrap: wrap;
}

@media (max-width: 880px) {
	.pf-event-feature {
		grid-template-columns: 1fr;
	}
}
