/* OMU DSpace Logo Switch Safe V1 */
/* CSS only: no JavaScript, no header restructuring, no click handlers */

img#header-logo {
  height: 56px !important;
  width: auto !important;
  max-width: 280px !important;
  object-fit: contain !important;
}

/* Arabic logo */
html[dir="rtl"] img#header-logo,
body[dir="rtl"] img#header-logo,
html[lang^="ar"] img#header-logo {
  content: url("omu-logo-safe/repo-logo-ar.png?v=20260601-2026-06-01-2341-logo-only-safe-v1") !important;
}

/* English logo */
html[dir="ltr"] img#header-logo,
body[dir="ltr"] img#header-logo,
html[lang^="en"] img#header-logo {
  content: url("omu-logo-safe/repo-logo-en.png?v=20260601-2026-06-01-2341-logo-only-safe-v1") !important;
}

/* Keep header functions untouched */
ds-themed-lang-switch,
ds-lang-switch,
ds-themed-auth-nav-menu,
ds-auth-nav-menu,
ds-themed-search-navbar,
ds-search-navbar {
  pointer-events: auto !important;
}

@media (max-width: 991.98px) {
  img#header-logo {
    height: 46px !important;
    max-width: 230px !important;
  }
}

@media (max-width: 575.98px) {
  img#header-logo {
    height: 42px !important;
    max-width: 200px !important;
  }
}
