/* Suniia — Search Results Page */

/* ── Layout ── */
.path-search .layout-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem var(--sp2) 4rem;
}

/* ── Hide Drupal cruft ── */
.path-search .search-help-link,
.path-search .search-form .form-actions {
  display: none;
}

/* ── Suppress duplicate wide search block inside content area ──
   The site-header already has a search overlay; this block is redundant. */
.path-search .search-block-form {
  display: none;
}

/* ── Empty state ── */
.path-search .empty-search-results-text {
  display: block;
  text-align: center;
  color: rgba(var(--color-pearl-rgb), 0.35);
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  padding: 3rem 0;
}

/* ── Results list ── */
.path-search .search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Individual result card ── */
.path-search .search-result {
  background: rgba(var(--color-pearl-rgb), 0.02);
  border: 1px solid rgba(var(--color-champagne-rgb), 0.07);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.path-search .search-result:hover {
  background: rgba(var(--color-pearl-rgb), 0.04);
  border-color: rgba(var(--color-champagne-rgb), 0.15);
}

/* ── Result title ── */
.path-search .search-result__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.path-search .search-result__title a {
  color: rgba(var(--color-pearl-rgb), 0.90);
  text-decoration: none;
  transition: color 0.3s ease;
}

.path-search .search-result__title a:hover {
  color: var(--color-champagne);
}

/* ── Snippet / excerpt ── */
.path-search .search-result__snippet {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(var(--color-pearl-rgb), 0.45);
  margin: 0 0 0.5rem;
}

/* ── Meta info (date, author) ── */
.path-search .search-result__info {
  font-size: 0.6875rem;
  color: rgba(var(--color-pearl-rgb), 0.25);
  letter-spacing: 0.04em;
}

/* ── Keyword highlight (Drupal wraps matches in <strong>) ── */
.path-search .search-result strong {
  color: rgba(var(--color-champagne-rgb), 0.75);
  font-weight: 500;
}

/* ── Pager ── */
.path-search .search-results + .pager {
  margin-top: 2rem;
}
