.filter-container{
	padding-top: var(--wp--custom--spacer--lg);
}
.event-filter-controls {
	display: grid;
	gap: 1rem;
}

.event-date-filter-field {
	min-width: 0;
}

.event-date-filter-field select,
.event-date-filter-field input {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

@media (min-width: 601px) {
	.event-filter-controls {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.event-search-field {
		grid-column: 1 / -1;
	}
}

@media (min-width: 900px) {
	.event-filter-controls {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.event-filter-controls {
		grid-template-columns: minmax(0, 1fr);
	}
}

.event-search-control {
	position: relative;
}

.event-search-control input[type="search"] {
	box-sizing: border-box;
	padding-right: 3rem;
	width: 100%;
}

.event-search-submit {
    align-items: center;
    background: transparent;
    display: flex;
    height: 100%;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 2.75rem;
}

.event-search-submit .fa {
	font-size: 1.125rem;
}

.event-search-submit:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -3px;
}

.event-filter-active-controls{
	border-top: 1px solid var(--wp--custom--light--1);
    margin-top: 20px;
}

.event-active-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.event-active-filter-remove {
	background-color: transparent!important;
	padding: 0!important;
	color: var(--wp--custom--primary--main);
	text-transform: none!important;
}

.event-active-filter-remove:not(:last-of-type){
	margin-right: 0.7em;
}

.event-active-filter-remove:hover {
	text-decoration: underline;
	background-color: transparent!important;
	transform: none!important;
}

.event-active-filter-remove:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.event-date-filter-clear{
	margin-top: 0.75rem;
}
