/* Match the pkgdown navbar to the app's own header (.episodic-header in
   inst/app/www/episodic.css): a darker background than Yeti's own
   $primary used elsewhere on the site, plus the same multi-colour strip
   beneath it (warning, success, danger, primary, secondary from
   inst/config/episodic_default_style.yaml, in five equal hard-edged stripes).
   Set directly rather than via template.bslib.navbar-bg: without a
   navbar.bg utility class in _pkgdown.yml, pkgdown's navbar template
   never gets a bg-* class, so that Sass variable has nothing to attach
   to and Yeti's default wins. */
.navbar.fixed-top {
  background-color: #005F7A !important;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(
    to right,
    #F8AC59 0 20%,
    #43AC6A 20% 40%,
    #F36A5A 40% 60%,
    #008CBA 60% 80%,
    #333333 80% 100%
  ) 1;
}

/* Callouts written in GitHub's alert syntax, turned into Bootstrap
   alerts by extra.js: the lead-in in bold as on GitHub, and no margin
   under the last paragraph inside the box. */
.alert strong {
  font-weight: 600;
}
.alert > p:last-child {
  margin-bottom: 0;
}
