/* T17: the sitewide homepage search results (site/sitewide-search.js). Reuses the existing parts: the light results box and the news rows
   (30-fe1-home.css .hm-site-results / .hm-sr-*), the Clear Search button style (.vs-btn .vs-btn-sm) for "See all in ...", and the event
   card (event-card.js + 34-events.css). Only the layout between them is new. Everything scales with A+ (--fs); targets are 44 px. */
.hm-site-results { padding: 12px 14px 8px; }
main.hm .hm-site-results h2.hm-sw-h:not(#s):not(#s) { margin: 0 0 4px !important; font: 800 calc(22px * var(--fs, 1))/1.2 var(--serif) !important; color: var(--vs-deep) !important; overflow-wrap: anywhere; }
.hm-sw-count { margin: 0 0 2px !important; font-weight: 700; color: var(--vs-ink); font-size: calc(17px * var(--fs, 1)); }
.hm-sw-note { margin: 0 0 4px !important; color: var(--vs-muted); font-size: calc(16px * var(--fs, 1)); }
.hm-site-results .hm-sw-jump ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 6px; }
.hm-site-results .hm-sw-jump li + li { border-top: 0; }
main.hm .hm-site-results .hm-sw-jump a:not(#s) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; font-weight: 700; color: var(--vs-teal) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.hm-sw-g { margin: 10px 0 6px; padding-top: 8px; border-top: 2px solid var(--vs-line); }
.hm-sw-gh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0 0 8px; }
main.hm h3.hm-sw-gt:not(#s):not(#s) { margin: 0 !important; font: 800 calc(20px * var(--fs, 1))/1.2 var(--serif) !important; color: var(--vs-deep) !important; }
.hm-sw-n { font-family: var(--vs-font); font-weight: 700; color: var(--vs-muted); }
main.hm .hm-site-results a.hm-sw-all:not(#s), main.hm .hm-sw-svc a.hm-sw-all:not(#s) { display: inline-flex; min-height: 44px; padding: 6px 14px; }
.hm-sw-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); align-items: start; }
.hm-sw-cards .ev-card { margin: 0 !important; }
.hm-sw-cards .ev-card a.hm-sw-evlink:not(#s):not(#s) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--vs-teal) !important; text-decoration: underline !important; text-underline-offset: 3px; font-size: calc(16px * var(--fs, 1)); }
.hm-sw-svc { margin: 14px 0 6px; padding-top: 8px; border-top: 2px solid var(--vs-line); }
.hm-sw-svc[hidden] { display: none; }
.hm-sw-svc .hm-sw-gh { margin-bottom: 0; }
@media (max-width: 400px) {
  main.hm .hm-site-results h2.hm-sw-h:not(#s):not(#s) { font-size: calc(20px * var(--fs, 1)) !important; }
  .hm-sw-gh { align-items: flex-start; }
  .hm-sw-cards { grid-template-columns: minmax(0, 1fr); }
}
