/**
 * Minimal baseline for [events_list] / .custom-event-listing.
 * Add theme or site CSS to build out layout and presentation.
 */

.custom-event-listing,
.custom-event-listing__items {
	display: block;
	margin: 0;
	padding: 0;
}

.custom-event-listing .event-item {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0 0 20px;
	padding: 0;
	box-sizing: border-box;
}

.custom-event-listing .event-item:last-child {
	margin-bottom: 0;
}

.custom-event-listing .event-image {
	flex: 0 0 auto;
	width: 75px;
	margin: 0;
	padding: 0;
	line-height: 0;
	overflow: hidden;
}

.custom-event-listing .event-image a {
	display: block;
	line-height: 0;
}

.custom-event-listing .event-image img {
	display: block;
	width: 75px;
	height: 75px;
	max-width: 75px;
	max-height: 75px;
	object-fit: cover;
	margin: 0;
}

.custom-event-listing .event-content {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.custom-event-listing .event-title-text,
.custom-event-listing .event-date-text {
	display: block;
	margin: 0;
	padding: 0;
}

.custom-event-listing .event-title-text + .event-date-text {
	margin-top: 0.15rem;
}

.custom-event-listing .event-image:empty,
.custom-event-listing .event-image a:empty {
	display: none;
}
