/* Slider Cards for Elementor — frontend + editor styles */

.sce-slider-cards {
	position: relative;
	width: 100%;
}

.sce-viewport {
	overflow: hidden;
	width: 100%;
}

.sce-track {
	display: flex;
	align-items: stretch;
	gap: 20px;
	transition: transform 400ms ease;
	will-change: transform;
}

.sce-card {
	flex: 0 0 auto;
	width: 386px;
	min-height: 368px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	background-color: #FCFEFF;
	border-radius: 16px;
	padding: 32px 28px;
	text-decoration: none;
	cursor: pointer;
	transition-property: background-color, color, transform, box-shadow;
	transition-duration: 300ms;
	transition-timing-function: ease;
	box-shadow: 0 4px 18px rgba(64, 37, 18, 0.08);
}

.sce-card:hover,
.sce-card.sce-active {
	background-color: #518A05;
	transform: translateY(-6px);
	box-shadow: 0 12px 28px rgba(81, 138, 5, 0.28);
}

.sce-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	font-size: 28px;
	line-height: 1;
	color: #518A05;
	margin-bottom: 22px;
	transition: color 300ms ease;
}

.sce-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sce-card:hover .sce-icon,
.sce-card.sce-active .sce-icon {
	color: #FCFEFF;
}

.sce-card-title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	color: #402512;
	margin-bottom: 12px;
	transition: color 300ms ease;
}

.sce-card:hover .sce-card-title,
.sce-card.sce-active .sce-card-title {
	color: #FCFEFF;
}

.sce-card-description {
	font-size: 15px;
	line-height: 1.6;
	color: #6B6B6B;
	transition: color 300ms ease;
}

.sce-card:hover .sce-card-description,
.sce-card.sce-active .sce-card-description {
	color: #F1F7EA;
}

.sce-card-description a,
.sce-card-description u {
	color: inherit;
}

.sce-card-link-text {
	display: inline-block;
	margin-top: 16px;
	font-weight: 600;
	font-size: 14px;
	color: #518A05;
	transition: color 300ms ease;
}

.sce-card:hover .sce-card-link-text,
.sce-card.sce-active .sce-card-link-text {
	color: #FCFEFF;
}

/* Navigation arrows */

.sce-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}

.sce-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #518A05;
	background-color: transparent;
	color: #518A05;
	cursor: pointer;
	padding: 0;
	transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.sce-nav-btn:hover {
	background-color: #518A05;
	border-color: #518A05;
	color: #FCFEFF;
}

.sce-nav-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.sce-nav-btn svg {
	display: block;
}

/* Responsive: how many cards show at once is controlled by card width +
   flex-wrap fallback for smaller screens where the slider becomes a
   simple wrapped grid if JS is unavailable. */
@media (max-width: 1024px) {
	.sce-card {
		width: 300px;
		min-height: 320px;
	}
}

@media (max-width: 767px) {
	.sce-card {
		width: 260px;
		min-height: 300px;
		padding: 24px 20px;
	}

	.sce-track {
		gap: 14px;
	}
}
