/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ---------------------------------------------------------------------------
 * Post-grid cards — the whole card is the link
 * ---------------------------------------------------------------------------
 * GreenShift's post grid links only the title TEXT (~17px tall). The card
 * already carries a whole-card hover treatment, so it was always meant to
 * behave as a single target — it just never got a card-level link. On a phone
 * that left ~96% of every card dead to a tap: the client could see the posts
 * but could not open them.
 *
 * This stretches the EXISTING title link across its card. No markup change,
 * no JS — href and semantics stay exactly as GreenShift emits them.
 *
 * The large negative offsets clear per-card padding (the featured card runs
 * 64px 32px). They are safe because the card clips them: GreenShift already
 * computes overflow:hidden on every .gspbgrid_item, and the declaration below
 * pins that, so the overlay can never escape its own card.
 *
 * Applies to the two grids on the site: / and /journal/.
 * Client-reported 25 Jul 2026 · fixed 27 Jul 2026.
 * ------------------------------------------------------------------------- */

.gspbgrid_item {
	overflow: hidden;
}

.gspbgrid_item .gspbgrid_item_inner {
	position: relative;
	cursor: pointer;
}

.gspbgrid_item .gspb-dynamic-post-title a::after {
	content: "";
	position: absolute;
	top: -200px;
	right: -200px;
	bottom: -200px;
	left: -200px;
	z-index: 3;
}

/* Category chips stay independently tappable above the card overlay. */
.gspbgrid_item .gspb_meta a {
	position: relative;
	z-index: 4;
}
