/* Citil Investment location sticky navigation v1451
   - stable independent horizontal slider (no continuous cross-slider sync)
   - white floating sticky surface
   - soft fade edges instead of hard clipping
   - arrows live in dedicated side gutters
*/

.investment-search-layout-v1443 .investment-results-sticky-v1451{
  position:fixed !important;
  top:var(--investment-location-sticky-top-v1451,82px) !important;
  left:50% !important;
  right:auto !important;
  bottom:auto !important;
  z-index:870 !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  width:min(1040px,calc(100vw - 36px)) !important;
  max-width:min(1040px,calc(100vw - 36px)) !important;
  min-height:64px !important;
  margin:0 !important;
  padding:9px 58px !important;
  border:1px solid rgba(28,28,38,.10) !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.965) !important;
  box-shadow:0 14px 38px rgba(24,25,35,.16),0 2px 8px rgba(24,25,35,.06) !important;
  backdrop-filter:blur(18px) saturate(1.15) !important;
  -webkit-backdrop-filter:blur(18px) saturate(1.15) !important;
  overflow:visible !important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate3d(-50%,-12px,0) !important;
  transform-origin:50% 0;
  will-change:opacity,transform;
  transition:
    opacity .20s ease,
    transform .28s cubic-bezier(.22,1,.36,1),
    box-shadow .24s ease,
    visibility 0s linear .28s !important;
}

.investment-search-layout-v1443 .investment-results-sticky-v1451.is-visible-v1451{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate3d(-50%,0,0) !important;
  box-shadow:0 18px 44px rgba(24,25,35,.19),0 3px 10px rgba(24,25,35,.07) !important;
  transition:
    opacity .20s ease,
    transform .30s cubic-bezier(.22,1,.36,1),
    box-shadow .24s ease,
    visibility 0s linear 0s !important;
}

.investment-search-layout-v1443 .investment-location-sticky-v1451__viewport{
  position:relative;
  z-index:1;
  width:100%;
  min-width:0;
  overflow:visible;
}

/* Soft white fades remove the abrupt left/right clipping of pills. */
.investment-search-layout-v1443 .investment-location-sticky-v1451__viewport::before,
.investment-search-layout-v1443 .investment-location-sticky-v1451__viewport::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  z-index:5;
  width:38px;
  pointer-events:none;
  opacity:1;
  transition:opacity .18s ease;
}

.investment-search-layout-v1443 .investment-location-sticky-v1451__viewport::before{
  left:-1px;
  background:linear-gradient(90deg,rgba(255,255,255,1) 16%,rgba(255,255,255,.90) 44%,rgba(255,255,255,0) 100%);
}

.investment-search-layout-v1443 .investment-location-sticky-v1451__viewport::after{
  right:-1px;
  background:linear-gradient(270deg,rgba(255,255,255,1) 16%,rgba(255,255,255,.90) 44%,rgba(255,255,255,0) 100%);
}

.investment-search-layout-v1443 .investment-results-sticky-v1451.is-at-start-v1451 .investment-location-sticky-v1451__viewport::before,
.investment-search-layout-v1443 .investment-results-sticky-v1451.is-at-end-v1451 .investment-location-sticky-v1451__viewport::after{
  opacity:0;
}

.investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-results-tabs-v164__track{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:2px 3px 3px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-padding-inline:3px !important;
  scroll-snap-type:none !important;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x;
}

.investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-results-tabs-v164__track::-webkit-scrollbar{
  display:none;
}

.investment-search-layout-v1443 .investment-results-sticky-v1451 a,
.investment-search-layout-v1443 .investment-results-sticky-v1451.is-sticky-visual-v213 a,
.investment-search-layout-v1443 .investment-results-sticky-v1451.is-sticky-visual-v214 a,
.investment-search-layout-v1443 .investment-results-sticky-v1451.is-sticky-visual-v215 a{
  flex:0 0 auto !important;
  width:auto !important;
  min-width:132px !important;
  min-height:44px !important;
  padding:0 16px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid #dedee7 !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#272731 !important;
  box-shadow:0 3px 10px rgba(26,27,38,.06) !important;
  font-family:'Open Sans',system-ui,sans-serif !important;
  font-size:13px !important;
  line-height:1.15 !important;
  font-weight:600 !important;
  white-space:nowrap !important;
  transform:none !important;
  scroll-snap-align:none !important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease !important;
}

.investment-search-layout-v1443 .investment-results-sticky-v1451 a:hover,
.investment-search-layout-v1443 .investment-results-sticky-v1451 a:focus-visible{
  background:#f5f2ff !important;
  border-color:#b9a9ff !important;
  color:#5b36d7 !important;
  box-shadow:0 5px 14px rgba(83,51,203,.12) !important;
  outline:none !important;
}

.investment-search-layout-v1443 .investment-results-sticky-v1451 a.is-active,
.investment-search-layout-v1443 .investment-results-sticky-v1451 a.is-active:hover,
.investment-search-layout-v1443 .investment-results-sticky-v1451 a.is-active:focus-visible{
  background:#815AFF !important;
  border-color:#815AFF !important;
  color:#fff !important;
  box-shadow:0 7px 18px rgba(83,51,203,.26) !important;
}

/* Sticky arrows are not on top of the pills; they occupy the white card's side gutters. */
.investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-location-slider-arrow{
  top:50% !important;
  z-index:9 !important;
  width:38px !important;
  height:38px !important;
  border:1px solid #d9d9e3 !important;
  background:#fff !important;
  color:#292933 !important;
  box-shadow:0 7px 18px rgba(24,25,35,.14) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  transform:translateY(-50%) scale(1) !important;
}

.investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-location-slider-arrow--prev{
  left:11px !important;
}

.investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-location-slider-arrow--next{
  right:11px !important;
}

.investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-location-slider-arrow:hover,
.investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-location-slider-arrow:focus-visible{
  background:#815AFF !important;
  border-color:#815AFF !important;
  color:#fff !important;
  transform:translateY(-50%) scale(1.05) !important;
}

.investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-location-slider-arrow.is-hidden{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(-50%) scale(.88) !important;
}

/* Keep the original hero slider exactly as it was in v1450. */
.investment-search-layout-v1443 .investment-search-controls-v1444 .investment-results-tabs-v164{
  width:calc(100% - 104px) !important;
  max-width:calc(100% - 104px) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  overflow:visible !important;
}

.investment-search-layout-v1443 .investment-search-controls-v1444 .investment-results-tabs-v164__track,
.investment-search-layout-v1443 .investment-search-controls-v1444 .investment-results-tabs-v164.is-sticky-visual-v213 .investment-results-tabs-v164__track,
.investment-search-layout-v1443 .investment-search-controls-v1444 .investment-results-tabs-v164.is-sticky-visual-v214 .investment-results-tabs-v164__track,
.investment-search-layout-v1443 .investment-search-controls-v1444 .investment-results-tabs-v164.is-sticky-visual-v215 .investment-results-tabs-v164__track{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding-inline:0 !important;
  scroll-padding-inline:0 !important;
}

.investment-search-layout-v1443 .investment-search-controls-v1444 .investment-location-slider-arrow--prev{
  left:-52px !important;
}

.investment-search-layout-v1443 .investment-search-controls-v1444 .investment-location-slider-arrow--next{
  right:-52px !important;
}

@media (max-width:760px){
  .investment-search-layout-v1443 .investment-results-sticky-v1451{
    width:calc(100vw - 16px) !important;
    max-width:calc(100vw - 16px) !important;
    min-height:56px !important;
    padding:7px 44px !important;
    border-radius:16px !important;
  }

  .investment-search-layout-v1443 .investment-location-sticky-v1451__viewport::before,
  .investment-search-layout-v1443 .investment-location-sticky-v1451__viewport::after{
    width:28px;
  }

  .investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-results-tabs-v164__track{
    gap:7px !important;
    padding:2px 2px 3px !important;
  }

  .investment-search-layout-v1443 .investment-results-sticky-v1451 a{
    min-width:112px !important;
    min-height:40px !important;
    padding-inline:12px !important;
    font-size:12px !important;
  }

  .investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-location-slider-arrow{
    width:32px !important;
    height:32px !important;
  }

  .investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-location-slider-arrow--prev{
    left:7px !important;
  }

  .investment-search-layout-v1443 .investment-results-sticky-v1451 .investment-location-slider-arrow--next{
    right:7px !important;
  }

  .investment-search-layout-v1443 .investment-search-controls-v1444 .investment-results-tabs-v164{
    width:calc(100% - 80px) !important;
    max-width:calc(100% - 80px) !important;
  }

  .investment-search-layout-v1443 .investment-search-controls-v1444 .investment-location-slider-arrow--prev{
    left:-40px !important;
  }

  .investment-search-layout-v1443 .investment-search-controls-v1444 .investment-location-slider-arrow--next{
    right:-40px !important;
  }
}

@media (prefers-reduced-motion:reduce){
  .investment-search-layout-v1443 .investment-results-sticky-v1451,
  .investment-search-layout-v1443 .investment-location-sticky-v1451__viewport::before,
  .investment-search-layout-v1443 .investment-location-sticky-v1451__viewport::after{
    transition:none !important;
  }
}
