:root {
  --rv-page: #f8fafc;
  --rv-card: #ffffff;
  --rv-border: #dde5ef;
  --rv-border-soft: #e8edf4;
  --rv-text: #111827;
  --rv-muted: #667085;
  --rv-link: #1a0dab;
  --rv-blue: #2443ad;
  --rv-red: #ef233c;
  --rv-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

html {
  background: var(--rv-page);
}

body.rv-search-layout {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(239, 35, 60, .05), transparent 32rem),
    radial-gradient(circle at top right, rgba(36, 67, 173, .06), transparent 34rem),
    var(--rv-page);
  color: var(--rv-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rv-search-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--rv-border);
  backdrop-filter: blur(16px);
}

.rv-search-topbar-inner {
  display: grid;
  grid-template-columns: 180px minmax(280px, 720px) auto;
  align-items: center;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 13px 24px 9px;
}

.rv-search-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  text-decoration: none;
}

.rv-search-brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #ef233c, #b91c1c);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 10px 18px rgba(239, 35, 60, .22);
}

.rv-search-brand-copy {
  display: grid;
  line-height: 1.05;
}

.rv-search-brand-copy strong {
  font-size: 17px;
  letter-spacing: -0.035em;
}

.rv-search-brand-copy em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.rv-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  height: 46px;
  min-width: 0;
  border: 1px solid #cfd8e3;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.rv-search-input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  padding: 0 18px;
  background: transparent;
  color: #111827;
  font-size: 15px;
}

.rv-search-button {
  height: 36px;
  margin-right: 5px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--rv-red);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.rv-search-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}

.rv-search-actions a {
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.rv-search-tabbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 10px 204px;
}

.rv-search-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.rv-search-tabs::-webkit-scrollbar {
  display: none;
}

.rv-search-tabs a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}

.rv-search-tabs a:hover {
  background: #eef2f7;
  color: #111827;
}

.rv-search-tabs a.is-active {
  background: #111827;
  color: #fff;
}

.rv-search-tools {
  position: relative;
}

.rv-search-tools summary {
  list-style: none;
  cursor: pointer;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.rv-search-tools summary::-webkit-details-marker {
  display: none;
}

.rv-search-tools div {
  position: absolute;
  top: 28px;
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 170px;
  padding: 8px;
  border: 1px solid var(--rv-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--rv-shadow);
}

.rv-search-tools:not([open]) div {
  display: none;
}

.rv-search-tools a {
  padding: 8px 9px;
  border-radius: 10px;
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.rv-search-tools a:hover {
  background: #f8fafc;
}

.rv-serp-shell {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(330px, 386px);
  gap: 36px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px 70px;
}

.rv-serp-results {
  min-width: 0;
  width: 100%;
}

.rv-serp-rail {
  min-width: 0;
  width: 100%;
  max-width: 386px;
  align-self: start;
}

.rv-search-layout #rvSafeKnowledgePanel,
.rv-search-layout .rv-kp-v4-host,
.rv-search-layout [data-rv-kp-v4-host] {
  float: none !important;
  clear: none !important;
  position: sticky !important;
  top: 104px !important;
  width: 100% !important;
  max-width: 386px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rv-search-summary-card,
.rv-ai-overview-card,
.rv-sponsored-block,
.rv-inline-media-strip,
.rv-search-empty,
.rv-search-didyoumean,
.rv-related-searches {
  background: #fff;
  border: 1px solid var(--rv-border);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}

.rv-search-summary-card {
  padding: 17px 18px 15px;
  margin-bottom: 16px;
}

.rv-search-kicker {
  margin: 0 0 6px;
  color: #64748b;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
}

.rv-search-summary-card h1 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.rv-search-summary-card h1 span {
  color: var(--rv-red);
}

.rv-search-summary-card p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 13.5px;
}

.rv-search-muted {
  color: #94a3b8;
}

.rv-search-didyoumean {
  padding: 13px 15px;
  margin-bottom: 16px;
  color: #475569;
  font-size: 14px;
}

.rv-search-didyoumean a {
  color: var(--rv-blue);
  font-weight: 850;
  text-decoration: none;
}

.rv-ai-overview-card,
.rv-sponsored-block,
.rv-inline-media-strip {
  padding: 16px;
  margin-bottom: 18px;
}

.rv-ai-overview-head,
.rv-inline-media-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.rv-ai-overview-head h2,
.rv-inline-media-head h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.rv-ai-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 11.5px;
  font-weight: 850;
  white-space: nowrap;
}

.rv-ai-overview-text {
  margin: 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
}

.rv-ai-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.rv-ai-sources a {
  display: inline-flex;
  align-items: center;
  max-width: 180px;
  padding: 6px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-inline-media-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 118px;
  gap: 9px;
  overflow-x: auto;
}

.rv-inline-media-row a {
  display: block;
  height: 82px;
  border: 1px solid #dfe5ee;
  border-radius: 13px;
  overflow: hidden;
  background: #eef2f7;
}

.rv-inline-media-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-inline-media-head a {
  color: var(--rv-blue);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.rv-result-list {
  display: grid;
  gap: 10px;
}

.rv-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e5eaf2;
  background: transparent;
}

.rv-result-card:first-child {
  padding-top: 4px;
}

.rv-result-main {
  min-width: 0;
}

.rv-result-source-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.3;
}

.rv-sponsored-label {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 11px;
  font-weight: 900;
}

.rv-result-favicon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #eef2f7;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rv-result-source {
  color: #334155;
  font-weight: 850;
  white-space: nowrap;
}

.rv-result-url {
  min-width: 0;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv-result-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.rv-result-title a {
  color: var(--rv-link);
  text-decoration: none;
}

.rv-result-title a:hover {
  text-decoration: underline;
}

.rv-result-snippet {
  max-width: 650px;
  margin: 7px 0 0;
  color: #4b5563;
  font-size: 13.5px;
  line-height: 1.52;
}

.rv-result-date {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 12.5px;
}

.rv-result-thumb {
  display: block;
  width: 112px;
  height: 82px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f7;
  border: 1px solid #dbe3ee;
}

.rv-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-result-thumb:empty {
  display: none !important;
}

.rv-search-empty {
  padding: 22px;
}

.rv-search-empty h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.rv-search-empty p {
  margin: 8px 0 0;
  color: #667085;
  line-height: 1.5;
}

.rv-related-searches {
  padding: 16px;
  margin-top: 18px;
}

.rv-related-searches h2 {
  margin: 0 0 10px;
  font-size: 17px;
}

.rv-related-searches div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rv-related-searches a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  color: var(--rv-blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

/* People Feature v5 */
body.rv-search-layout.rv-has-person-v5 #rvSafeKnowledgePanel,
body.rv-search-layout.rv-has-person-v5 .rv-serp-rail,
body.rv-search-layout.rv-has-person-v5 .rv-kp-v4-host,
body.rv-search-layout.rv-has-person-v5 .rv-ai-overview-card,
body.rv-search-layout.rv-has-person-v5 .rv-search-summary-compact {
  display: none !important;
}

body.rv-search-layout.rv-has-person-v5 .rv-serp-shell {
  grid-template-columns: minmax(0, 1180px) !important;
  max-width: 1220px !important;
  gap: 0 !important;
  padding-top: 18px !important;
}

body.rv-search-layout.rv-has-person-v5 .rv-serp-results {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}

.rvp5 {
  width: 100%;
  margin: 0 0 20px;
}

.rvp5-shell {
  width: 100%;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--rv-shadow);
}

.rvp5-head {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: end;
  padding: 18px 20px 12px;
}

.rvp5-identity h1 {
  margin: 0;
  color: #1f2328;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.rvp5-identity p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 13.5px;
}

.rvp5-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.rvp5-tabs::-webkit-scrollbar {
  display: none;
}

.rvp5-tabs a {
  display: inline-flex;
  align-items: center;
  height: 35px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d9e1ec;
  background: #fff;
  color: var(--rv-blue);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 850;
  white-space: nowrap;
}

.rvp5-tabs a.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.rvp5-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 20px 14px;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
}

.rvp5-meta-item {
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid #e6ebf2;
}

.rvp5-meta-item:last-child {
  border-right: 0;
}

.rvp5-meta-item span {
  display: block;
  color: #667085;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rvp5-meta-item strong {
  display: block;
  margin-top: 5px;
  color: #1f2328;
  font-size: 12.8px;
  line-height: 1.22;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rvp5-main {
  display: grid;
  grid-template-columns: minmax(460px, 1.08fr) minmax(390px, .92fr);
  gap: 16px;
  padding: 0 20px 18px;
}

.rvp5-media {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2px;
  height: 305px;
  overflow: hidden;
  border-radius: 18px;
  background: #eef2f7;
}

.rvp5-media a {
  display: block;
  position: relative;
  overflow: hidden;
}

.rvp5-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.rvp5-media a:hover img {
  transform: scale(1.035);
}

.rvp5-photo-stack {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
}

.rvp5-photo-more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .46);
}

.rvp5-photo-more b {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.rvp5-media-empty {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
}

.rvp5-initial {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: #fff;
  color: #64748b;
  font-size: 36px;
  font-weight: 950;
}

.rvp5-overview {
  min-width: 0;
  min-height: 305px;
  padding: 18px;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  background: #fbfcfe;
}

.rvp5-overview-top,
.rvp5-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rvp5-overview-top h2,
.rvp5-section-title h2 {
  margin: 0;
  color: #1f2328;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.rvp5-overview-top a,
.rvp5-section-title a {
  color: var(--rv-blue);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 850;
  white-space: nowrap;
}

.rvp5-summary {
  margin: 11px 0 0;
  color: #374151;
  font-size: 13.8px;
  line-height: 1.52;
}

.rvp5-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 14px;
  margin-top: 12px;
}

.rvp5-facts p {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  color: #475569;
  font-size: 12.5px;
  line-height: 1.3;
}

.rvp5-facts b {
  color: #111827;
  font-weight: 950;
}

.rvp5-facts span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rvp5-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.rvp5-source-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  max-width: 185px;
  padding: 0 9px 0 5px;
  border: 1px solid #dfe5ee;
  border-radius: 999px;
  background: #fff;
  color: #1f2328;
  text-decoration: none;
}

.rvp5-source-pill span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: 10.5px;
  font-weight: 950;
}

.rvp5-source-pill b {
  min-width: 0;
  color: #1f2328;
  font-size: 12px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rvp5-image-rail,
.rvp5-related {
  margin: 0 20px 18px;
  padding: 14px;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  background: #fbfcfe;
}

.rvp5-image-row,
.rvp5-related-row {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 2px;
}

.rvp5-image-row {
  grid-auto-columns: 128px;
}

.rvp5-image-row a {
  display: block;
  height: 84px;
  border: 1px solid #dfe5ee;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2f7;
}

.rvp5-image-row img,
.rvp5-related-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rvp5-related-row {
  grid-auto-columns: 116px;
}

.rvp5-related-item {
  color: #1f2328;
  text-decoration: none;
}

.rvp5-related-item div {
  display: grid;
  place-items: center;
  width: 100%;
  height: 74px;
  border: 1px solid #dfe5ee;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2f7;
}

.rvp5-related-item span {
  color: #64748b;
  font-size: 21px;
  font-weight: 950;
}

.rvp5-related-item strong {
  display: block;
  margin-top: 7px;
  color: var(--rv-blue);
  font-size: 12.2px;
  line-height: 1.18;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rvp5-related-item em {
  display: block;
  margin-top: 1px;
  color: #667085;
  font-size: 11px;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Organic results below people module must stay normal search width. */
body.rv-search-layout.rv-has-person-v5 .rv-result-list,
body.rv-search-layout.rv-has-person-v5 .rv-related-searches,
body.rv-search-layout.rv-has-person-v5 .rv-search-empty,
body.rv-search-layout.rv-has-person-v5 .rv-sponsored-block {
  max-width: 740px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

body.rv-search-layout.rv-has-person-v5 .rv-result-list {
  margin-top: 18px !important;
}

body.rv-search-layout.rv-has-person-v5 .rv-result-card {
  max-width: 740px !important;
}

@media (max-width: 980px) {
  .rv-search-topbar-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 16px 8px;
  }

  .rv-search-brand,
  .rv-search-actions {
    display: none;
  }

  .rv-search-tabbar {
    padding: 0 16px 9px;
  }

  .rv-serp-shell,
  body.rv-search-layout.rv-has-person-v5 .rv-serp-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 820px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .rv-serp-rail {
    max-width: 100%;
    order: -1;
  }

  .rv-search-layout #rvSafeKnowledgePanel,
  .rv-search-layout .rv-kp-v4-host,
  .rv-search-layout [data-rv-kp-v4-host] {
    position: static !important;
    max-width: 100% !important;
  }

  .rvp5-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rvp5-main {
    grid-template-columns: 1fr;
  }

  .rvp5-media {
    height: 275px;
  }

  .rvp5-meta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rvp5-meta-item:nth-child(2) {
    border-right: 0;
  }

  .rvp5-meta-item:nth-child(-n+2) {
    border-bottom: 1px solid #e6ebf2;
  }
}

@media (max-width: 560px) {
  .rv-result-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .rv-result-thumb {
    width: 100%;
    height: 150px;
  }

  .rvp5-shell {
    border-radius: 18px;
  }

  .rvp5-head {
    padding: 16px 14px 10px;
  }

  .rvp5-identity h1 {
    font-size: 23px;
  }

  .rvp5-meta-strip,
  .rvp5-image-rail,
  .rvp5-related {
    margin-left: 14px;
    margin-right: 14px;
  }

  .rvp5-main {
    padding: 0 14px 14px;
  }

  .rvp5-media {
    grid-template-columns: 1fr;
    height: 230px;
  }

  .rvp5-photo-stack {
    display: none;
  }

  .rvp5-facts {
    grid-template-columns: 1fr;
  }

  .rvp5-meta-strip {
    grid-template-columns: 1fr;
  }

  .rvp5-meta-item {
    border-right: 0;
    border-bottom: 1px solid #e6ebf2;
  }

  .rvp5-meta-item:last-child {
    border-bottom: 0;
  }

  body.rv-search-layout.rv-has-person-v5 .rv-result-list,
  body.rv-search-layout.rv-has-person-v5 .rv-result-card {
    max-width: 100% !important;
  }
}

/* Search suggestions */
.rv-search-form {
  position: relative;
}

.rv-search-suggest-box {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid #d9e1ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .16);
}

.rv-search-suggest-box[hidden] {
  display: none !important;
}

.rv-search-suggest-box a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 11px;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.rv-search-suggest-box a::before {
  content: "⌕";
  margin-right: 9px;
  color: #94a3b8;
  font-weight: 900;
}

.rv-search-suggest-box a:hover {
  background: #f8fafc;
}

.rv-suggestions-module {
  max-width: 740px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}

.rv-suggestions-module[hidden] {
  display: none !important;
}

.rv-suggestions-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.rv-suggestions-head h2 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.rv-suggestions-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.rv-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rv-suggestions-list a {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  padding: 0 12px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #f8fafc;
  color: #2443ad;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.rv-suggestions-list a:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}

body.rv-search-layout.rv-has-person-v5 .rv-suggestions-module {
  max-width: 740px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Search suggestions module */
.rv-suggestions-module {
  max-width: 740px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}

.rv-suggestions-module[hidden] {
  display: none !important;
}

.rv-suggestions-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.rv-suggestions-head h2 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.rv-suggestions-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.rv-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rv-suggestions-list a {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  padding: 0 12px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #f8fafc;
  color: #2443ad;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.rv-suggestions-list a:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}

body.rv-search-layout.rv-has-person-v5 .rv-suggestions-module {
  max-width: 740px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Floating autocomplete dropdown repair */
.rv-search-suggest-box {
  position: fixed !important;
  z-index: 99999 !important;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid #d9e1ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
  max-height: 360px;
  overflow: auto;
}

.rv-search-suggest-box[hidden] {
  display: none !important;
}

.rv-search-suggest-box a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 11px;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.rv-search-suggest-box a::before {
  content: "⌕";
  margin-right: 9px;
  color: #94a3b8;
  font-weight: 900;
}

.rv-search-suggest-box a:hover {
  background: #f8fafc;
}

.rv-search-suggest-box a:active {
  background: #eef2ff;
}
