[class*=" imghvr-"] a,
[class^="imghvr-"] a {
  z-index: 111;
}

/* Joomla 6 / template compatibility: keep carousel navigation SVGs at icon size.
   Some templates apply broad SVG sizing rules that otherwise enlarge these arrows. */
.j51imagehover-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.j51imagehover-nav svg {
  display: block;
  width: 1.25em !important;
  height: 1.25em !important;
  min-width: 1.25em;
  max-width: 1.25em !important;
  min-height: 1.25em;
  max-height: 1.25em !important;
  flex: 0 0 1.25em;
  padding: 0 6px;
  box-sizing: content-box;
}
