/**
 * FLICS — unified conference logo sizes (header, mobile nav, footer).
 * Load after theme.css / enhanced.css so sizes stay consistent site-wide.
 */
:root {
  --flics-logo-header: 52px;
  --flics-logo-header-scrolled: 46px;
  --flics-logo-header-sm: 44px;
  --flics-logo-offcanvas: 52px;
  --flics-logo-footer: 200px;
  --flics-logo-footer-sm: 160px;
}

#main-navbar .navbar-brand img,
.navbar-brand img.site-logo--header,
img.site-logo--header {
  height: var(--flics-logo-header) !important;
  width: auto !important;
  max-width: min(200px, 40vw) !important;
  min-height: unset !important;
  object-fit: contain;
  flex-shrink: 0;
}

#main-navbar.scrolled .navbar-brand img,
.navbar.scrolled .navbar-brand img {
  height: var(--flics-logo-header-scrolled) !important;
}

.offcanvas-header img,
img.site-logo--offcanvas {
  height: var(--flics-logo-offcanvas) !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain;
}

.modern-footer .footer-logo,
img.site-logo--footer {
  height: var(--flics-logo-footer) !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: unset !important;
  max-height: none !important;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.15) drop-shadow(0 2px 4px rgba(17, 20, 175, 0.28));
}

@media (max-width: 576px) {
  #main-navbar .navbar-brand img,
  img.site-logo--header {
    height: var(--flics-logo-header-sm) !important;
    max-width: min(168px, 46vw) !important;
  }
}

@media (max-width: 768px) {
  .modern-footer .footer-logo,
  img.site-logo--footer {
    height: var(--flics-logo-footer-sm) !important;
  }
}
