html body :is(
	.custom-event-image-wrap:has(img),
	.kyoiq-news-image-wrap:has(img),
	.kyoiq-partner-image-wrap:has(img),
	.kyoiq-video-card__media:has(img),
	.kyoiq-event-video-archive__media:has(img),
	.tribe-events-calendar-list__event-featured-image-wrapper:has(img),
	.tribe-events-calendar-day__event-featured-image-wrapper:has(img)
),
html body.post-type-archive-tribe_events .tribe-events-view--month :is(
	.kyoiq-month-mobile-thumb-link:has(img),
	.kyoiq-month-multiday-thumb-frame:has(img)
) {
	position: relative !important;
	overflow: hidden !important;
}

html body :is(
	.custom-event-image-wrap:has(img),
	.kyoiq-news-image-wrap:has(img),
	.kyoiq-partner-image-wrap:has(img),
	.kyoiq-video-card__media:has(img),
	.kyoiq-event-video-archive__media:has(img),
	.tribe-events-calendar-list__event-featured-image-wrapper:has(img),
	.tribe-events-calendar-day__event-featured-image-wrapper:has(img)
)::after,
html body.post-type-archive-tribe_events .tribe-events-view--month :is(
	.kyoiq-month-mobile-thumb-link:has(img),
	.kyoiq-month-multiday-thumb-frame:has(img)
)::after,
html body .custom-event-list.custom-event-list--organizer-events .custom-event-card--organizer-events .custom-event-image-wrap:has(img)::after,
html body.single-post .entry-content .custom-event-list.custom-event-list--organizer-events .custom-event-card--organizer-events .custom-event-image-wrap:has(img)::after,
html body.page:not(.home) .entry-content .custom-event-list.custom-event-list--organizer-events .custom-event-card--organizer-events .custom-event-image-wrap:has(img)::after,
html body.single-kyoiq_video .kyoiq-video-single__event-list .custom-event-image-wrap:has(img)::after,
html body.post-type-archive-tribe_events .tribe-events .custom-event-card--archive-event .custom-event-image-wrap:has(img)::after,
html body.post-type-archive-tribe_events .tribe-common.tribe-events .custom-event-card--archive-event .custom-event-image-wrap:has(img)::after,
html body #secondary.kyoiq-sidebar .kyoiq-sidebar-thumb:not(.kyoiq-sidebar-thumb--placeholder)::after,
html body .entry-content .kyoiq-event-apply-card--has-image .kyoiq-event-apply-card__media::after,
html body .entry-content .kyoiq-link-card--external.kyoiq-official-site-card--has-image:not(.kyoiq-link-card--media-profile) .kyoiq-official-site-card__media::after {
	content: "" !important;
	position: absolute !important;
	top: auto !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	z-index: 1 !important;
	display: block !important;
	width: auto !important;
	height: 58% !important;
	pointer-events: none !important;
	border: 0 !important;
	border-radius: inherit !important;
	background: var(--kyoiq-image-overlay-warm-gray) !important;
	background-image: var(--kyoiq-image-overlay-warm-gray) !important;
	box-shadow: none !important;
	filter: none !important;
}

html body #secondary.kyoiq-sidebar .kyoiq-sidebar-thumb:not(.kyoiq-sidebar-thumb--placeholder)::after,
html body.post-type-archive-tribe_events .tribe-events-view--month :is(
	.kyoiq-month-mobile-thumb-link:has(img),
	.kyoiq-month-multiday-thumb-frame:has(img)
)::after {
	inset: 0 !important;
	height: auto !important;
	background: var(--kyoiq-image-overlay-warm-gray-both) !important;
	background-image: var(--kyoiq-image-overlay-warm-gray-both) !important;
}

html body :is(
	.custom-event-image-wrap > .custom-event-labels,
	.kyoiq-news-labels,
	.kyoiq-partner-labels,
	.kyoiq-video-card__media-labels,
	.kyoiq-event-video-archive__labels,
	.kyoiq-video-card__play,
	.kyoiq-event-video-archive__play,
	.kyoiq-official-site-card__icon,
	.kyoiq-event-apply-card__icon
) {
	z-index: 3 !important;
}
	
