/* MH Events — Public Styles */

/* -------------------------------------------------------------------------
 * Events grid
 * ---------------------------------------------------------------------- */

.mh-events-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 280px, 1fr ) );
	gap: 1.5rem;
}

/* -------------------------------------------------------------------------
 * Event card
 * ---------------------------------------------------------------------- */

.mh-event-card {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.mh-event-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
	transform: translateY(-3px);
}

/* Thumbnail */
.mh-event-card__image {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}

.mh-event-card__image--placeholder {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
}

/* Body */
.mh-event-card__body {
	padding: 1.25rem;
	flex: 1;
}

.mh-event-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.mh-event-card__title a {
	color: inherit;
	text-decoration: none;
}

.mh-event-card__title a:hover {
	text-decoration: underline;
}

.mh-event-card__meta {
	font-size: 0.875rem;
	color: #6b7280;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.mh-event-card__excerpt {
	font-size: 0.9rem;
	color: #4b5563;
	line-height: 1.5;
	margin: 0 0 0.75rem;
}

.mh-event-card__price {
	font-size: 1rem;
	font-weight: 700;
	color: var(--mh-primary, #2c3e50);
}

/* Footer */
.mh-event-card__footer {
	padding: 0 1.25rem 1.25rem;
}

/* Sold-out badge */
.mh-badge--sold-out {
	display: inline-block;
	padding: 0.375rem 0.875rem;
	border-radius: 9999px;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 0.875rem;
	font-weight: 600;
}

/* Empty state */
.mh-events-empty {
	padding: 2rem;
	text-align: center;
	color: #6b7280;
	font-style: italic;
}
