/* ─── search.css ─── */

.content-wrapper {
  padding: 48px; display: flex;
  flex-direction: column; gap: 32px;
}

/* Search Header */
.search-header  { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.search-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-title-text { font-size: 15px; color: #71717A; }
.search-keyword {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px; font-weight: 700; color: #18181B;
}
.search-stats { font-size: 14px; color: #71717A; }

/* Filter */
.filter-section { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-label   { font-size: 14px; font-weight: 600; color: #18181B; }

/* Results */
.results-list { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.result-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid #E4E4E7; border-radius: 12px;
  padding: 20px; cursor: pointer; text-decoration: none;
  transition: box-shadow .15s;
}
.result-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.result-icon-bg {
  width: 64px; height: 64px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.result-info {
  flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.result-top-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.result-name    { font-size: 18px; font-weight: 600; color: #18181B; }
.result-badge   { border-radius: 4px; padding: 3px 8px; font-size: 11px; font-weight: 600; }
.result-desc    {
  font-size: 14px; color: #71717A; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.result-tags    { display: flex; gap: 6px; flex-wrap: wrap; }
.result-right   {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px; flex-shrink: 0;
}
.result-views   { font-size: 12px; color: #A1A1AA; white-space: nowrap; }

/* Related */
.related-section {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 24px; border-top: 1px solid #F4F4F5; width: 100%;
}
.related-title { font-size: 16px; font-weight: 600; color: #18181B; }
.related-tags  { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.rel-tag {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid #E4E4E7; border-radius: 100px;
  padding: 8px 16px; font-size: 13px; color: #18181B;
  cursor: pointer; text-decoration: none; transition: background .12s;
}
.rel-tag:hover { background: #F4F4F5; }
