/* Trollhunter Child – Search Page
   Layout für Suchergebnisse + Relevanssi Highlighting + Pagination. */


/* Suchergebnisse / Search Page */
.th-search-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 0 120px 0;
}

@media (max-width: 768px) {
  .th-search-wrapper {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.th-search-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 50px;
  color: #e3e3e3;
}

.th-search-item {
  padding: 0 0 40px 0;
  margin: 0 0 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.th-search-item:last-of-type {
  border-bottom: none;
}

.th-search-item-title {
  margin: 0 0 12px 0;
  font-size: 20px;
  line-height: 1.32;
}

.th-search-item-title a {
  color: #f0f0f0;
  text-decoration: none;
}

.th-search-item-title a:hover {
  text-decoration: underline;
}

.th-search-meta {
  font-size: 14px;
  color: #7c7c7c;
  margin-bottom: 12px;
}

.th-search-excerpt {
  font-size: 16px;
  line-height: 1.55;
  color: #d0d0d0;
}

.relevanssi-query-term {
  background: rgba(255, 230, 0, 0.15);
  padding: 2px 4px;
  border-radius: 3px;
}

.th-search-pagination .page-numbers {
  padding: 6px 10px;
  margin-right: 6px;
  background: #0f1115;
  color: #dcdcdc;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-size: 14px;
}

.th-search-pagination .current {
  background: #d4c797;
  color: #0d0d0d;
  font-weight: bold;
}

.th-search-pagination .page-numbers:hover {
  background: #1c2129;
}

.th-search-empty {
  padding: 50px 0 80px 0;
  font-size: 18px;
  color: #c0c0c0;
  line-height: 1.6;
}

.th-search-count {
  font-size: 14px;
  color: #8a8d90;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
