/* Nairobi Online Findr: home-page live search + search results page.
   Uses the tokens in site.css. No transitions, transforms or animations by design. */
.hh-row>*{min-width:0}
.fr{position:relative;z-index:30;max-width:38rem;margin:0 0 1.5rem}
.fr-h{font-size:1.05rem;font-weight:700;line-height:1.3;color:var(--navy);margin-bottom:.15rem}
.fr-sub{font-size:.82rem;line-height:1.5;color:var(--ink3);margin-bottom:.6rem}
.fr-form{position:relative}
.fr-field{position:relative;display:flex;align-items:center;background:#fff;border:1.5px solid rgba(45,92,136,.35);border-radius:1rem;box-shadow:var(--shadow-soft)}
.fr-field:focus-within{border-color:var(--blue2);outline:2px solid rgba(59,111,160,.25);outline-offset:1px}
.fr-ico{position:absolute;left:.95rem;top:50%;margin-top:-9px;color:var(--ink4);pointer-events:none}
.fr-in{flex:1 1 0;width:0;min-width:0;height:3rem;padding:0 .5rem 0 2.6rem;font:inherit;font-size:1rem;color:var(--ink);background:transparent;border:0;border-radius:1rem;outline:0;-webkit-appearance:none;appearance:none}
.fr-in::placeholder{color:var(--ink4)}
.fr-in::-webkit-search-cancel-button,.fr-in::-webkit-search-decoration{-webkit-appearance:none;display:none}
.fr-x{flex:none;width:1.9rem;height:1.9rem;display:flex;align-items:center;justify-content:center;margin-right:.15rem;color:var(--ink3);background:transparent;border:0;border-radius:50%;cursor:pointer}
.fr-x:hover{background:var(--bg2)}
.fr-x[hidden],.fr-panel[hidden],.fr-foot[hidden]{display:none}
.fr-go{flex:none;margin:.3rem;padding:0 1.1rem;height:2.4rem;font:inherit;font-size:.85rem;font-weight:700;color:#fff;background:var(--blue);border:0;border-radius:.8rem;cursor:pointer}
.fr-go:hover{opacity:.9}
.fr-panel{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:40;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:.9rem;box-shadow:var(--shadow-lift);overflow:hidden}
.fr-list{max-height:20rem;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.fr-item{display:block;padding:.6rem .9rem;color:inherit;text-decoration:none;border-bottom:1px dashed var(--co-dash)}
.fr-item:last-child{border-bottom:0}
.fr-item:hover,.fr-item.is-active{background:var(--blue3)}
.fr-item:focus-visible{outline:2px solid var(--blue2);outline-offset:-2px}
.fr-t{display:flex;align-items:baseline;gap:.5rem;font-size:.84rem;font-weight:600;line-height:1.35;color:var(--navy)}
.fr-tt{min-width:0;overflow-wrap:anywhere}
.fr-k{flex:none;margin-left:auto;font-size:.62rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink4);white-space:nowrap}
.fr-d{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:.15rem;font-size:.74rem;line-height:1.5;color:var(--ink3);overflow-wrap:anywhere}
.fr mark,.sr-item mark{background:rgba(200,160,80,.3);color:inherit;border-radius:2px;padding:0 1px}
.fr-msg{padding:.8rem .9rem;font-size:.78rem;line-height:1.55;color:var(--ink3)}
.fr-msg a{color:var(--navy);font-weight:600;text-decoration:underline}
.fr-foot{padding:.55rem .9rem;font-size:.76rem;background:var(--bg2);border-top:1px solid var(--border)}
.fr-all{color:var(--navy);font-weight:600;text-decoration:none}
.fr-all:hover{text-decoration:underline}
.fr-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){.fr-go{padding:0 .85rem}}

/* ── Results page (search.php) ── */
.sr-hero .fr{margin:1rem 0 0}
.sr-count{font-size:.8rem;color:var(--ink3);margin-bottom:.9rem}
.sr-list{display:flex;flex-direction:column;gap:.9rem;max-width:var(--max);list-style:none}
.sr-item{background:var(--off);border:1px solid var(--border);border-radius:.9rem;padding:1rem 1.2rem}
.sr-item:hover{border-color:rgba(59,111,160,.45);box-shadow:var(--shadow-soft)}
.sr-t{display:inline;font-size:1rem;font-weight:600;line-height:1.4;color:var(--navy);text-decoration:none}
.sr-t:hover{text-decoration:underline}
.sr-k{margin-left:.5rem;font-size:.62rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink4)}
.sr-d{margin-top:.3rem;font-size:.85rem;line-height:1.65;color:var(--ink3)}
.sr-u{margin-top:.25rem;font-size:.72rem;color:var(--ink4);overflow-wrap:anywhere}
.sr-pg{padding-top:.4rem}
.sr-pg a,.sr-pg span{display:inline-block;margin:0 .2rem .3rem 0;padding:.3rem .65rem;font-size:.82rem;color:var(--navy);text-decoration:none;border:1px solid var(--border);border-radius:.5rem;background:#fff}
.sr-pg a:hover{border-color:var(--blue2)}
.sr-note{max-width:var(--max);font-size:.92rem;line-height:1.75;color:var(--ink2)}
.sr-note a{color:var(--navy);font-weight:600;text-decoration:underline}
