.cel-search-event {
	text-align: left;
}

.cel-search-event-title {
	margin: 0 0 16px;
	font-size: 22px;
}

.cel-search-event-fields {
	display: grid;
	grid-template-columns: repeat(3, 1fr) auto;
	align-items: end;
	gap: 16px;
}

.cel-search-event-field {
	min-width: 0;
}

.cel-search-event-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #666;
	margin-bottom: 6px;
}

/*
 * Scoped under .cel-search-event-fields (not just element/attribute
 * selectors) to outrank BeTheme's own blanket
 * `input[type="text"], ..., select, textarea { padding: 10px; width: 230px; ... }`
 * rule — see the identical note in taxonomy-list.css.
 */
.cel-search-event-fields input[type="text"],
.cel-search-event-fields select {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	margin: 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
	font-family: inherit;
}

.cel-search-event-submit {
	padding: 10px 22px;
	border: none;
	border-radius: 4px;
	background: #2b6cb0;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.cel-search-event-submit:hover {
	background: #24568f;
}

@media (max-width: 900px) {
	.cel-search-event-fields {
		grid-template-columns: repeat(2, 1fr);
	}
	.cel-search-event-submit {
		grid-column: span 2;
	}
}

@media (max-width: 560px) {
	.cel-search-event-fields {
		grid-template-columns: 1fr;
	}
	.cel-search-event-submit {
		grid-column: 1;
	}
}
