/* ==========================================================================
   The CreActives — cursor personalizado: la "A" del logo
   Blanca siempre; amarilla al hacer click.
   Se usa SVG (nítido en cualquier pantalla) con PNG de respaldo para Safari.
   Hotspot: la punta de la A (16 1).
   ========================================================================== */

:root {
	--cr-yellow: #ffde00;
	--cr-navy: #131f28;
}

@media (hover: hover) and (pointer: fine) {

	body.cr-theme,
	body.cr-theme * {
		cursor: url(../img/cursor-a.svg) 16 1, url(../img/cursor-a.png) 16 1, auto !important;
	}

	/* Mientras se presiona el botón del mouse, y un instante después (clase vía JS) */
	body.cr-theme:active,
	body.cr-theme:active *,
	body.cr-theme.cr-click,
	body.cr-theme.cr-click * {
		cursor: url(../img/cursor-a-click.svg) 16 1, url(../img/cursor-a-click.png) 16 1, auto !important;
	}

	/* Campos de escritura: se conserva el cursor de texto para no estorbar */
	body.cr-theme input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
	body.cr-theme textarea,
	body.cr-theme [contenteditable="true"] {
		cursor: text !important;
	}
}

/* ==========================================================================
   Plantillas de respaldo (solo se ven si alguna vista no tiene plantilla
   de Elementor; el header, el footer y las páginas actuales no cambian)
   ========================================================================== */

.cr-header { background: #000; }
.cr-header__in { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cr-header .custom-logo { max-height: 52px; width: auto; }
.cr-header__name { color: var(--cr-yellow); font-weight: 900; text-transform: uppercase; text-decoration: none; }
.cr-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.cr-nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.cr-nav a:hover { color: var(--cr-yellow); }

.cr-main { max-width: 1200px; margin: 0 auto; padding: 48px 24px; }
.cr-main--full { max-width: none; padding: 0; }
.cr-entry-title { font-weight: 900; color: var(--cr-navy); }

.cr-footer { background: var(--cr-navy); color: #fff; }
.cr-footer__in { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 14px; }
.cr-footer a { color: var(--cr-yellow); }
.cr-footer ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }

.cr-404 { text-align: center; padding: 12vh 24px; background: #000; color: #fff; }
.cr-404 h1 { color: var(--cr-yellow); font-weight: 900; }
.cr-btn { display: inline-block; background: var(--cr-yellow); color: var(--cr-navy); padding: 14px 28px; font-weight: 900; text-decoration: none; text-transform: uppercase; }

@media (max-width: 767px) {
	.cr-nav { display: none; }
}
