/* ===================================================================
   wifoe – Zusatz-Styles (style.css wird von index.php bereits geladen)
   Abschnitt: Smart-Search-Seite /suche (com_finder)
   =================================================================== */

/* Seitenüberschrift im Site-Stil */
.com-finder .page-header h1,
.com-finder__header h1 {
	font-family: 'Roboto Slab', sans-serif;
	font-weight: 700;
	font-size: 2rem;
	color: #212529;
	margin: 0 0 25px;
}

/* Suchformular */
.com-finder .com-finder__form {
	margin-bottom: 30px;
}

.com-finder .form-inline,
.com-finder .finder__words {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

#search-form .input-group {
	max-width: 560px;
}

#search-form .input-group input,
.com-finder .js-finder-search-query {
	width: auto;
	flex: 1 1 auto;
	height: 50px;
	font-family: 'Roboto', sans-serif;
	font-size: 1.05rem;
	color: #212529;
	background: #ffffff;
	border: 2px solid #212529 !important;
	border-right: 0 !important;
	border-radius: 0 !important;
	padding: 12px 16px;
	transition: border-color .2s ease;
}

#search-form .input-group input:focus,
.com-finder .js-finder-search-query:focus {
	outline: none;
	border-color: #009a93 !important;
	box-shadow: none;
}

#search-form .input-group button,
.com-finder button[type="submit"] {
	width: auto;
	height: 50px;
	font-family: 'Roboto', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
	background: #212529;
	border: 2px solid #212529 !important;
	border-radius: 0 !important;
	padding: 0 28px;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
}

#search-form .input-group button:hover,
#search-form .input-group button:focus,
.com-finder button[type="submit"]:hover,
.com-finder button[type="submit"]:focus {
	background: #009a93;
	border-color: #009a93 !important;
	color: #ffffff;
}

/* Ergebnis-Info ("35 Ergebnisse gefunden") */
.com-finder__explained p {
	font-size: .95rem;
	color: #6c757d;
	margin: 0 0 10px;
}

.com-finder__explained a {
	color: #009a93;
	text-decoration: none;
}

.com-finder__explained .query-required,
.com-finder__explained .term {
	color: #212529;
	font-weight: 600;
}

/* Ergebnisliste */
.com-finder__results-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.com-finder__results-list .result__item {
	padding: 26px 0;
	border: 0;
	border-bottom: 1px solid #e4e4e4;
	margin: 0;
}

.com-finder__results-list .result__item:last-child {
	border-bottom: 0;
}

.com-finder hr {
	display: none;
}

.com-finder .result__title {
	margin: 0 0 8px;
	font-family: 'Roboto Slab', sans-serif;
	font-size: 1.3rem;
	line-height: 1.35;
	font-weight: 700;
}

.com-finder .result__title-link {
	color: #212529;
	text-decoration: none;
	transition: color .2s ease;
}

.com-finder .result__title-link:hover,
.com-finder .result__title-link:focus {
	color: #009a93;
	text-decoration: none;
}

.com-finder .result__description {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	color: #4a4a4a;
}

/* Suchbegriff-Hervorhebung */
.com-finder mark,
.com-finder .highlight {
	background: rgba(0, 154, 147, .14);
	color: inherit;
	padding: 1px 3px;
}

/* Blätterfunktion */
.com-finder .pagination {
	margin-top: 35px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	padding: 0;
	justify-content: center;
}

.com-finder .pagination .page-link {
	font-family: 'Roboto', sans-serif;
	color: #212529;
	background: #ffffff;
	border: 1px solid #d5d5d5;
	border-radius: 0;
	padding: 8px 14px;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}

.com-finder .pagination .page-link:hover,
.com-finder .pagination .page-link:focus {
	background: #009a93;
	border-color: #009a93;
	color: #ffffff;
}

.com-finder .pagination .active .page-link {
	background: #212529;
	border-color: #212529;
	color: #ffffff;
}

.com-finder .pagination .disabled .page-link {
	color: #b5b5b5;
	background: #f7f7f7;
}

.com-finder .pagination__counter {
	width: 100%;
	text-align: center;
	font-size: .9rem;
	color: #6c757d;
	margin-top: 8px;
}
