/* Editorial media supplied for the Zerion marketplace and Green Digital tools. */
.marketplace-preview.has-editorial-image {
	background: #10172a;
	isolation: isolate;
}

.marketplace-preview.has-editorial-image > :not(.marketplace-preview__image) {
	opacity: 0;
}

.marketplace-preview__image {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.marketplace-card:hover .marketplace-preview__image {
	transform: scale(1.035);
}

.case-card__visual--text {
	min-height: 260px;
	padding: 26px;
	background: radial-gradient(circle at 78% 22%, rgba(115, 230, 193, .42), transparent 28%), linear-gradient(145deg, #142952, #10172a);
	color: var(--paper);
	display: flex;
	align-items: flex-end;
}

.case-card__visual--text strong {
	max-width: 72%;
	font-family: Sora, sans-serif;
	font-size: clamp(24px, 2.5vw, 34px);
	font-weight: 500;
	line-height: 1.08;
}

.cases-grid > [data-zerion-editorial-cases] {
	display: contents;
}

.green-products {
	background: #f6f6f2;
}

.green-products__intro {
	max-width: 670px;
}

.green-products__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	margin-top: 44px;
}

.green-product-card {
	min-height: 230px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 18px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.green-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 42px rgba(16, 23, 42, .12);
}

.green-product-card__icon {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.green-product-card h3 {
	margin: auto 0 0;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.15;
}

.green-product-card p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
}

@media (max-width: 1080px) {
	.green-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.green-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.green-product-card { min-height: 210px; padding: 18px; }
}
