.eeg-event-calendar {
	margin: 1.5em 0;
}

.eeg-event-calendar:not(.eeg-event-calendar--tabs) .eeg-event-section + .eeg-event-section {
	margin-top: 2em;
}

.eeg-event-section__heading {
	margin: 0 0 0.75em;
	font-size: 1.25em;
}

.eeg-tabs {
	display: flex;
	gap: 0.25em;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 1em;
}

.eeg-tab {
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: 0.6em 1em;
	font: inherit;
	color: inherit;
	cursor: pointer;
	margin-bottom: -1px;
}

.eeg-tab:hover,
.eeg-tab:focus {
	color: #000;
}

.eeg-tab.is-active {
	border-bottom-color: currentColor;
	font-weight: 600;
}

[data-eeg-tabs] [role="tabpanel"][hidden] {
	display: none;
}

.eeg-event-section__empty {
	margin: 0;
	color: #666;
	font-style: italic;
}

.eeg-event-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eeg-event-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75em;
	padding: 0.75em 0;
	border-bottom: 1px solid #e5e5e5;
}

.eeg-event-item__date {
	flex: 0 0 auto;
	min-width: 9em;
	font-weight: 600;
}

.eeg-event-item__time {
	font-weight: 400;
	color: #555;
}

.eeg-event-item__title {
	flex: 1 1 auto;
}

.eeg-event-item__ical {
	flex: 0 0 auto;
	font-size: 0.9em;
	text-decoration: none;
}
