.search-page {
  width: 100%;
  overflow: hidden;
  background: #f7f9fc;
  color: #17233c;
}

.search-page *,
.search-page *::before,
.search-page *::after {
  box-sizing: border-box;
}

.search-hero {
  width: min(calc(100% - 4.8rem), 116rem);
  min-height: 42rem;
  margin: 2.4rem auto 0;
  padding: 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(24rem, .55fr);
  align-items: center;
  gap: 5rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .12), transparent 28%),
    linear-gradient(135deg, #172d50, #101c33);
  color: #fff;
  overflow: hidden;
}

.search-hero__copy {
  position: relative;
  z-index: 1;
}

.search-hero__copy > span,
.search-discovery > div > span {
  display: inline-block;
  margin-bottom: 1rem;
  color: #ff8da0;
  font-size: 1.5rem;
  font-weight: 900;
}

.search-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 4.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.4;
}

.search-hero p {
  max-width: 70rem;
  margin: 1.4rem 0 0;
  color: #dce5f2;
  font-size: 1.65rem;
  line-height: 2;
}

.search-form {
  max-width: 76rem;
  margin-top: 2.8rem;
  padding: .7rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .7rem;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .22);
}

.search-form input {
  width: 100%;
  min-height: 5.2rem;
  padding: 1rem 1.5rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: #17233c;
  font-family: inherit;
  font-size: 1.6rem;
}

.search-form input:focus-visible {
  border-radius: .8rem;
  outline: .3rem solid rgba(201, 34, 62, .18);
}

.search-form button {
  min-width: 11rem;
  min-height: 5.2rem;
  padding: 1rem 2rem;
  border: 0;
  border-radius: .9rem;
  background: #c9223e;
  color: #fff;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  transition: background-color .2s ease;
}

.search-form button:hover,
.search-form button:focus-visible {
  background: #a91931;
}

.search-hero small {
  margin-top: 1rem;
  display: block;
  color: #bfcbe0;
  font-size: 1.3rem;
}

.search-hero__visual {
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border: .1rem solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}

.search-hero__visual::before,
.search-hero__visual::after,
.search-hero__visual span {
  position: absolute;
  border: .1rem solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  content: '';
}

.search-hero__visual::before { inset: 12%; }
.search-hero__visual::after { inset: 25%; }
.search-hero__visual span { inset: 38%; }

.search-hero__visual strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 9rem;
  font-weight: 400;
  line-height: 1;
}

.search-results {
  padding-top: 6rem;
}

.search-result-card__type {
  position: absolute;
  inset-block-start: 1.2rem;
  inset-inline-start: 1.2rem;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  background: rgba(23, 45, 80, .92);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.search-result-card .content-card__image {
  position: relative;
}

.search-empty__links,
.search-discovery__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.search-empty__links a,
.search-discovery__links a {
  min-height: 4.8rem;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: .1rem solid #c9223e;
  border-radius: .9rem;
  background: #c9223e;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  text-decoration: none;
}

.search-empty__links a:last-child,
.search-discovery__links a:last-child {
  background: #fff;
  color: #b51f38;
}

.search-discovery {
  width: min(calc(100% - 4.8rem), 96rem);
  margin: 6rem auto;
  padding: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  border: .1rem solid #dfe5ec;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(23, 35, 60, .06);
}

.search-discovery h2 {
  margin: 0;
  color: #17233c;
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1.5;
}

.search-discovery p {
  margin: 1rem 0 0;
  color: #657187;
  font-size: 1.5rem;
  line-height: 1.9;
}

.search-page > .consultation-cta {
  margin-top: 0;
  margin-bottom: 7rem;
}

@media (max-width: 860px) {
  .search-hero {
    grid-template-columns: 1fr;
  }

  .search-hero__visual {
    display: none;
  }

  .search-discovery {
    align-items: stretch;
    flex-direction: column;
  }

  .search-discovery__links {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .search-hero,
  .search-discovery {
    width: calc(100% - 3.2rem);
  }

  .search-hero {
    min-height: 44rem;
    padding: 3.5rem 2.2rem;
  }

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

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

  .search-discovery {
    margin-block: 4rem;
    padding: 2.4rem 2rem;
  }

  .search-discovery__links,
  .search-empty__links {
    align-items: stretch;
    flex-direction: column;
  }

  .search-discovery__links a,
  .search-empty__links a {
    width: 100%;
  }
}
