body.search-first-home {
  background:
    radial-gradient(circle at 92% 8%, rgba(22, 124, 128, 0.16), transparent 30%),
    radial-gradient(circle at 7% 18%, rgba(173, 52, 52, 0.1), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef4f7 54%, #f8fafc 100%);
}

.search-first-home .app-shell {
  width: min(1180px, calc(100% - 36px));
  padding-top: 18px;
}

.search-first-home .topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(217, 225, 236, 0.86);
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(18px);
}

.search-first-home .brand-block {
  min-width: 0;
}

.search-first-home .brand-block h1 {
  font-size: 21px;
}

.search-first-home .brand-block .eyebrow {
  color: #9f2548;
}

.search-first-home .audience-nav {
  flex: initial;
  min-width: 0;
}

.search-first-home .audience-nav a,
.search-first-home .nav-dropdown > summary {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.search-first-home main {
  display: grid;
  gap: 28px;
}

.swi-search-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: end;
  min-height: 500px;
  padding: clamp(48px, 8vw, 88px) 0 24px;
}

.swi-hero-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.swi-hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: #485465;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.swi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.search-first-home .primary-button,
.search-first-home .ghost-button {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
}

.search-first-home .primary-button {
  border-color: #0f766e;
  background: linear-gradient(135deg, #0f766e, #173241);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.swi-search-panel {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(217, 225, 236, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.89)),
    #fff;
  box-shadow: 0 22px 60px rgba(23, 32, 51, 0.12);
}

.swi-search-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, #0f766e, #2457a6, #9f2548, #c47d16);
}

.swi-search-panel label {
  display: block;
  margin-bottom: 12px;
  color: #2b3746;
  font-weight: 800;
}

.swi-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.swi-search-row input {
  width: 100%;
  min-height: 58px;
  border: 1px solid #cfd8e1;
  border-radius: 8px;
  background: #fbfdfe;
  font-size: 1.02rem;
}

.swi-search-row input:focus {
  border-color: #0f766e;
  outline: 3px solid rgba(15, 118, 110, 0.14);
}

.swi-search-row button {
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f766e, #173241);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.swi-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.swi-search-filters a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid #d9e1ec;
  border-radius: 999px;
  background: #fff;
  color: #44515f;
  font-weight: 800;
  padding: 0 12px;
  text-decoration: none;
}

.swi-search-filters a:first-child {
  border-color: rgba(15, 118, 110, 0.35);
  color: #0b4f4a;
  background: #e7f7f1;
}

.swi-coverage-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #d9e1ec;
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.07);
}

.swi-coverage-strip article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.swi-coverage-strip span {
  display: block;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.swi-coverage-strip strong {
  display: block;
  margin-top: 4px;
  color: #172033;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.15;
}

.swi-entry-workspace {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.swi-browse-panel,
.swi-result-card {
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.08);
}

.swi-browse-panel {
  position: sticky;
  top: 86px;
  padding: 18px;
}

.swi-browse-panel h2,
.swi-method-band h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1.08;
}

.browse-link {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #d9e1ec;
  color: #394555;
  text-decoration: none;
}

.browse-link span {
  font-weight: 800;
}

.browse-link strong {
  align-self: start;
  padding: 3px 7px;
  border-radius: 999px;
  color: #0b4f4a;
  background: #e7f7f1;
  font-size: 0.72rem;
}

.browse-link.active {
  color: #9f2548;
}

.swi-result-stack {
  display: grid;
  gap: 14px;
}

.swi-result-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 182px;
  padding: 22px;
  color: #172033;
  text-decoration: none;
}

.swi-result-card:hover,
.swi-result-card:focus-visible {
  border-color: #0f766e;
  outline: none;
  transform: translateY(-1px);
}

.swi-result-card .result-rank {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 8px;
  color: #0b4f4a;
  background: #e7f7f1;
  font-weight: 900;
}

.swi-result-card strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.swi-result-card p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
}

.result-cta {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #245178;
  font-weight: 900;
  padding: 0 12px;
  white-space: nowrap;
}

.swi-result-card.journal-entry {
  border-left: 5px solid #2457a6;
}

.swi-result-card.author-entry {
  border-left: 5px solid #2f7d4b;
}

.swi-method-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #142633 0%, #0b4f4a 52%, #7f1d3d 100%);
  box-shadow: 0 22px 60px rgba(23, 32, 51, 0.12);
}

.swi-method-band .eyebrow {
  color: #ffd37a;
}

.swi-method-band ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swi-method-band li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.swi-method-band li span {
  color: #ffd37a;
  font-weight: 900;
}

.swi-info-grid {
  margin-bottom: 24px;
}

@media (max-width: 960px) {
  .search-first-home .topbar,
  .swi-search-hero,
  .swi-entry-workspace,
  .swi-method-band {
    grid-template-columns: 1fr;
  }

  .search-first-home .topbar {
    position: static;
  }

  .swi-search-hero {
    min-height: auto;
  }

  .swi-search-panel {
    order: -1;
  }

  .swi-coverage-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .swi-browse-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .search-first-home .app-shell {
    width: min(100% - 20px, 1180px);
  }

  .search-first-home .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .swi-search-row,
  .swi-result-card,
  .swi-coverage-strip {
    grid-template-columns: 1fr;
  }

  .swi-search-row button {
    width: 100%;
  }

  .swi-result-card {
    align-items: start;
  }

  .result-cta {
    justify-self: start;
  }
}
