/**
 * Findar V46135 — Premium Full-Width Homepage + Desktop Header SAFE
 * Front-page only. Final cascade after V46123C and V46127 typography.
 */

body.findar-mobile-premium-home {
  --f35-ink:#0b1426;
  --f35-blue:#164bff;
  --f35-blue-dark:#0d39d6;
  --f35-line:#e3e8ef;
  --f35-white:#fff;
  --f35-header-h:74px;
}

@media (min-width:1024px) {
  body.findar-mobile-premium-home.fmp-global-fixed-header-active {
    --fmp-global-header-h:var(--f35-header-h)!important;
    padding-top:var(--f35-header-h)!important;
  }

  body.findar-mobile-premium-home.fmp-global-fixed-header-active #fmp-theme-mobile-header.fmp-theme-mobile-header {
    display:flex!important;
    align-items:center!important;
    gap:0!important;
    height:var(--f35-header-h)!important;
    padding:0 clamp(24px,3.2vw,62px)!important;
    border:0!important;
    border-bottom:1px solid var(--f35-line)!important;
    background:#fff!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-menu,
  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-search {
    display:none!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-logo {
    flex:0 0 auto!important;
    width:112px!important;
    min-width:112px!important;
    height:62px!important;
    margin:0 clamp(34px,3.4vw,64px) 0 0!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-logo img,
  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-logo .custom-logo,
  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-logo-img {
    max-width:104px!important;
    max-height:60px!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-nav {
    display:flex!important;
    flex:0 1 auto!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:clamp(22px,2vw,38px)!important;
    height:100%!important;
    margin:0!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-nav a {
    position:relative!important;
    min-height:var(--f35-header-h)!important;
    padding:0!important;
    color:#172033!important;
    font-size:15px!important;
    font-weight:750!important;
    letter-spacing:-.01em!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-nav a::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:3px;
    border-radius:3px 3px 0 0;
    background:var(--f35-blue);
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .18s ease;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-nav a:hover {
    color:var(--f35-blue)!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-nav a:hover::after {
    transform:scaleX(1);
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-actions {
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    gap:10px!important;
    margin-left:auto!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-login {
    height:44px!important;
    min-width:auto!important;
    padding:0 18px!important;
    border:1px solid #d7deea!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#172033!important;
    font-size:14px!important;
    font-weight:800!important;
    box-shadow:none!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-login:hover {
    border-color:#9bb2ff!important;
    background:#f7f9ff!important;
    color:var(--f35-blue)!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-publish {
    height:44px!important;
    min-width:124px!important;
    padding:0 20px!important;
    border-radius:9px!important;
    background:var(--f35-blue)!important;
    font-size:14px!important;
    font-weight:850!important;
    box-shadow:none!important;
  }

  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-publish:hover {
    background:var(--f35-blue-dark)!important;
  }
}

@media (min-width:1024px) and (max-width:1240px) {
  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-logo {
    width:96px!important;
    min-width:96px!important;
    margin-right:28px!important;
  }
  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-nav {
    gap:20px!important;
  }
  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-nav a {
    font-size:14px!important;
  }
  body.findar-mobile-premium-home #fmp-theme-mobile-header .fmp-theme-nav-home-extra:last-child {
    display:none!important;
  }
}

body.findar-mobile-premium-home .fhd-hero {
  border-radius:0!important;
}

@media (min-width:1024px) {
  body.findar-mobile-premium-home .fhd-hero {
    min-height:clamp(545px,68vh,650px)!important;
    align-items:center!important;
    background:#172033!important;
  }

  body.findar-mobile-premium-home .fhd-hero__image {
    object-position:center 52%!important;
    transform:scale(1.01)!important;
    filter:saturate(.92) contrast(1.04)!important;
  }

  body.findar-mobile-premium-home .fhd-hero__overlay {
    background:
      linear-gradient(180deg,rgba(5,10,20,.36) 0%,rgba(5,10,20,.43) 52%,rgba(5,10,20,.54) 100%),
      radial-gradient(circle at 50% 44%,rgba(4,12,29,.04) 0%,rgba(4,12,29,.22) 72%)!important;
  }

  body.findar-mobile-premium-home .fhd-hero__content {
    justify-items:center!important;
    align-content:center!important;
    gap:22px!important;
    padding-top:64px!important;
    padding-bottom:58px!important;
    text-align:center!important;
  }

  body.findar-mobile-premium-home .fhd-hero__copy {
    width:min(100%,850px)!important;
    max-width:850px!important;
  }

  body.findar-mobile-premium-home .fhd-eyebrow {
    justify-content:center!important;
    margin-bottom:14px!important;
    color:rgba(255,255,255,.88)!important;
    font-size:12px!important;
    letter-spacing:.12em!important;
  }

  body.findar-mobile-premium-home .fhd-hero__title {
    max-width:850px!important;
    margin-inline:auto!important;
    color:#fff!important;
    font-size:clamp(48px,4.3vw,68px)!important;
    line-height:1.01!important;
    letter-spacing:-.048em!important;
    text-shadow:0 4px 28px rgba(0,0,0,.22)!important;
  }

  body.findar-mobile-premium-home .fhd-hero__copy p {
    max-width:720px!important;
    margin:16px auto 0!important;
    color:rgba(255,255,255,.92)!important;
    font-size:18px!important;
    line-height:1.5!important;
    text-shadow:0 2px 16px rgba(0,0,0,.22)!important;
  }

  body.findar-mobile-premium-home .fhd-search-card {
    width:min(100%,860px)!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }

  body.findar-mobile-premium-home .fhd-search-tabs {
    justify-content:center!important;
    gap:2px!important;
    padding:0!important;
    overflow:visible!important;
  }

  body.findar-mobile-premium-home .fhd-search-tabs button,
  body.findar-mobile-premium-home .fhd-search-tabs a {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:50px!important;
    padding:0 23px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-bottom:0!important;
    border-radius:10px 10px 0 0!important;
    background:rgba(8,17,34,.72)!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:800!important;
    backdrop-filter:blur(10px)!important;
  }

  body.findar-mobile-premium-home .fhd-search-tabs button:hover,
  body.findar-mobile-premium-home .fhd-search-tabs a:hover {
    background:rgba(8,17,34,.88)!important;
    color:#fff!important;
  }

  body.findar-mobile-premium-home .fhd-search-tabs button.is-active {
    background:#fff!important;
    color:#111827!important;
    border-color:#fff!important;
    box-shadow:none!important;
  }

  body.findar-mobile-premium-home .fhd-search-form {
    grid-template-columns:minmax(0,1fr) 76px!important;
    min-height:76px!important;
    border:0!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 20px 54px rgba(1,8,20,.32)!important;
    overflow:visible!important;
  }

  body.findar-mobile-premium-home .fhd-search-field--type,
  body.findar-mobile-premium-home .fhd-search-field--budget {
    display:none!important;
  }

  body.findar-mobile-premium-home .fhd-search-field--location {
    display:flex!important;
    align-items:center!important;
    min-height:76px!important;
    padding:0 24px!important;
    border:0!important;
  }

  body.findar-mobile-premium-home .fhd-search-field--location > span:first-child {
    display:none!important;
  }

  body.findar-mobile-premium-home .fhd-search-field__input {
    width:100%!important;
    gap:13px!important;
  }

  body.findar-mobile-premium-home .fhd-search-field__input svg {
    width:23px!important;
    height:23px!important;
    color:#667085!important;
  }

  body.findar-mobile-premium-home .fhd-search-field input {
    height:74px!important;
    color:#172033!important;
    font-size:18px!important;
    font-weight:650!important;
  }

  body.findar-mobile-premium-home .fhd-search-field input::placeholder {
    color:#667085!important;
  }

  body.findar-mobile-premium-home .fhd-search-submit {
    position:relative!important;
    width:62px!important;
    min-width:62px!important;
    height:62px!important;
    align-self:center!important;
    margin:7px!important;
    padding:0!important;
    border-radius:12px!important;
    background:var(--f35-blue)!important;
    box-shadow:none!important;
  }

  body.findar-mobile-premium-home .fhd-search-submit:hover {
    background:var(--f35-blue-dark)!important;
    transform:none!important;
  }

  body.findar-mobile-premium-home .fhd-search-submit span {
    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;
  }

  body.findar-mobile-premium-home .fhd-search-submit svg {
    width:25px!important;
    height:25px!important;
  }

  body.findar-mobile-premium-home .fhd-search-field .fmp-smart-suggest {
    top:calc(100% + 10px)!important;
    width:min(650px,calc(100vw - 80px))!important;
    text-align:left!important;
  }

  body.findar-mobile-premium-home .fhd-map-cta-row {
    display:flex!important;
    justify-content:center!important;
    margin-top:16px!important;
  }

  body.findar-mobile-premium-home .fhd-map-cta {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    min-height:48px!important;
    padding:0 22px!important;
    border:1px solid rgba(255,255,255,.34)!important;
    border-radius:10px!important;
    background:rgba(8,17,34,.62)!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:800!important;
    text-decoration:none!important;
    backdrop-filter:blur(10px)!important;
  }

  body.findar-mobile-premium-home .fhd-map-cta:hover {
    background:rgba(8,17,34,.84)!important;
    border-color:rgba(255,255,255,.52)!important;
  }

  body.findar-mobile-premium-home .fhd-map-cta svg {
    width:20px!important;
    height:20px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }

  body.findar-mobile-premium-home .fhd-hero__trust {
    justify-content:center!important;
    margin-top:2px!important;
    color:rgba(255,255,255,.82)!important;
    font-size:12px!important;
  }
}

body.findar-mobile-premium-home .fhd-top-cities {
  position:relative;
  z-index:3;
  border-bottom:1px solid var(--f35-line);
  background:#fff;
}

body.findar-mobile-premium-home .fhd-top-cities__inner {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  min-height:72px;
}

body.findar-mobile-premium-home .fhd-top-cities__inner > strong {
  flex:0 0 auto;
  color:#667085;
  font-size:13px;
  font-weight:750;
}

body.findar-mobile-premium-home .fhd-top-cities nav {
  display:flex;
  align-items:center;
  gap:8px;
}

body.findar-mobile-premium-home .fhd-top-cities a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 15px;
  border:1px solid #dde3ec;
  border-radius:999px;
  background:#fff;
  color:#263247;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  transition:border-color .16s ease,color .16s ease,background .16s ease;
}

body.findar-mobile-premium-home .fhd-top-cities a:hover {
  border-color:#9bb2ff;
  background:#f6f8ff;
  color:var(--f35-blue);
}

@media (min-width:1024px) {
  body.findar-mobile-premium-home .fhd-discovery {
    padding-top:68px!important;
  }
}

@media (max-width:1023px) {
  body.findar-mobile-premium-home .fhd-map-cta-row {
    display:flex;
    margin-top:10px;
  }
  body.findar-mobile-premium-home .fhd-map-cta {
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:0 14px;
    border:1px solid #dfe6ef;
    border-radius:11px;
    background:#f7f9fc;
    color:#172033;
    font-size:13px;
    font-weight:850;
    text-decoration:none;
  }
  body.findar-mobile-premium-home .fhd-map-cta svg {
    width:18px;
    height:18px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
  }
  body.findar-mobile-premium-home .fhd-top-cities__inner {
    justify-content:flex-start;
    min-height:64px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  body.findar-mobile-premium-home .fhd-top-cities__inner::-webkit-scrollbar { display:none; }
  body.findar-mobile-premium-home .fhd-top-cities nav {
    flex:0 0 auto;
  }
}

@media (max-width:600px) {
  body.findar-mobile-premium-home .fhd-top-cities__inner {
    gap:10px;
    padding-right:18px;
  }
  body.findar-mobile-premium-home .fhd-top-cities__inner > strong {
    position:sticky;
    left:0;
    z-index:2;
    padding-right:7px;
    background:#fff;
    white-space:nowrap;
  }
  body.findar-mobile-premium-home .fhd-top-cities a {
    white-space:nowrap;
  }
}
