/* Independent Seniors — search as you type (v3, 2026-11-15: whole website or just this page; v2: the Search button in every banner; v1: the boxes on FAQ Answers, Free Resources, Blog and News). No text under 16px. */
.site-search { position: relative; margin-top: var(--space-5, 1.25rem); max-width: 40rem; }
.page-hero--pic .page-hero__text > .site-search { order: 3; }   /* phones: straight under the intro, above the picture */
.site-search__label { display: block; font-weight: 700; font-size: 18px; color: var(--navy, #14315b); margin-bottom: 0.4rem; }
.site-search__row { position: relative; }
.site-search__input { display: block; width: 100%; box-sizing: border-box; min-height: 54px; padding: 0.6rem 3.4rem 0.6rem 2.9rem;
  font: inherit; font-size: 19px; color: var(--ink, #14315b); background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2314315b' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 0.85rem center;
  border: 2px solid var(--navy, #14315b); border-radius: 12px; box-shadow: var(--shadow-sm, 0 1px 3px rgba(20, 49, 91, 0.08)); }
.site-search__input::placeholder { color: #5b6878; opacity: 1; }
.site-search__input:focus { outline: 4px solid var(--orange, #e07a2c); outline-offset: 2px; }
.site-search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.site-search__clear { position: absolute; top: 50%; right: 0.35rem; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: transparent; color: var(--navy, #14315b); font-size: 30px; line-height: 1; cursor: pointer; }
.site-search__clear:hover { background: var(--orange-soft, #fdeedf); }
.site-search__clear:focus-visible { outline: 3px solid var(--orange, #e07a2c); }
.site-search__hint { margin: 0.4rem 0 0; font-size: 16px; color: var(--ink-muted, #47576b); }
.site-search__results { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; margin-top: 0.35rem;
  max-height: min(65vh, 34rem); overflow-y: auto; overscroll-behavior: contain; background: #fff;
  border: 2px solid var(--navy, #14315b); border-radius: 12px; box-shadow: 0 14px 36px rgba(20, 49, 91, 0.22); }
.site-search__results ul { list-style: none; margin: 0; padding: 0; }
.site-search__results li { margin: 0; border-top: 1px solid var(--border, #ded3c4); }
.site-search__results a { display: block; padding: 0.7rem 1rem 0.75rem; color: var(--navy, #14315b); text-decoration: none; }
.site-search__results a:hover, .site-search__results a:focus { background: var(--orange-soft, #fdeedf); outline: none; }
.site-search__results a:focus-visible { box-shadow: inset 0 0 0 3px var(--orange, #e07a2c); }
.site-search__t { display: block; font-weight: 700; font-size: 18px; line-height: 1.3; }
.site-search__results a:hover .site-search__t { text-decoration: underline; }
.site-search__k { display: block; margin-top: 0.15rem; font-size: 16px; color: var(--orange-ink, #9a4c12); font-weight: 600; }
.site-search__x { display: block; margin-top: 0.2rem; font-size: 16px; line-height: 1.45; color: var(--ink-muted, #47576b); }
.site-search__results mark { background: #fde7cf; color: inherit; padding: 0 1px; border-radius: 3px; }
.site-search__group { position: sticky; top: 0; z-index: 1; margin: 0; padding: 0.5rem 1rem; background: #eef3f9; font-size: 16px; font-weight: 700; color: var(--navy, #14315b); }
.site-search__none { margin: 0; padding: 0.9rem 1rem; font-size: 17px; }

.site-search__results p { max-width: none; }
.site-search__count { margin: 0; padding: 0.55rem 1rem; font-size: 16px; font-weight: 700; color: var(--ink-muted, #47576b); }

/* The Search button in the banner (top right) and the whole-website search under it */
#ss-static-banner { position: relative; }
.site-search-btn { justify-self: end; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 48px; padding: 0.45rem 1rem;
  font: inherit; font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 18px; font-weight: 700; color: #14315b;
  background: #fff; border: 2px solid #14315b; border-radius: 999px; cursor: pointer; }
.site-search-btn[hidden] { display: none; }
.site-search-btn svg { flex: none; }
.site-search-btn:hover { background: var(--orange-soft, #fdeedf); }
.site-search-btn:focus-visible { outline: 4px solid var(--orange, #e07a2c); outline-offset: 2px; }
.site-search-btn[aria-expanded="true"] { background: #14315b; color: #fff; }
@media (max-width: 480px) {
  .site-search-btn { flex-direction: column; gap: 0.1rem; min-height: 0; padding: 0.35rem 0.4rem; border-radius: 12px; font-size: 16px; line-height: 1.1; }
}
.site-search-sheet { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: #fff; border-top: 1px solid var(--border, #ded3c4);
  border-bottom: 3px solid #14315b; box-shadow: 0 18px 40px rgba(20, 49, 91, 0.25); }
.site-search-sheet[hidden] { display: none; }
.site-search-sheet__inner { max-width: 48rem; margin: 0 auto; padding: 1rem 16px 1.1rem; }
.site-search--all { margin-top: 0; max-width: none; }
.site-search-sheet__where { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; margin: 0 0 0.75rem; padding: 0; border: 0; }
.site-search-sheet__where legend { float: left; margin-right: 0.5rem; padding: 0; font-weight: 700; font-size: 18px; color: #14315b; }
.site-search-sheet__where label { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-size: 18px; color: #14315b; cursor: pointer; }
.site-search-sheet__where input { width: 22px; height: 22px; margin: 0; accent-color: #14315b; }
.site-search--all .site-search__results { position: static; margin-top: 0.6rem; max-height: min(58vh, 32rem); box-shadow: none; }
.site-search-sheet__close { display: block; margin: 0.8rem 0 0 auto; min-height: 44px; padding: 0.45rem 1.1rem; font: inherit; font-size: 17px; font-weight: 700;
  color: #14315b; background: #fff; border: 2px solid #14315b; border-radius: 10px; cursor: pointer; }
.site-search-sheet__close:hover { background: var(--orange-soft, #fdeedf); }
.site-search-sheet__close:focus-visible { outline: 4px solid var(--orange, #e07a2c); outline-offset: 2px; }
@media print { .site-search, .site-search-btn, .site-search-sheet { display: none !important; } }
