.agrind-hero {
	--agrind-content-x: 0px;
	--agrind-content-y: 0px;
	--agrind-transition: 1000ms;
	position: relative;
	width: 100%;
	max-width: 100%;
	min-height: 100vh;
	overflow: hidden;
	background-color: #0b3029;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	isolation: isolate;
}

.elementor-widget-agrind_hero_slider,
.elementor-widget-agrind_hero_slider > .elementor-widget-container {
	min-width: 0;
	max-width: 100%;
}

.agrind-hero *,
.agrind-hero *::before,
.agrind-hero *::after {
	box-sizing: border-box;
}

.agrind-hero__slides,
.agrind-hero__slide,
.agrind-hero__overlay {
	position: absolute;
	inset: 0;
}

.agrind-hero__slides {
	z-index: -3;
	overflow: hidden;
}

.agrind-hero__slide {
	display: flex;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity var(--agrind-transition) ease,
		visibility var(--agrind-transition) ease;
}

.agrind-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.agrind-hero__picture {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.agrind-hero__media {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none !important;
	margin: 0;
	padding: 0;
	border: 0;
	object-fit: var(--agrind-media-fit, cover);
	object-position: var(--agrind-position, center center);
	transform: scale(var(--agrind-media-scale, 1));
	transform-origin: center center;
	transition: transform 250ms ease;
}

.agrind-hero__overlay {
	z-index: -2;
	background: linear-gradient(180deg, rgba(0, 35, 28, 0.56) 0%, rgba(24, 31, 9, 0.64) 100%);
	pointer-events: none;
}

.agrind-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	width: min(1120px, calc(100% - 40px));
	min-height: inherit;
	align-items: center;
	justify-content: flex-start;
	margin-inline: auto;
	padding: 80px 0;
}

.agrind-hero__content {
	width: 100%;
	min-width: 0;
	max-width: 670px;
	transform: translate(var(--agrind-content-x), var(--agrind-content-y));
}

.agrind-hero__content > * {
	min-width: 0;
	max-width: 100%;
}

.agrind-hero__eyebrow {
	margin: 0 0 24px;
	padding: 0;
	color: #52c52d;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.agrind-hero__title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(54px, 5vw, 80px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.96;
}

.agrind-hero__title-text,
.agrind-hero__highlight {
	display: block;
}

.agrind-hero__highlight {
	margin-top: 8px;
	color: #52c52d;
}

.agrind-hero__description {
	max-width: 100%;
	margin: 30px 0 0;
	padding: 0;
	color: #fff;
	font-size: 20px;
	line-height: 1.55;
	opacity: 0.88;
	overflow-wrap: anywhere;
}

.agrind-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	justify-content: flex-start;
	margin-top: 38px;
}

.agrind-hero .agrind-hero__cta {
	display: inline-flex;
	min-height: 52px;
	gap: 14px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	text-decoration: none !important;
	transition:
		transform 200ms ease,
		box-shadow 200ms ease,
		filter 200ms ease;
}

.agrind-hero .agrind-hero__cta:hover,
.agrind-hero .agrind-hero__cta:focus-visible {
	transform: translateY(-2px);
	filter: brightness(1.05);
}

.agrind-hero .agrind-hero__cta:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.agrind-hero .agrind-hero__cta--primary {
	color: #fff;
	background-color: #52c52d;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.agrind-hero .agrind-hero__cta--secondary {
	border: 1px solid rgba(255, 255, 255, 0.42);
	color: #fff;
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
}

.agrind-hero__cta-arrow {
	display: inline-block;
	flex: 0 0 auto;
	font-size: 18px;
	line-height: 1;
}

.agrind-hero .agrind-hero__next {
	position: absolute;
	z-index: 4;
	right: 26px;
	bottom: 22px;
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 50%;
	outline-offset: 3px;
	color: #fff;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	font-size: 30px;
	line-height: 1;
	opacity: 0.72;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.agrind-hero .agrind-hero__next:hover,
.agrind-hero .agrind-hero__next:focus,
.agrind-hero .agrind-hero__next:active {
	color: inherit;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	opacity: 1;
}

.agrind-hero .agrind-hero__next:focus {
	outline: 0;
}

.agrind-hero .agrind-hero__next:focus-visible {
	outline: 2px solid currentColor;
}

@media (max-width: 1024px) {
	.agrind-hero__inner {
		display: grid;
		grid-template-columns: repeat(8, minmax(0, 1fr));
		grid-auto-flow: row;
		width: min(940px, calc(100% - 44px));
		max-width: 100%;
		padding: 64px 0;
	}

	.agrind-hero__content {
		display: grid;
		grid-template-columns: repeat(8, minmax(0, 1fr));
		grid-column: 1 / -1;
		width: 100%;
		min-width: 0;
		justify-self: start;
		transform: none !important;
	}

	.agrind-hero__content > * {
		grid-column: 1 / -1;
	}

	.agrind-hero__title,
	.agrind-hero__description,
	.agrind-hero__cta-text {
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.agrind-hero__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
		justify-content: start;
	}

	.agrind-hero .agrind-hero__cta {
		min-width: 0;
		max-width: 100%;
	}

	.agrind-hero__title {
		font-size: clamp(48px, 7vw, 68px);
	}

	.agrind-hero__description {
		font-size: 18px;
	}
}

@media (max-width: 767px) {
	.agrind-hero__inner {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		width: calc(100% - 36px);
		max-width: 100%;
		padding: 52px 0 60px;
	}

	.agrind-hero__content {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-column: 1 / -1;
		width: 100%;
		max-width: 100%;
		justify-self: stretch;
	}

	.agrind-hero__eyebrow {
		margin-bottom: 18px;
		font-size: 11px;
		line-height: 1.4;
	}

	.agrind-hero__title {
		font-size: clamp(38px, 12vw, 58px);
		line-height: 0.98;
	}

	.agrind-hero__description {
		margin-top: 24px;
		font-size: 17px;
	}

	.agrind-hero__actions {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		margin-top: 30px;
		width: 100%;
	}

	.agrind-hero .agrind-hero__cta {
		width: 100%;
		max-width: 100%;
		white-space: normal;
	}

	.agrind-hero .agrind-hero__next {
		right: 10px;
		bottom: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.agrind-hero__slide,
	.agrind-hero__media,
	.agrind-hero__cta {
		transition: none;
	}
}
