/* Rinova Site Functions - Loop Filters. Base layout only: colours, type and
   spacing are set from the widget's Style tab in Elementor. */

.rms-lf {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px;
	margin: 0;
}

.rms-lf__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.rms-lf__field--search {
	flex: 1 1 240px;
}

.rms-lf__input {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.rms-lf__button {
	display: inline-block;
	cursor: pointer;
	text-decoration: none;
}

/* The submit button is only needed when JavaScript is unavailable. */
.rms-lf--js .rms-lf__submit {
	display: none;
}

.rms-lf__status {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Applied to the Loop Grid while new results are being fetched. */
.rms-lf-loading {
	opacity: 0.5;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
	.rms-lf-loading {
		transition: none;
	}
}
