/* ============================================================
   Search results page
   ============================================================ */

.search-results {
  margin: 2rem 0;
}

.search-result-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F856D;
  text-decoration: none;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

.search-result-title:hover {
  text-decoration: underline;
}

.search-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.5rem 0 0 0;
}

.search-no-results {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  padding: 2rem 0;
}

.search-no-query-card {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  text-align: center;
}

.search-no-query-text {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
}

.search-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.pagination-prev,
.pagination-next {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0F856D;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.pagination-prev:hover,
.pagination-next:hover {
  background-color: #0a5a4d;
}

.pagination-info {
  color: #666;
  font-size: 0.95rem;
}

.search-excerpt mark {
  background-color: #fef08a;
  color: inherit;
  font-weight: 600;
  padding: 0.1em 0.2em;
  border-radius: 2px;
}
