body {
  margin: 0;
  background: #0d0c0c;
  color: #f8fafc;
  font-family: Rubik, Arial, Helvetica, sans-serif;
}

body a {
  color: inherit;
}

.wsp-find-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(249, 115, 22, .18), transparent 32%),
    linear-gradient(180deg, #111111 0%, #0d0c0c 54%, #111827 100%);
  min-height: 72vh;
}

.wsp-find-wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 76px;
}

.wsp-find-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.wsp-find-breadcrumb a {
  text-decoration: none;
}

.wsp-find-breadcrumb a:hover {
  color: #fff;
}

.wsp-find-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.wsp-find-kicker {
  margin: 0 0 10px;
  color: #fb923c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wsp-find-hero h1 {
  margin: 0 0 14px;
  max-width: 820px;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
}

.wsp-find-intro {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  line-height: 1.65;
}

.wsp-find-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wsp-find-stat {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 16px;
  background: rgba(24, 24, 27, .82);
}

.wsp-find-stat strong {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.wsp-find-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
}

.wsp-find-panel {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 18px;
  background: rgba(15, 23, 42, .86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.wsp-find-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.wsp-find-search-form input {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 17px 18px;
  color: #111827;
  background: rgba(255, 255, 255, .98);
  font-size: 18px;
  outline: none;
}

.wsp-find-search-form input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .2);
}

.wsp-find-search-form button,
.wsp-find-secondary-button {
  border: 0;
  border-radius: 12px;
  padding: 15px 22px;
  color: #111827;
  background: #fb923c;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.wsp-find-search-form button:hover,
.wsp-find-secondary-button:hover {
  background: #fdba74;
}

.wsp-find-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.wsp-find-example {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .06);
  font-size: 13px;
  cursor: pointer;
}

.wsp-find-example:hover {
  border-color: rgba(249, 115, 22, .62);
  color: #fff;
}

.wsp-find-body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.wsp-filter-panel,
.wsp-results-panel,
.wsp-related-panel {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: rgba(17, 24, 39, .92);
}

.wsp-filter-panel {
  align-self: start;
  position: sticky;
  top: 86px;
  padding: 16px;
}

.wsp-filter-panel h2,
.wsp-related-panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.wsp-filter-group {
  margin-bottom: 13px;
}

.wsp-filter-group label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  font-weight: 800;
}

.wsp-filter-group select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 11px 10px;
  color: #111827;
  background: #fff;
  font-size: 14px;
}

.wsp-filter-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .54);
  font-size: 12px;
  line-height: 1.45;
}

.wsp-results-panel {
  min-width: 0;
  padding: 18px;
}

.wsp-results-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.wsp-search-meta {
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
}

.wsp-results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wsp-find-secondary-button {
  padding: 10px 12px;
  color: #f8fafc;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
}

.wsp-find-secondary-button:hover {
  background: rgba(255, 255, 255, .14);
}

.wsp-search-results {
  display: grid;
  gap: 14px;
}

.wsp-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  padding: 16px;
  background: #18181b;
  text-decoration: none;
}

.wsp-result-card:hover {
  border-color: rgba(249, 115, 22, .6);
}

.wsp-result-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
}

.wsp-result-card p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.55;
}

.wsp-result-type {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fed7aa;
  background: rgba(249, 115, 22, .13);
  font-size: 12px;
  font-weight: 900;
}

.wsp-result-url {
  color: #fb923c;
  font-size: 13px;
  word-break: break-word;
}

.wsp-result-thumb {
  width: 132px;
  height: 104px;
  border-radius: 10px;
  object-fit: contain;
  background: #0f172a;
}

.wsp-result-thumb-placeholder {
  display: grid;
  place-items: center;
  width: 132px;
  height: 104px;
  border: 1px dashed rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: rgba(255, 255, 255, .42);
  background: #0f172a;
  font-size: 12px;
  text-align: center;
}

.wsp-result-chips,
.wsp-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}

.wsp-result-chip {
  border-radius: 999px;
  padding: 5px 8px;
  color: rgba(255, 255, 255, .74);
  background: rgba(255, 255, 255, .07);
  font-size: 12px;
}

.wsp-result-related-title {
  margin: 10px 0 6px;
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wsp-related-links a {
  border-radius: 999px;
  padding: 6px 9px;
  color: #fde68a;
  background: rgba(250, 204, 21, .1);
  font-size: 12px;
  text-decoration: none;
}

.wsp-related-links a:hover {
  background: rgba(250, 204, 21, .18);
}

.wsp-no-results {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: #18181b;
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
}

.wsp-related-panel {
  margin-top: 18px;
  padding: 16px;
}

.wsp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wsp-related-card {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, .05);
  text-decoration: none;
}

.wsp-related-card strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}

.wsp-related-card span {
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
}

mark {
  border-radius: 3px;
  padding: 0 2px;
  color: #111827;
  background: #fed7aa;
}

@media (max-width: 960px) {
  .wsp-find-hero,
  .wsp-find-body {
    grid-template-columns: 1fr;
  }

  .wsp-filter-panel {
    position: static;
  }

  .wsp-filter-panel form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .wsp-filter-group {
    margin-bottom: 0;
  }

  .wsp-related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .wsp-find-wrap {
    width: min(100% - 22px, 1240px);
    padding-top: 26px;
  }

  .wsp-find-search-form,
  .wsp-filter-panel form,
  .wsp-result-card,
  .wsp-related-grid {
    grid-template-columns: 1fr;
  }

  .wsp-find-search-form button {
    width: 100%;
  }

  .wsp-find-stats {
    grid-template-columns: 1fr;
  }

  .wsp-result-thumb,
  .wsp-result-thumb-placeholder {
    width: 100%;
    height: 150px;
  }
}
