/* Imperial site header polish v0.1.263
 * Uses the existing Elementor header rather than replacing/importing it.
 * Goal: compact brand-first header, especially on mobile.
 */

/* Remove the separate commercial ribbon from the public header. */
.elementor-element-4cc53373{display:none!important}

/* Main header shell. */
.elementor-element-3fa6b7b{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-height:70px!important;
  margin:0!important;
  padding:9px clamp(18px,4vw,58px)!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  background:#2c2967!important;
  border-bottom:3px solid #c0a060!important;
  position:relative!important;
  z-index:9998!important;
}

/* Logo: make the brand readable instead of leaving a tiny 10% column. */
.elementor-element-4ca654d{
  width:auto!important;
  min-width:148px!important;
  max-width:190px!important;
  flex:0 0 auto!important;
  align-items:flex-start!important;
  justify-content:center!important;
}
.elementor-element-4ca654d .elementor-widget-container,
.elementor-element-4ca654d a{display:flex!important;align-items:center!important}
.elementor-element-4ca654d img,
.elementor-element-4ca654d .custom-logo{
  width:auto!important;
  max-width:178px!important;
  max-height:48px!important;
  object-fit:contain!important;
}

/* Right-hand navigation/action area. */
.elementor-element-7d7d7770{
  width:auto!important;
  min-width:0!important;
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
}
.elementor-element-388e6dcd{width:auto!important;min-width:0!important;flex:1 1 auto!important;max-width:760px!important}
.elementor-element-388e6dcd .elementor-nav-menu--main{justify-content:flex-end!important}
.elementor-element-388e6dcd .elementor-nav-menu--main .elementor-item{min-height:40px!important;padding-top:10px!important;padding-bottom:10px!important}

/* Keep useful desktop actions tidy; remove the emergency CTA from the main navigation hierarchy. */
.elementor-element-1a98882e{flex:0 0 auto!important}
.elementor-element-4cbdaf6e{display:none!important}
.elementor-element-6ff96efb{flex:0 0 auto!important}
.elementor-element-6ff96efb .elementor-button{
  min-height:40px!important;
  padding:9px 13px!important;
  border-radius:10px!important;
  box-shadow:none!important;
}

/* Tablet: simplify to brand + search + menu. */
@media(max-width:1024px){
  .elementor-element-3fa6b7b{
    min-height:64px!important;
    padding:7px 16px!important;
    gap:8px!important;
  }
  .elementor-element-4ca654d{min-width:122px!important;max-width:145px!important}
  .elementor-element-4ca654d img,.elementor-element-4ca654d .custom-logo{max-width:138px!important;max-height:42px!important}
  .elementor-element-7d7d7770{width:auto!important;flex:1 1 auto!important;gap:7px!important}
  .elementor-element-1a98882e{display:none!important}
  .elementor-element-388e6dcd{order:3!important;flex:0 0 auto!important;width:auto!important;max-width:none!important}
  .elementor-element-6ff96efb{order:2!important;width:auto!important;flex:0 0 auto!important}
  .elementor-element-6ff96efb .elementor-button{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:12px!important;
  }
  .elementor-element-6ff96efb .elementor-button-text{display:none!important}
  .elementor-element-6ff96efb .elementor-button-icon{margin:0!important;font-size:17px!important}
}

/* Mobile: one compact 58-62px row. */
@media(max-width:767px){
  .elementor-element-3fa6b7b{
    min-height:60px!important;
    height:auto!important;
    padding:7px 10px!important;
    border-bottom-width:2px!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    overflow:visible!important;
  }
  .elementor-element-4ca654d{
    min-width:0!important;
    width:auto!important;
    max-width:132px!important;
    flex:0 1 132px!important;
    margin:0!important;
    padding:0!important;
  }
  .elementor-element-4ca654d .elementor-widget-theme-site-logo{width:auto!important;max-width:132px!important}
  .elementor-element-4ca654d img,.elementor-element-4ca654d .custom-logo{
    width:auto!important;
    max-width:128px!important;
    max-height:38px!important;
    margin:0!important;
  }
  .elementor-element-7d7d7770{
    width:auto!important;
    min-width:92px!important;
    flex:0 0 auto!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    margin:0!important;
    padding:0!important;
  }
  .elementor-element-1a98882e,.elementor-element-4cbdaf6e{display:none!important}
  .elementor-element-6ff96efb{display:block!important;margin:0!important}
  .elementor-element-6ff96efb .elementor-button{
    width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
    padding:0!important;border-radius:11px!important;
  }
  .elementor-element-388e6dcd{display:block!important;margin:0!important;padding:0!important;width:42px!important;flex:0 0 42px!important;position:static!important}
  .elementor-element-388e6dcd .elementor-widget-container{position:static!important}
  .elementor-element-388e6dcd .elementor-menu-toggle{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:11px!important;
    background:rgba(255,255,255,.06)!important;
    color:#fff!important;
  }
  .elementor-element-388e6dcd .elementor-menu-toggle svg{width:22px!important;height:22px!important}
  .elementor-element-388e6dcd .elementor-nav-menu--dropdown{
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:100%!important;
    width:100%!important;
    margin:0!important;
    border-radius:0 0 16px 16px!important;
    overflow:hidden!important;
    box-shadow:0 18px 35px rgba(16,22,54,.24)!important;
    z-index:99999!important;
  }
  .elementor-element-388e6dcd .elementor-nav-menu--dropdown .elementor-item{
    min-height:48px!important;
    padding:13px 18px!important;
    text-align:left!important;
  }

  /* The single-property Elementor template still contains legacy 90px mobile top padding.
     With the header no longer overlaying the page, remove that wasted space. */
  body.single-property .elementor-element-2c8d4199,
  body.single-property .elementor-element-2c8d4199.e-con,
  body[class*="single-property"] .elementor-element-2c8d4199{
    padding-top:14px!important;
  }
}

/* Logged-in WordPress admin bar: keep dropdown/header stacking predictable. */
.admin-bar .elementor-element-3fa6b7b{z-index:9997!important}
