/* CMG Events Archive — uses Kadence CSS custom properties */

.cmg-events-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.cmg-event-card {
	display: flex;
	align-items: center;
	gap: var(--global-sm-spacing, 1.5rem);
	padding: calc(var(--global-sm-spacing, 1.5rem) * 0.667) 0;
	border-bottom: 1px solid var(--global-palette7, #e5e7eb);
}

.cmg-event-card:last-child {
	border-bottom: none;
}

.cmg-event-badge {
	flex: 0 0 54px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--global-palette1, #1a5276);
	color: #fff;
	border-radius: 6px;
	padding: 6px 4px;
	min-height: 54px;
	text-align: center;
}

.cmg-event-badge-month {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
	opacity: .85;
}

.cmg-event-badge-day {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
}

.cmg-event-info {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.cmg-event-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--global-palette3, #1a1a1a);
	text-decoration: none;
	line-height: 1.3;
}

a.cmg-event-title:hover {
	color: var(--global-palette1, #1a5276);
	text-decoration: underline;
}

.cmg-event-meta {
	font-size: 13px;
	color: var(--global-palette6, #6b7280);
	line-height: 1.4;
}

.cmg-event-sep {
	margin: 0 6px;
}

.cmg-event-arrow {
	flex: 0 0 auto;
}

.cmg-event-arrow a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid var(--global-palette1, #1a5276);
	color: var(--global-palette1, #1a5276);
	font-size: 16px;
	text-decoration: none;
	transition: background .15s, color .15s;
}

.cmg-event-arrow a:hover {
	background: var(--global-palette1, #1a5276);
	color: #fff;
}

@media (max-width: 600px) {
	.cmg-event-card {
		gap: 12px;
	}

	.cmg-event-badge {
		flex: 0 0 46px;
		min-height: 46px;
	}

	.cmg-event-badge-day {
		font-size: 22px;
	}

	.cmg-event-title {
		font-size: 15px;
	}

	.cmg-event-arrow {
		display: none;
	}
}
