/* Simple Event Manager — Front-end styles */

.sem-event-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 24px 0;
	justify-content: center;
}

.sem-event-card {
	position: relative;
	flex: 0 0 calc(50% - 12px);
	background: #ffffff;
	border: 1px solid #e6e6ea;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(16, 16, 20, 0.06);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sem-event-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(16, 16, 20, 0.1);
}

.sem-event-date-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: #1f2937;
	color: #fff;
	border-radius: 10px;
	width: 56px;
	height: 56px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.1;
	z-index: 2;
}

.sem-badge-month {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.85;
}

.sem-badge-day {
	font-size: 20px;
	font-weight: 700;
}

.sem-event-body {
	padding: 24px;
	padding-top: 85px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}

.sem-event-title {
	margin: 0 !important;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
}

.sem-event-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sem-meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: #4b5563;
}

.sem-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: #6b7280;
}

.sem-event-desc {
	font-size: 14px;
	color: #374151;
	line-height: 1.55;
}

.sem-event-desc p {
	margin: 0 0 8px;
}

.sem-event-desc p:last-child {
	margin-bottom: 0;
}

.sem-register-btn {
	display: inline-block;
	margin-top: auto;
	padding: 15px 30px;
	background: #FEA406;
	color: #ffffff !important;
	font-weight: 600;
	font-size: 14px;
	text-align: center;
	text-decoration: none !important;
	border-radius: 8px;
	transition: background 0.15s ease;
}

.sem-register-btn:hover {
	background: #003349;
	color: #ffffff !important;
}

.sem-no-events {
	color: #6b7280;
	font-style: italic;
}

/* Responsive: stack nicely on small screens */
@media (max-width: 480px) {
	.sem-event-card {
		flex: 1 1 100%;
		max-width: 100%;
	}
}
