/* VIVA FAQ-Suche (includes/widgets/faq-search.php, assets/faq-search.js) */
/* the widget sits in a flex container: take the full width, otherwise it shrinks to its content */
.elementor-widget-viva-faq-search {
	width: 100%;
}
.viva-faq-search {
	max-width: 760px;
	margin: 0 auto;
}
.viva-faq-search-form {
	position: relative;
	margin: 0;
}
.viva-faq-search-label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.viva-faq-search .viva-faq-search-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 14px 54px;
	font-family: inherit;
	font-size: 20px;
	line-height: 1.4;
	color: #222;
	background: #fff;
	/* switches and fields always with a visible border (operator 2026-11-21: 70 % black) */
	border: 1px solid rgba(0, 0, 0, 0.7);
	border-radius: 5px;
	-webkit-appearance: none;
	appearance: none;
}
.viva-faq-search .viva-faq-search-input::placeholder {
	color: #6b6b6b;
	opacity: 1;
}
.viva-faq-search .viva-faq-search-input:focus {
	outline: 2px solid #222;
	outline-offset: 2px;
}
.viva-faq-search-input::-webkit-search-cancel-button,
.viva-faq-search-input::-webkit-search-decoration {
	-webkit-appearance: none;
	display: none;
}
.viva-faq-search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: #555;
	pointer-events: none;
}
.viva-faq-search .viva-faq-search-clear {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #444;
	background: transparent;
	border: 0;
	border-radius: 5px;
	cursor: pointer;
}
.viva-faq-search .viva-faq-search-clear[hidden] {
	display: none;
}
.viva-faq-search .viva-faq-search-clear:hover {
	background: #eee;
	color: #000;
}
.viva-faq-search .viva-faq-search-clear:focus-visible {
	outline: 2px solid #222;
}
.viva-faq-search-status,
.viva-faq-search-none {
	margin: 10px 0 0;
	font-size: 17px;
	line-height: 1.4;
	color: #444;
}
.viva-faq-search-status:empty {
	display: none;
}
.viva-faq-search-none[hidden] {
	display: none;
}
.viva-faq-search-none a {
	text-decoration: underline;
}
/* filtered out entries, accordions and their headings */
.viva-faq-off {
	display: none !important;
}
/* marked search words: readable in light and dark surroundings, meaning not by colour alone (bold) */
mark.viva-faq-hit {
	background: #ffe27a;
	color: #000;
	font-weight: 600;
	padding: 0 1px;
	border-radius: 2px;
}
/* version 2: "Häufig gesucht" */
.viva-faq-search-popular {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 12px 0 0;
	font-size: 16px;
	color: #444;
}
.viva-faq-search-popular[hidden] {
	display: none;
}
.viva-faq-search .viva-faq-search-chip {
	font-family: inherit;
	font-size: 15px;
	line-height: 1.3;
	padding: 5px 12px;
	color: #222;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.7);
	border-radius: 5px;
	cursor: pointer;
}
.viva-faq-search .viva-faq-search-chip:hover {
	background: #222;
	color: #fff;
}
.viva-faq-search .viva-faq-search-chip:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}
/* version 2: answers of other FAQ pages (after the last section of the page) */
.viva-faq-search-others {
	width: 100%;
	margin: 32px 0 0;
}
.viva-faq-search-others[hidden] {
	display: none;
}
.viva-faq-search-others-title {
	margin: 0 0 12px;
}
.viva-faq-search-others-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.viva-faq-search-others-list li {
	padding: 12px 4px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.viva-faq-search-others-list a {
	font-size: 20px;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.viva-faq-search-others-where {
	display: block;
	margin-top: 2px;
	font-size: 15px;
	color: #555;
}
/* version 2: FAQ answers in the site search (popup of the magnifier, assets/suche.js): first child of
   Elementor's results container, which is a flex row – wrap it so the answers sit above the results */
.e-search-results-container:has(> .viva-faq-hits) {
	flex-wrap: wrap;
}
.e-search-results-container > .viva-faq-hits {
	flex: 0 0 100%;
	box-sizing: border-box;
}
.viva-faq-hits {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 5px;
}
.viva-faq-hits[hidden] {
	display: none;
}
.viva-faq-hits-title {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #555;
}
.viva-faq-hits ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.viva-faq-hits li {
	padding: 6px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.viva-faq-hits li:first-child {
	border-top: 0;
}
.viva-faq-hits a {
	color: #222;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.viva-faq-hits small {
	display: block;
	color: #666;
	font-size: 13px;
}
@media (max-width: 767px) {
	.viva-faq-search .viva-faq-search-input {
		font-size: 18px;
		padding: 12px 48px;
	}
	.viva-faq-search-icon {
		left: 14px;
	}
}
