/*
 * Small compatibility fixes for the Telegram WordPress theme used by the
 * JFH Blog. Selectors are deliberately scoped to the affected components.
 */

/* Keep the commenter's name and WordPress's "says:" label visually separate. */
.comment-author .fn + .says {
	margin-left: 0.28em;
}

/*
 * Telegram outputs the article permalink as an empty anchor immediately
 * before its background-image div. Give that anchor the image area so the
 * preview behaves like a real link.
 */
.twp-archive-post .twp-image-section {
	position: relative;
}

.twp-archive-post .twp-image-section > a:first-child {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	cursor: pointer;
}

/* Preserve access to the category and post-format controls over the image. */
.twp-archive-post .twp-image-section .twp-category,
.twp-archive-post .twp-image-section .twp-post-format-wrapper {
	position: relative;
	z-index: 3;
}
