/* Citil Investment project/search page fixes — v210
   Restores visual hero background, centered sticky city tabs, no-scroll AJAX filtering,
   project-card hover/mouseout motion, and aligned card bottoms. */

/* ---------- Search page layout restore ---------- */
.investment-search-main-v163{
  position:relative;
  overflow:hidden;
  background:#fff;
  color:#17151f;
  font-family:'Open Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

.investment-search-main-v163 *{
  box-sizing:border-box;
}

.investment-search-main-v163 .sr-only,
.investment-page-v138 .sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.investment-search-hero-v163{
  position:relative;
  isolation:isolate;
  min-height:470px;
  padding:154px 22px 92px;
  overflow:hidden;
  background:#120f23;
}

.investment-search-hero-v163__bg{
  position:absolute;
  inset:0;
  z-index:0;
  opacity:1;
  background:
    linear-gradient(180deg,rgba(9,7,18,.66) 0%,rgba(20,15,42,.58) 42%,rgba(21,13,46,.86) 100%),
    radial-gradient(circle at 18% 18%,rgba(126,78,255,.28),transparent 33%),
    radial-gradient(circle at 82% 24%,rgba(58,132,255,.22),transparent 34%),
    url('/img/investment/investment-hero-handshake.png?v=139') center center/cover no-repeat;
  pointer-events:none;
  transform:scale(1.015);
}

.investment-search-hero-v163__bg::before,
.investment-search-hero-v163__bg::after{
  content:"";
  position:absolute;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  transform:rotate(-10deg);
}

.investment-search-hero-v163__bg::before{
  width:430px;
  height:430px;
  right:-130px;
  top:34px;
}

.investment-search-hero-v163__bg::after{
  width:260px;
  height:260px;
  left:-80px;
  bottom:-70px;
}

.investment-search-hero-v163::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(8,6,18,.34),rgba(8,6,18,.06) 48%,rgba(8,6,18,.42)),
    linear-gradient(180deg,rgba(8,6,18,.14),rgba(8,6,18,.46));
  pointer-events:none;
}

.investment-search-hero-v163__inner{
  position:relative;
  z-index:2;
  width:min(1120px,100%);
  margin:0 auto;
  text-align:center;
  color:#fff;
}

.investment-search-hero-v163__eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 0 18px;
  padding:10px 18px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#ded5ff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  backdrop-filter:blur(16px);
}

.investment-search-hero-v163 h1{
  max-width:860px;
  margin:0 auto 20px;
  font-size:clamp(42px,5.8vw,82px);
  line-height:.98;
  letter-spacing:-.055em;
  font-weight:700;
  color:#fff;
}

.investment-search-hero-v163 h1 span{
  color:#bda8ff;
}

.investment-search-hero-v163__inner > p:not(.investment-search-hero-v163__eyebrow){
  max-width:760px;
  margin:0 auto 34px;
  color:rgba(255,255,255,.78);
  font-size:18px;
  line-height:1.75;
}

.investment-search-form-v163{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  width:min(760px,100%);
  margin:0 auto;
  padding:10px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  box-shadow:0 28px 70px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.52);
  backdrop-filter:blur(18px);
}

.investment-search-form-v163 input[type="search"]{
  appearance:none;
  flex:1 1 auto;
  min-width:0;
  width:100%;
  height:56px;
  padding:0 52px 0 24px;
  border:0;
  outline:0;
  border-radius:999px;
  background:transparent;
  color:#1d1a27;
  font:600 16px/1 'Open Sans',system-ui,sans-serif;
}

.investment-search-form-v163 input[type="search"]::placeholder{
  color:rgba(29,26,39,.46);
}

.investment-search-form-v163 > button[type="submit"]{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  border:0;
  border-radius:999px;
  cursor:pointer;
  color:#fff;
  background:linear-gradient(135deg,#7e4eff,#6b42ea);
  box-shadow:0 16px 34px rgba(126,78,255,.30);
  transition:transform .32s cubic-bezier(.16,1,.3,1),box-shadow .32s cubic-bezier(.16,1,.3,1);
}

.investment-search-form-v163 > button[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 42px rgba(126,78,255,.38);
}

.investment-search-form-v163 svg{
  display:block;
  width:20px;
  height:20px;
}

.investment-search-form-v166__clear{
  position:absolute;
  right:76px;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  display:none;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(23,21,31,.08);
  color:rgba(23,21,31,.52);
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.investment-search-form-v166__clear.is-visible,
.investment-search-form-v163.has-value .investment-search-form-v166__clear{
  display:inline-flex;
}

.investment-search-results-v163{
  position:relative;
  padding:54px 22px 98px;
  background:
    linear-gradient(180deg,#fff 0%,#faf9ff 100%);
}

.investment-search-results-v163__inner{
  width:min(1240px,100%);
  margin:0 auto;
}

.investment-results-tabs-v164{
  position:sticky;
  top:calc(var(--cp-site-header-height, 82px) + 14px);
  z-index:30;
  width:fit-content;
  max-width:min(1040px,100%);
  margin:-86px auto 52px;
  padding:10px;
  border-radius:30px;
  background:rgba(255,255,255,.94);
  box-shadow:0 24px 60px rgba(28,22,62,.14);
  border:1px solid rgba(126,78,255,.12);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.investment-results-tabs-v164__track{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  overflow-x:auto;
  scrollbar-width:none;
  padding:2px;
  scroll-behavior:smooth;
}

.investment-results-tabs-v164__track::-webkit-scrollbar{
  display:none;
}

.investment-results-tabs-v164 a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  color:#625d70;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
  transition:background-color .28s ease,color .28s ease,transform .28s cubic-bezier(.16,1,.3,1),box-shadow .28s ease;
}

.investment-results-tabs-v164 a:hover,
.investment-results-tabs-v164 a.is-active{
  color:#fff;
  background:linear-gradient(135deg,#7e4eff,#6b42ea);
  box-shadow:0 14px 28px rgba(126,78,255,.22);
  transform:translateY(-1px);
}

.investment-results-dynamic-v166{
  min-height:260px;
}

.investment-search-heading-v163{
  max-width:760px;
  margin:0 auto 38px;
  text-align:center;
}

.investment-search-heading-v163 p{
  margin:0 0 10px;
  color:#8b62ff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.investment-search-heading-v163 h2{
  margin:0 0 14px;
  color:#17151f;
  font-size:clamp(30px,3.5vw,52px);
  line-height:1.08;
  letter-spacing:-.04em;
  font-weight:700;
}

.investment-search-heading-v163 span{
  display:block;
  margin:0 auto;
  color:#66606f;
  font-size:17px;
  line-height:1.68;
}

.investment-coming-soon-v163{
  position:relative;
  min-height:430px;
  padding:58px 34px;
  border-radius:36px;
  overflow:hidden;
  text-align:center;
  color:#fff;
  background:
    radial-gradient(circle at 15% 18%,rgba(255,255,255,.22),transparent 30%),
    linear-gradient(135deg,#17112a,#754cff);
  box-shadow:0 32px 74px rgba(31,24,75,.20);
}

.investment-coming-soon-v163 h2{
  position:relative;
  z-index:2;
  max-width:740px;
  margin:0 auto 18px;
  color:#fff;
  font-size:clamp(34px,5vw,68px);
  line-height:1.02;
  letter-spacing:-.05em;
}

.investment-coming-soon-v163 h2 span{
  display:inline;
  color:#d7c9ff;
}

.investment-coming-soon-v163 p{
  position:relative;
  z-index:2;
  max-width:680px;
  margin:0 auto 28px;
  color:rgba(255,255,255,.80);
  font-size:18px;
  line-height:1.72;
}

.investment-coming-soon-v163 > span[aria-hidden="true"]{
  display:block;
  width:78px;
  height:2px;
  margin:0 auto 28px;
  border-radius:999px;
  background:rgba(255,255,255,.36);
}

.investment-coming-soon-v163 > a{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:54px;
  padding:0 24px;
  border-radius:999px;
  color:#17151f;
  text-decoration:none;
  font-weight:800;
  background:#fff;
  box-shadow:0 18px 38px rgba(0,0,0,.18);
}

.investment-region-mark-v164{
  position:absolute;
  inset:auto auto -16px 50%;
  transform:translateX(-50%);
  z-index:1;
  width:min(520px,78%);
  opacity:.18;
  pointer-events:none;
}

.investment-region-mark-v164 img{
  display:block;
  width:100%;
  height:auto;
}

/* ---------- Project grid / card alignment and motion ---------- */
.investment-project-grid-v138,
.investment-search-grid-v163{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:34px;
}

.investment-project-card-v138{
  position:relative;
  height:100%;
  min-height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:28px;
  background:#fff;
  box-shadow:0 16px 34px rgba(22,20,31,.12),0 2px 8px rgba(22,20,31,.08);
  transform:translate3d(0,0,0) scale(1);
  transform-origin:center center;
  transition:
    transform .56s cubic-bezier(.16,1,.3,1),
    box-shadow .56s cubic-bezier(.16,1,.3,1),
    filter .56s cubic-bezier(.16,1,.3,1);
  will-change:transform;
  backface-visibility:hidden;
}

.investment-project-card-v138::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(135deg,rgba(126,78,255,.12),rgba(255,255,255,0) 44%,rgba(126,78,255,.08));
  transition:opacity .56s cubic-bezier(.16,1,.3,1);
  z-index:2;
}

.investment-project-card-v138.is-hovered,
.investment-project-card-v138:hover,
.investment-project-card-v138:focus-within{
  transform:translate3d(0,-10px,0) scale(1.006);
  box-shadow:0 30px 60px rgba(16,16,32,.16),0 12px 28px rgba(126,78,255,.12);
  filter:saturate(1.025);
}

.investment-project-card-v138.is-hovered::after,
.investment-project-card-v138:hover::after,
.investment-project-card-v138:focus-within::after{
  opacity:1;
}

.investment-project-card-v138.is-leaving{
  transition-duration:.48s;
}

.investment-project-card-v138__visual{
  position:relative;
  flex:0 0 auto;
  height:clamp(330px,33vw,520px);
  overflow:hidden;
  border-radius:28px 28px 0 0;
  transform:translateZ(0);
  background:#e8e7ee;
}

.investment-project-card-v138__visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1) translateZ(0);
  transition:
    transform .72s cubic-bezier(.16,1,.3,1),
    filter .72s cubic-bezier(.16,1,.3,1);
  will-change:transform;
}

.investment-project-card-v138.is-hovered .investment-project-card-v138__visual img,
.investment-project-card-v138:hover .investment-project-card-v138__visual img,
.investment-project-card-v138:focus-within .investment-project-card-v138__visual img{
  transform:scale(1.045) translateZ(0);
  filter:saturate(1.08) contrast(1.035);
}

.investment-project-card-v138__visual span{
  position:absolute;
  top:42px;
  right:32px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 28px;
  border-radius:999px;
  background:rgba(255,255,255,.90);
  color:#7e4eff;
  font-size:14px;
  font-weight:700;
  box-shadow:0 14px 34px rgba(26,22,48,.12);
  backdrop-filter:blur(16px);
  transition:
    transform .56s cubic-bezier(.16,1,.3,1),
    box-shadow .56s cubic-bezier(.16,1,.3,1),
    background-color .56s cubic-bezier(.16,1,.3,1),
    color .56s cubic-bezier(.16,1,.3,1);
  will-change:transform;
}

.investment-project-card-v138.is-hovered .investment-project-card-v138__visual span,
.investment-project-card-v138:hover .investment-project-card-v138__visual span,
.investment-project-card-v138:focus-within .investment-project-card-v138__visual span{
  transform:translate3d(0,-3px,0);
  box-shadow:0 16px 34px rgba(126,78,255,.20);
}

.investment-project-card-v138__body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  min-height:0;
  padding:38px 44px 42px;
}

.investment-project-card-v138__body > p:first-child{
  margin:0 0 10px;
  color:#8b62ff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.investment-project-card-v138__body h3{
  margin:0 0 16px;
  color:#1e1b27;
  font-size:clamp(25px,2.2vw,34px);
  line-height:1.12;
  letter-spacing:-.035em;
  font-weight:500;
}

.investment-project-card-v138__description{
  min-height:4.8em;
  margin:0 0 14px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:#625d68;
  font-size:18px;
  line-height:1.6;
}

.investment-project-card-v138__divider{
  flex:0 0 auto;
  height:1px;
  width:100%;
  margin:0 0 20px;
  background:rgba(22,20,31,.12);
}

.investment-project-card-v138__body strong{
  display:block;
  flex:0 0 auto;
  min-height:1.35em;
  margin:0 0 22px;
  color:#282430;
  font-size:clamp(24px,2.2vw,32px);
  line-height:1.25;
  font-weight:400;
  letter-spacing:-.035em;
}

.investment-project-card-v138__footer{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:64px;
  padding-top:0;
}

.investment-project-card-v138__footer .investment-location-v138{
  flex:1 1 auto;
  min-width:0;
}

.investment-location-v138{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#8a8690;
  font-size:16px;
  line-height:1.3;
  white-space:normal;
}

.investment-location-v138 svg{
  flex:0 0 auto;
  width:16px;
  height:16px;
  color:#8b62ff;
}

.investment-project-card-v138__footer a{
  flex:0 0 auto;
  min-width:176px;
  min-height:56px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 24px;
  border-radius:12px;
  text-align:center;
  white-space:nowrap;
  color:#fff;
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  background:linear-gradient(135deg,#7e4eff,#7449f3);
  box-shadow:0 14px 28px rgba(126,78,255,.22);
  transition:
    transform .42s cubic-bezier(.16,1,.3,1),
    box-shadow .42s cubic-bezier(.16,1,.3,1),
    filter .42s cubic-bezier(.16,1,.3,1);
}

.investment-project-card-v138.is-hovered .investment-project-card-v138__footer a,
.investment-project-card-v138:hover .investment-project-card-v138__footer a,
.investment-project-card-v138:focus-within .investment-project-card-v138__footer a{
  transform:translate3d(0,-2px,0);
  box-shadow:0 16px 30px rgba(126,78,255,.22);
  filter:saturate(1.05);
}

@media (max-width: 980px){
  .investment-search-hero-v163{
    min-height:auto;
    padding:132px 18px 78px;
  }

  .investment-results-tabs-v164{
    margin:-70px auto 38px;
    border-radius:24px;
  }

  .investment-project-grid-v138,
  .investment-search-grid-v163{
    grid-template-columns:1fr;
    gap:28px;
  }

  .investment-project-card-v138__visual{
    height:clamp(270px,58vw,480px);
  }
}

@media (max-width: 640px){
  .investment-search-hero-v163{
    padding:116px 14px 70px;
  }

  .investment-search-hero-v163__inner > p:not(.investment-search-hero-v163__eyebrow){
    font-size:15px;
  }

  .investment-search-form-v163{
    border-radius:24px;
    padding:8px;
  }

  .investment-search-form-v163 input[type="search"]{
    height:52px;
    padding-left:16px;
    font-size:14px;
  }

  .investment-search-form-v163 > button[type="submit"]{
    width:52px;
    height:52px;
  }

  .investment-results-tabs-v164{
    margin:-60px auto 30px;
    padding:8px;
  }

  .investment-results-tabs-v164 a{
    min-height:42px;
    padding:0 14px;
    font-size:13px;
  }

  .investment-search-results-v163{
    padding-left:14px;
    padding-right:14px;
    padding-bottom:68px;
  }

  .investment-project-card-v138{
    border-radius:22px;
  }

  .investment-project-card-v138__visual{
    height:265px;
    border-radius:22px 22px 0 0;
  }

  .investment-project-card-v138__visual span{
    top:18px;
    right:18px;
    min-height:42px;
    padding:0 18px;
    font-size:13px;
  }

  .investment-project-card-v138__body{
    padding:28px 24px 30px;
  }

  .investment-project-card-v138__description{
    min-height:auto;
    -webkit-line-clamp:unset;
    font-size:16px;
  }

  .investment-project-card-v138__footer{
    min-height:auto;
    align-items:flex-start;
    flex-direction:column;
    gap:14px;
  }

  .investment-project-card-v138__footer a{
    width:100%;
    min-width:0;
  }
}

@media (hover:none){
  .investment-project-card-v138:hover{
    transform:translate3d(0,0,0) scale(1);
    box-shadow:0 16px 34px rgba(22,20,31,.12),0 2px 8px rgba(22,20,31,.08);
    filter:none;
  }

  .investment-project-card-v138:hover::after{
    opacity:0;
  }

  .investment-project-card-v138:hover .investment-project-card-v138__visual img{
    transform:scale(1) translateZ(0);
    filter:none;
  }
}

@media (prefers-reduced-motion: reduce){
  .investment-project-card-v138,
  .investment-project-card-v138::after,
  .investment-project-card-v138__visual img,
  .investment-project-card-v138__visual span,
  .investment-project-card-v138__footer a,
  .investment-search-form-v163 > button[type="submit"],
  .investment-results-tabs-v164 a{
    transition:none!important;
  }
}

/* v210: sticky tabs stay centered on desktop, scrollable on smaller screens. */
@media (max-width: 980px){
  .investment-results-tabs-v164{
    width:100%;
    top:calc(var(--cp-site-header-height, 72px) + 10px);
    border-radius:24px;
  }

  .investment-results-tabs-v164__track{
    justify-content:flex-start;
  }
}

@media (prefers-reduced-motion: reduce){
  .investment-results-tabs-v164__track{
    scroll-behavior:auto;
  }
}

/* ===== v211: Project search hero from supplied Figma asset + sticky tab lock ===== */
:root{
  --investment-sticky-top-v211:110px;
}

.investment-search-hero-v163{
  min-height:clamp(720px,50vw,860px);
  padding:clamp(250px,18.5vw,320px) 22px 150px;
  background:#000;
}

.investment-search-hero-v163__bg{
  inset:0;
  transform:none;
  background:url('/img/investment/citil-projects-hero-mask-v212.png?v=212') center center/cover no-repeat;
  opacity:1;
}

.investment-search-hero-v163__bg::before,
.investment-search-hero-v163__bg::after{
  display:none;
}

.investment-search-hero-v163::after{
  z-index:1;
  background:rgba(0,0,0,.30);
}

.investment-search-hero-v163__inner{
  width:min(980px,100%);
}

.investment-search-hero-v163__eyebrow{
  display:none;
}

.investment-search-hero-v163 h1{
  max-width:980px;
  margin:0 auto 18px;
  color:#815AFF;
  font-size:clamp(46px,3.7vw,64px);
  line-height:1.1;
  letter-spacing:-.045em;
  font-weight:500;
}

.investment-search-hero-v163 h1 span{
  display:block;
  color:#fff;
  font-weight:300;
}

.investment-search-hero-v163__inner > p:not(.investment-search-hero-v163__eyebrow){
  max-width:980px;
  margin:0 auto 44px;
  color:#fff;
  font-size:20px;
  line-height:1.35;
  font-weight:300;
  text-align:center;
}

.investment-search-form-v163{
  width:min(965px,100%);
  min-height:86px;
  height:86px;
  padding:0 30px 0 60px;
  gap:18px;
  border-radius:65px;
  background:#fff;
  box-shadow:none;
  border:0;
}

.investment-search-form-v163 input[type="search"]{
  height:86px;
  padding:0 48px 0 0;
  color:#1a1a1a;
  font-size:20px;
  line-height:1.35;
  font-weight:400;
  text-align:left;
}

.investment-search-form-v163 input[type="search"]::placeholder{
  color:rgba(26,26,26,.41);
}

.investment-search-form-v163 > button[type="submit"]{
  width:46px;
  height:46px;
  color:rgba(0,0,0,.46);
  background:transparent;
  box-shadow:none;
}

.investment-search-form-v163 > button[type="submit"]:hover{
  transform:translateY(-1px);
  box-shadow:none;
  color:#815AFF;
}

.investment-search-form-v163 svg{
  width:31px;
  height:31px;
  stroke:currentColor;
}

.investment-search-form-v166__clear{
  right:82px;
  background:rgba(0,0,0,.06);
}

.investment-search-results-v163{
  padding:0 22px 98px;
  background:linear-gradient(180deg,#fff 0%,#faf9ff 100%);
  overflow:visible;
}

.investment-search-results-v163__inner{
  overflow:visible;
}

.investment-results-tabs-v164{
  position:sticky;
  top:var(--investment-sticky-top-v211,110px);
  z-index:80;
  width:fit-content;
  max-width:min(1040px,100%);
  margin:-76px auto 72px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  transition:
    background-color .28s ease,
    box-shadow .28s ease,
    border-color .28s ease,
    padding .28s ease,
    border-radius .28s ease,
    transform .28s cubic-bezier(.16,1,.3,1);
}

.investment-results-tabs-v164__track{
  justify-content:center;
  gap:18px;
  padding:0;
}

.investment-results-tabs-v164 a{
  width:128px;
  min-width:128px;
  min-height:53px;
  padding:0 16px;
  border:1px solid #fff;
  border-radius:48px;
  background:transparent;
  box-shadow:none;
  color:#fff;
  font-size:16px;
  line-height:1.35;
  font-weight:400;
}

.investment-results-tabs-v164 a:hover,
.investment-results-tabs-v164 a.is-active{
  color:#fff;
  background:#815AFF;
  border-color:#815AFF;
  box-shadow:none;
  transform:translateY(-1px);
}

.investment-results-tabs-v164.is-stuck-v211,
body.investment-tabs-locked-v211 .investment-results-tabs-v164{
  padding:10px;
  border-radius:30px;
  border:1px solid rgba(126,78,255,.12);
  background:rgba(255,255,255,.96);
  box-shadow:0 24px 60px rgba(28,22,62,.14);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

body.investment-tabs-locked-v211 .investment-results-tabs-v164{
  position:fixed;
  left:50%;
  top:var(--investment-sticky-top-v211,110px);
  margin:0;
  transform:translateX(-50%) translateY(-1px);
}

.investment-results-tabs-v164.is-stuck-v211 .investment-results-tabs-v164__track,
body.investment-tabs-locked-v211 .investment-results-tabs-v164__track{
  gap:8px;
  padding:2px;
}

.investment-results-tabs-v164.is-stuck-v211 a,
body.investment-tabs-locked-v211 .investment-results-tabs-v164 a{
  width:auto;
  min-width:0;
  min-height:46px;
  padding:0 18px;
  border:0;
  color:#625d70;
  background:transparent;
  font-size:14px;
  font-weight:700;
}

.investment-results-tabs-v164.is-stuck-v211 a:hover,
.investment-results-tabs-v164.is-stuck-v211 a.is-active,
body.investment-tabs-locked-v211 .investment-results-tabs-v164 a:hover,
body.investment-tabs-locked-v211 .investment-results-tabs-v164 a.is-active{
  color:#fff;
  background:linear-gradient(135deg,#7e4eff,#6b42ea);
  box-shadow:0 14px 28px rgba(126,78,255,.22);
  transform:translateY(-2px);
}

.investment-coming-soon-v163--custom h2{
  max-width:860px;
}

.investment-coming-soon-v163--custom p{
  max-width:820px;
}

@media (max-width: 980px){
  .investment-search-hero-v163{
    min-height:700px;
    padding:220px 18px 130px;
  }

  .investment-search-form-v163{
    height:76px;
    min-height:76px;
    padding-left:30px;
  }

  .investment-search-form-v163 input[type="search"]{
    height:76px;
    font-size:17px;
  }

  .investment-results-tabs-v164{
    width:100%;
    max-width:100%;
    margin:-68px auto 50px;
  }

  .investment-results-tabs-v164__track{
    justify-content:flex-start;
    gap:12px;
  }

  .investment-results-tabs-v164 a{
    width:auto;
    min-width:118px;
  }

  body.investment-tabs-locked-v211 .investment-results-tabs-v164{
    left:18px;
    right:18px;
    width:auto;
    transform:translateY(-1px);
  }
}

@media (max-width: 640px){
  .investment-search-hero-v163{
    min-height:640px;
    padding:170px 14px 112px;
  }

  .investment-search-hero-v163 h1{
    font-size:clamp(38px,10vw,48px);
  }

  .investment-search-hero-v163__inner > p:not(.investment-search-hero-v163__eyebrow){
    font-size:15px;
    line-height:1.55;
    margin-bottom:28px;
  }

  .investment-search-form-v163{
    min-height:64px;
    height:64px;
    border-radius:32px;
    padding:0 16px 0 22px;
  }

  .investment-search-form-v163 input[type="search"]{
    height:64px;
    font-size:14px;
    padding-right:38px;
  }

  .investment-search-form-v163 > button[type="submit"]{
    width:38px;
    height:38px;
  }

  .investment-search-form-v163 svg{
    width:24px;
    height:24px;
  }

  .investment-search-form-v166__clear{
    right:54px;
  }

  .investment-results-tabs-v164{
    margin:-58px auto 38px;
  }

  .investment-results-tabs-v164 a{
    min-width:104px;
    min-height:46px;
    font-size:14px;
  }
}

/* ===== v212: restore working backup flow, keep hero tabs in their lower hero position ===== */
.investment-search-page-v212 .investment-search-hero-v163{
  min-height:clamp(760px,50vw,865px);
  padding:clamp(250px,18.5vw,320px) 22px 54px;
  display:flex;
  align-items:flex-start;
}

.investment-search-page-v212 .investment-search-hero-v163__inner{
  position:relative;
  z-index:3;
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
}

.investment-search-page-v212 .investment-search-form-v163{
  margin-left:auto;
  margin-right:auto;
}

/* Normal state: tabs stay inside the hero, centered under the search bar. */
.investment-search-page-v212 .investment-results-tabs-v164{
  position:relative;
  top:auto;
  left:auto;
  right:auto;
  z-index:4;
  width:fit-content;
  max-width:min(1180px,calc(100vw - 48px));
  margin:42px auto 0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  transform:none;
  overflow:visible;
}

.investment-search-page-v212 .investment-results-tabs-v164__track{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  width:max-content;
  max-width:100%;
  padding:0;
  overflow-x:auto;
  overflow-y:visible;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.investment-search-page-v212 .investment-results-tabs-v164__track::-webkit-scrollbar{display:none;}

.investment-search-page-v212 .investment-results-tabs-v164 a{
  flex:0 0 auto;
  width:128px;
  min-width:128px;
  min-height:53px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.92);
  border-radius:48px;
  background:transparent;
  color:#fff;
  box-shadow:none;
  font-size:16px;
  line-height:1.35;
  font-weight:400;
  white-space:nowrap;
  transition:background .28s ease,border-color .28s ease,color .28s ease,transform .28s ease,box-shadow .28s ease;
}

.investment-search-page-v212 .investment-results-tabs-v164 a:hover,
.investment-search-page-v212 .investment-results-tabs-v164 a.is-active{
  color:#fff;
  background:#815AFF;
  border-color:#815AFF;
  box-shadow:none;
  transform:translateY(-1px);
}

.investment-search-page-v212 .investment-search-results-v163{
  padding:96px 22px 98px;
}

/* Locked state: created only after search, tab click, or deep link; first scroll releases it. */
body.investment-tabs-locked-v211 .investment-search-page-v212 .investment-results-tabs-v164,
body.investment-tabs-locked-v211 .investment-results-tabs-v164{
  position:fixed;
  left:50%;
  right:auto;
  top:var(--investment-sticky-top-v211,110px);
  z-index:1900;
  width:fit-content;
  max-width:min(1080px,calc(100vw - 48px));
  margin:0;
  padding:10px;
  border:1px solid rgba(126,78,255,.12);
  border-radius:30px;
  background:rgba(255,255,255,.96);
  box-shadow:0 24px 60px rgba(28,22,62,.14);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transform:translateX(-50%) translateY(-4px);
}

body.investment-tabs-locked-v211 .investment-results-tabs-v164__track{
  justify-content:center;
  gap:8px;
  padding:2px;
  width:max-content;
  max-width:100%;
}

body.investment-tabs-locked-v211 .investment-results-tabs-v164 a{
  width:auto;
  min-width:0;
  min-height:46px;
  padding:0 18px;
  border:0;
  color:#625d70;
  background:transparent;
  font-size:14px;
  font-weight:700;
}

body.investment-tabs-locked-v211 .investment-results-tabs-v164 a:hover,
body.investment-tabs-locked-v211 .investment-results-tabs-v164 a.is-active{
  color:#fff;
  background:linear-gradient(135deg,#7e4eff,#6b42ea);
  box-shadow:0 14px 28px rgba(126,78,255,.22);
  transform:translateY(-2px);
}

@media (max-width: 1180px){
  .investment-search-page-v212 .investment-results-tabs-v164{
    width:100%;
    max-width:calc(100vw - 36px);
    overflow:hidden;
  }
  .investment-search-page-v212 .investment-results-tabs-v164__track{
    justify-content:flex-start;
  }
}

@media (max-width: 980px){
  .investment-search-page-v212 .investment-search-hero-v163{
    min-height:720px;
    padding:220px 18px 48px;
  }
  .investment-search-page-v212 .investment-results-tabs-v164{
    margin-top:54px;
  }
  body.investment-tabs-locked-v211 .investment-results-tabs-v164{
    left:18px;
    right:18px;
    width:auto;
    max-width:none;
    transform:translateY(-4px);
  }
}

@media (max-width: 640px){
  .investment-search-page-v212 .investment-search-hero-v163{
    min-height:680px;
    padding-top:190px;
  }
  .investment-search-page-v212 .investment-search-hero-v163 h1{
    font-size:clamp(38px,10vw,52px);
  }
  .investment-search-page-v212 .investment-search-hero-v163__inner > p:not(.investment-search-hero-v163__eyebrow){
    font-size:16px;
  }
  .investment-search-page-v212 .investment-results-tabs-v164 a{
    width:auto;
    min-width:112px;
    min-height:48px;
    font-size:14px;
  }
  .investment-search-page-v212 .investment-search-results-v163{
    padding-top:72px;
  }
}

/* ===== v213: real single sticky tab flow, dynamic tab width, clean search icons, supplied coming-soon design ===== */
.investment-search-page-v213{
  --investment-sticky-top-v213:calc(var(--cp-site-header-height, 72px) + 10px);
}

/* Hide browser-native search cancel so only our designed clear control remains. */
.investment-search-page-v213 .investment-search-form-v163 input[type="search"]::-webkit-search-decoration,
.investment-search-page-v213 .investment-search-form-v163 input[type="search"]::-webkit-search-cancel-button,
.investment-search-page-v213 .investment-search-form-v163 input[type="search"]::-webkit-search-results-button,
.investment-search-page-v213 .investment-search-form-v163 input[type="search"]::-webkit-search-results-decoration{
  -webkit-appearance:none;
  appearance:none;
  display:none;
}
.investment-search-page-v213 .investment-search-form-v163 input[type="search"]{
  -webkit-appearance:none;
  appearance:none;
}

/* Search icon from Figma direction: simple grey stroke, no black fill. */
.investment-search-page-v213 .investment-search-form-v163 > button[type="submit"]{
  color:rgba(0,0,0,.46);
}
.investment-search-page-v213 .investment-search-form-v163 > button[type="submit"] svg,
.investment-search-page-v213 .investment-search-form-v163 > button[type="submit"] svg *{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.05!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.investment-search-page-v213 .investment-search-form-v166__clear{
  right:82px;
  width:38px;
  height:38px;
  background:rgba(0,0,0,.075);
  color:rgba(0,0,0,.44);
  font-size:26px;
  font-weight:300;
}
.investment-search-page-v213 .investment-search-form-v166__clear:hover{
  background:rgba(129,90,255,.10);
  color:#815AFF;
}

/* Single tab menu: lower hero placement is preserved, then the same element becomes sticky when scrolled to the header. */
.investment-search-page-v213 .investment-search-hero-v163{
  min-height:clamp(690px,46vw,800px);
  padding:clamp(238px,17vw,292px) 22px 118px;
}
.investment-search-page-v213 .investment-results-tabs-v164{
  position:sticky;
  top:var(--investment-sticky-top-v213);
  z-index:1200;
  width:fit-content;
  max-width:min(1180px,calc(100vw - 48px));
  margin:-110px auto 74px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  transform:none;
  overflow:visible;
  transition:background .28s ease,box-shadow .28s ease,border-color .28s ease,padding .28s ease,border-radius .28s ease,transform .28s ease;
}
.investment-search-page-v213 .investment-results-tabs-v164__track{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  width:max-content;
  max-width:100%;
  padding:0;
  overflow-x:auto;
  overflow-y:visible;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.investment-search-page-v213 .investment-results-tabs-v164__track::-webkit-scrollbar{display:none;}
.investment-search-page-v213 .investment-results-tabs-v164 a{
  flex:0 0 auto;
  width:auto;
  min-width:128px;
  min-height:53px;
  padding:0 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.92);
  border-radius:48px;
  background:transparent;
  color:#fff;
  box-shadow:none;
  font-size:16px;
  line-height:1.35;
  font-weight:400;
  white-space:nowrap;
}
.investment-search-page-v213 .investment-results-tabs-v164 a:hover,
.investment-search-page-v213 .investment-results-tabs-v164 a.is-active{
  color:#fff;
  background:#815AFF;
  border-color:#815AFF;
  transform:translateY(-1px);
}

/* Sticky visual state: applied to the same tab element when it reaches the header; no duplicate/fixed clone. */
.investment-search-page-v213 .investment-results-tabs-v164.is-sticky-visual-v213{
  padding:10px;
  border:1px solid rgba(126,78,255,.12);
  border-radius:30px;
  background:rgba(255,255,255,.96);
  box-shadow:0 24px 60px rgba(28,22,62,.14);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transform:translateY(-4px);
}
.investment-search-page-v213 .investment-results-tabs-v164.is-sticky-visual-v213 .investment-results-tabs-v164__track{
  gap:8px;
  padding:2px;
}
.investment-search-page-v213 .investment-results-tabs-v164.is-sticky-visual-v213 a{
  min-width:auto;
  min-height:46px;
  padding:0 20px;
  border:0;
  color:#625d70;
  background:transparent;
  font-size:14px;
  font-weight:700;
}
.investment-search-page-v213 .investment-results-tabs-v164.is-sticky-visual-v213 a:hover,
.investment-search-page-v213 .investment-results-tabs-v164.is-sticky-visual-v213 a.is-active{
  color:#fff;
  background:linear-gradient(135deg,#7e4eff,#6b42ea);
  box-shadow:0 14px 28px rgba(126,78,255,.22);
  transform:translateY(-2px);
}
.investment-search-page-v213 .investment-search-results-v163{
  padding:0 22px 98px;
}

/* Coming soon / no-result screen from supplied detail assets: light section, black + purple typography, outline map, white CTA pill. */
.investment-search-page-v213 .investment-coming-soon-v163{
  min-height:clamp(430px,38vw,560px);
  padding:78px 34px 84px;
  border-radius:36px;
  overflow:hidden;
  text-align:center;
  color:#1a1a1a;
  background:linear-gradient(180deg,#fff 0%,#fbfaff 100%);
  border:1px solid rgba(129,90,255,.08);
  box-shadow:0 28px 72px rgba(31,24,75,.08);
}
.investment-search-page-v213 .investment-coming-soon-v163::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 16%,rgba(129,90,255,.08),transparent 38%);
  pointer-events:none;
}
.investment-search-page-v213 .investment-coming-soon-v163 h2{
  max-width:900px;
  margin:0 auto 24px;
  color:#111;
  font-size:clamp(42px,4.2vw,64px);
  line-height:1.05;
  letter-spacing:-.05em;
  font-weight:300;
}
.investment-search-page-v213 .investment-coming-soon-v163 h2 span{
  color:#815AFF;
  font-weight:400;
}
.investment-search-page-v213 .investment-coming-soon-v163 p{
  max-width:820px;
  margin:0 auto 32px;
  color:rgba(26,26,26,.58);
  font-size:20px;
  line-height:1.65;
  font-weight:300;
}
.investment-search-page-v213 .investment-coming-soon-v163 > span[aria-hidden="true"]{
  width:64px;
  height:2px;
  margin:0 auto 32px;
  background:rgba(129,90,255,.36);
}
.investment-search-page-v213 .investment-coming-soon-v163 > a{
  min-height:58px;
  padding:0 30px;
  gap:10px;
  border:1px solid #815AFF;
  border-radius:65px;
  color:#1a1a1a;
  background:#fff;
  box-shadow:0 18px 36px rgba(129,90,255,.10);
  font-size:16px;
  font-weight:700;
}
.investment-search-page-v213 .investment-coming-soon-v163 > a:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 44px rgba(129,90,255,.16);
}
.investment-search-page-v213 .investment-coming-soon-v163 > a svg,
.investment-search-page-v213 .investment-coming-soon-v163 > a svg *{
  width:18px;
  height:18px;
  fill:none!important;
  stroke:#815AFF!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.investment-search-page-v213 .investment-region-mark-v164{
  inset:50% auto auto 10%;
  transform:translateY(-50%);
  width:min(240px,24vw);
  opacity:.28;
}
.investment-search-page-v213 .investment-region-mark-v164 img{
  width:100%;
  height:auto;
  object-fit:contain;
}
.investment-search-page-v213 .investment-region-map-v164--california img{
  width:min(210px,22vw);
}

@media (max-width: 1180px){
  .investment-search-page-v213 .investment-results-tabs-v164{
    width:100%;
    max-width:calc(100vw - 36px);
    overflow:hidden;
  }
  .investment-search-page-v213 .investment-results-tabs-v164__track{
    justify-content:flex-start;
  }
  .investment-search-page-v213 .investment-results-tabs-v164 a{
    min-width:122px;
    padding-left:24px;
    padding-right:24px;
  }
}
@media (max-width: 980px){
  .investment-search-page-v213 .investment-search-hero-v163{
    min-height:690px;
    padding:220px 18px 110px;
  }
  .investment-search-page-v213 .investment-results-tabs-v164{
    margin:-100px auto 58px;
  }
  .investment-search-page-v213 .investment-region-mark-v164{
    left:50%;
    top:54%;
    transform:translate(-50%,-50%);
    width:min(260px,54vw);
    opacity:.12;
  }
}
@media (max-width: 640px){
  .investment-search-page-v213 .investment-search-hero-v163{
    min-height:680px;
    padding-top:190px;
  }
  .investment-search-page-v213 .investment-results-tabs-v164{
    margin:-92px auto 48px;
  }
  .investment-search-page-v213 .investment-results-tabs-v164 a{
    min-width:auto;
    padding:0 22px;
    min-height:48px;
    font-size:14px;
  }
  .investment-search-page-v213 .investment-results-tabs-v164.is-sticky-visual-v213 a{
    padding:0 16px;
  }
  .investment-search-page-v213 .investment-search-form-v166__clear{
    right:54px;
    width:32px;
    height:32px;
  }
  .investment-search-page-v213 .investment-coming-soon-v163{
    padding:58px 20px 64px;
    border-radius:26px;
  }
  .investment-search-page-v213 .investment-coming-soon-v163 p{
    font-size:16px;
  }
}

/* ===== v214: exact tab travel, no clipped slider edges, crisp map-above coming-soon layout ===== */
.investment-search-page-v214{
  --investment-sticky-top-v214:calc(var(--cp-site-header-height, 72px) + 10px);
}

/* Search input: native browser cancel is removed by changing type to text in PHP;
   keep only our single designed clear button and Figma-like grey stroke search icon. */
.investment-search-page-v214 .investment-search-form-v163 input[name="q"]{
  -webkit-appearance:none;
  appearance:none;
}
.investment-search-page-v214 .investment-search-form-v163 > button[type="submit"]{
  color:rgba(0,0,0,.46);
  background:transparent!important;
  box-shadow:none!important;
}
.investment-search-page-v214 .investment-search-form-v163 > button[type="submit"] svg,
.investment-search-page-v214 .investment-search-form-v163 > button[type="submit"] svg *{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.investment-search-page-v214 .investment-search-form-v166__clear{
  right:82px;
  display:none;
}
.investment-search-page-v214 .investment-search-form-v166__clear.is-visible,
.investment-search-page-v214 .investment-search-form-v163.has-value .investment-search-form-v166__clear{
  display:inline-flex;
}

/* One real tab bar only: preserve lower hero placement, but prevent both left/right clipping. */
.investment-search-page-v214 .investment-results-tabs-v164{
  position:sticky;
  top:var(--investment-sticky-top-v214);
  z-index:1200;
  width:min(1260px,calc(100vw - 72px));
  max-width:min(1260px,calc(100vw - 72px));
  margin:-110px auto 74px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  overflow:visible;
  transform:none;
  scroll-margin-top:var(--investment-sticky-top-v214);
  transition:background .28s ease,box-shadow .28s ease,border-color .28s ease,padding .28s ease,border-radius .28s ease,transform .28s ease,width .28s ease,max-width .28s ease;
}
.investment-search-page-v214 .investment-results-tabs-v164__track{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:18px;
  width:100%;
  max-width:100%;
  padding:0 24px;
  overflow-x:auto;
  overflow-y:visible;
  scrollbar-width:none;
  scroll-padding-inline:24px;
  -webkit-overflow-scrolling:touch;
}
.investment-search-page-v214 .investment-results-tabs-v164__track::-webkit-scrollbar{display:none;}
@media (min-width:1360px){
  .investment-search-page-v214 .investment-results-tabs-v164__track{
    justify-content:center;
  }
}
.investment-search-page-v214 .investment-results-tabs-v164 a{
  flex:0 0 auto;
  width:auto;
  min-width:0;
  min-height:53px;
  padding:0 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.92);
  border-radius:48px;
  background:transparent;
  color:#fff;
  box-shadow:none;
  font-size:16px;
  line-height:1.35;
  font-weight:400;
  white-space:nowrap;
}
.investment-search-page-v214 .investment-results-tabs-v164 a:hover,
.investment-search-page-v214 .investment-results-tabs-v164 a.is-active{
  color:#fff;
  background:#815AFF;
  border-color:#815AFF;
  transform:translateY(-1px);
}

/* When the same tab bar reaches the header, it changes skin in-place; no duplicate menu. */
.investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v213,
.investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v214{
  width:fit-content;
  max-width:calc(100vw - 48px);
  padding:10px;
  border:1px solid rgba(126,78,255,.12);
  border-radius:30px;
  background:rgba(255,255,255,.96);
  box-shadow:0 24px 60px rgba(28,22,62,.14);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transform:translateY(-4px);
  overflow:hidden;
}
.investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v213 .investment-results-tabs-v164__track,
.investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v214 .investment-results-tabs-v164__track{
  gap:8px;
  padding:2px;
  width:auto;
  max-width:calc(100vw - 68px);
  justify-content:flex-start;
}
.investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v213 a,
.investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v214 a{
  min-width:0;
  min-height:46px;
  padding:0 24px;
  border:0;
  color:#625d70;
  background:transparent;
  font-size:14px;
  line-height:1.25;
  font-weight:700;
}
.investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v213 a:hover,
.investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v213 a.is-active,
.investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v214 a:hover,
.investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v214 a.is-active{
  color:#fff;
  background:linear-gradient(135deg,#7e4eff,#6b42ea);
  box-shadow:0 14px 28px rgba(126,78,255,.22);
  transform:translateY(-2px);
}

/* Supplied coming-soon detail: crisp outline map first, then black title/copy, purple line, white outline CTA. */
.investment-search-page-v214 .investment-coming-soon-v163{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-height:0;
  padding:96px 24px 104px;
  border:0;
  border-radius:0;
  overflow:visible;
  text-align:center;
  color:#000;
  background:#fff;
  box-shadow:none;
}
.investment-search-page-v214 .investment-coming-soon-v163::before{
  display:none!important;
}
.investment-search-page-v214 .investment-coming-soon-v163__mark,
.investment-search-page-v214 .investment-region-mark-v164{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  z-index:2;
  order:0;
  display:block;
  width:189px;
  max-width:34vw;
  margin:0 auto 34px;
  opacity:1!important;
  filter:none!important;
  pointer-events:none;
}
.investment-search-page-v214 .investment-region-map-v164,
.investment-search-page-v214 .investment-region-map-v164 img,
.investment-search-page-v214 .investment-region-map-v164--california img{
  display:block;
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  object-fit:contain;
  opacity:1!important;
  filter:none!important;
}
.investment-search-page-v214 .investment-coming-soon-v163 h2{
  position:relative;
  z-index:2;
  width:min(596px,100%);
  max-width:596px;
  margin:0 auto 24px;
  color:#000;
  font-size:48px;
  line-height:65px;
  letter-spacing:0;
  font-weight:400;
  text-align:center;
}
.investment-search-page-v214 .investment-coming-soon-v163 h2 span{
  color:#000;
  font-weight:400;
}
.investment-search-page-v214 .investment-coming-soon-v163 p{
  position:relative;
  z-index:2;
  width:min(855px,100%);
  max-width:855px;
  margin:0 auto 31px;
  color:#000;
  font-size:18px;
  line-height:25px;
  font-weight:400;
  text-align:center;
}
.investment-search-page-v214 .investment-coming-soon-v163 > span[aria-hidden="true"]{
  position:relative;
  z-index:2;
  display:block;
  width:64px;
  height:0;
  margin:0 auto 29px;
  background:transparent;
  border-top:2px solid #815AFF;
  border-radius:0;
}
.investment-search-page-v214 .investment-coming-soon-v163 > a{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:259px;
  min-height:45px;
  padding:0 24px;
  border:1px solid #815AFF;
  border-radius:45px;
  color:#000;
  background:#fff;
  box-shadow:none;
  text-decoration:none;
  font-size:13px;
  line-height:18px;
  font-weight:400;
}
.investment-search-page-v214 .investment-coming-soon-v163 > a:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(129,90,255,.10);
}
.investment-search-page-v214 .investment-coming-soon-v163 > a svg,
.investment-search-page-v214 .investment-coming-soon-v163 > a svg *{
  width:16px;
  height:18px;
  fill:none!important;
  stroke:#815AFF!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

@media (max-width:1180px){
  .investment-search-page-v214 .investment-results-tabs-v164{
    width:calc(100vw - 36px);
    max-width:calc(100vw - 36px);
    overflow:visible;
  }
  .investment-search-page-v214 .investment-results-tabs-v164__track{
    padding-inline:18px;
    scroll-padding-inline:18px;
    justify-content:flex-start;
  }
  .investment-search-page-v214 .investment-results-tabs-v164 a{
    padding-inline:30px;
  }
}
@media (max-width:640px){
  .investment-search-page-v214 .investment-results-tabs-v164{
    width:calc(100vw - 22px);
    max-width:calc(100vw - 22px);
    margin:-92px auto 48px;
  }
  .investment-search-page-v214 .investment-results-tabs-v164__track{
    padding-inline:14px;
    scroll-padding-inline:14px;
  }
  .investment-search-page-v214 .investment-results-tabs-v164 a{
    min-height:48px;
    padding-inline:22px;
    font-size:14px;
  }
  .investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v213 a,
  .investment-search-page-v214 .investment-results-tabs-v164.is-sticky-visual-v214 a{
    padding-inline:16px;
  }
  .investment-search-page-v214 .investment-coming-soon-v163{
    padding:70px 20px 82px;
  }
  .investment-search-page-v214 .investment-region-mark-v164{
    width:150px;
    max-width:46vw;
    margin-bottom:28px;
  }
  .investment-search-page-v214 .investment-coming-soon-v163 h2{
    font-size:34px;
    line-height:42px;
  }
  .investment-search-page-v214 .investment-coming-soon-v163 p{
    font-size:16px;
    line-height:24px;
  }
}


/* ===== v215: normal tabs live in white gap below hero; sticky travel lands exactly under header ===== */
.investment-search-page-v215{
  --investment-sticky-top-v215:calc(var(--cp-site-header-height, 72px) + 10px);
}

/* Keep the supplied hero intact, but let the content below breathe before the tab row. */
.investment-search-page-v215 .investment-search-results-v163{
  padding:0 22px 98px;
  margin-top:0;
  background:linear-gradient(180deg,#fff 0%,#faf9ff 100%);
  overflow:visible;
}

/* Normal state: the same real tab menu sits in the white area, not inside the dark hero. */
.investment-search-page-v215 .investment-results-tabs-v164{
  position:sticky;
  top:var(--investment-sticky-top-v215, var(--investment-sticky-top-v214, 110px));
  z-index:1200;
  width:min(1320px,calc(100vw - 72px));
  max-width:min(1320px,calc(100vw - 72px));
  margin:42px auto 54px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  overflow:visible;
  transform:none;
  scroll-margin-top:calc(var(--investment-sticky-top-v215, var(--investment-sticky-top-v214, 110px)) + 4px);
}

.investment-search-page-v215 .investment-results-tabs-v164__track{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:18px;
  width:100%;
  max-width:100%;
  padding:0 34px;
  overflow-x:auto;
  overflow-y:visible;
  scrollbar-width:none;
  scroll-padding-inline:34px;
  -webkit-overflow-scrolling:touch;
}
.investment-search-page-v215 .investment-results-tabs-v164__track::-webkit-scrollbar{display:none;}
@media (min-width:1360px){
  .investment-search-page-v215 .investment-results-tabs-v164__track{
    justify-content:center;
  }
}

.investment-search-page-v215 .investment-results-tabs-v164 a{
  flex:0 0 auto;
  width:auto;
  min-width:128px;
  min-height:53px;
  padding:0 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(129,90,255,.34);
  border-radius:48px;
  background:#fff;
  color:#2f2d38;
  box-shadow:0 16px 40px rgba(26,20,60,.07);
  font-size:16px;
  line-height:1.35;
  font-weight:500;
  white-space:nowrap;
}
.investment-search-page-v215 .investment-results-tabs-v164 a:hover,
.investment-search-page-v215 .investment-results-tabs-v164 a.is-active{
  color:#fff;
  background:#815AFF;
  border-color:#815AFF;
  box-shadow:0 18px 38px rgba(129,90,255,.20);
  transform:translateY(-1px);
}

/* There must be a visible pause after tabs before the title; the heading should not climb into the tab row. */
.investment-search-page-v215 .investment-search-heading-v163{
  padding-top:4px;
  margin-top:0;
}

/* Once sticky, the same element gets the compact white skin directly under the header. */
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v213,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v214,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v215{
  width:fit-content;
  max-width:calc(100vw - 48px);
  margin-left:auto;
  margin-right:auto;
  padding:10px;
  border:1px solid rgba(126,78,255,.12);
  border-radius:30px;
  background:rgba(255,255,255,.96);
  box-shadow:0 24px 60px rgba(28,22,62,.14);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transform:translateY(0);
  overflow:hidden;
}
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v213 .investment-results-tabs-v164__track,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v214 .investment-results-tabs-v164__track,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v215 .investment-results-tabs-v164__track{
  gap:8px;
  padding:2px;
  width:auto;
  max-width:calc(100vw - 68px);
  justify-content:flex-start;
}
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v213 a,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v214 a,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v215 a{
  min-width:0;
  min-height:46px;
  padding:0 24px;
  border:0;
  color:#625d70;
  background:transparent;
  box-shadow:none;
  font-size:14px;
  line-height:1.25;
  font-weight:700;
}
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v213 a:hover,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v213 a.is-active,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v214 a:hover,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v214 a.is-active,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v215 a:hover,
.investment-search-page-v215 .investment-results-tabs-v164.is-sticky-visual-v215 a.is-active{
  color:#fff;
  background:linear-gradient(135deg,#7e4eff,#6b42ea);
  box-shadow:0 14px 28px rgba(126,78,255,.22);
  transform:translateY(-2px);
}

@media (max-width:1180px){
  .investment-search-page-v215 .investment-results-tabs-v164{
    width:calc(100vw - 36px);
    max-width:calc(100vw - 36px);
    margin-top:34px;
    margin-bottom:46px;
  }
  .investment-search-page-v215 .investment-results-tabs-v164__track{
    padding-inline:22px;
    scroll-padding-inline:22px;
    justify-content:flex-start;
  }
  .investment-search-page-v215 .investment-results-tabs-v164 a{
    min-width:max-content;
    padding-inline:30px;
  }
}
@media (max-width:640px){
  .investment-search-page-v215 .investment-results-tabs-v164{
    width:calc(100vw - 22px);
    max-width:calc(100vw - 22px);
    margin-top:28px;
    margin-bottom:38px;
  }
  .investment-search-page-v215 .investment-results-tabs-v164__track{
    padding-inline:16px;
    scroll-padding-inline:16px;
  }
  .investment-search-page-v215 .investment-results-tabs-v164 a{
    min-height:48px;
    padding-inline:22px;
    font-size:14px;
  }
}

/* ===== v216: finalize search bar to match reference exactly ===== */
.investment-search-page-v216 .investment-search-form-v163{
  position:relative;
  width:min(1720px,calc(100vw - 104px));
  max-width:min(1720px,calc(100vw - 104px));
  min-height:110px;
  height:110px;
  margin:0 auto;
  padding:0 112px 0 48px;
  gap:0;
  border-radius:999px;
  background:#fff;
  box-shadow:none;
  border:0;
}

.investment-search-page-v216 .investment-search-form-v163 input[name="q"]{
  -webkit-appearance:none;
  appearance:none;
  flex:1 1 auto;
  width:100%;
  min-width:0;
  height:100%;
  margin:0;
  padding:0 88px 0 0;
  border:0;
  outline:0;
  background:transparent;
  color:#1a1a1a;
  font-family:'Open Sans',system-ui,sans-serif;
  font-size:20px;
  font-style:normal;
  font-weight:400;
  line-height:27px;
  text-align:left;
  box-shadow:none;
}

.investment-search-page-v216 .investment-search-form-v163 input[name="q"]::placeholder{
  color:rgba(26,26,26,.41);
  opacity:1;
}

.investment-search-page-v216 .investment-search-form-v163 > button[type="submit"]{
  position:absolute;
  right:34px;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent !important;
  box-shadow:none !important;
  color:rgba(0,0,0,.44);
}

.investment-search-page-v216 .investment-search-form-v163 > button[type="submit"]:hover{
  transform:translateY(-50%);
  color:rgba(0,0,0,.60);
  box-shadow:none !important;
}

.investment-search-page-v216 .investment-search-form-v163 > button[type="submit"] svg,
.investment-search-page-v216 .investment-search-form-v163 > button[type="submit"] svg *{
  width:36px;
  height:36px;
  display:block;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

.investment-search-page-v216 .investment-search-form-v166__clear{
  position:absolute;
  right:82px;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  width:40px;
  height:40px;
  padding:0;
  border:0;
  border-radius:999px;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.08);
  color:rgba(0,0,0,.44);
  font-size:28px;
  font-weight:400;
  line-height:1;
  box-shadow:none;
}

.investment-search-page-v216 .investment-search-form-v166__clear:hover{
  background:rgba(0,0,0,.12);
  color:rgba(0,0,0,.60);
}

.investment-search-page-v216 .investment-search-form-v166__clear.is-visible,
.investment-search-page-v216 .investment-search-form-v163.has-value .investment-search-form-v166__clear{
  display:inline-flex;
}

@media (max-width: 1024px){
  .investment-search-page-v216 .investment-search-form-v163{
    width:min(92vw,1100px);
    max-width:min(92vw,1100px);
    min-height:86px;
    height:86px;
    padding:0 92px 0 30px;
  }
  .investment-search-page-v216 .investment-search-form-v163 input[name="q"]{
    font-size:18px;
    line-height:25px;
  }
  .investment-search-page-v216 .investment-search-form-v166__clear{
    right:74px;
    width:36px;
    height:36px;
    font-size:24px;
  }
  .investment-search-page-v216 .investment-search-form-v163 > button[type="submit"]{
    right:28px;
    width:36px;
    height:36px;
  }
  .investment-search-page-v216 .investment-search-form-v163 > button[type="submit"] svg,
  .investment-search-page-v216 .investment-search-form-v163 > button[type="submit"] svg *{
    width:32px;
    height:32px;
  }
}

@media (max-width: 640px){
  .investment-search-page-v216 .investment-search-form-v163{
    width:calc(100vw - 28px);
    max-width:calc(100vw - 28px);
    min-height:72px;
    height:72px;
    padding:0 78px 0 20px;
  }
  .investment-search-page-v216 .investment-search-form-v163 input[name="q"]{
    font-size:16px;
    line-height:22px;
    padding-right:74px;
  }
  .investment-search-page-v216 .investment-search-form-v166__clear{
    right:60px;
    width:30px;
    height:30px;
    font-size:20px;
  }
  .investment-search-page-v216 .investment-search-form-v163 > button[type="submit"]{
    right:18px;
    width:30px;
    height:30px;
  }
  .investment-search-page-v216 .investment-search-form-v163 > button[type="submit"] svg,
  .investment-search-page-v216 .investment-search-form-v163 > button[type="submit"] svg *{
    width:24px;
    height:24px;
  }
}

/* ===== v217: responsive search bar clamp, no viewport overflow ===== */
.investment-search-page-v217 .investment-search-hero-v163,
.investment-search-page-v217 .investment-search-hero-v163__inner{
  overflow:hidden;
}

.investment-search-page-v217 .investment-search-form-v163{
  box-sizing:border-box;
  width:min(965px,calc(100vw - 80px));
  max-width:calc(100vw - 80px);
  min-width:0;
  height:clamp(72px,6vw,86px);
  min-height:clamp(72px,6vw,86px);
  margin:0 auto;
  padding:0 clamp(86px,8vw,112px) 0 clamp(30px,4.6vw,60px);
  border-radius:999px;
  background:#fff;
  box-shadow:none;
  border:0;
  overflow:hidden;
}

.investment-search-page-v217 .investment-search-form-v163 input[name="q"]{
  box-sizing:border-box;
  min-width:0;
  width:100%;
  height:100%;
  padding:0 clamp(46px,6vw,78px) 0 0;
  margin:0;
  border:0;
  outline:0;
  background:transparent;
  color:#1a1a1a;
  font-family:'Open Sans',system-ui,sans-serif;
  font-size:clamp(16px,1.4vw,20px);
  font-weight:400;
  line-height:1.35;
  text-align:left;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.investment-search-page-v217 .investment-search-form-v163 input[name="q"]::placeholder{
  color:rgba(26,26,26,.41);
  opacity:1;
}

.investment-search-page-v217 .investment-search-form-v163 > button[type="submit"]{
  position:absolute;
  right:clamp(26px,3.1vw,34px);
  top:50%;
  width:clamp(32px,3.8vw,42px);
  height:clamp(32px,3.8vw,42px);
  transform:translateY(-50%);
  padding:0;
  border:0;
  border-radius:0;
  background:transparent !important;
  box-shadow:none !important;
  color:rgba(0,0,0,.46);
}

.investment-search-page-v217 .investment-search-form-v163 > button[type="submit"]:hover{
  transform:translateY(-50%);
  color:rgba(0,0,0,.62);
  box-shadow:none !important;
}

.investment-search-page-v217 .investment-search-form-v163 > button[type="submit"] svg,
.investment-search-page-v217 .investment-search-form-v163 > button[type="submit"] svg *{
  width:clamp(28px,3.4vw,36px);
  height:clamp(28px,3.4vw,36px);
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

.investment-search-page-v217 .investment-search-form-v166__clear{
  position:absolute;
  right:clamp(66px,7vw,86px);
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  display:none;
  width:clamp(32px,3.8vw,40px);
  height:clamp(32px,3.8vw,40px);
  padding:0;
  border:0;
  border-radius:999px;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.08);
  color:rgba(0,0,0,.44);
  font-size:clamp(21px,2.6vw,28px);
  font-weight:400;
  line-height:1;
  box-shadow:none;
}

.investment-search-page-v217 .investment-search-form-v166__clear.is-visible,
.investment-search-page-v217 .investment-search-form-v163.has-value .investment-search-form-v166__clear{
  display:inline-flex;
}

@media (max-width: 767px){
  .investment-search-page-v217 .investment-search-form-v163{
    width:calc(100vw - 32px);
    max-width:calc(100vw - 32px);
    height:68px;
    min-height:68px;
    padding-left:22px;
    padding-right:76px;
  }

  .investment-search-page-v217 .investment-search-form-v163 input[name="q"]{
    font-size:15px;
    padding-right:52px;
  }

  .investment-search-page-v217 .investment-search-form-v166__clear{
    right:52px;
    width:28px;
    height:28px;
    font-size:20px;
  }

  .investment-search-page-v217 .investment-search-form-v163 > button[type="submit"]{
    right:18px;
    width:28px;
    height:28px;
  }

  .investment-search-page-v217 .investment-search-form-v163 > button[type="submit"] svg,
  .investment-search-page-v217 .investment-search-form-v163 > button[type="submit"] svg *{
    width:24px;
    height:24px;
  }
}
