/* Only the branded theme header is affected. Property landing pages have no such header. */
header .ba-header { display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(16px,2vw,32px);padding:16px clamp(20px,4vw,56px)!important; }
header .ba-header .ba-brand-logo { width:200px;max-width:100%;margin:0!important; }
header .ba-header .ba-nav { min-width:0; }
header .ba-header .bacma-header-cta { display:block!important;border-bottom:0!important;margin:0!important;padding:0!important;justify-self:end; }
header .ba-header .bacma-header-cta a {display:inline-flex!important;justify-content:center;align-items:center;min-height:56px;padding:16px 22px!important;box-sizing:border-box;background:#BFDDDB!important;color:#111!important;border:1px solid #77918f!important;text-decoration:none!important;font-size:12px!important;line-height:1.4!important;letter-spacing:.065em!important;font-weight:650!important;white-space:nowrap; }
header .ba-header .bacma-header-cta a:hover { background:#a9cfcc!important; }
header .ba-header .bacma-header-cta a:focus-visible { outline:3px solid #111;outline-offset:4px; }
@media(max-width:1050px) { header .ba-header { grid-template-columns:1fr auto; } header .ba-header>.ba-nav { justify-self:end; } header .ba-header .bacma-header-cta {grid-column:1/-1;justify-self:stretch;} header .ba-header .bacma-header-cta a {width:100%;white-space:normal;text-align:center;} }
@media(max-width:600px) { header .ba-header .ba-brand-logo {width:160px;} header .ba-header {gap:12px;padding:14px 20px!important;} }

/* Explicit link spacing: the page template may not receive the theme's block layout gap. */
header .ba-header nav.ba-nav .wp-block-navigation__container {
    display:flex!important;align-items:center;justify-content:center;
    gap:clamp(20px,2.2vw,32px)!important;list-style:none;margin:0!important;padding:0!important;
}
header .ba-header nav.ba-nav .wp-block-navigation-item {margin:0!important;padding:0!important;}
header .ba-header nav.ba-nav .wp-block-navigation-item__content {display:block;padding:8px 0!important;white-space:nowrap;}
header .ba-header nav.ba-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    flex-direction:column;align-items:flex-start;gap:20px!important;
}
