/* HealthAndLife 1.35.94 — site identity in header/footer. 
   Keep entity names, SEO metadata, URL routing, and keyboard header behavior intact. */
body.premium-interface-2026 .site-header .brand--health-portal {
  display:inline-flex;
  align-items:center;
  gap:11px;
  min-width:0;
  max-width:100%;
  flex:0 1 auto;
  text-decoration:none;
}
body.premium-interface-2026 .site-header .brand--health-portal .brand__mark {
  width:55px;
  height:55px;
  min-width:55px;
  flex:0 0 55px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
body.premium-interface-2026 .site-header .brand--health-portal .brand__mark img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
body.premium-interface-2026 .site-header .brand--health-portal .brand__text {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  min-width:0;
}
body.premium-interface-2026 .site-header .brand--health-portal .brand__name {
  display:block;
  margin:0;
  color:#344433;
  font-family:var(--font-heading,Georgia,serif);
  font-size:clamp(1rem,1.35vw,1.22rem);
  font-weight:600;
  line-height:1.17;
  letter-spacing:-.015em;
  overflow-wrap:normal;
}
body.premium-interface-2026 .site-header .brand--health-portal .brand__role {
  display:block;
  margin:0;
  color:#6d795f;
  font-size:.72rem;
  font-weight:500;
  line-height:1.25;
  letter-spacing:0;
}
body.premium-interface-2026 .site-header__inner {min-width:0;}
body.premium-interface-2026 .site-header__inner>.main-nav {min-width:0;}

/* Footer uses the same logo and messaging, never the former monogram. */
.site-footer .brand--health-portal {display:flex;align-items:center;gap:13px;min-width:0;}
.site-footer .brand--health-portal .brand__mark {
  width:66px;height:66px;min-width:66px;flex:0 0 66px;
  display:grid;place-items:center;padding:4px;
  border-radius:17px;background:rgba(255,255,250,.92);border:0;
}
.site-footer .brand--health-portal .brand__mark img {display:block;width:100%;height:100%;object-fit:contain;}
.site-footer .brand--health-portal .brand__text {min-width:0;display:grid;gap:4px;}
.site-footer .brand--health-portal .brand__name {font-size:1.1rem;line-height:1.2;letter-spacing:-.01em;}
.site-footer .brand--health-portal .brand__role {display:block;font-size:.77rem;line-height:1.4;}

@media(max-width:1180px) and (min-width:981px){
  body.premium-interface-2026 .site-header .brand--health-portal .brand__mark {width:49px;height:49px;min-width:49px;flex-basis:49px;}
  body.premium-interface-2026 .site-header .brand--health-portal .brand__name {font-size:1.02rem;}
  body.premium-interface-2026 .site-header .brand--health-portal .brand__role {font-size:.67rem;}
  body.premium-interface-2026 .site-header .brand--health-portal {gap:8px;}
}
@media(max-width:980px){
  body.premium-interface-2026 .site-header .brand--health-portal {gap:9px;max-width:calc(100% - 95px);}
  body.premium-interface-2026 .site-header .brand--health-portal .brand__mark {width:50px;height:50px;min-width:50px;flex-basis:50px;}
  body.premium-interface-2026 .site-header .brand--health-portal .brand__name {font-size:1.02rem;line-height:1.13;}
  body.premium-interface-2026 .site-header .brand--health-portal .brand__role {display:block;font-size:.69rem;line-height:1.2;}
  body.premium-interface-2026 .site-header__inner>.header-utility-search {flex:0 0 38px;}
  body.premium-interface-2026 .site-header__inner>.mobile-nav-toggle {flex:0 0 40px;}
}
@media(max-width:560px){
  body.premium-interface-2026 .site-header .brand--health-portal .brand__mark {width:46px;height:46px;min-width:46px;flex-basis:46px;}
  body.premium-interface-2026 .site-header .brand--health-portal .brand__name {font-size:.9rem;line-height:1.12;}
  body.premium-interface-2026 .site-header .brand--health-portal .brand__role {display:block;font-size:.64rem;line-height:1.15;}
  body.premium-interface-2026 .site-header .brand--health-portal {gap:7px;max-width:calc(100% - 88px);}
  body.premium-interface-2026 .site-header__inner {gap:6px;}
}
@media(max-width:380px){
  /* Search remains available from the mobile menu; reserve room for both identity lines. */
  body.premium-interface-2026 .site-header__inner>.header-utility-search {display:none!important;}
  body.premium-interface-2026 .site-header .brand--health-portal {max-width:calc(100% - 46px);}
  body.premium-interface-2026 .site-header .brand--health-portal .brand__name {font-size:.91rem;}
  body.premium-interface-2026 .site-header .brand--health-portal .brand__role {font-size:.65rem;}
}
@media(min-width:381px){
  .site-header .main-nav .portal-mobile-search-link {display:none!important;}
}
@media(prefers-reduced-motion:reduce){
  body.premium-interface-2026 .site-header .brand--health-portal .brand__mark img {transition:none;}
}
