.search-page {
  background: #f4f7fb;
}

.search-page .zolix-header.header-solid {
  background: #fff;
  backdrop-filter: none;
}

.search-main {
  padding-top: 132px; /* match has-path header height */
}

.search-wrap {
  padding: 18px 0 56px;
}

.search-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.search-side-card {
  background: #fff;
  border: 1px solid #e8edf6;
  overflow: hidden;
}

.search-side-hero {
  height: 96px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, #1e3190, #203a9e);
  position: relative;
  color: #fff;
}

.search-side-hero h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.search-side-hero::after {
  content: "SEARCH";
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 54px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 2px;
  pointer-events: none;
}

.search-side-list {
  padding: 0;
}

.search-type-row {
  width: 100%;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid #eef2f8;
  cursor: pointer;
  color: #202938;
  font-size: 16px;
  text-decoration: none;
  box-sizing: border-box;
}

.search-type-row:hover {
  background: #f7f9fe;
}

.search-type-row.is-active {
  background: #f1f4fb;
  color: #1e3190;
  font-weight: 700;
}

.search-results-card {
  background: #fff;
  border: 1px solid #e8edf6;
  padding: 18px 20px;
}

.search-results-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.search-results-top .search-results-count {
  color: #778095;
  font-size: 12px;
}

.search-results-empty {
  margin: 0;
  padding: 48px 12px;
  text-align: center;
  color: #778095;
  font-size: 14px;
  line-height: 1.8;
}

.search-results-list > .search-result-row + .search-result-row {
  border-top: 1px solid #eef2f8;
}

.search-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 16px;
  padding: 18px 0;
  align-items: center;
}

.search-result-sep {
  height: 1px;
  background: #eef2f8;
}

.search-result-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #202938;
  line-height: 1.5;
}

.search-result-title a {
  color: inherit;
  transition: color 0.18s ease;
}

.search-result-title a:hover,
.search-result-title a:active,
.search-result-title a:focus-visible,
.search-result-title a:visited {
  color: var(--brand);
}

.search-result-excerpt {
  margin: 10px 0 0;
  color: #778095;
  font-size: 13px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-btn {
  justify-self: end;
  width: 110px;
  height: 34px;
  background: #eef1f6;
  border: 1px solid #eef1f6;
  color: #2e3648;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.search-result-btn:hover {
  background: #1e3190;
  border-color: #1e3190;
  color: #fff;
}

@media (max-width: 980px) {
  .search-layout {
    grid-template-columns: 1fr;
  }
  .search-results-card {
    padding: 16px;
  }
  .search-result-row {
    grid-template-columns: 1fr;
  }
  .search-result-btn {
    justify-self: start;
  }
}

