/* The index family's own rules. site.css is the approved preview's
   stylesheet, extracted verbatim; nothing here restyles it. These are the
   three places where our page's markup differs from the preview's on
   purpose, and the difference needs a rule of its own. */

/* 1. The project search bar is a real GET form where the preview has a <div>.
      site.css's `form` rule sets flex-direction:column at specificity
      (0,0,1) and `.psbar` declares no direction, so the row would silently
      stack into a column. */
form.psbar { flex-direction: row; }

/* 2. (retired 2026-09-17) The news, guides and partners empty box. A list
      page with nothing in it now says one sentence (site.css .nonelisted). */

/* 3. The partner chips hide cards instead of re-rendering the grid (a
      re-render detaches the node the click came from). `.card` sets
      display:flex, which beats the user-agent's [hidden] rule, so a hidden
      card would stay on screen and the filter would look broken while
      reporting success. */
#pgrid .card[hidden] { display: none; }

/* 4. The news card's cover photograph. site.css positions the preview's
      placeholder art (`.nphoto svg`) absolutely inside the 196px box but has
      no rule for an <img>, because the preview never puts one there - a real
      photograph would sit in flow at its natural height and push the card
      apart. Same shape as the property card, which positions its image
      absolutely for the same reason. */
.nphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* 5. THE SEARCH CARD's rules are in search.css (the owner, 2026-10-04: one
      search everywhere - the card is also the home hero's panel and the
      header's overlay, on pages that never load this sheet). */
