@charset "UTF-8";
/* RESULTS – isolated Newage right rail and fixed shared footer.
   No changes to filters, the embedded Leaflet map, pins or results scripts. */

body.na-results-shell {
  --na-rail-width: 2.5rem;
  --na-pad: clamp(22px, 2.3vw, 66px);
}

/* The interactive Results scroll segment remains black with six white
   dots through the existing scroll-rail.css. The rest of the right rail
   (MENU and lower navigation buttons) must keep its original light
   background, borders and dark icons from main-min.css. */

/* Same mobile/intermediate menu threshold as the Newage pages;
   the existing toggleMenu(), PINs and scroll controls stay intact. */
@media (min-width: 1025px) and (max-width: 1160px) {
  body.na-results-shell .corner-stack .help-box { display: flex !important; }
  body.na-results-shell .site-scroll-rail { display: none !important; }
}

/* Exactly the shared Newage footer markup and typography, but fixed
   to the bottom of the Results viewport, as on the start page.
   The 2.5rem right control rail remains unobstructed. */
body.na-results-shell .na-page-footer.footer-wrapper {
  position: fixed !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: var(--na-rail-width) !important;
  width: auto !important;
  max-width: none !important;
  min-height: 2.4rem !important;
  height: auto !important;
  margin: 0 !important;
  padding-left: calc(var(--na-pad) + var(--na-outer-gutter)) !important;
  z-index: 900;
}
@media (max-width: 767px) {
  body.na-results-shell .na-page-footer.footer-wrapper {
    justify-content: center;
    padding: .3rem var(--na-pad) !important;
  }
}

/* Results only: lift the Leaflet scale indicator above the fixed footer.
   Do not change map positioning, controls or footer itself. */
body.na-results-shell #map-specialcontainer .leaflet-bottom .scale-line-container {
  transform: translateY(-2em);
}

/* Results only: match the public Newage footer's background (#EFEFEF).
   Do not recolor result cards or the embedded Leaflet map. */
body.na-results-shell,
body.na-results-shell #results-scroll-content {
  background-color: #efefef;
}

/* Results: match the Newage scroll grip: only top/bottom hover lines.
   The shared legacy rail draws a full rectangle; remove the side lines.
   Keep the existing six dots and dragging behavior unchanged. */
body.na-results-shell .site-scroll-rail__grip::after {
  border: 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

/* Results only: improve legibility of the small service badges.
   No changes to size, badge position or other pages. */
body.na-results-shell .result-service-badge {
  font-weight: 500;
  letter-spacing: .10rem;
  color: #fff !important;
}
body.na-results-shell a.result-text-link:hover .result-service-badge,
body.na-results-shell a.result-text-link:focus-visible .result-service-badge {
  color: #fff !important;
}

/* Results: the embedded map retains the .5rem gutter to the right rail.
   Above the layout limit it ends exactly at the detached search button's
   right edge. Fullscreen remains controlled by result-map-embed.css. */
body.na-results-shell #map-specialcontainer:not(.results-map-expanded) {
  right: calc(var(--na-rail-width) + var(--na-outer-gutter));
}
@media screen and (min-width: 2401px) {
  body.na-results-shell #map-specialcontainer:not(.results-map-expanded) {
    right: calc(var(--na-rail-width) + max(0px, 100% - var(--na-max-content)));
  }
}
/* Colour rotation: original Results hover palette stays unchanged.
   Base colours offset by three steps, as on Tiles. The map is not a card. */
@media screen {
  body.na-results-shell .results > .result-item:nth-child(7n + 1) { --results-card-bg: #efd09a; }
  body.na-results-shell .results > .result-item:nth-child(7n + 2) { --results-card-bg: #c9a0c3; }
  body.na-results-shell .results > .result-item:nth-child(7n + 3) { --results-card-bg: #9aaa7a; }
  body.na-results-shell .results > .result-item:nth-child(7n + 4) { --results-card-bg: #c98c73; }
  body.na-results-shell .results > .result-item:nth-child(7n + 5) { --results-card-bg: #c7b76a; }
  body.na-results-shell .results > .result-item:nth-child(7n + 6) { --results-card-bg: #90a0af; }
  body.na-results-shell .results > .result-item:nth-child(7n + 7) { --results-card-bg: #d7cb49; }
  body.na-results-shell .results > .result-item > a.result-text-link {
    background-color: var(--results-card-bg, #c7b76a) !important;
    isolation: isolate;
  }
  body.na-results-shell .results > .result-item > a.result-text-link:hover,
  body.na-results-shell .results > .result-item > a.result-text-link:focus-visible {
    background-color: var(--result-hover-bg, #efd09a) !important;
  }
  body.na-results-shell .results > .result-item .result-photo img {
    filter: grayscale(100%) contrast(.95) brightness(1.04);
    mix-blend-mode: multiply;
  }
  body.na-results-shell .results > .result-item > a.result-text-link:hover .result-photo img,
  body.na-results-shell .results > .result-item > a.result-text-link:focus-visible .result-photo img {
    filter: grayscale(0%) contrast(1) brightness(1);
    mix-blend-mode: normal;
  }
}
@media screen and (hover: none), screen and (pointer: coarse) {
  body.na-results-shell .results > .result-item .result-photo img {
    will-change: auto !important;
    transform: none !important;
    transition: none !important;
  }
}

@media screen and (min-width: 1401px) {
  body.na-results-shell #map-specialcontainer:not(.results-map-expanded) .leaflet-top {
    top: 3.75rem;
  }
}
/* Expanded map is the exclusive viewport surface, including at small widths. */
html.results-map-scroll-lock body.na-results-shell .site-top-actions,
body.na-results-shell:has(#map-specialcontainer.results-map-expanded) .site-top-actions {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
/* Results – left border of navigation buttons */
body.na-results-shell .corner-stack .scroll-up-box,
body.na-results-shell .corner-stack .return-box,
body.na-results-shell .corner-stack .help-box {
    border-left: 1px solid #111 !important;
}
