/**
 * Base rules for two parts of the native chrome that began as Elementor
 * templates: the header's make / model / category bar (functions.php
 * [header-make-search]) and the footer newsletter form (inc/chrome.php
 * u17_subscribe_form), plus the hidden screen-reader text.
 *
 * These were first copied verbatim from Elementor's files (frontend.css, the
 * site kit post-3178.css, PRO Elements' widget-form.min.css). On 2026-09-26 the
 * markup moved to u17 class names and only the declarations that still took
 * effect were kept, with the same specificity where another rule competes
 * (the parent theme's reset, u17-chrome.css). Checked by comparing every
 * computed style of both parts, at 1920–390px, at rest, focused and hovered.
 *
 * Loaded just before the child theme's style.css; u17-chrome.css builds on it.
 * The Subscribe button text also keeps `elementor-button-text`: GTM-KCHBTS9's
 * click trigger matches that class. Nothing here styles it.
 */

/* ---------- hidden text (screen readers only) ---------- */

.screen-reader-text,
.screen-reader-text span,
.ui-helper-hidden-accessible {
	position: absolute;
	top: -10000em;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* ---------- header: make / model / category bar ---------- */

.u17-finder,
.u17-finder__inner,
.u17-finder__form,
.u17-finder__row {
	position: relative;
}

.u17-finder__wrap,
.u17-finder__col {
	position: relative;
	min-height: 1px;
}

/* each field's column lays out its select / button */
.u17-finder__col {
	display: flex;
}

/* ---------- footer: newsletter form ---------- */

.u17-subscribe__fields {
	display: flex;
	flex-wrap: wrap;
}

.u17-subscribe__group {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	min-height: 1px;
}

.u17-subscribe__group--submit {
	align-items: flex-end;
}

.u17-subscribe__label {
	cursor: pointer;
}

.u17-subscribe__input {
	min-height: 40px;
}

.u17-subscribe__group .u17-subscribe__input {
	flex-basis: 100%;
	flex-grow: 1;
	max-width: 100%;
	vertical-align: middle;
}

.u17-subscribe__group .u17-subscribe__input:focus {
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
	outline: 0;
}

.u17-subscribe__group .u17-subscribe__input::placeholder {
	color: inherit;
	font-family: inherit;
	opacity: 0.6;
}

.u17-subscribe__btn {
	min-height: 40px;
	fill: #fff;
	text-align: center;
	transition: all 0.3s;
}

.u17-subscribe__btn span {
	text-decoration: inherit;
}

.u17-subscribe__btn-inner {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 5px;
}

.u17-subscribe__btn-text {
	display: inline-block;
	white-space: normal;
}
