/* Shared header action. Match the approved homepage button on every page.
   Loaded after page-specific styles so navigation cannot change its design. */
:is(.site-header .nav,.company-in-person>div,.property-tour .story-contact)>.header-advisor-cta{
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
 gap:10px;min-height:46px;padding:12px 20px;
 border:1px solid #2742c9;border-radius:5px;
 background:#2742c9;color:#fff;
 font-size:12px;font-weight:600;line-height:1.5;letter-spacing:normal;
 white-space:nowrap;text-decoration:none;box-shadow:none;transform:none;
 transition:background-color .15s,border-color .15s;
}
:is(.site-header .nav,.company-in-person>div,.property-tour .story-contact)>.header-advisor-cta:visited{
 background:#2742c9;border-color:#2742c9;color:#fff;
}
:is(.site-header .nav,.company-in-person>div,.property-tour .story-contact)>.header-advisor-cta:active{
 background:#1b2e98;border-color:#1b2e98;color:#fff;
}
:is(.site-header .nav,.company-in-person>div,.property-tour .story-contact)>.header-advisor-cta:focus-visible{
 outline:3px solid #11c5dd;outline-offset:3px;
}
:is(.site-header .nav,.company-in-person>div,.property-tour .story-contact)>.header-advisor-cta svg{width:18px;height:18px}

@media(max-width:760px){
 /* Use the homepage's compact header and allow the logo to fit narrow phones. */
 .site-header .nav.wrap{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;
  width:calc(100% - 28px);height:68px;gap:12px;
 }
 .site-header .nav .logo,.site-header .nav .logo img{
  width:clamp(124px,calc(38.6vw - 5px),145px);max-width:100%;min-width:0;
 }
 :is(.site-header .nav,.company-in-person>div,.property-tour .story-contact)>.header-advisor-cta{
  min-width:151px;min-height:36px;margin-left:0;
  font-size:10px;padding:9px 10px;
 }
 :is(.site-header .nav,.company-in-person>div,.property-tour .story-contact)>.header-advisor-cta svg{display:none}
 .site-header .mobile-toggle{
  display:flex;width:32px;height:36px;margin-left:0;
  border:0;border-radius:0;
 }
 .site-header .nav-links{
  top:68px;max-height:calc(100vh - 68px);max-height:calc(100dvh - 68px);
 }
}
@media(max-width:374px){
 .site-header .nav.wrap{width:calc(100% - 24px);gap:8px}
 .site-header .nav .logo,.site-header .nav .logo img{
  width:clamp(120px,calc(40vw - 8px),124px);max-width:100%;
 }
 :is(.site-header .nav,.company-in-person>div,.property-tour .story-contact)>.header-advisor-cta{min-width:128px;font-size:9px;padding:8px 7px}
 .site-header .mobile-toggle{width:28px}
}

.company-in-person .header-advisor-cta{margin-top:20px}
