.search-page { min-height: 65vh; margin-block: clamp(18px, 3vw, 45px); }
.search-header {
  padding: clamp(17px, 4vw, 46px);
  border: 1px solid var(--line); border-radius: 12px;
  background: radial-gradient(ellipse at 86% 30%, #2d3e56, transparent 70%), var(--paper);
}
.search-header h1 { font-size: clamp(36px, 6vw, 76px); line-height: 1; letter-spacing: -.06em; }
.search-header p { margin-block: .65rem 1rem; color: var(--muted); line-height: 1.5; }
.search-header form { max-width: 760px; }
.search-examples, .search-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.search-examples { margin-top: .8rem; }
.search-examples a, .search-filters button {
  padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper); color: var(--muted); text-decoration: none; font-size: .9rem;
}
.search-filters { margin-top: 1.3rem; }
.search-filters[hidden] { display: none; }
.search-filters button { cursor: pointer; }
.search-filters button[aria-pressed="true"], .search-examples a:hover { border-color: var(--accent); color: var(--ink); }
.search-status { margin-block: .85rem; color: var(--muted); }
.search-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; padding: 0; margin: 0; list-style: none; }
.search-result {
  display: grid; grid-template-columns: minmax(78px, .34fr) minmax(0, 1fr); gap: clamp(10px, 1.5vw, 18px); align-items: start;
  height: 100%; padding: .75rem; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); text-decoration: none;
}
.search-result:hover { border-color: var(--accent); }
.search-result img { height: auto; aspect-ratio: 1.5; border-radius: 4px; background: var(--bg); }
.search-result h2 { margin-block: .25rem .4rem; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.14; }
.search-result-label { color: var(--accent); font-size: .825rem; line-height: 1.25; }
.search-snippet { color: var(--muted); font-size: .92rem; line-height: 1.45; }
@media (max-width: 820px) { .search-results { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 440px) {
  .search-header .site-search-form { flex-wrap: wrap; }
  .search-header .site-search-form input { flex-basis: 100%; }
}
