/* Mantyweb Group Extras — clickable group + hover background */

.mw-group-linked {
	position: relative;
}

.mw-group-link-overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	text-decoration: none;
	color: inherit;
	font-size: 0;
	line-height: 0;
	z-index: 1;
}

/* Inner anchors and buttons stay clickable above the overlay. */
.mw-group-linked :where(a:not(.mw-group-link-overlay), button) {
	position: relative;
	z-index: 1;
}

/* Hover background — uses the inline --mw-hover-bg custom property. */
.mw-group-hover {
	transition: background-color 0.2s ease;
}

.mw-group-hover:hover {
	background-color: var(--mw-hover-bg);
}
