/**
 * "Whole row opens the post" — core/group, core/columns.
 *
 * The post title's link grows an absolutely-positioned ::after that covers the row, so a click
 * anywhere in the row follows that one link. One anchor, real link text, no extra markup — the
 * long-standing "stretched link" pattern.
 *
 * `position: relative` is declared at every width, not only where a hover treatment already sets it,
 * because the overlay is positioned against the row and must be anchored on mobile too.
 */
.wp-block-group.is-style-linked-row,
.wp-block-columns.is-style-linked-row {
	position: relative;
}

.wp-block-group.is-style-linked-row .wp-block-post-title a::after,
.wp-block-columns.is-style-linked-row .wp-block-post-title a::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 2;
}

/* Anything else in the row that is itself a link has to sit ABOVE the overlay, or the row would
 * swallow it — the taxonomy links go to term archives, a different destination from the row's.
 * They need `position` for z-index to apply; `relative` leaves them exactly where they are. */
.wp-block-group.is-style-linked-row .wp-block-post-terms a,
.wp-block-columns.is-style-linked-row .wp-block-post-terms a {
	position: relative;
	z-index: 3;
}

/* The pointer should read as "this row is clickable" everywhere, not only over the title. */
.wp-block-group.is-style-linked-row,
.wp-block-columns.is-style-linked-row {
	cursor: pointer;
}
