/* The logo image (components/brand.html.twig). It carries its own card,
   border and shadow, so it only needs a height. */
.brand-logo {
  display: block;
  width: auto;
  height: 2.5rem;
}

.brand-link {
  display: block;
}

/*
 * The whistle as the "o" in text (brand.whistleO()): the "o"'s place in the
 * logo, 863 by 828 thousandths of an em, its bottom 48 below the baseline.
 */
.brand-whistle-o {
  display: inline-block;
  width: 0.8634em;
  height: 0.828em;
  vertical-align: -0.048em;
}

#site-footer .brand-logo {
  height: 2rem;
}

/* As the login/invite hero heading: bigger, and the heading's own yellow
   card styling (hero.css) steps aside for the logo's. */
.hero__heading:has(.brand-logo) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hero__heading .brand-logo {
  height: 5rem;
}

@media (max-width: 47.99rem) {
  #site-header .brand-logo {
    height: 2rem;
  }

  .hero__heading .brand-logo {
    height: 4rem;
  }
}
