.scout_events_feed_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.scout_events_feed_item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5em 1em;
	padding: 0.85em 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.scout_events_feed_item:last-child {
	border-bottom: none;
}

.scout_events_feed_item_title {
	font-weight: 600;
	text-decoration: none;
	color: inherit;
	flex: 1 1 auto;
	min-width: 12em;
}

.scout_events_feed_item_title:hover {
	text-decoration: underline;
}

.scout_events_field {
	font-size: 0.9em;
	opacity: 0.8;
	white-space: nowrap;
}

.scout_events_field_location {
	white-space: normal;
	width: 100%;
}

.scout_events_field_label {
	font-weight: 600;
	opacity: 0.85;
}

.scout_events_pill {
	display: inline-block;
	padding: 0.2em 0.7em;
	border-radius: 999px;
	font-size: 0.8em;
	font-weight: 600;
	color: #fff;
	line-height: 1.6;
}

.scout_events_feed_empty {
	opacity: 0.6;
	font-style: italic;
}

.scout_events_feed_placeholder {
	padding: 1em;
	opacity: 0.6;
	font-style: italic;
}

/* Events Calendar */
.scout_events_calendar_nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 0.75em;
	gap: 1em;
}

.scout_events_calendar_title {
	margin: 0;
	flex: 1;
	text-align: center;
}

.scout_events_calendar_nav_prev,
.scout_events_calendar_nav_next {
	text-decoration: none;
	color: inherit;
	font-weight: 600;
	font-size: 0.9em;
	white-space: nowrap;
	padding: 0.3em 0.6em;
	border-radius: 4px;
}

.scout_events_calendar_nav_prev:hover,
.scout_events_calendar_nav_next:hover {
	background: rgba(0, 0, 0, 0.06);
}

.scout_events_calendar_grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1px;
	background: rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.scout_events_calendar_weekday {
	background: rgba(0, 0, 0, 0.03);
	padding: 0.5em;
	font-size: 0.8em;
	font-weight: 600;
	text-align: center;
}

.scout_events_calendar_cell {
	background: #fff;
	min-height: 6em;
	padding: 0.4em;
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.scout_events_calendar_cell--blank {
	background: rgba(0, 0, 0, 0.02);
}

.scout_events_calendar_daynum {
	font-size: 0.8em;
	opacity: 0.6;
}

.scout_events_calendar_event {
	display: block;
	font-size: 0.78em;
	line-height: 1.3;
	text-decoration: none;
	color: inherit;
	padding: 0.15em 0.3em;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.04);
}

.scout_events_calendar_event:hover {
	background: rgba(0, 0, 0, 0.08);
}

.scout_events_calendar_placeholder,
.scout_events_filter_placeholder {
	padding: 1em;
	opacity: 0.6;
	font-style: italic;
}

/* Events Filter */
.scout_events_filter_form {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	align-items: flex-start;
}

.scout_events_filter_group {
	border: none;
	margin: 0;
	padding: 0;
	min-width: 10em;
}

.scout_events_filter_group legend {
	font-weight: 600;
	font-size: 0.85em;
	margin-bottom: 0.4em;
	padding: 0;
}

.scout_events_filter_option {
	display: block;
	font-size: 0.85em;
	margin-bottom: 0.2em;
	font-weight: normal;
}

.scout_events_filter_submit {
	align-self: flex-end;
}

/* Events Page */
.scout_events_page_title {
	margin: 0 0 0.5em;
}

.scout_events_page_fields {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1.25em;
	align-items: center;
	margin-bottom: 1.5em;
	padding-bottom: 1em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.scout_events_page_content {
	line-height: 1.6;
}

.scout_events_page_empty,
.scout_events_page_placeholder {
	padding: 1em;
	opacity: 0.6;
	font-style: italic;
}
