/* =========================================================================
 * Libros Evaristo · Base · v1.1.0
 *
 * Solo lo que Elementor no permite hacer de forma nativa. Colores y
 * tipografías: Elementor › Ajustes del sitio (Colores y Fuentes globales).
 * ====================================================================== */

/* ---------- 1. Foco visible en todo el sitio (accesibilidad) ---------- */
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--e-global-color-primary, #7A2331);
	outline-offset: 3px;
}

/* ---------- 2. Cabecera: se encoge al hacer scroll ----------
 * En Elementor (Theme Builder › Cabecera):
 *   Contenedor exterior · clase «le-cabecera» · Efectos de movimiento ›
 *   Fijo: Arriba · Desplazamiento de efectos: 100.
 *   Dentro: imagen del monograma con clase «le-cabecera__monograma» y
 *   texto de oficios con clase «le-cabecera__oficios».
 * Elementor añade .elementor-sticky--effects al pasar el desplazamiento.
 */
.le-cabecera,
.le-cabecera .le-cabecera__monograma img,
.le-cabecera .le-cabecera__nombre .elementor-heading-title {
	transition: all .25s ease;
}
.le-cabecera.elementor-sticky--effects {
	--min-height: 72px;
	box-shadow: 0 2px 18px rgba(31, 27, 22, .10);
}
.le-cabecera.elementor-sticky--effects .le-cabecera__monograma img {
	width: 40px;
	height: 40px;
}
.le-cabecera.elementor-sticky--effects .le-cabecera__nombre .elementor-heading-title {
	font-size: 23px;
}
.le-cabecera.elementor-sticky--effects .le-cabecera__oficios {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
