/* Progressive global search, scoped outside article rich text and card lists. */
.ic-editorial .search-discovery { position: relative; display: flex; align-items: stretch; flex: 1 1 auto; gap: 8px; min-width: 0; max-width: 100%; margin: 0; }
.ic-editorial .search-discovery__input-wrap { flex: 1 1 0; width: auto; min-width: 0; }
.ic-editorial .search-discovery #live-search-input { box-sizing: border-box; min-width: 0; height: 100%; min-height: 44px; border-color: var(--ic-rule); border-radius: 8px; color: var(--ic-ink); background: var(--ic-surface); box-shadow: none; font-size: 1rem; }
.ic-editorial .search-discovery__submit { flex: 0 0 auto; min-width: 44px; max-width: 50%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ic-action); border-radius: 8px; font: inherit; font-size: .9375rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; color: #fff; background: var(--ic-action); cursor: pointer; }
.ic-editorial .search-discovery__submit:hover { filter: brightness(.93); }
.ic-editorial .search-discovery__panel { display: block; top: calc(100% + 8px); inset-inline: 0; max-height: min(65vh, 32rem); overflow: auto; overscroll-behavior: contain; padding: 0; border: 1px solid var(--ic-rule); border-radius: 10px; color: var(--ic-ink); background: var(--ic-surface); box-shadow: 0 10px 26px rgb(0 0 0 / .16); }
.ic-editorial .search-discovery__panel[hidden] { display: none; }
.ic-editorial .search-discovery__message { margin: 0; padding: 12px 14px; color: var(--ic-muted); font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.ic-editorial .search-discovery__list { margin: 0; padding: 0; list-style: none; }
.ic-editorial .search-discovery__list > li { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ic-rule); }
.ic-editorial .search-discovery :is(.search-discovery__suggestion, .search-discovery__all) { display: flex; align-items: center; min-height: 44px; padding: 12px 14px; color: var(--ic-ink); font-size: 1rem; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.ic-editorial .search-discovery :is(.search-discovery__suggestion, .search-discovery__all):is(:hover, :focus-visible) { color: var(--ic-action); background: var(--ic-surface-alt); }
.ic-editorial .search-discovery .search-discovery__all { border-top: 1px solid var(--ic-rule); color: var(--ic-action); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.ic-editorial .search-discovery :is(input, button, a):focus-visible { outline: 3px solid var(--ic-action); outline-offset: -3px; }
.ic-editorial .search-discovery #live-search-input:focus-visible { outline: 3px solid var(--ic-action); outline-offset: -3px; }
/* Keep every primary destination reachable when labels or reader text grow.
   At narrow desktop widths, give search its own row instead of clipping More. */
@media (min-width: 981px) {
  .ic-editorial .nav-stack .category-bar { overflow: visible; }
  .ic-editorial .nav-stack .category-bar__inner { flex-wrap: wrap; max-width: 100%; }
  .ic-editorial .nav-stack :is(.category-bar__item_fixed, .category-bar__more-btn) { max-width: 100%; min-height: 44px; white-space: normal; overflow-wrap: anywhere; }
  .ic-editorial .nav-stack .category-bar__more { min-width: 0; max-width: 100%; }
}
@media (min-width: 981px) and (max-width: 1279px) {
  .ic-editorial .nav-stack .site-nav-row { flex-wrap: wrap; align-items: stretch; gap: 8px; }
  .ic-editorial .nav-stack .category-bar { flex: 1 1 100%; width: 100%; }
  .ic-editorial .nav-stack .live-search-bar { flex: 1 1 100%; width: 100%; min-width: 0; max-width: none; }
  .ic-editorial .nav-stack .live-search-container { width: 100%; max-width: none; }
}
@media (max-width: 600px) {
  .ic-editorial .live-search-container { gap: 8px; }
  .ic-editorial .search-discovery { gap: 6px; }
  .ic-editorial .search-discovery__submit { padding-inline: 10px; font-size: .875rem; }
  .ic-editorial .search-discovery #live-search-input { padding-inline-end: 6px; }
}
@media (forced-colors: active) {
  .ic-editorial .search-discovery__submit { border-color: ButtonText; }
  .ic-editorial .search-discovery__panel { border-color: CanvasText; }
}
