:is(.dfc-logo-effect, body > main.card > header.brand > a) {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.12));
}

:is(.dfc-logo-effect, body > main.card > header.brand > a):hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.22));
}

:is(.dfc-logo-effect, .dfc-logo-destello, body > main.card > header.brand > a)::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: dfcLogoShine 4.5s infinite ease-in-out;
  pointer-events: none;
}


:is(.dfc-logo-effect, body > main.card > header.brand > a) > img {
  /* Oculta la línea de las filas 136 a 143 del logo de 215 px de alto. */
  --dfc-mascara-logo: linear-gradient(#000 61.5%, transparent 61.5% 67.9%, #000 67.9%);
  -webkit-mask-image: var(--dfc-mascara-logo);
  mask-image: var(--dfc-mascara-logo);
}

@keyframes dfcLogoShine {
  0%, 70% { left: -65%; }
  100% { left: 135%; }
}
