/* GE Scholar sidebar v2.3.2 — isolated resource menu, not the header. */
body.ge-pro .ge-resource-box .ge-resource-links {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}
/* OJS load_menu emits ul#geResourceMenu.ge-resource-menu.pkp_nav_list. */
body.ge-pro .ge-resource-box .ge-resource-links ul#geResourceMenu,
body.ge-pro #geProContent230 .ge-resource-box .ge-resource-links ul.ge-resource-menu {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
body.ge-pro .ge-resource-box .ge-resource-links #geResourceMenu li,
body.ge-pro #geProContent230 .ge-resource-box .ge-resource-links .ge-resource-menu li {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  grid-column: 1 / -1 !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
/* Keep optional child menus readable rather than off-screen PKP dropdowns. */
body.ge-pro .ge-resource-box .ge-resource-links #geResourceMenu ul {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 8px 0 0 !important;
  padding: 0 0 0 10px !important;
  list-style: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.ge-pro .ge-resource-box .ge-resource-links #geResourceMenu li > a,
body.ge-pro #geProContent230 .ge-resource-box .ge-resource-links .ge-resource-menu li > a,
body.ge-pro #geProContent230 .ge-resource-box .ge-resource-links > a,
body.ge-pro .ge-resource-box .ge-resource-links > a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 45px !important;
  height: auto !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 10px 11px !important;
  float: none !important;
  border: 2px solid var(--ge-accent, #17647f) !important;
  border-radius: 0 !important;
  text-align: start !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.4 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  color: var(--ge-ink, #182c3b) !important;
  background: var(--ge-paper, #fff) !important;
}
body.ge-pro .ge-resource-box .ge-resource-links #geResourceMenu li > a:hover,
body.ge-pro #geProContent230 .ge-resource-box .ge-resource-links .ge-resource-menu li > a:hover,
body.ge-pro #geProContent230 .ge-resource-box .ge-resource-links > a:hover {
  background: var(--ge-soft, #f3f6f8) !important;
}
body.ge-pro .ge-resource-box .ge-resource-links a:focus-visible {
  outline: 2px solid var(--ge-accent, #17647f) !important;
  outline-offset: 2px !important;
}
body.ge-pro .ge-resource-box .ge-resource-links .ge-resource-icon {
  flex: 0 0 14px !important;
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
}
