/* Nuspace live search. Colours, spacing and type come from the Bricks design system variables. */
.ns-ls { margin-top: var(--space-xs, 10px); background: var(--white, #fff); border: 1px solid var(--line, #e4e1dc); border-radius: var(--radius, 10px); padding: var(--space-2xs, 8px); max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain; text-align: left; font-family: var(--font-text, inherit); }
.ns-ls[hidden], .ns-ls:empty { display: none; }
.ns-ls-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ns-ls-group + .ns-ls-group { border-top: 1px solid var(--line, #e4e1dc); margin-top: var(--space-2xs, 8px); padding-top: var(--space-2xs, 8px); }
.ns-ls-label { padding: 6px 10px 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft, #6b6661); }
.ns-ls-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-s, 8px); color: var(--ink, #3d3936); text-decoration: none; line-height: 1.3; }
.ns-ls-item:hover, .ns-ls-item:focus-visible { background: var(--surface-warm, #f7f6f3); color: var(--primary, #0272ad); outline: none; }
.ns-ls-body { display: grid; gap: 2px; min-width: 0; }
.ns-ls-title { font-size: 0.95rem; overflow-wrap: anywhere; }
.ns-ls-meta { font-size: 0.8rem; color: var(--ink-soft, #6b6661); font-variant-numeric: tabular-nums; }
.ns-ls-thumb { flex: none; width: 44px; height: 44px; border-radius: var(--radius-s, 8px); background: var(--surface-warm, #f7f6f3); overflow: hidden; display: grid; place-items: center; }
.ns-ls-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ns-ls-empty { margin: 0; padding: 12px 10px; color: var(--ink-soft, #6b6661); font-size: 0.92rem; }
.ns-ls-all { display: block; margin-top: var(--space-2xs, 8px); padding: 10px; border-top: 1px solid var(--line, #e4e1dc); color: var(--primary, #0272ad); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.ns-ls-all:hover, .ns-ls-all:focus-visible { text-decoration: underline; outline: none; }
/* Desktop search overlay: keep the results the same width as the field. */
.bricks-search-overlay .ns-ls { width: min(640px, 100%); margin-left: auto; margin-right: auto; }
/* Phone drawer: while results show, hide the menu items under the search box. */
.brx-nav-nested-items.ns-searching > li:not(.ns-drawer-only):not(:has(.brxe-toggle)) { display: none !important; }
.brx-nav-nested-items .ns-drawer-search { position: relative; }
@media (prefers-reduced-motion: no-preference) { .ns-ls-item { transition: background-color 0.15s ease, color 0.15s ease; } }
