/* Search page: Figma hero + elderly.care-style results; .search-* from application.css. */

/* overflow-x: hidden computes overflow-y to auto, which makes this wrapper a scroll
   container and stops the header from sticking. clip hides sideways overflow without that. */
html.re-home-search-page #re-home-top.site {
  overflow-x: clip;
  overflow-y: visible;
  /* Footer sits after .site; avoid 100vh min-height adding phantom scroll on mobile. */
  min-height: 0;
}

html.re-home-search-page main#main {
  display: block;
  width: 100%;
  min-width: 0;
}

/* Sticky search bar + filter column offset from measured header/form (search_page_controller.js). */
html.re-home-search-page {
  --re-home-search-header-offset: 107px;
  --re-home-search-sticky-gap: 0px;
  --re-home-search-form-sticky-height: 100px;
}

@media (max-width: 820px) {
  html.re-home-search-page {
    --re-home-search-header-offset: 82px;
  }
}

/* Header overrides: re_home_header_shell.css (loaded before this file). */

html.re-home-search-page #re-home-top .hero {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  align-items: stretch !important;
}

@media (max-width: 1100px) {
  .re-home-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Beat application.css generic input/button font rules inside Figma search panel. */
html.re-home-search-page .re-home-search-form input,
html.re-home-search-page .re-home-search-form select.re-home-search-select,
html.re-home-search-page .re-home-search-panel .field input,
html.re-home-search-page .re-home-search-panel .field select {
  font: 500 14px/1.3 "Inter", system-ui, sans-serif !important;
  min-height: 56px !important;
}

.re-home-search-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 80px;
}

.re-home-search-wrap.search-main {
  max-width: 1180px;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: 0 0 80px;
}

/* ----- Header (search + account + List a home) ----- */
.re-home-header-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.re-home-header-actions .re-home-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #dcd8cf;
  background: #fff;
  color: #1c2421;
  text-decoration: none;
  flex-shrink: 0;
}

.re-home-header-actions .re-home-header-icon:hover {
  border-color: #2d5b4c;
  color: #2d5b4c;
}

.re-home-list-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(163deg, #135d43, #287e57);
  box-shadow: 0 6px 14px rgba(21, 91, 65, 0.2);
  color: #fff !important;
  font: 700 15px/1.2 "Manrope:Bold", "Manrope", system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.re-home-list-home-btn:hover {
  filter: brightness(1.05);
}

@media (max-width: 820px) {
  .re-home-header-actions .re-home-list-home-btn {
    order: -1;
    width: 100%;
    justify-content: center;
    margin-bottom: 4px;
  }
}

/* Breadcrumb above search hero (8443). */
.re-home-search-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0 4px;
  font: 500 14px/1.4 "Manrope:Regular", "Manrope", system-ui, sans-serif;
  color: rgba(31, 41, 38, 0.72);
}

.re-home-search-breadcrumb a {
  color: #2d5b4c;
  text-decoration: none;
  font-weight: 600;
}

.re-home-search-breadcrumb a:hover {
  text-decoration: underline;
}

.re-home-search-breadcrumb i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e2b866;
}

.re-home-search-locate-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
}

.re-home-search-locate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2d5b4c;
  font: 600 14px/1.35 "Manrope", system-ui, sans-serif;
  text-decoration: underline;
  cursor: pointer;
}

.re-home-search-locate:disabled {
  opacity: 0.65;
  cursor: wait;
}

.re-home-search-locate__icon {
  width: 18px;
  height: 18px;
}

.re-home-search-locate-status {
  font: 500 13px/1.4 "Inter", system-ui, sans-serif;
  color: #60766e;
}

/* ----- Explore Elderly Care Homes intro (8443 .results; Figma breaks after "Elderly") ----- */
html.re-home-search-page .re-home-search-results.results {
  padding: 86px 0 24px;
}

html.re-home-search-page .re-home-search-results .eyebrow.pill.re-home-results-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  height: auto;
  border-radius: 999px;
  background: #e1ebe6;
  color: #2c604f;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.145em;
  text-transform: uppercase;
}

html.re-home-search-page .re-home-search-results .eyebrow.pill i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e4b354;
  flex-shrink: 0;
}

html.re-home-search-page .re-home-search-results .re-home-explore-title {
  margin: 20px 0 0;
  text-align: left;
  font-family: "Manrope", "Manrope:SemiBold", system-ui, sans-serif !important;
  font-size: clamp(46px, 5.1vw, 73.6px) !important;
  font-weight: 600 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  color: #1c2421;
}

html.re-home-search-page .re-home-search-results .re-home-explore-title .re-home-explore-title__accent {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  font-weight: 400 !important;
  color: #658277 !important;
}

html.re-home-search-page .re-home-search-results .re-home-explore-lead {
  max-width: 1144px;
  margin: 24px 0 0;
  text-align: left;
  font-family: "Inter", "Inter:Regular", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.625;
  color: #587067;
}

.re-search-result-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.re-search-card__photo-top {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 16px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0.35), transparent);
}

.re-search-card__avail,
.re-search-card__rating {
  padding: 6px 10px;
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  color: #2c604f;
}

.re-search-card__rating {
  font-size: 12px;
  text-transform: none;
  color: #fff;
  background: #21483c;
}

.re-search-card__rating--muted {
  text-transform: none;
  color: #2c604f;
  background: rgba(255, 255, 255, 0.9);
}

.re-search-card__favorite-form {
  margin: 0;
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 2;
}

.re-search-card__favorite {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(44, 96, 79, 0.15);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.re-search-card__favorite.is-saved {
  background: #e4b354;
  border-color: transparent;
}


.re-search-card__care-type {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d8179;
}

.re-search-card__title {
  margin: 8px 0 0;
  padding-right: 48px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.6px;
  color: #1f342d;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(2 * 1.3em);
}

.re-search-card__title a {
  color: inherit;
  text-decoration: none;
}

.re-search-card__title a:hover {
  color: #2d5b4c;
}

.re-search-card__location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0;
  color: #60766e;
  font-size: 14px;
  line-height: 1.4;
}

.re-search-card__location > span {
  flex: 1;
  min-width: 0;
}

.re-search-card__location-icon {
  flex: none;
}

.re-search-card__fee small {
  display: block;
  font: 500 12px/1.3 "Manrope", system-ui, sans-serif;
  color: rgba(31, 41, 38, 0.58);
}

.re-search-card__fee strong {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1f342d;
}

.re-search-card__fee strong i {
  font: 600 14px/1.2 "Manrope", system-ui, sans-serif;
  font-style: normal;
  color: rgba(31, 41, 38, 0.65);
}

.re-search-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.re-search-card__compare,
.re-search-card__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(44, 96, 79, 0.2);
  background: #fff;
  color: #2c604f !important;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.re-search-card__compare.is-active {
  border-color: rgba(44, 96, 79, 0.45);
  background: rgba(44, 96, 79, 0.08);
}

.re-search-card__compare-form,
.re-search-card__call-form {
  margin: 0;
  display: inline;
}

.re-search-card__call-wrap {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.re-search-card__call--revealed {
  text-decoration: none;
  white-space: nowrap;
  max-width: min(9.5rem, 34vw);
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  padding-inline: 12px;
  letter-spacing: -0.02em;
}

.re-search-card__call-wrap .re-search-card__call[hidden] {
  display: none !important;
}

/* ----- Search hero (8443): .section-shell + .hero + .search-form ----- */
.re-home-search-hero--shell {
  position: relative;
  width: 100%;
  min-height: 434px;
  margin: 48px 0 0;
  padding: 48px;
  border-radius: 32px;
  background: #fbfaf7;
  border: 1px solid rgba(44, 96, 79, 0.1);
  overflow: visible;
  z-index: 5;
  box-shadow: 0 24px 70px rgba(44, 96, 79, 0.08);
}

.re-home-search-hero--shell.re-home-search-hero--has-sticky-form {
  min-height: 0;
  margin-bottom: 0;
  padding-bottom: 40px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}

.re-home-search-hero--has-sticky-form + .re-home-search-form--sticky {
  margin-top: 0;
  margin-bottom: 36px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 0;
  box-shadow: 0 24px 70px rgba(44, 96, 79, 0.08);
}

.re-home-search-hero--shell .re-home-search-breadcrumb {
  position: relative;
  z-index: 1;
  padding: 0;
  font: 500 12px/1.3 "Inter", system-ui, sans-serif;
  color: #2c604f;
}

.re-home-search-hero--shell .re-home-search-breadcrumb a {
  color: #587067;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 96, 79, 0.25);
}

.re-home-search-hero--shell .re-home-search-breadcrumb a:hover {
  color: #2c604f;
  text-decoration: none;
  border-bottom-color: #2c604f;
}

.re-home-search-hero--shell .re-home-search-breadcrumb i {
  background: #e4b354;
}

.re-home-search-orb {
  position: absolute;
  width: 288px;
  height: 288px;
  border: 48px solid rgba(225, 235, 230, 0.75);
  border-radius: 50%;
  right: -78px;
  top: -112px;
  pointer-events: none;
  clip-path: inset(112px 78px 0 0);
}

.re-home-search-orb::before {
  content: none;
}

.re-home-search-orb::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e4b354;
  left: 102px;
  bottom: 78px;
}

.re-home-search-hero-title-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 36px 0 0;
  max-width: none;
}

.re-home-search-hero-title-row .re-home-search-hero-heading {
  flex: 1;
  min-width: 0;
}

.re-home-search-pin-box {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-top: 4px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e1ebe6;
}

.re-home-search-pin-box img {
  width: 20px;
  height: 20px;
}

/*
 * re_home.css `.hero h1` (44px) and application.css `h1` (Hanken) load before this file
 * but beat lower-specificity rules — lock 8443 search hero type here.
 */
html.re-home-search-page .re-home-search-hero--shell.hero h1.re-home-search-hero-heading {
  margin: 0;
  max-width: 900px;
  text-align: left;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: clamp(42px, 4.45vw, 64px) !important;
  font-weight: 600 !important;
  line-height: 1.03 !important;
  letter-spacing: -0.05em !important;
  color: #1c2421;
}

html.re-home-search-page .re-home-search-hero--shell.hero h1.re-home-search-hero-heading em {
  display: block;
  font-style: normal;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  color: #2c604f !important;
}

.re-home-search-form {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(44, 96, 79, 0.1);
  box-shadow: 0 14px 35px rgba(44, 96, 79, 0.08);
}

html.re-home-search-page .re-home-search-form.re-home-search-form--sticky {
  position: sticky;
  top: var(--re-home-search-header-offset);
  z-index: 45;
  margin-top: 0;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(44, 96, 79, 0.08);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

html.re-home-search-page .re-home-search-form.re-home-search-form--sticky.re-home-search-form--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(-100% - 12px));
}

.re-home-search-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.re-home-search-field > span:first-child {
  display: block;
  margin: 0 0 8px 4px;
  font: 600 11px/1.2 "Inter", system-ui, sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #446157;
}

.re-home-search-input {
  position: relative;
  display: block;
}

.re-home-search-input img:not(.select-caret) {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  z-index: 1;
  pointer-events: none;
}

.re-home-search-input input,
.re-home-search-field > select.re-home-search-select {
  width: 100%;
  height: 56px;
  box-sizing: border-box;
  border: 1px solid rgba(44, 96, 79, 0.15);
  border-radius: 12px;
  background-color: #f8f7f3;
  padding: 0 42px 0 16px;
  font: 500 14px/1.3 "Inter", system-ui, sans-serif !important;
  color: #29473d;
}

.re-home-search-input input {
  padding-left: 46px;
}

.re-home-search-field > select.re-home-search-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("/re-home/assets/92564.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
}

.re-home-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: end;
  min-width: 176px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  background: #2c604f;
  box-shadow: 0 10px 12px rgba(44, 96, 79, 0.2);
  color: #fff;
  font: 600 14px/1.2 "Inter", system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

.re-home-search-submit img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.re-home-search-submit:hover {
  background: #21483c;
  transform: translateY(-1px);
}

/* ----- Results layout: narrow filters + fluid list (8443 .results-layout) ----- */
html.re-home-search-page .search-layout.re-search-layout.results-layout {
  display: grid !important;
  flex-wrap: nowrap !important;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 0 !important;
  align-items: start;
  margin-top: 48px;
  width: 100%;
  scroll-margin-top: calc(
    var(--re-home-search-header-offset) + var(--re-home-search-sticky-gap) +
      var(--re-home-search-form-sticky-height) + 24px
  );
}

html.re-home-search-page .re-search-layout.results-layout > .search-filters-shell,
html.re-home-search-page .re-search-layout.results-layout > .re-search-filters-shell {
  grid-column: 1;
  flex: none !important;
  width: 100%;
  max-width: 260px;
  min-width: 0;
}

html.re-home-search-page .re-search-layout.results-layout > .search-results,
html.re-home-search-page .re-search-layout.results-layout > .re-search-results {
  grid-column: 2;
  flex: none !important;
  width: 100%;
  max-width: none !important;
  min-width: 0;
}

html.re-home-search-page .re-search-filters-shell.filters {
  padding: 12px;
  min-width: 0;
  background: transparent;
  border: 0;
}

@media (min-width: 961px) {
  html.re-home-search-page .re-search-filters-shell .search-filters.re-search-filters,
  html.re-home-search-page .re-search-filters-shell form#search-filters.search-filters {
    display: block !important;
  }

  html.re-home-search-page .re-search-filters-shell .re-search-filters-panel {
    display: block;
  }

  html.re-home-search-page .re-search-filters-shell.re-search-filters-shell.filters-open {
    position: sticky;
    top: calc(
      var(--re-home-search-header-offset) + var(--re-home-search-sticky-gap) +
        var(--re-home-search-form-sticky-height) + 16px
    );
    align-self: start;
    z-index: 40;
  }

  html.re-home-search-page .re-search-filters-shell.filters-open form#search-filters.search-filters,
  html.re-home-search-page .re-search-filters-shell.filters-open .search-filters.re-search-filters {
    max-height: calc(
      100vh - var(--re-home-search-header-offset) - var(--re-home-search-form-sticky-height) - 48px
    );
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(44, 96, 79, 0.35) transparent;
    padding-right: 4px !important;
  }
}

@media (max-width: 960px) {
  html.re-home-search-page .re-search-filters-shell.filters.filters-open form#search-filters.search-filters,
  html.re-home-search-page .re-search-filters-shell.filters.filters-open .search-filters.re-search-filters {
    max-height: min(70vh, calc(100vh - var(--re-home-search-header-offset) - 120px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

html.re-home-search-page .re-search-filters-shell .search-filters-summary,
html.re-home-search-page .re-search-filters-toggle {
  display: none;
  width: 100%;
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid rgba(44, 96, 79, 0.15);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1f342d;
  text-align: left;
}

html.re-home-search-page .re-search-filters-shell.filters-open .search-filters {
  display: block !important;
}

html.re-home-search-page .re-search-filters-open {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(44, 96, 79, 0.22);
  border-radius: 12px;
  background: #fff;
  color: #1f342d;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

html.re-home-search-page .re-search-filters-open__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #2c604f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.re-search-filters-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(44, 96, 79, 0.15);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.re-search-filters-close svg {
  transform: rotate(45deg);
}

.re-search-filters-panel-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.re-search-filters-panel-head h2 {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1f342d;
}

.re-search-filters-backdrop {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* 8443: filters sit on page ground — no white card (override application.css .search-filters). */
html.re-home-search-page .re-search-filters-shell .search-filters.re-search-filters,
html.re-home-search-page form#search-filters.search-filters {
  flex: none !important;
  width: 100%;
  max-width: 100% !important;
  gap: 0 !important;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html.re-home-search-page .re-search-filters .search-filter-block {
  margin: 0 0 12px;
  padding: 16px;
  border: 0;
  border-radius: 16px;
  background: transparent;
}

/* Rating + Facilities only (8443 fieldset.soft). */
html.re-home-search-page .re-search-filters .search-filter-block.soft,
html.re-home-search-page .re-search-filters fieldset.re-search-filter-soft {
  background: #f5f8f6;
}

html.re-home-search-page .re-search-filters legend {
  float: none;
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f342d;
}

html.re-home-search-page .re-search-filters .search-filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 8px;
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: #405b52;
}

html.re-home-search-page .re-search-filters .search-filter-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2c604f;
}

html.re-home-search-page .re-search-filters .search-filter-option-icon svg,
html.re-home-search-page .re-search-filters .search-filter-option-icon .icon {
  display: none !important;
}

html.re-home-search-page .re-search-filters .search-filter-block-divider {
  border-top: 0;
  padding-top: 16px;
}

html.re-home-search-page .re-search-filters select.re-search-filter-select {
  width: 100%;
  height: 48px;
  padding: 0 34px 0 14px;
  border: 1px solid rgba(44, 96, 79, 0.15);
  border-radius: 12px;
  background-color: #fff;
  background-image: url("/re-home/assets/580de.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  appearance: none;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: #29473d;
}

/* List toolbar (8443 .list-toolbar) */
html.re-home-search-page .re-search-list-toolbar.list-toolbar {
  scroll-margin-top: calc(
    var(--re-home-search-header-offset) + var(--re-home-search-sticky-gap) +
      var(--re-home-search-form-sticky-height) + 12px
  );
  min-height: 77px;
  margin: 0 0 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(44, 96, 79, 0.1);
  border-radius: 16px;
}

html.re-home-search-page .re-search-count {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1c2421;
}

html.re-home-search-page .re-search-count small {
  font-size: 16px;
  font-weight: 400;
  color: #60766e;
}

html.re-home-search-page .re-search-count .count {
  font: inherit;
  color: inherit;
}

html.re-home-search-page .re-search-scope {
  color: #60766e;
  font-size: 16px;
  font-weight: 500;
}

html.re-home-search-page .re-search-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

html.re-home-search-page .re-search-toolbar-actions label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #405b52;
}

html.re-home-search-page .re-search-toolbar-actions select,
html.re-home-search-page .re-search-sort-select {
  height: 44px;
  margin: 0;
  padding: 0 34px 0 14px;
  border: 1px solid rgba(44, 96, 79, 0.2);
  border-radius: 12px;
  background-color: #fff;
  background-image: url("/re-home/assets/9b5fa.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 14px;
  appearance: none;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #29473d;
}

html.re-home-search-page .re-search-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

html.re-home-search-page .re-search-sort-control {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

html.re-home-search-page .re-search-sort-trigger,
html.re-home-search-page .re-search-sort-menu {
  display: none;
}

html.re-home-search-page .view-toggle.search-view-toggle {
  display: flex;
  height: 44px;
  border: 1px solid #2c604f;
  border-radius: 12px;
  overflow: hidden;
}

html.re-home-search-page .view-toggle.search-view-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  background: #fff;
  color: #2c604f;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}

html.re-home-search-page .view-toggle.search-view-toggle a.active,
html.re-home-search-page .view-toggle.search-view-toggle a.is-active {
  background: #2c604f;
  color: #fff;
}

html.re-home-search-page .re-search-results.list-area {
  min-width: 0;
  padding-left: 20px;
  box-sizing: border-box;
  scroll-margin-top: calc(
    var(--re-home-search-header-offset) + var(--re-home-search-form-sticky-height) + 8px
  );
}

.re-search-filters .re-search-city-list {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  margin: 0 -4px 0 0;
}

/* Figma-style listing cards (8443 .home-card) */
.re-search-card {
  grid-template-columns: 36% 64%;
  min-height: 307px;
  margin-top: 0;
  border-radius: 26px;
  border: 1px solid rgba(44, 96, 79, 0.1);
  box-shadow: 0 16px 44px rgba(44, 96, 79, 0.07);
  overflow: hidden;
  background: #fff;
}

.re-search-card .search-result-body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 307px;
  padding: 24px;
  gap: 0;
  color: #587067;
  font-size: 14px;
}

/* Neutralise legacy application.css `.search-result-card` on Figma cards */
html.re-home-search-page .search-result-card.re-search-card {
  display: grid !important;
  align-items: stretch;
  scroll-margin-top: calc(
    var(--re-home-search-header-offset) + var(--re-home-search-sticky-gap) +
      var(--re-home-search-form-sticky-height) + 24px
  );
  grid-template-columns: 36% 64%;
  gap: 0;
  border: 1px solid rgba(44, 96, 79, 0.1);
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(44, 96, 79, 0.07);
  background: #fff;
}

html.re-home-search-page .re-search-card .search-result-body {
  min-width: 0;
  gap: 0 !important;
  padding: 24px !important;
}

html.re-home-search-page .re-search-card .search-result-title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.re-search-card__media {
  position: relative;
  align-self: stretch;
  min-height: 307px;
  overflow: hidden;
  background: #e1ebe6;
}

.re-search-card__track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  min-height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.re-search-card__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  box-sizing: border-box;
}

.re-search-card__slide img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.re-search-card__slide--illustration {
  background: linear-gradient(165deg, #e8f2ec 0%, #d5e6dc 55%, #c8ddd2 100%);
}

.re-search-card__slide--illustration img {
  object-fit: contain;
  object-position: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  .re-search-card__track {
    transition: none;
  }
}

.re-search-card__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.re-search-card__arrow--prev {
  left: 12px;
}

.re-search-card__arrow--next {
  right: 12px;
}

.re-search-card__arrow img {
  width: 16px;
  height: 16px;
}

.re-search-card__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.re-search-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.25s ease, background 0.25s ease;
}

.re-search-card__dot.is-active {
  width: 20px;
  background: #fff;
}

.re-search-card__tags {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 32px;
}

.re-search-card__tags li {
  padding: 6px 10px;
  border-radius: 99px;
  background: #f2f5f2;
  color: #48645a;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
}

.re-search-card__summary {
  margin: 16px 0 0;
  line-height: 24px;
  color: #587067;
  min-height: 72px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Figma .card-bottom — 20px below summary/tags; auto keeps foot at bottom when the card grows */
.re-search-card__foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(44, 96, 79, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.re-search-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 0;
  background: #2c604f;
  color: #fff !important;
  text-decoration: none;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 12px rgba(44, 96, 79, 0.15);
}

.re-search-card__cta img {
  width: 16px;
  height: 16px;
}

.re-search-card__cta:hover {
  background: #21483c;
}

/* Mid-page: copy + advisor */
.re-search-mid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  gap: 28px;
  align-items: start;
  margin: 48px auto 0;
  padding-bottom: 8px;
}

.re-search-mid-title {
  margin: 0 0 14px;
  font: 600 28px/1.25 "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: #1c2421;
}

.re-search-mid-text {
  margin: 0 0 12px;
  font: 400 16px/1.6 "Manrope", system-ui, sans-serif;
  color: rgba(31, 41, 38, 0.75);
}

.re-search-advisor-card {
  margin: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, #1a3d32, #2d5b4c);
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(20, 43, 37, 0.2);
}

.re-search-advisor-card .search-advisor-copy h2 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 22px;
}

.re-search-advisor-card .search-advisor-copy p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.re-search-advisor-card .search-advisor-btn {
  align-self: flex-start;
  background: #fff;
  color: #1c2421 !important;
  border-radius: 999px;
}

/* Explore services */
.re-search-explore {
  margin: 52px auto 0;
  text-align: center;
}

.re-search-explore-h2 {
  margin: 0 0 10px;
  font: 600 30px/1.2 "Inter", system-ui, sans-serif;
  letter-spacing: -0.03em;
  color: #1c2421;
}

.re-search-explore-h2 em {
  font-style: normal;
  color: #2d5b4c;
}

.re-search-explore .re-search-explore-lead {
  margin: 0 auto 28px;
  max-width: 640px;
}

.re-search-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.re-search-explore-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(44, 96, 79, 0.1);
  box-shadow: 0 10px 28px rgba(44, 96, 79, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.re-search-explore-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(44, 96, 79, 0.1);
}

.re-search-explore-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e8f0ec;
  display: grid;
  place-items: center;
}

.re-search-explore-icon img {
  width: 28px;
  height: 28px;
}

.re-search-explore-card h3 {
  margin: 0;
  font: 600 17px/1.3 "Inter", system-ui, sans-serif;
  color: #1c2421;
}

.re-search-explore-card p {
  margin: 0;
  font: 400 14px/1.5 "Manrope", system-ui, sans-serif;
  color: rgba(31, 41, 38, 0.72);
}

/* FAQ */
.re-search-faq {
  margin: 56px auto 0;
  padding-bottom: 24px;
}

.re-search-faq-title {
  margin: 0 0 22px;
  text-align: center;
  font: 600 28px/1.25 "Inter", system-ui, sans-serif;
  color: #1c2421;
}

.re-search-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.re-search-faq-item {
  border-radius: 16px;
  border: 1px solid rgba(44, 96, 79, 0.12);
  background: #fff;
  padding: 0 20px;
  box-shadow: 0 4px 16px rgba(44, 96, 79, 0.04);
}

.re-search-faq-item summary {
  cursor: pointer;
  font: 600 16px/1.4 "Manrope", system-ui, sans-serif;
  padding: 18px 0;
  list-style: none;
}

.re-search-faq-item summary::-webkit-details-marker {
  display: none;
}

.re-search-faq-answer {
  padding: 0 0 18px;
  font: 400 15px/1.55 "Manrope", system-ui, sans-serif;
  color: rgba(31, 41, 38, 0.78);
  border-top: 1px solid #efe9df;
}

.re-search-inline-link {
  color: #2d5b4c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ----- List utilities: chips, empty state, compare, infinite scroll (8443 tokens) ----- */
html.re-home-search-page .search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

html.re-home-search-page .search-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(44, 96, 79, 0.15);
  background: #fff;
  color: #2c604f;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

html.re-home-search-page .search-chip:hover {
  border-color: #2c604f;
  background: #f2f5f2;
}

html.re-home-search-page .search-compare-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 12px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(44, 96, 79, 0.12);
  background: #edf2ef;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  color: #48645a;
}

html.re-home-search-page .search-compare-bar a {
  color: #2c604f;
  font-weight: 600;
}

html.re-home-search-page .search-save-toast-shell:not(:empty) {
  margin: 0 0 12px;
}

html.re-home-search-page .search-save-toast {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(44, 96, 79, 0.1);
  color: #1f4337;
  font: 600 14px/1.35 "Inter", system-ui, sans-serif;
  text-align: center;
}

html.re-home-search-page .search-save-toast__link {
  display: inline-block;
  margin-left: 8px;
  color: #2c604f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.saved-homes-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.saved-homes-head {
  margin-bottom: 28px;
}

.saved-homes-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #2c604f;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.saved-homes-back-icon {
  transform: rotate(180deg);
}

.saved-homes-title {
  margin: 0 0 8px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #1f342d;
}

.saved-homes-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: #60766e;
}

.saved-homes-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.saved-homes-item .re-search-card {
  margin: 0;
}

.saved-homes-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 48px 24px;
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(44, 96, 79, 0.12);
  background: #fff;
}

.saved-homes-empty h2 {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 700;
  color: #1f342d;
}

.saved-homes-empty p {
  margin: 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.5;
  color: #60766e;
}

.saved-homes-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 22px;
  border-radius: 12px;
  background: #2c604f;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(44, 96, 79, 0.18);
}

.saved-homes-empty-cta:hover {
  background: #21483c;
}

html.re-home-search-page .search-empty {
  margin: 24px 0;
  padding: 48px 32px;
  text-align: center;
  border-radius: 26px;
  border: 1px solid rgba(44, 96, 79, 0.1);
  background: #fff;
  box-shadow: 0 16px 44px rgba(44, 96, 79, 0.06);
}

html.re-home-search-page .search-empty img {
  width: 160px;
  margin: 0 auto 20px;
}

html.re-home-search-page .search-empty h2 {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #1f342d;
}

html.re-home-search-page .search-empty p {
  margin: 12px auto 0;
  max-width: 480px;
  color: #587067;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

html.re-home-search-page .search-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  background: #2c604f;
  color: #fff !important;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

html.re-home-search-page .search-end-note,
html.re-home-search-page .search-infinite-status {
  margin: 16px 0 0;
  text-align: center;
  color: #82958e;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
}

/* Map view (8443 .map-view) */
html.re-home-search-page .re-search-map-view.map-view {
  min-height: 560px;
  margin-top: 16px;
  padding: 32px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(44, 96, 79, 0.1);
  background:
    radial-gradient(circle at 25% 30%, #fff 0 4%, transparent 4.3%),
    linear-gradient(135deg, #e1ebe6, #f5f8f6 45%, #dce8e0);
}

html.re-home-search-page .re-search-map-view h3 {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #1f342d;
}

html.re-home-search-page .re-search-map-view > p {
  margin: 8px 0 20px;
  max-width: 420px;
  color: #60766e;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

html.re-home-search-page .re-search-map-view > p a {
  color: #2c604f;
  font-weight: 600;
}

html.re-home-search-page .re-search-map-view__canvas {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(44, 96, 79, 0.12);
  background: #e1ebe6;
}

html.re-home-search-page .re-search-map-view__canvas .map-leaflet {
  width: 100%;
  min-height: 420px !important;
  height: 420px !important;
  border-radius: 0;
  border: 0;
}

/* ----- Phase 2: advisor strip, decision, services, FAQ (8443) ----- */
html.re-home-search-page .re-search-advisor-strip.advisor-strip {
  margin-top: 20px;
  padding: 24px;
  border-radius: 26px;
  background: #ece7d9;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

html.re-home-search-page .re-search-advisor-strip > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html.re-home-search-page .re-search-advisor-strip strong {
  color: #29473d;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

html.re-home-search-page .re-search-advisor-strip span {
  color: #60766e;
  font-size: 14px;
}

html.re-home-search-page .re-search-advisor-strip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  background: #1f342d;
  color: #fff !important;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

html.re-home-search-page .re-search-decision.section-shell {
  width: 100%;
  margin-top: 74px;
  min-height: 0;
  display: grid;
  grid-template-columns: 56% 44%;
  padding: 0;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(44, 96, 79, 0.1);
  background: #fbfaf7;
  box-shadow: 0 24px 70px rgba(44, 96, 79, 0.08);
}

html.re-home-search-page .re-search-decision .decision-copy {
  padding: 64px 56px;
}

html.re-home-search-page .re-search-decision .eyebrow.line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60766e;
}

html.re-home-search-page .re-search-decision .eyebrow.line::before {
  content: "";
  width: 40px;
  height: 1px;
  background: #e4b354;
}

html.re-home-search-page .re-search-decision h2 {
  margin: 20px 0 0;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: clamp(44px, 4.1vw, 59px) !important;
  font-weight: 600 !important;
  line-height: 1.03 !important;
  letter-spacing: -0.05em !important;
  color: #1c2421;
}

html.re-home-search-page .re-search-decision h2 span {
  color: #2c604f;
  font-weight: 600;
}

html.re-home-search-page .re-search-decision .copy-rule {
  margin-top: 32px;
  padding-left: 28px;
  border-left: 1px solid rgba(44, 96, 79, 0.15);
}

html.re-home-search-page .re-search-decision .copy-rule p {
  margin: 0;
  color: #50685f;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 2;
}

html.re-home-search-page .re-search-decision .copy-rule p + p {
  margin-top: 20px;
}

html.re-home-search-page .re-search-decision .decision-side {
  padding: 40px;
  display: flex;
  align-items: center;
  background: #edf2ef;
}

html.re-home-search-page .re-search-decision .call-card {
  width: 100%;
  padding: 40px 36px 30px;
  border-radius: 28px;
  color: #fff;
  background: #176b55;
  box-shadow: 0 24px 60px rgba(23, 107, 85, 0.22);
}

html.re-home-search-page .re-search-decision .call-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #e4b354;
  border-radius: 16px;
}

html.re-home-search-page .re-search-decision .call-icon img {
  width: 20px;
  height: 20px;
}

html.re-home-search-page .re-search-decision .call-card h3 {
  margin: 28px 0 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.8px;
}

html.re-home-search-page .re-search-decision .call-card > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 28px;
  font-size: 15px;
}

html.re-home-search-page .re-search-call-card-btn {
  margin-top: 28px;
  min-height: 56px;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  padding: 10px 12px 10px 24px;
  color: #1f342d !important;
  background: #fff;
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

html.re-home-search-page .re-search-call-card-btn span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e1ebe6;
}

html.re-home-search-page .re-search-call-card-btn img {
  width: 16px;
  height: 16px;
}

html.re-home-search-page .re-search-decision .guidance {
  display: flex;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

html.re-home-search-page .re-search-decision .guidance i {
  width: 28px;
  height: 28px;
  margin-right: -8px;
  border: 2px solid #176b55;
  border-radius: 50%;
  background: #d6c4ad;
}

html.re-home-search-page .re-search-decision .guidance i:nth-child(2) {
  background: #b7d3c8;
}

html.re-home-search-page .re-search-decision .guidance i:nth-child(3) {
  margin-right: 12px;
  background: #e4b354;
}

html.re-home-search-page .section-width {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

html.re-home-search-page .re-search-services.services {
  width: 100%;
  padding: 100px 0 0;
}

html.re-home-search-page .re-search-services .section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

html.re-home-search-page .re-search-services .section-heading > div {
  max-width: 800px;
}

html.re-home-search-page .re-search-services .section-heading h2 {
  margin: 20px 0 0;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: clamp(48px, 4.72vw, 68px) !important;
  font-weight: 600 !important;
  line-height: 1.01 !important;
  letter-spacing: -0.055em !important;
  color: #1c2421;
}

html.re-home-search-page .re-search-services .section-heading h2 span {
  color: #658277;
  font-weight: 400;
}

html.re-home-search-page .re-search-services .section-heading > p {
  max-width: 320px;
  margin: 0;
  padding-bottom: 4px;
  color: #60766e;
  font-size: 14px;
  line-height: 24px;
  text-align: right;
}

html.re-home-search-page .re-search-services .service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

html.re-home-search-page .re-search-services .service-grid article {
  min-height: 380px;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(44, 96, 79, 0.1);
  box-shadow: 0 18px 45px rgba(44, 96, 79, 0.07);
}

html.re-home-search-page .re-search-services .service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

html.re-home-search-page .re-search-services .service-top span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e1ebe6;
}

html.re-home-search-page .re-search-services .service-top img {
  width: 28px;
  height: 28px;
}

html.re-home-search-page .re-search-services .service-top b {
  color: #82958e;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

html.re-home-search-page .re-search-services .service-grid article > i {
  display: block;
  width: 32px;
  height: 4px;
  margin-top: 48px;
  border-radius: 99px;
  background: #e4b354;
}

html.re-home-search-page .re-search-services .service-grid h3 {
  margin: 20px 0 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1c2421;
}

html.re-home-search-page .re-search-services .service-grid p {
  margin: 16px 0 0;
  color: #587067;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 15px;
  line-height: 28px;
}

html.re-home-search-page .re-search-faq.faq {
  width: 100%;
  margin-top: 99px;
  margin-bottom: 24px;
  padding: 56px 48px 48px;
  border-radius: 32px;
  border: 1px solid rgba(44, 96, 79, 0.1);
  background: #e9eee9;
  box-shadow: none;
}

html.re-home-search-page .re-search-faq .eyebrow.question {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60766e;
}

html.re-home-search-page .re-search-faq .eyebrow.question b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1f342d;
  background: #e4b354;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
}

html.re-home-search-page .re-search-faq .section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

html.re-home-search-page .re-search-faq .section-heading > div {
  max-width: 820px;
}

html.re-home-search-page .re-search-faq .section-heading h2 {
  margin: 20px 0 0;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: clamp(40px, 4.2vw, 56px) !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.05em !important;
}

html.re-home-search-page .re-search-faq .section-heading h2 span {
  color: #658277;
  font-weight: 400;
}

html.re-home-search-page .re-search-faq .section-heading > p {
  margin: 0;
  max-width: 280px;
  color: #60766e;
  font-size: 14px;
  line-height: 24px;
  text-align: right;
}

html.re-home-search-page .re-search-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

html.re-home-search-page .re-search-faq .faq-list article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
}

html.re-home-search-page .re-search-faq .faq-list article.open {
  background: #fff;
  border-color: rgba(44, 96, 79, 0.15);
  box-shadow: 0 16px 38px rgba(44, 96, 79, 0.09);
}

html.re-home-search-page .re-search-faq .faq-list button {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

html.re-home-search-page .re-search-faq .faq-list button span {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #263d35;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

html.re-home-search-page .re-search-faq .faq-list button b {
  color: #96a59f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

html.re-home-search-page .re-search-faq .faq-list article.open button b {
  color: #2c604f;
}

html.re-home-search-page .re-search-faq .faq-list button i {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e1ebe6;
}

html.re-home-search-page .re-search-faq .faq-list button i::before,
html.re-home-search-page .re-search-faq .faq-list button i::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 17px;
  width: 14px;
  height: 1px;
  background: #2c604f;
}

html.re-home-search-page .re-search-faq .faq-list button i::after {
  transform: rotate(90deg);
}

html.re-home-search-page .re-search-faq .faq-list article.open button i {
  background: #2c604f;
  transform: rotate(45deg);
}

html.re-home-search-page .re-search-faq .faq-list article.open button i::before,
html.re-home-search-page .re-search-faq .faq-list article.open button i::after {
  background: #fff;
}

html.re-home-search-page .re-search-faq .faq-list article > p {
  max-width: 896px;
  margin: 0;
  padding: 0 76px 24px;
  color: #587067;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 15px;
  line-height: 28px;
}

html.re-home-search-page .re-search-faq .faq-list article > p[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .re-home-search-hero--shell {
    min-height: 0;
    margin: 28px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .re-home-search-hero--shell.re-home-search-hero--has-sticky-form {
    padding-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  html.re-home-search-page .re-home-search-hero--shell .re-home-search-breadcrumb {
    margin: 0 0 10px;
    padding: 0 4px;
  }

  /* Pin + “Find Trusted…” duplicate the Explore section below — keep search only */
  html.re-home-search-page .re-home-search-hero-title-row {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  html.re-home-search-page .re-home-search-orb {
    display: none;
  }

  .re-home-search-form {
    margin-top: 28px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 16px;
  }

  html.re-home-search-page .re-home-search-form .re-home-search-field:not(.address-suggest-field) {
    display: none;
  }

  html.re-home-search-page .re-home-search-form .re-home-search-field.address-suggest-field > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  html.re-home-search-page .re-home-search-form .re-home-search-field.address-suggest-field {
    margin: 0;
  }

  html.re-home-search-page .re-home-search-input input {
    min-height: 48px;
    padding-top: 0;
    padding-bottom: 0;
  }

  html.re-home-search-page .re-search-filters-open {
    display: inline-flex;
  }

  html.re-home-search-page .re-search-filters-shell:not(.filters-open) .re-search-filters-panel {
    display: none;
  }

  html.re-home-search-page .re-search-filters-shell.filters-open {
    position: fixed;
    inset: 0;
    z-index: 90;
    max-width: none;
    padding: 0;
    pointer-events: auto;
  }

  html.re-home-search-page .re-search-filters-shell.filters-open .re-search-filters-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(27, 46, 40, 0.58);
    z-index: 0;
  }

  html.re-home-search-page .re-search-filters-shell.filters-open .re-search-filters-panel {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-height: min(88vh, calc(100vh - var(--re-home-search-header-offset) - 24px));
    overflow-y: auto;
  overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px 16px 28px;
    border-radius: 24px 24px 0 0;
    background: #f6f4ef;
    box-shadow: 0 -18px 48px rgba(31, 41, 38, 0.18);
  }

  html.re-home-search-page .re-search-filters-shell.filters-open .re-search-filters-panel-head {
    display: flex;
  }

  html.re-home-search-page .re-search-filters-shell.filters-open form#search-filters.search-filters,
  html.re-home-search-page .re-search-filters-shell.filters-open .search-filters.re-search-filters {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    max-height: none;
    overflow: visible;
    padding: 0 !important;
  }

  html.re-home-search-page .re-search-layout.results-layout > .re-search-filters-shell:not(.filters-open) {
    display: none;
    height: 0;
    min-height: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
  }

  html.re-home-search-page .re-search-filters-shell.filters-open {
    display: block;
  }

  html.re-home-search-filters-modal-open {
    overflow: hidden;
  }

  .re-home-search-hero--has-sticky-form + .re-home-search-form--sticky {
    margin-top: 0;
    border-radius: 16px;
    border: 1px solid rgba(44, 96, 79, 0.1);
    box-shadow: 0 24px 70px rgba(44, 96, 79, 0.08);
  }

  html.re-home-search-page .re-home-search-submit {
    width: auto;
    min-width: 48px;
    min-height: 48px;
    padding: 0 12px;
    align-self: center;
    font-size: 0;
    gap: 0;
  }

  html.re-home-search-page .re-home-search-submit img {
    width: 20px;
    height: 20px;
  }

  .re-home-search-orb {
    width: 200px;
    height: 200px;
    border-width: 32px;
    right: -64px;
    top: -80px;
  }

  html.re-home-search-page .re-home-search-results.results {
    padding: 64px 0 20px;
  }

  html.re-home-search-page .re-home-search-results .re-home-explore-title {
    font-size: 46px !important;
  }

  html.re-home-search-page .re-home-search-results .re-home-explore-lead {
    font-size: 18px;
    line-height: 1.65;
  }

  .re-home-search-wrap,
  .re-home-search-wrap.search-main {
    width: min(100% - 28px, 1180px);
  }

  /* Same specificity as desktop .search-layout rule — fixes ~82px results column on phones */
  html.re-home-search-page .search-layout.re-search-layout.results-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    margin-top: 32px;
  }

  html.re-home-search-page .search-layout.re-search-layout.results-layout > .search-filters-shell,
  html.re-home-search-page .search-layout.re-search-layout.results-layout > .re-search-filters-shell {
    grid-column: 1 !important;
    max-width: none !important;
  }

  html.re-home-search-page .search-layout.re-search-layout.results-layout > .search-results,
  html.re-home-search-page .search-layout.re-search-layout.results-layout > .re-search-results {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
  }

  html.re-home-search-page .re-search-filters .search-filter-block {
    min-width: 0;
  }

  html.re-home-search-page .re-search-results.list-area {
    padding-left: 0;
    overflow: visible;
  }

  html.re-home-search-page .re-search-list-toolbar.list-toolbar {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    min-height: 0;
    padding: 14px 16px;
    overflow: visible;
  }

  html.re-home-search-page .re-search-count {
    flex: none;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3em;
    font-size: 18px;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  html.re-home-search-page .re-search-count small,
  html.re-home-search-page .re-search-count .re-search-scope {
    font-size: 15px;
    font-weight: 500;
  }

  html.re-home-search-page .re-search-toolbar-actions {
    flex: none;
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    overflow: visible;
    min-height: 44px;
  }

  html.re-home-search-page .re-search-list-toolbar.list-toolbar:has(.re-search-sort.is-open) {
    position: relative;
    z-index: 110;
    overflow: visible;
  }

  html.re-home-search-sort-open body {
    overflow-x: clip;
  }

  html.re-home-search-page .re-search-sort--mobile.is-open .re-search-sort-menu {
    z-index: 120;
  }

  html.re-home-search-page .re-search-filters-open {
    justify-self: start;
    align-self: center;
    box-sizing: border-box;
    height: 44px;
    padding: 8px 12px;
    gap: 6px;
    font-size: 13px;
  }

  html.re-home-search-page .re-search-filters-open__label {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
  }

  html.re-home-search-page .re-search-sort {
    justify-self: stretch;
    align-self: center;
    min-width: 0;
    overflow: visible;
  }

  html.re-home-search-page .re-search-sort.re-search-sort--mobile {
    display: block;
    height: 44px;
  }

  html.re-home-search-page .re-search-sort.re-search-sort--mobile .re-search-sort-control {
    height: 44px;
  }

  html.re-home-search-page .re-search-sort-label {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #405b52;
  }

  html.re-home-search-page .re-search-sort.re-search-sort--mobile .re-search-sort-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  html.re-home-search-page .re-search-sort--mobile .re-search-sort-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
  }

  html.re-home-search-page .re-search-sort--mobile .re-search-sort-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 30px 0 10px;
    border: 1px solid rgba(44, 96, 79, 0.2);
    border-radius: 12px;
    background-color: #fff;
    background-image: url("/re-home/assets/9b5fa.svg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px 14px;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #29473d;
    cursor: pointer;
    text-align: left;
  }

  html.re-home-search-page .re-search-sort--mobile .re-search-sort-menu {
    display: block;
    position: absolute;
    z-index: 90;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    max-height: min(220px, calc(100vh - 120px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(44, 96, 79, 0.15);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(31, 41, 38, 0.16);
  }

  html.re-home-search-page .re-search-sort--mobile .re-search-sort-menu[hidden] {
    display: none;
  }

  html.re-home-search-page .re-search-sort-menu li {
    margin: 0;
    padding: 0;
  }

  html.re-home-search-page .re-search-sort-menu button {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #29473d;
    text-align: left;
    cursor: pointer;
  }

  html.re-home-search-page .re-search-sort-menu button.is-selected,
  html.re-home-search-page .re-search-sort-menu button[aria-selected="true"] {
    background: #e8f0ec;
    font-weight: 600;
    color: #1f342d;
  }

  html.re-home-search-page .re-search-toolbar-actions .re-search-sort-select {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 44px;
    padding: 0 30px 0 10px;
    font-size: 13px;
    border-radius: 12px;
  }

  html.re-home-search-page .view-toggle.search-view-toggle {
    justify-self: end;
    align-self: center;
    box-sizing: border-box;
    height: 44px;
    flex-shrink: 0;
  }

  html.re-home-search-page .view-toggle.search-view-toggle a {
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    padding: 0 11px;
    font-size: 12px;
  }

  html.re-home-search-page .search-result-card.re-search-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .re-search-card .search-result-body {
    min-height: 0;
    padding: 20px;
  }

  .re-search-card__media {
    min-height: 260px;
    height: 260px;
    aspect-ratio: auto;
  }

  .re-search-card__title {
    font-size: 22px;
    min-height: 0;
    padding-right: 40px;
  }

  .re-search-card__summary {
    min-height: 0;
  }

  .re-search-card__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .re-search-mid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  html.re-home-search-page .re-search-decision.section-shell {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  html.re-home-search-page .re-search-decision .decision-copy {
    padding: 40px 28px;
  }

  html.re-home-search-page .re-search-decision .decision-side {
    padding: 0 28px 32px;
  }

  html.re-home-search-page .re-search-services .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  html.re-home-search-page .re-search-services.services {
    padding-top: 72px;
  }

  /* 8443 @760px: stack section title + lead (was side-by-side → overlap on narrow screens) */
  html.re-home-search-page .re-search-services .section-heading,
  html.re-home-search-page .re-search-faq .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  html.re-home-search-page .re-search-services .section-heading > div,
  html.re-home-search-page .re-search-faq .section-heading > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  html.re-home-search-page .re-search-services .section-heading h2,
  html.re-home-search-page .re-search-faq .section-heading h2 {
    font-size: clamp(32px, 9vw, 46px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.04em !important;
  }

  html.re-home-search-page .re-search-services .section-heading > p,
  html.re-home-search-page .re-search-faq .section-heading > p {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-bottom: 0;
    text-align: left;
  }

  html.re-home-search-page .re-search-services .service-grid article {
    min-height: auto;
  }

  html.re-home-search-page .re-search-faq.faq {
    margin-top: 64px;
    padding: 40px 24px 32px;
  }

  html.re-home-search-page .re-home-search-wrap,
  html.re-home-search-page .re-home-search-wrap.search-main {
    padding-bottom: 28px;
  }

  /* Cover iOS “extra scroll” / safe-area gap below the last footer pixel. */
  html.re-home-search-page footer {
    padding-bottom: max(40px, env(safe-area-inset-bottom, 0px));
    box-shadow: 0 50vh 0 50vh #18231f;
  }

  .re-search-explore-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  html.re-home-search-page .re-search-services .service-grid {
    grid-template-columns: 1fr;
  }

  html.re-home-search-page .re-search-advisor-strip.advisor-strip {
    flex-direction: column;
    align-items: stretch;
  }

  html.re-home-search-page .re-search-advisor-strip-btn {
    width: 100%;
    text-align: center;
  }

  .re-search-card__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .re-search-card__call-wrap,
  .re-search-card__compare,
  .re-search-card__call,
  .re-search-card__cta {
    justify-content: center;
    width: 100%;
  }

  .re-search-card__call--revealed {
    max-width: 100%;
  }

  .re-search-explore-grid {
    grid-template-columns: 1fr;
  }

  /* Keep Rating + Type of care in two columns (8443); wider blocks below span full width */
  html.re-home-search-page .re-search-filters-shell .search-filters.re-search-filters,
  html.re-home-search-page .re-search-filters-shell form#search-filters.search-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow-x: visible;
  }

  html.re-home-search-page .re-search-filters .search-filter-block {
    min-width: 0;
  }

  html.re-home-search-page .re-search-filters .search-filter-block:nth-child(3),
  html.re-home-search-page .re-search-filters .search-filter-block:nth-child(4) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  html.re-home-search-page .re-home-search-results .re-home-explore-title {
    font-size: 40px !important;
  }

  html.re-home-search-page .re-search-services .section-heading h2,
  html.re-home-search-page .re-search-faq .section-heading h2 {
    font-size: 40px !important;
    line-height: 1.1 !important;
  }

}

/* One-line results context under breadcrumb (legacy). */
.search-context-line {
  margin: 0 0 20px;
  font: 600 20px/1.3 "Inter:Semi Bold", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.re-home-search-page .consent {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
}

.re-home-search-page .consent .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Typography tokens: re_home_typography.css */
