/* site search: results under the home box and the /search/ page (site.css keeps the box itself) */
.results { max-height: min(70vh, 560px); overflow-y: auto; }
.results .sz-hit { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; padding: 11px 16px; border-top: 1px solid #eee; color: #1f1d1a; text-decoration: none; }
.results .sz-hit:first-child, .results .sz-near + .sz-hit { border-top: 0; }
.results .sz-hit b { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.results .sz-hit mark { background: #ffe7a8; color: inherit; border-radius: 3px; padding: 0 1px; }
.results .sz-desc { grid-column: 2; display: block; font-size: 13px; color: #6b655c; line-height: 1.4; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results .sz-hit:hover, .results .sz-hit.sz-on, .results .sz-hit:focus { background: #fff6e3; outline: none; }
.results .sz-hit.sz-on { box-shadow: inset 3px 0 0 #f59e0b; }
.results .sz-kind { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 3px 8px; white-space: nowrap; margin: 0; }
.sz-k-pdf { background: #fde2e2; color: #9f1c1c; }
.sz-k-tool { background: #dcfce7; color: #166534; }
.sz-k-software { background: #fff1cc; color: #8a5800; }
.sz-k-guide { background: #e0e7ff; color: #3730a3; }
.sz-k-page { background: #eceae6; color: #4a453e; }
.results .sz-near { margin: 0; padding: 9px 16px 4px; font-size: 12.5px; font-weight: 700; color: #8a5800; }
.results .sz-none { margin: 0; padding: 12px 16px; font-size: 14px; color: #555; }
.results .sz-none a, .results .sz-all { color: #8a5800; font-weight: 700; }
.results .sz-none a { display: inline; padding: 0; border: 0; }
.results .sz-all { display: block; padding: 11px 16px; border-top: 1px solid #eee; font-size: 14px; }
@media (max-width: 600px) {
  .results .sz-hit { grid-template-columns: 1fr; }
  .results .sz-kind { justify-self: start; margin-bottom: 3px; }
  .results .sz-desc { grid-column: 1; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
/* /search/ page: the full list, no inner scroll */
.sz-page .results { max-width: 760px; max-height: none; overflow: visible; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); border: 1px solid #eee; }
.sz-page .results .sz-desc { white-space: normal; }
.sz-page #sz-count { font-size: 15px; color: var(--muted); margin: 18px 0 10px; }
.sz-page { padding: 34px 0 60px; }
.sz-page h1 { font-size: 34px; margin: 0 0 14px; }
