/**
 * Events archive page (motherland plugin).
 *
 * Page frame for /events/ — cards, CTAs and the empty state come from
 * components.css. Derived from the homepage design system (ADR 0001).
 */

.ml-archive {
	padding: 32px var(--gutter) 60px;
}

/* The shared empty state carries its own gutter margin for the homepage
   band; inside the padded archive frame that would double the inset. */
.ml-archive .ml-events__empty {
	margin-left: 0;
	margin-right: 0;
}

.ml-archive__intro {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(244, 241, 234, 0.66);
}

.ml-archive__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px 20px;
	padding-top: 28px;
}

/* Full-width mobile cards keep the 4:5 flyer ratio instead of the
   homepage carousel's fixed height. */
.ml-archive .ml-event__flyer {
	height: auto;
	aspect-ratio: 4 / 5;
}

.ml-archive .ml-events__empty {
	margin: 28px 0 0;
}

@media (min-width: 640px) {

	.ml-archive__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {

	.ml-archive {
		padding: 72px var(--gutter) 96px;
	}

	.ml-archive__intro {
		max-width: 420px;
		font-size: 15px;
		line-height: 1.6;
	}

	.ml-archive__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px 20px;
		padding-top: 40px;
	}

	.ml-archive .ml-events__empty {
		margin: 40px 0 0;
	}
}
