/**
 * Naseem Image Banner — vertical card: icon, title, text, image (Elementor).
 *
 * @package Naseem
 */

.elementor-widget-naseem-image-banner .elementor-widget-container {
	margin: 0;
	padding: 0;
	overflow: visible;
}

.elementor-widget-naseem-image-banner .elementor-widget-container > .naseem-image-banner {
	width: 100%;
	min-width: 0;
}

.naseem-image-banner {
	width: 100%;
}

.naseem-image-banner__single {
	display: block;
	width: 100%;
	margin: 0;
}

.naseem-image-banner__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	opacity: 0;
	transform: translate3d(0, 36px, 0);
	contain: layout style;
	--naseem-card-reveal-step: 0.14s;
	transition:
		opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: 0s;
}

/* Multiple image banners on a page: stagger by DOM order (--naseem-image-banner-stagger on root). */
.naseem-image-banner.naseem-image-banner--inview .naseem-image-banner__card {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: calc(var(--naseem-image-banner-stagger, 0) * var(--naseem-card-reveal-step));
}

@media (prefers-reduced-motion: reduce) {
	.naseem-image-banner__card {
		opacity: 1;
		transform: none;
		transition: none;
		transition-delay: 0s !important;
	}
}

.naseem-image-banner__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 1 auto;
	min-height: 100%;
	width: 100%;
	box-sizing: border-box;
}

.naseem-image-banner__flow {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	min-width: 0;
}

.naseem-image-banner__slot {
	width: 100%;
	min-width: 0;
	align-self: stretch;
}

.naseem-image-banner__slot--icon {
	width: auto;
	align-self: flex-start;
}

.naseem-image-banner__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	position: relative;
}

.naseem-image-banner__icon:not(.naseem-image-banner__icon--secondary) {
	background: var(--color-primary, #22c55e);
}

.naseem-image-banner__icon--secondary {
	background: var(--color-secondary, #0a3d2f);
}

.naseem-image-banner__icon svg,
.naseem-image-banner__icon i {
	display: block;
	stroke: currentColor;
	fill: none;
}

.naseem-image-banner__title {
	margin: 0;
	font-family: var(--font-display, "Poppins", system-ui, sans-serif);
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
	line-height: 1.2;
	color: var(--color-text, #0f172a);
}

.naseem-image-banner__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--color-text-muted, #3f4f46);
}

.naseem-image-banner__figure {
	width: 100%;
	overflow: hidden;
}

.naseem-image-banner__img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
	object-fit: cover;
	will-change: transform;
}

.naseem-image-banner__figure--placeholder {
	background: rgba(0, 0, 0, 0.06);
	min-height: 120px;
}

.naseem-image-banner__figure--placeholder .naseem-image-banner__img {
	object-fit: cover;
	min-height: 120px;
}
