/*
 * Search (/showtix/search/) — skin only. Behavior (sticky controls, target
 * sizes, reduced motion) comes from assets/index-navigation.css via the
 * [data-stoa-index-*] attributes already on this page's markup; this file
 * never repeats that, only paints it.
 *
 * theme.css does not define .results / .results__group (verified, not
 * assumed) — the wheeler theme names its equivalent .search-results__*, and
 * this file deliberately does not reuse that naming or its skin. The same
 * .results / .results__group markup carries all three states this page can
 * be in (browse, no matches, matches), so "On Sale Soon" and an actual typed
 * match read as the same kind of list rather than three one-off shapes.
 *
 * Enqueued automatically by the theme's page-<slug>.css convention
 * (functions.php → showtix_assets()), so it loads on /search/ only.
 */

/* --------------------------------------------------------------- controls -- */

.search-page__controls {
  background: var(--paper-raised);
  border-block: 1px solid var(--rule-strong);
  padding-block: 1rem;
}

.search-page__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-page__q {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--paper-raised);
  color: var(--ink);
  font: inherit;
}

.search-page__q::placeholder { color: var(--ink-soft); opacity: 1; }

.search-page__submit { flex: none; }

.search-page__summary {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------------- lists -- */

.results__section + .results__section { margin-top: 2rem; }

.results__group {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}

.results {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
}

.results__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--rule);
}

.results__title {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.014em;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}

.results__title:hover { color: var(--ember); text-decoration: underline; }

.results__meta {
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- browse -- */

.results__note {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
}

.results__note a { color: var(--ember); font-weight: 650; }

/* -------------------------------------------------------------- fallback -- */

.results__fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}
