/* Institution logos on the right of the website's navbar (_quarto.yml, website: navbar: right).
   CSS backgrounds, as in logos.css: Quarto copies the files a stylesheet references, so the logos are
   found from pages at any folder depth (an <img src> in the navbar would be relative to each page).
   Sources: ime-logo.png and usp-logo.png as in logos.css; polimi-logo.svg from www.polimi.it (the site's
   header logo, 2026-10-30); mox-logo.png cropped from mox.polimi.it's logo_mox_polimi.png (the MOX block only). */
/* each logo on a small white tile: the navbar is light grey on the home page, blue on the notes pages */
.navbar .inst-logo {
  display: inline-block;
  box-sizing: content-box;
  height: 28px;
  padding: 3px 5px;
  border-radius: 4px;
  vertical-align: middle;
  background: #fff center / contain no-repeat;
  background-origin: content-box;
}
.navbar .inst-ime    { aspect-ratio: 656 / 260; background-image: url(ime-logo.png); }
.navbar .inst-usp    { aspect-ratio: 985 / 399; background-image: url(usp-logo.png); }
.navbar .inst-polimi { aspect-ratio: 131 / 43;  background-image: url(polimi-logo.svg); }
.navbar .inst-mox    { aspect-ratio: 500 / 148; background-image: url(mox-logo.png); }
