/* Search Results Page Layout */
.search-page-container {
  max-width: 50rem;
  margin: 3rem auto;
  padding: 0 1.5rem;
  font-family: inherit;
}

.search-results-header {
  border-bottom: 0.0625rem solid #e5e7eb;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;

  h1 {
    font-size: 2.25rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
  }

  p {
    color: #666666;
    font-size: 1rem;
  }

  .highlight-query {
    color: #0a885b;
  }
}

/* Results Cards */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-card {
  padding: 1.5rem;
  background-color: #ffffff;
  border: 0.0625rem solid #e5e7eb;
  border-radius: 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;

  &:hover {
    border-color: #0a885b;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  }

  .badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0a885b;
    background-color: #f0fdf8;
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
  }

  h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;

    a {
      color: #1a1a1a;
      text-decoration: none;

      &:hover {
        color: #0a885b;
        text-decoration: underline;
      }
    }
  }

  p {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
  }
}

/* Empty State */
.no-results {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #f9fafb;
  border-radius: 0.75rem;

  p {
    color: #666666;
    margin-bottom: 1.5rem;
  }

  .back-home-btn {
    display: inline-block;
    background-color: #0a885b;
    color: #ffffff;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;

    &:hover {
      background-color: #086e49;
    }
  }
}