.sb-search-page {
  --sb-search-shell: min(1824px, calc(100% - 224px));
  width: 100%;
  overflow: hidden;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(21, 114, 232, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 114, 232, 0.04) 1px, transparent 1px),
    linear-gradient(120deg, #ffffff 0%, #f8fbff 58%, #effbf3 100%);
  background-size: 88px 88px, 88px 88px, auto;
}

.sb-search-page .container {
  width: var(--sb-search-shell);
  max-width: none;
}

.sb-search-shell {
  display: grid;
  gap: 36px;
  padding: 72px 0 108px;
}

.sb-search-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.62fr);
  gap: 80px;
  align-items: end;
  padding-bottom: 52px;
  border-bottom: 1px solid #dbe6f4;
}

.sb-search-hero h1,
.sb-search-toolbar h2,
.sb-search-section-heading h2 {
  margin: 0;
  color: #101827;
  font-weight: 600;
  letter-spacing: 0;
}

.sb-search-hero h1 {
  max-width: 760px;
  font-size: 56px;
  line-height: 1.02;
}

.sb-search-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #5b687a;
  font-size: 20px;
  line-height: 1.65;
}

.sb-search-hero-note {
  max-width: 620px;
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid #1572e8;
  color: #334155;
  font-size: 18px;
  line-height: 1.7;
}

.sb-search-hero-note strong {
  color: #101827;
  font-weight: 700;
}

.sb-search-panel {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.sb-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.sb-search-form label {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid #dbe6f4;
  background: rgba(255, 255, 255, 0.86);
}

.sb-search-form i {
  color: #1572e8;
  font-size: 16px;
}

.sb-search-form input {
  width: 100%;
  height: 56px;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: #101827;
  font: inherit;
  font-size: 16px;
}

.sb-search-form button {
  min-width: 128px;
  height: 58px;
  min-height: 58px;
  border: 0;
  border-radius: 0;
  padding: 0 24px;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  background-image: linear-gradient(90deg, #073fb8 0 50%, #1572e8 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.34s ease;
  cursor: pointer;
}

.sb-search-form button:hover,
.sb-search-form button:focus {
  background-position: 0 0;
}

.sb-search-tabs,
.sb-search-quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sb-search-tabs {
  padding: 28px 0;
  border-top: 1px solid #dbe6f4;
  border-bottom: 1px solid #dbe6f4;
}

.sb-search-tabs a,
.sb-search-quick-list a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #dbe6f4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.34s ease, border-color 0.18s ease, color 0.18s ease;
}

.sb-search-tabs a span {
  color: inherit;
  opacity: 0.7;
}

.sb-search-tabs a.is-active,
.sb-search-quick-list a:hover,
.sb-search-quick-list a:focus {
  color: #ffffff;
  border-color: #1572e8;
  background-image: linear-gradient(90deg, #073fb8 0 50%, #1572e8 50% 100%);
}

.sb-search-tabs a.is-active:hover,
.sb-search-tabs a.is-active:focus,
.sb-search-quick-list a:hover,
.sb-search-quick-list a:focus {
  color: #ffffff;
  background-position: 0 0;
}

.sb-search-initial,
.sb-search-empty {
  padding: 28px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.sb-search-initial strong,
.sb-search-empty strong {
  display: block;
  margin-bottom: 10px;
  color: #101827;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 600;
}

.sb-search-initial p,
.sb-search-empty p,
.sb-search-toolbar p,
.sb-search-row p,
.sb-search-section-empty {
  margin: 0;
  color: #5b687a;
  font-size: 16px;
  line-height: 1.62;
}

.sb-search-quick-list {
  margin-top: 22px;
}

.sb-search-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 1px solid #dbe6f4;
}

.sb-search-toolbar h2 {
  font-size: 42px;
  line-height: 1.06;
}

.sb-search-toolbar p {
  margin-top: 12px;
}

.sb-search-results {
  display: grid;
  gap: 58px;
}

.sb-search-result-section {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.sb-search-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sb-search-section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  line-height: 1.16;
}

.sb-search-section-heading i {
  color: #1572e8;
  font-size: 20px;
}

.sb-search-section-heading > a {
  color: #1572e8;
  font-size: 14px;
  font-weight: 700;
}

.sb-search-list {
  display: grid;
  border-top: 1px solid #dbe6f4;
}

.sb-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #dbe6f4;
  min-width: 0;
}

.sb-search-row span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #1572e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sb-search-row a:not(.sb-search-row-action) {
  display: block;
  color: #101827;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 600;
}

.sb-search-row a:not(.sb-search-row-action):hover,
.sb-search-row a:not(.sb-search-row-action):focus {
  color: #1572e8;
}

.sb-search-row p {
  max-width: 880px;
  margin-top: 8px;
}

.sb-search-row-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #dbe6f4;
  border-radius: 999px;
  color: #334155;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.sb-search-row-action:hover,
.sb-search-row-action:focus {
  color: #1572e8;
  border-color: #1572e8;
}

.sb-search-section-empty {
  padding: 22px 0;
  border-top: 1px solid #dbe6f4;
  border-bottom: 1px solid #dbe6f4;
}

@media (max-width: 1399.98px) {
  .sb-search-page {
    --sb-search-shell: min(1520px, calc(100% - 120px));
  }

  .sb-search-hero {
    gap: 52px;
  }
}

@media (max-width: 1099.98px) {
  .sb-search-page {
    --sb-search-shell: calc(100% - 56px);
  }

  .sb-search-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sb-search-hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 767.98px) {
  .sb-search-page {
    --sb-search-shell: calc(100% - 64px);
  }

  .sb-search-page .container {
    padding-right: 0;
    padding-left: 0;
  }

  .sb-search-shell {
    padding: 64px 0 84px;
  }

  .sb-search-hero {
    padding-bottom: 38px;
  }

  .sb-search-hero h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  .sb-search-lead,
  .sb-search-hero-note {
    font-size: 18px;
  }

  .sb-search-form,
  .sb-search-row {
    grid-template-columns: 1fr;
  }

  .sb-search-form button {
    width: 100%;
  }

  .sb-search-tabs {
    padding: 22px 0;
  }

  .sb-search-initial,
  .sb-search-empty {
    padding: 24px 20px;
  }

  .sb-search-initial strong,
  .sb-search-empty strong {
    font-size: 24px;
  }

  .sb-search-toolbar h2 {
    font-size: 34px;
  }

  .sb-search-section-heading {
    align-items: flex-start;
  }

  .sb-search-section-heading h2 {
    font-size: 26px;
  }

  .sb-search-row-action {
    justify-self: start;
  }
}
