/* Full-text passage search (scripts/site_search.py + js/site-search.js, 2026-11-09; Google-style results 13:50)
   Header: one clear search box – icon, input, visible "Suche" button – in its own row on phones/tablets.
   Results: light panel, each result = URL line (uno.team › …), title (link to the passage), highlighted snippets. */
.hs{position:relative;flex:0 1 340px;min-width:0;margin:0 12px 0 auto;font-family:Inter,Poppins,Arial,sans-serif}
.site-header .hs{margin:0 12px}
.hs-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.hs-box{display:flex;align-items:center;gap:4px;height:44px;box-sizing:border-box;padding:0 4px 0 0;border:1.5px solid rgba(22,17,29,.22);border-radius:999px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' fill='none' stroke='%2316111d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7.5' cy='7.5' r='5.8'/%3E%3Cpath d='m11.9 11.9 3.8 3.8'/%3E%3C/svg%3E") no-repeat 14px 50%;
  transition:border-color .15s,box-shadow .15s}
.hs-box:focus-within{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.22)}
.hs-q{flex:1 1 auto;min-width:0;height:100%;margin:0;padding:0 6px 0 40px;border:0;background:transparent;color:#16111d;
  font:500 15px/1 Inter,Poppins,Arial,sans-serif;-webkit-appearance:none;appearance:none;outline:none;text-overflow:ellipsis}
.hs-q::placeholder{color:#5b5466;opacity:1}
.hs-q::-webkit-search-cancel-button{display:none}
.hs-go{flex:none;height:34px;padding:0 16px;border:0;border-radius:999px;background:#7c3aed;color:#fff;font:600 14px/1 Inter,Poppins,Arial,sans-serif;cursor:pointer}
.hs-go:hover{background:#6d28d9}
.hs-go:focus-visible,.hs-clear:focus-visible,.hs-close:focus-visible{outline:3px solid #c4b5fd;outline-offset:2px}

/* results panel: light, roomy, scrollable */
.hs-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:1000;box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-height:min(72vh,720px);
  overflow:auto;overscroll-behavior:contain;padding:0 22px 14px;border:1px solid #e4dcf3;border-radius:18px;background:#fff;color:#1f1f1f;
  box-shadow:0 22px 60px rgba(22,17,29,.18);text-align:left}
.hs-panel[hidden]{display:none}
.hs-bar{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 -22px 4px;padding:12px 16px 10px 22px;
  background:#fff;border-bottom:1px solid #eee8f7}
.hs-count{font:600 14px/1.35 Inter,Arial,sans-serif;color:#3c3446}
.hs-acts{display:flex;align-items:center;gap:6px;flex:none}
.hs-clear{padding:6px 12px;border:1px solid #d8cdee;border-radius:999px;background:#fff;color:#6d28d9;font:600 13px/1.2 Inter,Arial,sans-serif;cursor:pointer}
.hs-clear:hover{background:#f6f1ff}
.hs-close{width:34px;height:34px;border:0;border-radius:50%;background:#f3effb;color:#3c3446;font:400 22px/1 Inter,Arial,sans-serif;cursor:pointer}
.hs-close:hover{background:#ede9fe}
.hs-list,.hs-snips,.ft-other-list{list-style:none;margin:0;padding:0}

/* one Google-style result (header panel, "Auch auf anderen Seiten", passages under Thought cards) */
.hs-hit{padding:14px 0;border-bottom:1px solid #f0ebf8}
.hs-hit:last-child{border-bottom:0}
.hs-url{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 0 3px;font:400 13px/1.4 Inter,Arial,sans-serif;color:#2f6f4f}
.hs-title{display:inline-block;color:#5b21b6;font:600 18px/1.35 Montserrat,Inter,Arial,sans-serif;text-decoration:none}
.hs-title:hover,.hs-title:focus-visible{text-decoration:underline;text-underline-offset:3px}
.hs-title:focus-visible{outline:3px solid #c4b5fd;outline-offset:2px;border-radius:4px}
.hs-snips li{margin-top:7px}
.hs-snips a{display:block;padding:8px 12px;border-left:3px solid #7c3aed;border-radius:0 10px 10px 0;background:#f8f5fe;color:#3a3442;
  font:400 14.5px/1.55 Inter,Poppins,Arial,sans-serif;text-decoration:none}
.hs-snips a:hover{background:#efe8fd;color:#16111d}
.hs-snips a:focus-visible{outline:3px solid #c4b5fd;outline-offset:2px}
.hs-panel mark,.hs-snips mark,.hs-title mark{background:#fde68a;color:#16111d;border-radius:3px;padding:0 2px}

/* phones + tablets: the search box gets its own header row (between logo/language row and menu), never overlapping */
@media screen and (max-width:991px){
  .navbar-container{flex-wrap:wrap}
  .navbar-container>.hs{order:10;flex:1 1 100%;margin:2px 16px 12px 0}
  body:has(.navbar.w-nav>.navbar-container>.hs){padding-top:58px}
  .site-header .header-inner{flex-wrap:wrap}
  .site-header .hs{order:2;flex:1 1 100%;margin:2px 0}
  .hs-panel{left:0;right:0;width:auto;max-height:calc(100vh - 190px);padding:0 16px 12px}
  .hs-bar{margin:0 -16px 4px;padding:10px 10px 8px 16px}
  .hs-q{font-size:16px}
  .hs-title{font-size:17px}
}

/* overview search (/ru/thoughts/, /uk/thoughts/) + the full-text layer of the Repository search */
.ov-search{position:relative;margin:28px 0 0}
.ov-search input{box-sizing:border-box;width:100%;height:52px;padding:0 18px 0 46px;border:2px solid rgba(124,58,237,.35);border-radius:16px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2316111d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m12.6 12.6 4 4'/%3E%3C/svg%3E") no-repeat 16px 50%;
  font:500 17px/1.2 Montserrat,Inter,Arial,sans-serif;color:#0f172a;-webkit-appearance:none;appearance:none}
.ov-search input:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 4px rgba(124,58,237,.18)}
.ov-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;margin:10px 0 0;padding:10px 14px;border-radius:12px;background:#f3effb;font-size:15px}
.ov-status[hidden]{display:none}
.ov-status a{color:#6d28d9;font-weight:600}
.ov-clear{border:0;background:none;color:#6d28d9;text-decoration:underline;cursor:pointer;font:inherit;font-weight:600;padding:4px 0}
.ft-snip{margin:-2px 0 6px;padding:0 6px}
.ft-snip .hs-url{margin:8px 0 0}
.ov-other{margin:28px 0 8px;padding:6px 22px 8px;border-radius:18px;background:#fff;border:1px solid #e4dcf3;box-shadow:0 8px 30px rgba(22,17,29,.06)}
.ov-other[hidden]{display:none}
.ft-other-h{margin:14px 0 2px;font:700 18px/1.3 Montserrat,Inter,Arial,sans-serif;color:#16111d}
@media (prefers-reduced-motion:reduce){.hs-box{transition:none}}
