html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.search-page-hero {
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  color: #fff;
  background: linear-gradient(120deg, var(--green-950), var(--green-700));
}

.search-page-hero .breadcrumb {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.search-page-hero h1 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 400;
}

.search-page-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  max-width: 900px;
  padding: .55rem;
  color: var(--green-900);
  background: #fff;
  border-radius: .25rem;
}

.search-page-form > i {
  margin-left: .6rem;
  font-size: 1.35rem;
}

.search-page-form input {
  min-width: 0;
  height: 52px;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 1.08rem;
}

.search-results-section {
  min-height: 50vh;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.search-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d9d0c3;
}

.search-results-heading h2,
.search-no-results h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.search-results-heading > p {
  margin: 0;
  white-space: nowrap;
}

.search-skeleton {
  display: grid;
  gap: .75rem;
}

.search-skeleton span {
  height: 94px;
  background: linear-gradient(90deg, #e5dfd4 25%, #f4f0e8 50%, #e5dfd4 75%);
  background-size: 200% 100%;
  border-radius: .25rem;
  animation: search-shimmer 1.25s infinite linear;
}

@keyframes search-shimmer {
  to { background-position: -200% 0; }
}

.search-page-groups {
  display: grid;
  gap: 3rem;
}

.search-group-title {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
}

.search-group-title h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.search-group-title span {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--green-700);
  border-radius: 50%;
  font-size: .75rem;
}

.search-group-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.search-page-result {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ddd5c9;
  transition: border-color .2s ease, transform .2s ease;
}

.search-page-result:hover {
  color: var(--ink);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}

.search-result-media {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green-700), var(--green-950));
}

.search-result-media i {
  font-size: 1.7rem;
}

.search-page-result small,
.search-page-result strong,
.search-page-result span {
  display: block;
}

.search-page-result small {
  color: var(--gold-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.search-page-result strong {
  margin: .15rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.search-page-result span span {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-no-results {
  padding: clamp(3rem, 8vw, 7rem) 1rem;
  text-align: center;
  background: #fff;
  border: 1px dashed #c9c0b3;
}

.search-no-results > i {
  color: var(--gold-dark);
  font-size: 3rem;
}

.search-no-results h2 {
  margin: 1rem 0 .5rem;
  font-size: 2rem;
}

@media (max-width: 767.98px) {
  .search-group-list {
    grid-template-columns: 1fr;
  }

  .search-results-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 389.98px) {
  .search-page-form {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .search-page-form .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .search-page-result {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .search-result-media {
    width: 56px;
    height: 64px;
  }

  .search-page-result > .bi-arrow-right {
    display: none;
  }
}
