/* Shared (frontend + editor) */

.c2-cover-link-wrapper {
	position: relative;
}

/* Make the whole block feel clickable */
.c2-cover-link-mode-above,
.c2-cover-link-mode-behind {
	cursor: pointer;
}

/* Base overlay <a> that spans the entire cover */
.c2-cover-link-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	text-decoration: none;
	color: inherit;
}

/* "On top" mode: overlay above everything */
.c2-cover-link-overlay-above {
	z-index: 5;
}

/* "Behind content" mode: overlay below inner content, but still clickable
   except where interactive elements are promoted above it. */
.c2-cover-link-overlay-behind {
	z-index: 1;
}

/* Any inner interactive element gets lifted above the overlay in "behind" mode */
.c2-cover-link-interactive {
	position: relative;
	z-index: 2;
}
