/* Flecha al Buscador - Goviwebs · v1.0.2 */
.gwfb {
	position: fixed;
	inset: 0;
	z-index: 9998;
	pointer-events: none;
	opacity: 0;
	transition: opacity .4s ease;
}
.gwfb.is-on { opacity: 1; }
.gwfb.is-off { opacity: 0; transition: opacity .35s ease; }

.gwfb-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.gwfb-path {
	fill: none;
	stroke: var(--gwfb-color, #E1251B);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	/* 1.0.2: el avance del trazo lo lleva el JS fotograma a fotograma (sin
	   transición CSS), para que la punta viaje pegada al extremo de la línea. */
}
.gwfb-head {
	fill: none;
	stroke: var(--gwfb-color, #E1251B);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0; /* la enciende el JS cuando la línea ya tiene largo para llevarla */
}

.gwfb-text {
	position: absolute;
	max-width: 300px;
	padding: 8px 16px 10px;
	background: #fff; /* nota blanca: se lee sobre cualquier foto de portada */
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(0,0,0,.18);
	font-family: "Caveat", "Segoe Script", "Bradley Hand", cursive;
	font-weight: 700;
	line-height: 1.05;
	color: var(--gwfb-color, #E1251B);
	transform: rotate(-4deg) translateY(6px);
	opacity: 0;
	transition: opacity .35s ease .05s, transform .35s ease .05s;
}
.gwfb.is-on .gwfb-text { opacity: 1; transform: rotate(-4deg) translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.gwfb-path, .gwfb-head, .gwfb-text { transition: none; }
}
