/*
 * ExpoPortal branding for the BioHackathon Europe 2026 OntoPortal instance.
 * ontoportal-proxy (nginx sub_filter) links this file into every UI page,
 * after the UI's compiled stylesheet, so these rules win.
 *
 * The upstream theme draws almost everything from these three variables
 * (256 uses of --primary-color in the compiled CSS of 2026-11-10).
 * White text on #3A5A98 has a contrast of 6.8:1 (WCAG AA); the OntoPortal
 * teal it replaces had 3.3:1.
 */
:root {
  --primary-color: #3A5A98;
  --hover-color: #4A6CB0;
  --light-color: #EEF2F9;
}

/* Navbar icon. logo-white.svg is a compiled, fingerprinted asset of the UI
   image, so it is swapped here rather than replaced on disk. */
img[src*="/assets/logo-white"] {
  content: url("/expoportal-brand/expoportal-logo-white.svg");
}

/* Footer: the OntoPortal ring next to the portal name becomes the ExpoPortal
   icon. OntoPortal itself is still credited in the footer links and on the
   home page ("Other OntoPortal instances", partner logos). */
.footer-logo img[src*="/assets/logos/ontoportal"] {
  content: url("/expoportal-brand/expoportal-logo-white.svg");
}
