/* Featured Events
-------------------------------------------------- */
#everi-events {
	--fe-teal: #00b2a9;
	--fe-dark: #1b2822;
	--fe-radius: 4px;
	--fe-card-h: 519px;

	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 0 64px;
	font-family: 'Montserrat', sans-serif;
	color: var(--fe-dark);
}

#everi-events .event-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 28px;
	padding: 0 16px;
}

#everi-events .event-header h2 {
	font-family: 'Lovelo', 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: clamp(36px, 5vw, 65px);
	line-height: 1;
	margin: 0;
	color: white;
	text-transform: uppercase;
}

#everi-events .event-header p {
	margin: 0;
	font-size: 16px;
	color: white!important;
	display: none;
}

/* Swiper viewport
-------------------------------------------------- */
#everi-events .event-grid {
	padding: 8px 16px 16px;
}

#everi-events .swiper-slide {
	height: auto;
	display: flex;
}

/* Card
-------------------------------------------------- */
#everi-events .event-card {
	position: relative;
	width: 100%;
	height: var(--fe-card-h);
	border-radius: var(--fe-radius);
	overflow: hidden;
	background: #222;
}

#everi-events .event-card .event-image {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

#everi-events .event-card .event-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Gradient overlay for legibility */
#everi-events .event-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0) 40%,
		rgba(0, 0, 0, 0.7) 100%
	);
	pointer-events: none;
}

/* Date badge (top-right) */
#everi-events .event-card .event-date {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	background: var(--fe-teal);
	color: #fff;
	font-weight: 900;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 8px 14px;
	border-radius: var(--fe-radius);
}

#everi-events .event-card .event-date i {
	display: none;
}

/* Location pill (top-left) */
#everi-events .event-card .event-location {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	background: #fff;
	color: var(--fe-dark);
	font-weight: 600;
	font-size: 12px;
	padding: 6px 12px 6px 28px;
	border-radius: var(--fe-radius);
}

#everi-events .event-card .event-location::before {
	content: '';
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	background-color: var(--fe-dark);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/></svg>") center/contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/></svg>") center/contain no-repeat;
}

/* Let date/title/location position relative to .event-card */
#everi-events .event-card .event-content {
	display: contents;
}

/* Title overlay (bottom) */
#everi-events .event-card .event-title {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	z-index: 2;
	font-family: 'Lovelo', 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: 22px;
	line-height: 1.15;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}

/* Carousel arrows
-------------------------------------------------- */
#everi-events .fe-nav {
	position: absolute;
	top: 56px;
	right: 24px;
	display: flex;
	gap: 8px;
	z-index: 3;
}

#everi-events .fe-nav button {
	width: 44px;
	height: 44px;
	border-radius: var(--fe-radius);
	border: 2px solid #e2e2e2;
	background: #fff;
	color: var(--fe-dark);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#everi-events .fe-nav button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* Hide nav entirely when Swiper reports no overflow
   (≤2 events on desktop @ slidesPerView 2, 1 event on mobile @ slidesPerView 1.1) */
#everi-events .fe-nav:has(.swiper-button-lock) {
	display: none;
}

#everi-events .fe-nav svg {
	width: 18px;
	height: 18px;
}

/* Footer
-------------------------------------------------- */
#everi-events .event-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
	padding: 0 16px;
	justify-content: center;
}

#everi-events .event-footer .btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 30px;
	border: 1.5px solid white;
	background: transparent;
	color: white;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
}

#everi-events .event-footer a:nth-of-type(2) {
  display: none;
}

/* Responsive
-------------------------------------------------- */
@media (max-width: 768px) {
	#everi-events {
		padding: 24px 0 40px;
	}

	#everi-events .fe-nav {
		position: static;
		justify-content: flex-end;
		margin: 0 16px 12px;
	}

	#everi-events .event-card {
		height: 460px;
	}
}



/* Stage wrapper (header + nav + grid)
-------------------------------------------------- */
#everi-events .fe-stage {
	position: relative;
}