/**
 * Container Link extension — front-end only.
 *
 * A transparent "stretched" anchor fills the container so a click anywhere
 * navigates. No visual treatment, so nothing needs mirroring in the editor.
 */

/* Positioning context for the overlay. */
.le-has-block-link {
	position: relative;
}

/* Transparent interaction layer covering the whole container. */
.le-container-link__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	font-size: 0;
	color: transparent;
	background: transparent;
}

/* Keep genuine interactive descendants clickable above the overlay (never swallow a real link/button/control). */
.le-has-block-link a:not(.le-container-link__overlay),
.le-has-block-link button,
.le-has-block-link input,
.le-has-block-link select,
.le-has-block-link textarea,
.le-has-block-link label,
.le-has-block-link [tabindex]:not([tabindex="-1"]) {
	position: relative;
	z-index: 2;
}
