/* CSS for SeaNeB Event Card Widget */

.seaneb-event-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px; /* Overridden by Elementor variables */
}

.seaneb-event-card {
	display: flex;
	flex-direction: column;
	position: relative;
	background-color: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 30px;
	text-decoration: none;
	color: inherit;
	transition: all 0.4s ease;
	--card-hover-translate-y: -5px;
	overflow: hidden;
}

.seaneb-event-card:hover {
	transform: translateY(var(--card-hover-translate-y));
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	z-index: 1;
}

.seaneb-event-card__media-wrap {
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	transition: all 0.3s ease;
}

.seaneb-event-card__icon {
	color: #0f172a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.4s ease;
}

.seaneb-event-card__icon i {
	font-size: 40px;
	transition: all 0.4s ease;
}

.seaneb-event-card__icon svg {
	width: 40px;
	height: 40px;
	transition: all 0.4s ease;
}

.seaneb-event-card__image {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.4s ease;
	width: 100%;
}

.seaneb-event-card__image img {
	width: 100%;
	height: auto;
	display: block;
	transition: all 0.4s ease;
}

.seaneb-event-card__image::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	transition: all 0.4s ease;
	pointer-events: none;
}

.seaneb-event-card__title {
	font-size: 20px;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 12px;
	color: #0f172a;
	transition: color 0.4s ease;
}

.seaneb-event-card__desc {
	font-size: 15px;
	line-height: 1.6;
	color: #64748b;
	margin-bottom: 0;
	transition: color 0.4s ease;
}

.seaneb-event-card__desc p {
	margin: 0;
}

/* Base Responsive rules if Elementor variables are not active */
@media (max-width: 1024px) {
	.seaneb-event-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.seaneb-event-card-grid {
		grid-template-columns: 1fr;
	}
}
