/*
 * Removes the header site search.
 *
 * Load in <head> so the control never paints:
 *     <link rel="stylesheet" href=".../disable-search.css">
 *
 * Pair with disable-search.js, which blocks activation of the control so the
 * search modal cannot open even if a template change escapes these selectors.
 * If this stylesheet fails to load, the search bar is visible but still inert.
 *
 * There is no builder setting for this: search_type only offers
 * input / icon / icon_text, and the control is rendered unconditionally in
 * both the desktop and the mobile Fuji header.
 *
 * Scoped to <header> because both Fuji headers render inside it. That keeps the
 * footer newsletter's .fake-input and OneTrust's cookie-preferences search box
 * (aria-label="Cookie list search") untouched.
 *
 * No media query on purpose: which header renders is decided by device
 * detection (mobile UA, or tablet in portrait), not viewport width, so a width
 * breakpoint misses cases such as iPad portrait at 1024px.
 *
 * :not(#nope) refers to no real element, so it never changes what is matched.
 * It is there for weight only: the platform stylesheet sets
 * `display: flex !important` on this control from 992px up, at a specificity
 * plain class selectors cannot beat. One ID-level unit outranks it without
 * hard-coding their DOM structure, so this survives template changes.
 *
 * Known limit: /search?term=... stays publicly reachable. Closing the endpoint
 * needs a backend change, not a stylesheet.
 */
header .fake-input.form-control:not(#nope),   /* search_type: input          */
header .icon-search:not(#nope),               /* search_type: icon/icon_text */
header [aria-label="Search"]:not(#nope) {     /* control and "Search" label   */
    display: none !important;
}
