/* The homepage chrome is the reference across all learner-facing routes. */
html body > .header.site-chrome{
  width:100%;
  max-width:none;
  z-index:60;
}
html body > .header.site-chrome .site-chrome-header-inner{
  width:min(100%,1520px);
}
html body > .header.site-chrome .site-chrome-logo{
  display:inline-flex;
  align-items:center;
  overflow:visible;
}
html body > .header.site-chrome .brand-mark-img{
  display:block;
  object-fit:contain;
}
html body > .header.site-chrome :is(.nav,.chrome-drawer-toggle,.member-account-toggle):focus-visible{
  outline:3px solid #dfaa31;
  outline-offset:3px;
}

/* The dashboard has its own sidebar .nav rules; keep them out of site chrome. */
html body.member-dashboard-page > .header.site-chrome .nav{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-direction:row;
  width:auto;
  border-radius:0;
  box-shadow:none;
  white-space:nowrap;
}
@media(min-width:761px){
  html body.member-dashboard-page > .header.site-chrome .chrome-drawer > nav{
    display:flex;
    align-items:center;
    gap:var(--nav-gap,0px);
  }
}
html body.member-dashboard-page > .header.site-chrome .nav-icon{flex:none}
html body.member-dashboard-page > .header.site-chrome .nav-label{font-size:inherit;width:auto}
html body.member-dashboard-page > .header.site-chrome .brand-mark--image,
html body.member-dashboard-page > .footer.site-chrome-footer .brand-mark--image{
  width:auto;
  height:auto;
  padding:0;
  border-radius:0;
  background:transparent;
  color:inherit;
}

@media(max-width:760px){
  html body > .header.site-chrome .site-chrome-header-inner{
    min-height:56px;
  }
  html body > .header.site-chrome .site-chrome-logo .brand-mark-img{
    max-width:min(200px,55vw) !important;
    height:var(--brand-mark-size-mobile,var(--brand-mark-size,40px)) !important;
  }
  html body.member-dashboard-page > .header.site-chrome .chrome-drawer-control[open] + nav .nav{
    width:100%;
    justify-content:flex-start;
    white-space:normal;
  }
}
