/* ---------------------------
   Import Almarai font (Google Fonts)
   --------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700&display=swap');

/* ---------------------------
   Apply globally
   --------------------------- */
body, 
html, 
p, 
a, 
h1, h2, h3, h4, h5, h6,
ul, ol, li,
table, td, th, 
input, select, textarea, button {
  font-family: 'Almarai', Arial, sans-serif !important;
}

/* ---------------------------
   Global link colour (site-wide)
   --------------------------- */
a {
  color: #dd4814;
}

/* -------------------------------------------
   Header / Primary navigation: top-level links
   ------------------------------------------- */
ul#navigationPrimary > li > a {
  color: #ffffff !important;
  font-weight: 600;
  display: inline-block;
}

/* -------------------------------------------
   Dropdown menu: white background + dark text
   ------------------------------------------- */
ul#navigationPrimary .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #e6e6e6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

ul#navigationPrimary .dropdown-menu a,
ul#navigationPrimary .dropdown-menu li a {
  color: #222222 !important;
  background: transparent !important;
  display: block;
  white-space: normal;
}

ul#navigationPrimary .dropdown-menu a:hover,
ul#navigationPrimary .dropdown-menu li a:hover,
ul#navigationPrimary .dropdown-menu a:focus {
  color: #dd4814 !important;
  background: transparent !important;
  text-decoration: none;
}

/* Top-level hover */
ul#navigationPrimary > li > a:hover,
ul#navigationPrimary > li > a:focus {
  color: #ffffff !important;
  text-decoration: none;
}

/* -------------------------------------------
   Search + User navigation links
   ------------------------------------------- */
.pkp_navigation_search_wrapper a,
.pkp_navigation_user_wrapper a,
#navigationUser a {
  color: #ffffff !important;
  text-decoration: none;
}

/* Profile opener (toggle stays white) */
#navigationUser > li.profile > a,
#navigationUser > li.profile > a:focus,
#navigationUser > li.profile > a:hover,
#navigationUser > li.profile.active > a {
  color: #ffffff !important;
}

/* Dropdown links inside profile */
#navigationUser .dropdown-menu a,
#navigationUser .dropdown-menu li a {
  color: #000000 !important;
  background: transparent !important;
}

/* Force badges/spans inside dropdown black */
#navigationUser .dropdown-menu a .task_count,
#navigationUser .dropdown-menu a span {
  color: #000000 !important;
}

/* Hover highlight for dropdown items */
#navigationUser .dropdown-menu a:hover,
#navigationUser .dropdown-menu li a:hover {
  color: #dd4814 !important;
  text-decoration: none !important;
}

/* -------------------------------------------
   Footer tweaks
   ------------------------------------------- */
a[href*="aboutThisPublishingSystem"] {
  display: none !important;
}
img[alt*="More information about the publishing system"] {
  display: none !important;
}
