

/* FINAL shared header + mobile comparison logo fixes */
.header .brand{
  display:flex!important; align-items:center!important; justify-content:flex-start!important;
  gap:0!important; min-width:0!important; flex:0 1 auto!important; text-decoration:none!important;
}
.header .brand > span,
.site-footer .brand > span { display:none!important; }
.header .brand .brand-logo{
  display:block!important; width:clamp(175px, 20vw, 245px)!important;
  max-width:245px!important; max-height:58px!important; height:auto!important;
  object-fit:contain!important; flex:0 1 auto!important;
}
.site-footer .brand .brand-logo{
  display:block!important; width:230px!important; max-width:100%!important;
  max-height:60px!important; height:auto!important; object-fit:contain!important;
}
@media(max-width:767px){
  .header .brand{width:auto!important; max-width:calc(100vw - 180px)!important; flex:0 1 auto!important;}
  .header .brand .brand-logo{width:clamp(150px, 42vw, 205px)!important; max-width:100%!important; max-height:44px!important;}
  .header .header-row{gap:10px!important;}
  .header .header-actions{gap:8px!important;}
  .header .brand > span{display:none!important;}
}
/* Quote results render dynamically; keep insurer logos compact on phones. */
@media(max-width:767px){
  #visitorQuotesComparison img,
  #visitorQuotesComparison picture img,
  .mount-shell img,
  .quote-panel img,
  .result-layout img,
  .comparison-results img,
  .compare-results img,
  .plan-card img,
  .insurance-plan img{
    max-width:112px!important; max-height:58px!important;
    width:auto!important; height:auto!important; object-fit:contain!important;
  }
}

