/* Transparent supplied wordmark uses the header's own blue in dark mode. */
.header .brand,.learn-header .learn-brand{
  display:flex;align-items:center;justify-content:center;gap:0;
  flex:0 1 180px;min-width:0;min-height:44px;padding:5px 8px;
  background:transparent;border-radius:3px;
}
html[data-theme=light] .header .brand,html[data-theme=light] .learn-header .learn-brand{background:#101c2e}
.header .brand .site-logo,.learn-header .learn-brand .site-logo{
  display:block;width:100%;max-width:180px;height:auto;flex:0 1 auto;
  object-fit:contain;aspect-ratio:363 / 100;
}
@media(max-width:600px){
  .header .brand,.learn-header .learn-brand{flex-basis:144px;padding:5px 4px}
}
/* Desktop: the logo sits at the top of the left rail, above the nav. */
@media(min-width:1100px){
  .header .brand{position:fixed;left:0;top:0;z-index:31;width:224px;height:56px;flex:none;justify-content:flex-start;
    padding:0 20px;border-radius:0;background:var(--surface);border-top:4px solid var(--america-red,#c8102e);
    border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .header .brand .site-logo{width:132px;max-width:132px}
  .header .header-actions{margin-left:auto}
  #club-drawer{padding-top:calc(56px + 20px)}
}
