﻿/* Home-page masthead. Keep other pages and all sections below the hero intact. */
.home-editorial .topbar {
  position: relative;
  height: 50px;
  color: rgba(255, 255, 255, .8);
  background: var(--sir-navy-dark);
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-editorial .topbar.is-hidden { transform: none; opacity: 1; pointer-events: auto; }
.home-editorial .topbar__inner,
.home-editorial #site-header .nav-shell,
.home-editorial .property-search__inner { width: min(92%, 1440px); }
.home-editorial .topbar__link,
.home-editorial .topbar__link--email { color: inherit; font-size: 14px; font-weight: 400; opacity: 1; }
.home-editorial .topbar__link svg { color: inherit; width: 15px; height: 15px; }
.home-editorial .topbar__social { color: inherit; background: transparent; border-radius: 0; }
.home-editorial .topbar__link:hover,
.home-editorial .topbar__social:hover { color: var(--white); }
.home-editorial .topbar__cta { padding: 0; background: transparent; border-radius: 0; font-size: 12px; }
.home-editorial .topbar__cta:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.home-editorial #site-header { position: relative; inset: auto; background: var(--sir-navy); }
.home-editorial #site-header .nav-shell {
  min-height: 92px;
  margin-inline: auto;
  padding: 14px 0;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 2vw, 36px);
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-editorial #site-header .brand__logo { height: 52px; filter: brightness(0) invert(1); }
.home-editorial #site-header .nav-links { justify-content: flex-end; gap: clamp(24px, 2.2vw, 42px); }
.home-editorial #site-header .nav-links a { font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.home-editorial #site-header .nav-links a::after { background: var(--gold); }
.home-editorial #site-header .nav-actions { gap: 22px; }
.home-editorial #site-header .header-callback {
  padding: 14px 22px;
  border: 1px solid var(--gold);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
}
.home-editorial #site-header .header-callback:hover,
.home-editorial #site-header .header-callback:active { color: var(--sir-navy-dark); background: var(--gold); transform: none; }
.home-editorial #site-header .language-switcher { padding: 0; gap: 0; border: 0; border-radius: 0; background: transparent; }
.home-editorial #site-header .language-switcher__option { min-height: 40px; padding: 6px; border-radius: 0; border-bottom: 2px solid transparent; font-size: 11px; background: transparent; box-shadow: none; }
.home-editorial #site-header .language-switcher__option[aria-current="true"] { border-bottom-color: var(--gold); }
.home-editorial #site-header .language-switcher__option:hover { background: rgba(255,255,255,.08); }
.home-editorial #site-header .menu-toggle { color: var(--white); background: transparent; border-color: rgba(255,255,255,.2); border-radius: 0; }
.home-editorial :is(.topbar, #site-header, .property-search) :focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.home-editorial .property-search { background: var(--sir-navy); color: var(--white); border-top: 1px solid rgba(255,255,255,.2); }
.home-editorial .property-search__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 100px); align-items: center; padding-block: 36px; }
.home-editorial #property-search-title { max-width: 500px; margin: 0; font-family: var(--font-heading); font-size: clamp(46px, 4vw, 58px); font-weight: 400; line-height: 1.05; color: var(--white); }
.home-editorial .property-search .hero-search { min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; color: inherit; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home-editorial .property-search .hero-search__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 24px; align-items: end; }
.home-editorial .property-search .hero-search__field label { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.home-editorial .property-search .hero-search__field { gap: 0; }
.home-editorial .property-search :is(select, input) { width: 100%; height: 56px; min-height: 56px; padding: 0 2px; border: 0; border-bottom: 1px solid rgba(255,255,255,.45); border-radius: 0; color: var(--white); background: transparent; font-family: var(--font-body); font-size: 14px; color-scheme: dark; }
.home-editorial .property-search select option { color: var(--text-primary); background: var(--white); }
.home-editorial .property-search input::placeholder { color: rgba(255,255,255,.55); opacity: 1; }
.home-editorial .property-search :is(select, input):focus-visible { border-bottom-color: var(--gold); }
.home-editorial .property-search .hero-search__extra { display: contents; }
.home-editorial .property-search .hero-search__field--price { grid-column: span 2; }
.home-editorial .property-search .hero-search__price { display: flex; color: rgba(255,255,255,.72); gap: 16px; }
.home-editorial .property-search .hero-search__submit { grid-column: 3; height: 56px; min-height: 56px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.45); border-radius: 0; color: var(--white); background: transparent; font-size: 13px; letter-spacing: .06em; }
.home-editorial .property-search .hero-search__submit:hover { border-color: var(--gold); background: rgba(255,255,255,.06); transform: none; }
.home-editorial .hero.container { width: 100%; max-width: none; height: min(58vh, 620px); min-height: 340px; margin: 0; border-radius: 0; overflow: hidden; }
.home-editorial .hero__media, .home-editorial .hero__veil { inset: 0; height: 100%; }

@media (max-width: 78rem) {
  .home-editorial #site-header .nav-shell { grid-template-columns: 1fr auto; }
  .home-editorial #site-header .nav-links { display: none; }
  .home-editorial #site-header .menu-toggle { display: inline-grid; }
}
@media (max-width: 56rem) {
  .home-editorial .property-search__inner { grid-template-columns: 1fr; gap: 28px; }
  .home-editorial #property-search-title { max-width: none; font-size: 42px; }
}
@media (max-width: 48rem) {
  .home-editorial .topbar { height: 40px; }
  .home-editorial .topbar__inner,
  .home-editorial #site-header .nav-shell,
  .home-editorial .property-search__inner { width: calc(100% - 40px); }
  .home-editorial .topbar__link { font-size: 12px; }
  .home-editorial .topbar__mail { background: transparent; }
  .home-editorial #site-header .nav-shell { min-height: 78px; padding: 10px 0; gap: 12px; }
  .home-editorial #site-header .brand__logo { height: 40px; }
  .home-editorial #site-header .nav-actions { gap: 14px; }
  .home-editorial #site-header .header-callback { display: none; }
  .home-editorial #site-header .menu-toggle { position: static; transform: none; width: 44px; height: 44px; }
  .home-editorial #site-header .language-switcher__option { min-width: 30px; min-height: 44px; padding: 4px; font-size: 10px; }
  .home-editorial .property-search__inner { padding-block: 28px 32px; gap: 24px; }
  .home-editorial #property-search-title { font-size: 38px; max-width: 320px; }
  .home-editorial .property-search .hero-search__form { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .home-editorial .property-search .hero-search__field label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .home-editorial .property-search .hero-search__field--price { display: grid; grid-column: 1; }
  .home-editorial .property-search .hero-search__price > span[aria-hidden="true"] { display: inline; }
  .home-editorial .property-search .hero-search__price-field { order: 0; }
  .home-editorial .property-search .hero-search__price-field::after { content: none; }
  .home-editorial .property-search .hero-search__submit { grid-column: 1; width: 100%; }
  .home-editorial .property-search .hero-search__more { width: 100%; color: var(--white); font-size: 13px; }
  .home-editorial .property-search .hero-search__extra > .hero-search__field:first-child { display: none; margin-top: 0; }
  .home-editorial .property-search #hero-search-extra.is-open > .hero-search__field:first-child { display: grid; margin-top: 0; max-height: none; }
  .home-editorial .hero.container { height: 340px; min-height: 0; }
}
