:root {
  --search-red: #e00012;
  --search-green: #24a65a;
  --search-dark: #080808;
  --search-ink: #111;
  --search-copy: #4b4b4b;
  --search-muted: #bdb7ad;
  --search-line: rgba(21, 21, 21, 0.13);
  --search-panel: #f4f2ef;
  --search-radius: 8px;
  --search-content: 1280px;
}

/* Page-specific banner media variables. Layout and typography are defined in site-banner.css. */
.search-hero {
  --site-banner-min-height: 250px;
  --site-banner-bg: var(--search-dark);
  --site-banner-shade:
    radial-gradient(circle at 15% 54%, rgba(224, 0, 18, 0.24), transparent 28%),
    linear-gradient(180deg, transparent 62%, #0a0a0a 100%);
  --site-banner-lead-color: var(--search-muted);
  --site-banner-meta-color: var(--search-muted);
}


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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--search-ink);
  font-family: var(--site-font-sans);
  line-height: 1.6;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.search-page {
  overflow: hidden;
  background: #fff;
}

.search-shell {
  width: min(var(--search-content), calc(100% - 40px));
  margin: 0 auto;
}

.search-eyebrow {
  display: block;
  margin: 0;
  color: var(--search-red);
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
}

.search-section-lead {
  max-width: 760px;
  margin: 0;
  color: var(--search-copy);
  font-size: 16px;
  line-height: 1.72;
}

.search-breadcrumb {
  background: #fff;
}

.search-results-section {
  padding: 0 0 60px;
  background: #fff;
  color: var(--search-ink);
}

.search-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.search-results-head > div:first-child {
  max-width: 820px;
}

.search-results-count {
  min-width: 132px;
  padding: 0 0 8px;
  text-align: right;
}

.search-results-count strong,
.search-results-count span {
  display: block;
}

.search-results-count strong {
  color: var(--search-red);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.search-results-count span {
  margin-top: 8px;
  color: var(--search-copy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-page-form {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 34px;
}

.search-page-input {
  width: 100%;
  height: 56px;
  padding: 0 58px 0 22px;
  border: 1px solid rgba(21, 21, 21, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #2b2b2b;
  font: inherit;
  font-size: 17px;
  outline: none;
  transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.search-page-input::placeholder {
  color: rgba(17, 17, 17, 0.45);
}

.search-page-input::-webkit-search-cancel-button {
  width: 12px;
  height: 12px;
  margin-right: 6px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 46%, #777 46%, #777 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #777 46%, #777 54%, transparent 54%);
}

.search-page-input:focus {
  border-color: rgba(224, 0, 18, 0.54);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(224, 0, 18, 0.1);
}

.search-page-submit {
  position: absolute;
  top: 9px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #666;
  cursor: pointer;
  transform: none;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.search-page-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-page-submit:hover {
  background: rgba(224, 0, 18, 0.08);
  color: var(--search-red);
}

.search-page-submit:active {
  transform: scale(0.96);
}

.search-page-message {
  margin: 10px 0 0;
  padding-left: 22px;
  color: var(--search-red);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.search-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--search-line);
  border-bottom: 1px solid var(--search-line);
}

.search-filter-tabs a,
.search-filter-tabs button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-right: 1px solid var(--search-line);
  background: transparent;
  color: var(--search-copy);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.22s ease;
}

.search-filter-tabs a:first-child,
.search-filter-tabs button:first-child {
  padding-left: 0;
}

.search-filter-tabs a:last-child,
.search-filter-tabs button:last-child {
  border-right: 0;
}

.search-filter-tabs a:hover,
.search-filter-tabs a.is-active,
.search-filter-tabs button:hover,
.search-filter-tabs button.is-active {
  color: var(--search-red);
}

.search-results-status {
  min-height: 24px;
  margin-bottom: 8px;
  color: var(--search-copy);
  font-size: 14px;
  line-height: 1.5;
}

.search-results-list {
  border-bottom: 1px solid var(--search-line);
}

.search-result-card {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--search-line);
  color: inherit;
  text-decoration: none;
}

.search-result-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 170px;
  height: 2px;
  background: var(--search-red);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 0.24s ease, transform 0.28s ease;
}

.search-result-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.search-result-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--search-copy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.search-result-card__category {
  color: var(--search-red);
}

.search-result-card__title {
  margin: 0;
  color: var(--search-ink);
  font-size: var(--search-result-title-size, 25px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.search-result-card__excerpt {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--search-copy);
  font-size: 16px;
  line-height: 1.66;
}

.search-result-card__snippets {
  max-width: 780px;
  margin: 12px 0 0;
}

.search-result-card__snippet {
  margin: 0;
  color: var(--search-copy);
  font-size: 16px;
  line-height: 1.66;
}

.search-result-card__snippet + .search-result-card__snippet {
  margin-top: 6px;
}

.search-hit {
  background: transparent;
  color: var(--search-green);
  font-weight: 800;
}

.search-result-card__url {
  display: inline-block;
  margin-top: 14px;
  color: rgba(17, 17, 17, 0.58);
  font-size: 13px;
  line-height: 1.3;
  word-break: break-word;
}

.search-result-card__action {
  align-self: center;
  color: var(--search-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.search-empty {
  margin-top: 24px;
  padding: 34px;
  border: 1px solid var(--search-line);
  border-radius: var(--search-radius);
  background: var(--search-panel);
}

.search-empty[hidden] {
  display: none !important;
}

.search-empty__kicker {
  margin: 0;
  color: var(--search-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.search-empty h3 {
  margin: 14px 0 0;
  color: var(--search-ink);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.search-empty p:last-child {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--search-copy);
  font-size: 16px;
  line-height: 1.64;
}

.search-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1024px) {
.search-results-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .search-results-count {
    text-align: left;
  }

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

  .search-result-card::after {
    left: 140px;
  }

  .search-result-card__action {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 768px) {
.search-shell {
    width: min(var(--search-content), calc(100% - 30px));
  }

  .search-filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .search-filter-tabs a,
  .search-filter-tabs button {
    justify-content: center;
    min-width: 0;
    padding: 0 12px;
    border-bottom: 1px solid var(--search-line);
  }

  .search-filter-tabs a:first-child,
  .search-filter-tabs button:first-child {
    padding-left: 12px;
  }

  .search-filter-tabs a:nth-child(2n),
  .search-filter-tabs button:nth-child(2n) {
    border-right: 0;
  }

  .search-result-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .search-result-card::after {
    left: 0;
  }

  .search-result-card__meta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .search-result-card__action {
    grid-column: auto;
  }

  .search-empty {
    padding: 28px 20px;
  }
}

@media (max-width: 1024px) {
  .search-results-count {
    display: none;
  }
}

@media (max-width: 640px) {
.search-eyebrow {
    font-size: 14px;
  }
}

@media (max-width: 520px) {
.search-results-section {
    padding-bottom: 30px;
  }

  .search-page-input {
    height: 52px;
  }
}
