.cec-event-section {
	margin: 1.5em 0;
	padding-top: 1em;
	border-top: 1px solid #ddd;
}

.cec-section-heading {
	margin: 0 0 0.5em;
	font-size: 1.2em;
}

.cec-section-subheading {
	margin: 1em 0 0.25em;
	font-size: 1em;
}

.cec-event-datetime {
	font-weight: 600;
}

.cec-event-upcoming-dates {
	margin: 0;
	padding-left: 1.5em;
}

.cec-event-upcoming-dates .cec-event-cancelled {
	text-decoration: line-through;
	color: #777;
}

.cec-event-cancelled-badge {
	text-decoration: none;
	color: #b32d2e;
	font-size: 0.85em;
	font-weight: 600;
}

.cec-event-categories {
	margin: 0.5em 0 0;
}

.cec-category-badge {
	display: inline-block;
	margin: 0 0.4em 0.4em 0;
	padding: 0.15em 0.7em;
	border: 1px solid var(--cec-event-color, #2271b1);
	border-radius: 1em;
	background: color-mix(in srgb, var(--cec-event-color, #2271b1) 12%, #fff);
	color: inherit;
	text-decoration: none;
	font-size: 0.85em;
}

.cec-category-icon {
	display: inline;
	font-style: normal;
	line-height: 1;
	margin-right: 0.2em;
	vertical-align: middle;
}

img.cec-category-icon {
	display: inline-block;
	height: 1.1em;
	width: auto;
}

.cec-event-location p,
.cec-event-details p {
	margin: 0.25em 0;
}

.cec-location-name {
	font-weight: 600;
}

.cec-get-directions {
	display: inline-block;
	margin-top: 0.25em;
}

.cec-map {
	height: 300px;
	max-width: 100%;
	margin: 0.75em 0 0.25em;
	border-radius: 4px;
}

.cec-map-consent-placeholder {
	height: 300px;
	max-width: 100%;
	margin: 0.75em 0 0.25em;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-align: center;
	padding: 1em;
	box-sizing: border-box;
}

.cec-map-consent-note {
	margin: 0 0 0.75em;
	color: #555;
}

.cec-map-load-btn {
	padding: 0.4em 1.2em;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	font-size: 0.95em;
}

.cec-map-load-btn:hover {
	background: #135e96;
}

.cec-upcoming-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cec-upcoming-item {
	display: flex;
	gap: 0.75em;
	padding: 0.4em 0;
	border-bottom: 1px solid #eee;
	flex-wrap: wrap;
	align-items: baseline;
}

.cec-upcoming-item:last-child {
	border-bottom: none;
}

.cec-upcoming-date {
	flex-shrink: 0;
	color: #555;
	font-size: 0.9em;
}

.cec-event-navigation {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1em;
}

.cec-event-nav-prev,
.cec-event-nav-next {
	font-weight: 600;
}
