/* GCN Huincha Promocional */
.gcn-huincha {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--gcn-h-fondo, #000);
	color: var(--gcn-h-color, #fff);
	font-size: var(--gcn-h-tamano, 18px);
	font-weight: var(--gcn-h-peso, 700);
	text-transform: var(--gcn-h-trans, none);
	line-height: 1.3;
	letter-spacing: 0.02em;
	white-space: nowrap;
	user-select: none;
}

.gcn-huincha__pista {
	display: flex;
	width: max-content;
	padding: var(--gcn-h-alto, 12px) 0;
	will-change: transform;
	animation: gcn-huincha-mover var(--gcn-h-duracion, 30s) linear infinite;
}

.gcn-huincha:hover .gcn-huincha__pista,
.gcn-huincha:focus-within .gcn-huincha__pista {
	animation-play-state: paused;
}

.gcn-huincha__grupo {
	display: flex;
	flex-shrink: 0;
	align-items: center;
}

.gcn-huincha__item,
.gcn-huincha__sep {
	display: inline-block;
	padding: 0 0.9em;
}

.gcn-huincha__sep {
	opacity: 0.7;
}

.gcn-huincha a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}
.gcn-huincha a:hover {
	opacity: 0.85;
	color: inherit;
}

.gcn-huincha .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	white-space: nowrap;
}

/* Antes de que cargue el JS no se mueve */
.gcn-huincha:not(.is-lista) .gcn-huincha__pista {
	animation: none;
}

@keyframes gcn-huincha-mover {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(var(--gcn-h-desplazar, -50%), 0, 0); }
}

@media (max-width: 640px) {
	.gcn-huincha { font-size: calc(var(--gcn-h-tamano, 18px) * 0.8); }
}

/* Usuarios que prefieren menos movimiento: texto fijo con desplazamiento manual */
@media (prefers-reduced-motion: reduce) {
	.gcn-huincha__pista { animation: none !important; }
	.gcn-huincha { overflow-x: auto; }
}

.gcn-huincha-global {
	position: relative;
	z-index: 1000;
}
