/* ============================================================
   Blog The Tech — Search Results
   assets/search.css

   Loads on top of archive.css, which supplies every gt-arc-*
   class this page reuses (hero, toolbar, card grid, pagination,
   sidebar) — search.php now mirrors home.php's structure exactly.
   This file only adds the handful of pieces archive.css has no
   equivalent for: the in-hero search bar, the <mark> term-
   highlight style, and the no-results panel.
   ============================================================ */

/* ── In-hero search bar (sits where .gt-arc-hero__tip normally does) ── */
.gt-arc-hero__searchbar {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 8px 6px 18px;
  transition: border-color 0.15s ease;
}
.gt-arc-hero__searchbar:focus-within {
  border-color: #60a5fa;
}
.gt-arc-hero__searchbar-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
}
.gt-arc-hero__searchbar-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #f8fafc;
}
.gt-arc-hero__searchbar-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.gt-arc-hero__searchbar-clear {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.45);
  transition: background 0.15s ease, color 0.15s ease;
}
.gt-arc-hero__searchbar-clear:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.gt-arc-hero__searchbar-btn {
  flex-shrink: 0;
  border: none;
  background: #2563eb;
  color: #fff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.gt-arc-hero__searchbar-btn:hover {
  background: #1d4ed8;
}

/* ── Search-term highlight inside card titles ─────────────────── */
.btt-hl {
  background: #fef08a;
  color: #0f172a;
  border-radius: 3px;
  padding: 0 2px;
  font-style: normal;
}

/* ── No-results panel (sits inside .gt-arc-empty) ─────────────── */
.gt-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.gt-search-empty__icon {
  font-size: 34px;
  margin-bottom: 8px;
}
.gt-search-empty__title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}
.gt-search-empty__msg {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13.5px;
  color: #64748b;
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Responsive: match .gt-arc-hero__tip's mobile reflow ──────── */
@media (max-width: 640px) {
  .gt-arc-hero__searchbar {
    grid-row: 3;
    max-width: none;
  }
}
