/**
 * Nexoy — Wrapper Link
 *
 * The overlay <a> exists only for SEO and keyboard access; it never receives
 * mouse events (pointer-events: none), so it can't steal clicks from links or
 * buttons nested inside the element. Actual mouse clicks are routed by the
 * accompanying script, which lets inner interactive elements keep their own
 * behaviour and follows the wrapper link everywhere else.
 */

.nexoy-has-wrapper-link {
	position: relative;
	cursor: pointer;
}

.nexoy-wl-overlay {
	position: absolute;
	inset: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 0;
	line-height: 0;
	color: transparent;
	text-decoration: none;
	overflow: hidden;
	white-space: nowrap;
	pointer-events: none;
}

/* Only the overlay is non-interactive; genuine controls stay clickable. */
.nexoy-has-wrapper-link a:not(.nexoy-wl-overlay),
.nexoy-has-wrapper-link button,
.nexoy-has-wrapper-link input,
.nexoy-has-wrapper-link select,
.nexoy-has-wrapper-link textarea,
.nexoy-has-wrapper-link label,
.nexoy-has-wrapper-link [role="button"],
.nexoy-has-wrapper-link [role="link"] {
	position: relative;
	cursor: pointer;
}

/* Keyboard focus outline for the (visually empty) overlay link. */
.nexoy-wl-overlay:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
