/**
 * Local-only contrast repair for the 63 approved solution image cards.
 * Page and widget allowlists are enforced by the companion MU plugin.
 */

.gato-local-solution-card-contrast
	.gato-local-solution-card-contrast-card
	> .elementor-widget-container {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.gato-local-solution-card-contrast
	.gato-local-solution-card-contrast-card.ha-has-bg-overlay
	> .elementor-widget-container::before {
	z-index: 0 !important;
	border-radius: inherit;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.15) 0%,
		rgba(0, 0, 0, 0.28) 45%,
		rgba(0, 0, 0, 0.66) 100%
	) !important;
	opacity: 1 !important;
	pointer-events: none;
}

.gato-local-solution-card-contrast
	.gato-local-solution-card-contrast-card
	.elementor-image-box-wrapper {
	position: relative;
	z-index: 1;
}

.gato-local-solution-card-contrast
	.gato-local-solution-card-contrast-card
	.elementor-image-box-title {
	color: #fff !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
