.ve-search-page {
  width: min(900px, 100%);
  margin: clamp(36px, 10vh, 110px) auto 70px;
}

.ve-search-page.has-query {
  margin-top: 24px;
}

.ve-search-page-header {
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}

.ve-search-page-header h1 {
  margin: 8px 0 10px;
  color: #fff4e1;
  font: 700 clamp(32px, 4vw, 48px)/1.08 var(--ve-font-serif);
  letter-spacing: -.018em;
}

.ve-search-page-header > p:last-child {
  margin: 0;
  color: #aeb9c7;
  font-size: clamp(14px, 2vw, 17px);
}

.ve-search-page-kicker {
  justify-content: center;
  margin: 0;
  color: #e0b77f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ve-search-page-form {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 8px 9px 8px 18px;
  background: linear-gradient(180deg, #151f2c, #0b121c);
  border: 1px solid rgba(225, 183, 126, .58);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .46), 0 0 26px rgba(212, 163, 115, .08), inset 0 1px rgba(255, 255, 255, .055);
}

.ve-search-page-form:focus-within {
  border-color: #e7c18d;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .52), 0 0 0 4px rgba(103, 217, 255, .13);
}

.ve-search-page-icon {
  display: grid;
  place-items: center;
  color: #d8b27c;
}

.ve-search-page-icon .ve-icon {
  width: 22px;
  height: 22px;
}

.ve-search-page-form input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0;
  color: #f7f1e8;
  background: transparent;
  border: 0;
  outline: 0;
  font: 500 17px/1.4 var(--ve-font-sans);
}

.ve-search-page-form input::placeholder {
  color: #7f8b99;
}

.ve-search-page-form button {
  min-width: 104px;
  min-height: 46px;
  padding: 0 20px;
  color: #17120c;
  background: #e3bd87;
  border: 1px solid #f1d4aa;
  border-radius: 999px;
  font: 800 13px/1 var(--ve-font-sans);
  cursor: pointer;
}

.ve-search-summary {
  margin: 28px 0 12px;
  color: #aeb9c7;
  font-size: 13px;
}

.ve-search-summary p {
  margin: 0;
}

.ve-search-summary strong {
  color: #f1d2a8;
}

.ve-search-page-results {
  display: grid;
  gap: 30px;
  margin-top: 22px;
}

.ve-search-group-tabs {
  display: flex;
  gap: 7px;
  margin: 16px 0 8px;
  padding-bottom: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ve-search-group-tabs a {
  display: inline-flex;
  min-height: 36px;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
  padding: 7px 12px;
  color: #aeb9c7;
  background: rgba(13, 21, 32, .72);
  border: 1px solid rgba(154, 121, 71, .24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.ve-search-group-tabs a:hover,
.ve-search-group-tabs a:focus-visible,
.ve-search-group-tabs a.is-active {
  color: #f5d5a8;
  background: rgba(212, 163, 115, .11);
  border-color: rgba(225, 183, 126, .58);
}

.ve-search-group-tabs a span {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  padding-inline: 5px;
  place-items: center;
  color: #d9b47f;
  background: rgba(0, 0, 0, .22);
  border-radius: 999px;
  font-size: 10px;
}

.ve-search-result-group {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(212, 163, 115, .045), transparent 38%),
    rgba(8, 14, 22, .58);
  border: 1px solid rgba(154, 121, 71, .24);
  border-radius: 14px;
}

.ve-search-result-group-header {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(154, 121, 71, .22);
}

.ve-search-result-group-header h2 {
  gap: 9px;
  margin: 0;
  color: #efd0a3;
  font: 700 20px/1.2 var(--ve-font-serif);
}

.ve-search-result-group-header h2 .ve-icon {
  width: 18px;
  height: 18px;
  color: #c99d65;
}

.ve-search-result-group-header > span {
  color: #8996a5;
  font-size: 11px;
}

.ve-search-result-group .ve-search-page-result:last-child {
  border-bottom: 0;
}

.ve-search-page-result {
  border-bottom: 1px solid rgba(154, 121, 71, .22);
}

.ve-search-page-result > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  color: inherit;
  border-radius: 10px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.ve-search-page-result > a:hover,
.ve-search-page-result > a:focus-visible {
  outline: none;
  background: rgba(212, 163, 115, .07);
  transform: translateX(3px);
}

.ve-search-page-result img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border: 1px solid rgba(225, 183, 126, .35);
  border-radius: 5px;
}

.ve-search-page-result-copy {
  display: block;
  min-width: 0;
}

.ve-search-page-result strong,
.ve-search-page-result small,
.ve-search-page-result-snippet,
.ve-search-page-result-url {
  display: block;
}

.ve-search-group-more {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #dbb57e;
  background: rgba(212, 163, 115, .045);
  border-top: 1px solid rgba(154, 121, 71, .18);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.ve-search-group-more:hover,
.ve-search-group-more:focus-visible {
  color: #fff0d8;
  background: rgba(212, 163, 115, .1);
}

.ve-search-group-empty {
  margin: 26px 0;
  padding: 22px;
  color: #aeb9c7;
  background: rgba(13, 21, 32, .65);
  border: 1px solid rgba(154, 121, 71, .22);
  border-radius: 12px;
  text-align: center;
}

.ve-search-page-result-meta {
  display: flex;
  min-height: 25px;
  gap: 7px;
  align-items: center;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.ve-search-page-result-type {
  display: inline-flex;
  align-items: center;
  color: #c59b64;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ve-search-page-result-levels {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.ve-search-page-result-level.ve-school-level-badge {
  min-height: 23px;
  padding: 3px 7px 5px;
  font-size: 9px;
}

.ve-search-page-result-level .ve-icon {
  width: 11px;
  height: 11px;
}

.ve-search-page-result strong {
  color: #f5d5a8;
  font: 700 clamp(19px, 3vw, 24px)/1.22 var(--ve-font-serif);
}

.ve-search-page-result small {
  margin-top: 3px;
  color: #bcc6d2;
  font-size: 13px;
}

.ve-search-page-result-snippet {
  margin-top: 7px;
  overflow: hidden;
  color: #d2d8df;
  font-family: var(--ve-font-story);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ve-search-page-result-url {
  margin-top: 7px;
  overflow: hidden;
  color: #8da897;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ve-search-page-prompts {
  margin-top: 22px;
  color: #919daa;
  text-align: center;
  font-size: 12px;
}

.ve-search-page-prompts div {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ve-search-page-prompts a {
  padding: 8px 12px;
  color: #d7b17d;
  background: rgba(212, 163, 115, .06);
  border: 1px solid rgba(212, 163, 115, .22);
  border-radius: 999px;
  text-decoration: none;
}

@media (max-width: 560px) {
  .ve-search-page,
  .ve-search-page.has-query {
    margin-top: 20px;
  }

  .ve-search-page-header {
    margin-bottom: 18px;
  }

  .ve-search-page-header h1 {
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.12;
  }

  .ve-search-page-form {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 7px;
    min-height: 58px;
    padding: 6px 7px 6px 14px;
  }

  .ve-search-page-form input {
    height: 44px;
    font-size: 16px;
  }

  .ve-search-page-form button {
    min-width: 76px;
    min-height: 44px;
    padding-inline: 14px;
  }

  .ve-search-page-result > a {
    padding-inline: 12px;
  }

  .ve-search-page-results {
    gap: 20px;
  }

  .ve-search-result-group-header {
    padding-inline: 13px;
  }

  .ve-search-result-group-header h2 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ve-search-page-result > a { transition: none; }
}
