/**
 * Zark News — Homepage Polish 1.0.0
 * Minimal, identity-preserving fixes from the 2026-10-03 master audit.
 * Deactivation is the rollback. No theme files touched.
 */

/* 1. Top Story headline: the theme underlines every link inside .entry-content,
 * which renders the lead headline as a giant multi-line underline.
 * Remove it here; keep a clear hover/focus underline for affordance. */
body .zark-top-story h2 a {
	text-decoration: none !important;
}
body .zark-top-story h2 a:hover,
body .zark-top-story h2 a:focus {
	text-decoration: underline !important;
	text-underline-offset: 4px;
}

/* 2. Story-grid gutter: the block was saved without is-layout-flex, so the
 * theme's gap rule never applies and adjacent card headlines collide. */
.zark-story-grid {
	column-gap: 28px;
}

/* 3. The homepage renders two h1s; the theme's "Home" page title is redundant
 * next to the hero heading. Hide it on the static front page only. */
body.home h1.entry-title {
	display: none;
}

/* 4. Story-grid card image box (1.0.1): the theme's style.css carries this
 * rule for .zark-story-grid cards (3:2 cover-crop). It is mirrored here so
 * the card layout survives theme updates; the theme file itself is untouched.
 * Because the box center-crops 16:9 images to 3:2, branded card graphics
 * MUST keep all text inside the central safe zone (x 14%-86%). */
.zark-story-grid .wp-block-image {
	aspect-ratio: 3 / 2;
	margin-bottom: 0.8rem;
	overflow: hidden;
}
.zark-story-grid .wp-block-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}
