/* Website-Suche (ke_search) – Lupe im Header und Ergebnisseite. Seit 05.11.2026. */

/* Lupe im Header */
.wsv-suche-kopf { position: relative; display: flex; align-items: center; margin: 0 18px 0 6px; }
.wsv-suche-btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #09162a; background: #fff; color: #09162a; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; text-decoration: none; }
.wsv-suche-btn:hover, .wsv-suche-btn[aria-expanded="true"] { background: #09162a; color: #fff; }
.wsv-suche-panel { position: absolute; top: calc(100% + 18px); right: -160px; width: 460px; max-width: calc(100vw - 32px); background: #fff; box-shadow: 0 10px 30px rgba(9, 22, 42, .18); border-top: 4px solid #1face1; padding: 20px 22px 22px; z-index: 1000; text-align: left; }
.wsv-suche-panel[hidden] { display: none; }
.wsv-suche-panel label, .wsv-suche-label { display: block; font-weight: 600; color: #09162a; margin-bottom: 8px; font-size: 15px; }
.wsv-suche-row { display: flex; gap: 8px; }
.wsv-suche-row input[type="search"] { flex: 1; min-width: 0; height: 48px; border: 2px solid #09162a; border-radius: 0; padding: 0 14px; font-size: 16px; color: #09162a; background: #fff; }
.wsv-suche-row button { height: 48px; padding: 0 20px; background: #09162a; color: #fff; border: 0; font-weight: 600; font-size: 15px; cursor: pointer; }
.wsv-suche-row button:hover { background: #1face1; }
.wsv-suche-hint { margin: 10px 0 0; font-size: 14px; color: #4a4f57; line-height: 1.4; }

/* Smartphone/Tablet (< 1200 px): Lupe zwischen Logo und Menü-Button. Bezugsrahmen ist wie beim
   Menü-Button header.site-header (Button: right 15px, top 34px, translateY(-50%), 49 px breit). */
@media (max-width: 1199px) {
    .wsv-suche-kopf { position: static; margin: 0; }
    .wsv-suche-btn { position: absolute; right: 68px; top: 34px; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; font-size: 21px; z-index: 5; }
    .wsv-suche-btn:hover, .wsv-suche-btn[aria-expanded="true"] { background: #09162a; color: #fff; border-radius: 50%; }
    .wsv-suche-panel { position: absolute; top: 68px; left: 16px; right: 16px; width: auto; max-width: none; }
}
/* Sehr schmale Handys: Logo etwas kleiner, damit Lupe und Menü-Button daneben passen */
@media (max-width: 400px) {
    .site-header-menu .site-title img.logo-img { max-width: 200px; height: auto; }
}

/* Ergebnisseite */
.wsv-suche form { max-width: 720px; margin-bottom: 36px; }
.wsv-suche-status { font-weight: 600; color: #09162a; margin: 0 0 16px; }
.wsv-suche-liste { list-style: none; padding: 0; margin: 0 0 30px; max-width: 860px; }
.wsv-suche-treffer { padding: 18px 0; border-bottom: 1px solid #d5dbe1; }
.wsv-suche-titel { font-size: 20px; line-height: 1.35; margin: 0 0 4px; }
.wsv-suche-titel a { color: #09162a; text-decoration: underline; text-underline-offset: 3px; }
.wsv-suche-titel a:hover { color: #1a6fb0; }
.wsv-suche-art { font-size: 14px; color: #4a4f57; margin: 0 0 6px; }
.wsv-suche-art i { margin-right: 4px; }
.wsv-suche-auszug { margin: 0; line-height: 1.6; }
.wsv-suche-auszug .hit, .wsv-suche-titel .hit { background: #fff2a8; color: inherit; font-weight: 600; padding: 0; }
.wsv-suche-leer { max-width: 720px; }
.wsv-suche-seiten .pagination { flex-wrap: wrap; gap: 6px; }
.wsv-suche-seiten .page-link { color: #09162a; border: 1px solid #09162a; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.wsv-suche-seiten .page-item.active .page-link { background: #09162a; color: #fff; }
