/* Shared live-search chrome: the search box, its empty note, and the jump
   chips. staff-search.js is the behavior half. These rules began life in
   favorite-things.css, but the component outgrew that module: Chair Positions
   (board-members) and hand-authored pages (coaches rosters) use it on sites
   where Favorite Things is switched off, so the styles ship standalone.
   favorite-things.css still carries its own copy for now; the rules are
   identical, so double-loading is harmless. */

.rt-ft-search {
  text-align: center;
  margin: 6px auto 22px;
}
.rt-ft-search .rt-ft-search-input {
  display: inline-block;
  width: min(480px, 92%);
  padding: 12px 18px;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--rt-ink, #1f1f1f);
  background: var(--rt-white, #ffffff);
  border: 2px solid var(--rt-line, #e7e2d6);
  border-radius: 999px;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: border-color 0.15s ease;
}
.rt-ft-search .rt-ft-search-input:focus {
  border-color: var(--rt-primary, #f4b41c);
}
.rt-ft-search-empty {
  text-align: center;
}

/* Jump chips under the search box. The !important mirrors the original rule:
   host-theme link colors (Divi code modules) out-specify these chips. */
.rt-ft-jumpnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 920px;
  margin: 0 auto 26px;
}
.rt-ft-jumpnav a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--rt-line, #e7e2d6);
  border-radius: 999px;
  background: var(--rt-white, #ffffff);
  color: var(--rt-secondary, #d99a00) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.rt-ft-jumpnav a:hover {
  background: var(--rt-primary, #f4b41c);
  color: var(--rt-on-primary, #141414) !important;
}

/* Anchored jumps land clear of sticky site headers. */
.rt-ft-group {
  scroll-margin-top: 110px;
}

@media print {
  .rt-ft-search,
  .rt-ft-search-empty,
  .rt-ft-jumpnav {
    display: none !important;
  }
}
