:root {
  --eg-focus: #1a1a1a;
  --eg-focus-halo: #fff;
}

/*
 * Indicador de focus (WCAG 2.4.7 i 1.4.11). No canvia els colors en repòs:
 * només es veu amb teclat. L'halo clar el fa visible també sobre fons fosc.
 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--eg-focus) !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--eg-focus-halo);
}

@media (prefers-reduced-motion: reduce) {
  .efecte-deriva-text .deriva-item-text p strong > span > span,
  .efecte-deriva-text .deriva-item-text.show p strong > span > span {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .elementor-invisible {
    visibility: visible !important;
  }
}

.eg-carousel-host {
  position: relative;
}

.eg-carousel-pause {
  position: absolute;
  z-index: 6;
  top: 10px;
  inset-inline-end: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--eg-focus);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.eg-carousel-pause svg {
  display: block;
  width: 10px;
  height: 10px;
}
