/* 2.87 (24/10) I suggerimenti mentre scrivi (static/cerca-suggerimenti.js). Una tendina sotto il campo. */
.cs-host { position: relative; z-index: 60; }   /* sopra le schede della pagina Cerca */
.cs-box { position: absolute; z-index: 80; left: 0; right: 0; top: calc(100% + 8px); max-height: min(62vh, 520px); overflow-y: auto;
  padding: 8px; border-radius: 22px; background: var(--p-solid); color: var(--p-ink); border: 1px solid var(--p-line);
  box-shadow: 0 18px 48px rgba(0, 0, 30, .18); text-align: left; overscroll-behavior: contain; animation: cs-in .16s ease-out; }
.cs-box[hidden] { display: none; }
@keyframes cs-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.p-gnav-search .cs-box { width: 420px; left: auto; right: 0; }
.cs-h { margin: 8px 10px 4px; font: 600 12px/1.2 Inter, system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--p-muted); }
.cs-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 10px; border-radius: 14px;
  color: var(--p-ink); text-decoration: none; }
.cs-row:hover, .cs-row.is-on { background: var(--p-bg2); }
.cs-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--p-bg2); color: var(--p-ink); flex: none; }
.cs-ic.is-ev { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1px; background: var(--p-accent-soft);
  font: 800 16px/1 Inter, system-ui, sans-serif; }
.cs-ic.is-ev small { font: 600 9.5px/1 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); }
.cs-ic.is-all { background: transparent; border: 1px solid var(--p-line); }
.cs-t { display: flex; flex-direction: column; min-width: 0; }
.cs-t b { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-t b mark { background: none; color: inherit; font-weight: 750; }
.cs-t small { font-size: 12.5px; color: var(--p-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-t small.is-open { color: var(--p-ok-ink); }
.cs-clear { display: block; margin: 4px 10px 6px auto; border: 0; background: none; color: var(--p-muted); font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .cs-box { animation: none; } }

/* 3.21.2 (29/10) le associazioni nei suggerimenti: il logo o le iniziali */
.cs-ic.is-org { overflow: hidden; background: #0A0A0B; color: #fff; font: 700 12px/1 var(--p-font); letter-spacing: -.01em; }
.cs-ic.is-org img { width: 100%; height: 100%; object-fit: cover; }
