.da-events-listing-block {
	margin-top: 32px;
}

.events-listing-filter {
	background-color: #e5f4fb;
	padding: 32px;
}

.events-listing__count-text {
	color: #1c4a9f;
	font-weight: 700;
	padding-top: 16px;
}

.events-listing__count-text.hidden {
	display: none;
}

.events-listing-filter__title {
	color: #1c4a9f;
	margin-top: 0;
}

.events-listing-filter__list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.events-listing-filter__list-item {
	flex: 0 1 auto;
	margin-bottom: 0;
	padding-left: 0;
}

.editor-styles-wrapper .events-listing-filter__button,
.events-listing-filter__button {
	background-color: #fff;
	border: 1px solid #1c4a9f;
	color: #1c4a9f;
	display: inline-block;
	font-size: 1rem;
	font-weight: 500;
	padding: 0.625rem 1.5rem;
	text-decoration: none;
	text-align: center;
	transition: all 0.2s ease-out;
	width: 100%;
}
.editor-styles-wrapper .events-listing-filter__button_selected,
.events-listing-filter__button_selected {
	background-color: #1c4a9f;
	color: #fff;
}

.events-listing__list-item {
	display: none;
}

.events-listing__list-item.selected {
	display: block;
}

.events-listing {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 16px;
	justify-items: center;
	margin-bottom: 0;
	margin-top: 32px;
	margin-left: 0;
	margin-right: 0;
	padding: 0;
}

.event-card {
	--shadow-color: 0deg 0% 73%;
	--shadow: 0px 0.9px 1.4px hsl(var(--shadow-color) / 0),
		-0.1px 5.5px 8.3px hsl(var(--shadow-color) / 0.22),
		-0.2px 15.5px 23.3px hsl(var(--shadow-color) / 0.44);

	box-shadow: var(--shadow);
	padding: 24px;
}

.event-card__thumbnail {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.event-card__title {
	color: #1c4a9f;
	display: block;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	padding-bottom: 8px;
	padding-top: 16px;
	text-decoration: none;
	margin-bottom: 1rem;
}

.event-card__title:hover {
	text-decoration: underline;
}

.event-card__title_no-link:hover {
	text-decoration: none;
}

.event-card__excerpt {
	color: #1c4a9f;
}

.event-card__buttons {
	display: flex;
    flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.event-card__button {
	color: #1c4a9f;
	background-color: #ffffff;
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 32px;
	text-decoration: none;
	text-align: center;
	font-size: 0.875rem;
	font-weight: 500;
	transition: all 0.2s ease-out;
	border: 1px solid #1c4a9f;
}

.event-card__button:hover {
	color: #ffffff;
	background-color: #1c4a9f;
}

.events-listing-load-more-button {
	background-color: #1c4a9f;
	border: 1px solid #1c4a9f;
	border-radius: 32px;
	color: #ffffff;
	display: block;
	margin-top: 16px;
	margin-left: auto;
	margin-right: auto;
	padding: 0.5rem 1rem;
	text-decoration: none;
	text-align: center;
	transition: all 0.2s ease-out;
}

.events-listing-load-more-button:disabled {
	display: none;
}
