/*
 * EV-Ready Section — title (cyan) + 2-column (photo on logical-start, text on logical-end) + CTA.
 *
 * Design source: Figma file o2Fw8rOZW4xOIEcs13IWzo, Rectangle 112 at top:4543.
 * NEW widget — 2026-05-17, not yet in deploy ZIP.
 */

.greengrass-ev-section {
	padding-block: clamp(48px, 5vw, 96px);
	background: #F3F3F3;
	font-family: 'Polin', sans-serif;
	direction: rtl;
}

.greengrass-ev-section__container {
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: clamp(16px, 2vw, 48px);
}

/* ── Title — main text dark with cyan "חדש:" accent, center, 55px ──── */
.greengrass-ev-section__title {
	margin: 0 0 clamp(32px, 4vw, 64px);
	font-family: 'Polin', sans-serif;
	font-size: clamp(28px, 3.5vw, 55px);
	font-weight: 700;
	line-height: 1.1;
	color: #2C3D41;
	text-align: center;
}

.greengrass-ev-section__title .accent {
	color: #00A3E9;
}

/* ── Two-column content ─────────────────────────────── */
.greengrass-ev-section__content {
	display: flex;
	gap: clamp(24px, 3vw, 64px);
	align-items: center;
}

/* Source order: photo first → logical-start (visual-right in RTL),
   text second → logical-end (visual-left in RTL). */
.greengrass-ev-section__photo {
	flex: 1 1 0;
	min-width: 0;
	aspect-ratio: 822 / 532;
	border-radius: 15px;
	overflow: hidden;
	background: #d9d9d9;
}

.greengrass-ev-section__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.greengrass-ev-section__text {
	flex: 0 0 38%;
	max-width: 480px;
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 1.6vw, 28px);
	text-align: start;
}

.greengrass-ev-section__para {
	margin: 0;
	font-family: 'Polin', sans-serif;
	font-size: clamp(15px, 1.5vw, 24px);
	font-weight: 400;
	line-height: 1.12;
	color: #2C3D41;
}

/* ── CTA — green pill, 15px radius, below the text ──── */
.greengrass-ev-section__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-block-start: clamp(8px, 1vw, 16px);
	padding: 14px 28px;
	background-color: #629C55;
	color: #F8FFFD;
	font-family: 'Polin', sans-serif;
	font-size: clamp(15px, 1.4vw, 20px);
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	border: 0;
	border-radius: 15px;
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	align-self: flex-start;
	text-align: center;
}

.greengrass-ev-section__cta:hover {
	background-color: #4f7d44;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(98, 156, 85, 0.32);
}

/* Responsive — stack columns */
@media (max-width: 960px) {
	.greengrass-ev-section__content {
		flex-direction: column;
		gap: clamp(24px, 3vw, 40px);
	}
	.greengrass-ev-section__photo {
		flex: none;
		width: 100%;
	}
	.greengrass-ev-section__text {
		flex: none;
		max-width: none;
		width: 100%;
	}
}
