/* Keep the footer image's original sizing and alignment. */
a.alianza-inicio:not(.acp3d) { display: contents; }
a.alianza-inicio img { transition: filter .3s ease; }
a.alianza-inicio:is(:hover,:focus-visible,:active) img { filter: brightness(1.18); }
a.acp3d {
  color: inherit;
  text-decoration: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
}
a.acp3d.is-dragging { cursor: grabbing; }
/* Filters on the parent flatten preserve-3d in Safari and Chromium.
   The fixed link receives gestures; its rotating child is never a hit target. */
a.acp3d .acp3d__obj {
  width: min(100%, var(--acp-ancho));
  flex: 0 0 auto;
  pointer-events: none;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  filter: none;
  transition: none;
}
/* Keep the bright rear face on phones too, instead of hiding half the turn. */
a.acp3d .acp3d__obj i {
  display: block;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}
