/**
 * Whole-card links (assets/js/card-links.js adds these classes).
 */

.chc-card--static {
	position: relative;
}

/* The card-wide click area, under the card's real links and buttons. */
.chc-card__cover {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: transparent;
	/* Some themes style every link; this one should never show. */
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.chc-card__raise {
	position: relative;
	z-index: 2;
}

.chc-card__raise-z {
	z-index: 2;
}

/* Keyboard focus on the card's link rings the whole card. */
.chc-card:has( .chc-card__link:focus-visible ) {
	outline: 3px solid #132244;
	outline-offset: 3px;
}
