/* =================================================================
   Emerald Showcase Slider
   ================================================================= */

.emerald-showcase {
	--emerald-showcase-fg: #1f2d2a;
	--emerald-showcase-img-radius: 16px;
	position: relative;
	width: 100%;
	padding: 40px;
	overflow: visible;
	border-radius: 24px;
	background-color: #ffffff;
	box-shadow: 0 12px 40px rgba(31, 45, 42, 0.08);
	color: var(--emerald-showcase-fg);
	isolation: isolate;
}

.emerald-showcase__numbers-wrap {
	position: relative;
	width: 100%;
	height: 28px;
	overflow: hidden;
	margin: 0 0 28px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

.emerald-showcase__numbers {
	position: relative !important;
	top: auto !important;
	bottom: auto !important;
	left: auto !important;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 22px;
	width: max-content;
	height: 28px;
	margin: 0;
	transform: translate3d(0, 0, 0);
	transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.emerald-showcase__numbers .swiper-pagination-bullet {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: auto !important;
	min-width: 1.6em;
	height: 28px !important;
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	opacity: 0.38 !important;
	color: var(--emerald-showcase-fg);
	font-family: 'Manrope', sans-serif;
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: 0.04em;
	cursor: pointer;
	transform: scale(1);
	transform-origin: center center;
	transition: color 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}

.emerald-showcase__numbers .swiper-pagination-bullet-active {
	opacity: 1 !important;
	color: var(--emerald-showcase-fg);
	font-size: 16px;
	font-weight: 700;
	transform: scale(1.375);
}

.emerald-showcase__swiper .swiper-wrapper {
	transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.emerald-showcase__header {
	max-width: 720px;
	margin: 0 auto 32px;
	text-align: center;
}

.emerald-showcase__headers {
	display: grid;
	margin: 0 auto 32px;
	max-width: 720px;
}

.emerald-showcase--per-slide .emerald-showcase__headers .emerald-showcase__header {
	grid-area: 1 / 1;
	width: 100%;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.emerald-showcase--per-slide .emerald-showcase__headers .emerald-showcase__header.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.emerald-showcase__title {
	margin: 0 0 10px;
	color: var(--emerald-showcase-fg);
	font-family: 'Manrope', sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
}

.emerald-showcase__subtitle {
	margin: 0 0 16px;
	color: var(--emerald-showcase-fg);
	font-family: 'Manrope', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.emerald-showcase__text {
	margin: 0 auto 24px;
	max-width: 40em;
	color: var(--emerald-showcase-fg);
	font-family: 'Source Sans 3', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
}

.emerald-showcase__actions {
	display: flex;
	justify-content: center;
}

.emerald-showcase__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	background:
		linear-gradient(#ffffff54, #ffffff54) padding-box,
		linear-gradient(168.44deg, rgba(255, 255, 255, 0.462) -8.7%, rgba(255, 255, 255, 0) 112.65%) border-box;
	box-shadow: 0 8px 32px 0 #1f2d2a14;
	-webkit-backdrop-filter: blur(8.6px);
	backdrop-filter: blur(8.6px);
	color: var(--emerald-showcase-fg);
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s ease, color 0.15s ease;
}

.emerald-showcase__btn:hover,
.emerald-showcase__btn:focus {
	color: var(--emerald-showcase-btn-hover, #1f2d2a);
	filter: brightness(0.96);
}

.emerald-showcase__stage {
	position: relative;
	padding: 0 28px;
}

.emerald-showcase__swiper {
	overflow: hidden;
	border-radius: var(--emerald-showcase-img-radius);
}

.emerald-showcase__slide {
	aspect-ratio: 2 / 1;
	overflow: hidden;
	border-radius: var(--emerald-showcase-img-radius);
	background: rgba(0, 0, 0, 0.06);
}

.emerald-showcase__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--emerald-showcase-img-radius);
}

.emerald-showcase__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: #41a48f;
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(29, 95, 81, 0.22);
	transform: translateY(-50%);
	cursor: pointer;
}

.emerald-showcase__nav svg {
	display: block;
	width: 20px;
	height: 20px;
}

.emerald-showcase__nav--prev {
	left: 0;
}

.emerald-showcase__nav--next {
	right: 0;
}

.emerald-showcase__nav.swiper-button-disabled,
.emerald-showcase__nav.swiper-button-lock {
	opacity: 0.35;
	pointer-events: none;
}

@media (max-width: 767px) {
	.emerald-showcase {
		padding: 24px 16px;
	}

	.emerald-showcase__numbers-wrap {
		margin-bottom: 20px;
	}

	.emerald-showcase__numbers {
		gap: 16px;
	}

	.emerald-showcase__numbers .swiper-pagination-bullet {
		font-size: 14px;
	}

	.emerald-showcase__numbers .swiper-pagination-bullet-active {
		font-size: 18px;
	}

	.emerald-showcase__header,
	.emerald-showcase__headers {
		margin-bottom: 24px;
	}

	.emerald-showcase__title {
		font-size: 28px;
	}

	.emerald-showcase__subtitle {
		font-size: 16px;
	}

	.emerald-showcase__stage {
		padding: 0 20px;
	}

	.emerald-showcase__nav {
		width: 40px;
		height: 40px;
	}

	.emerald-showcase__nav svg {
		width: 16px;
		height: 16px;
	}

	.emerald-showcase__slide {
		aspect-ratio: 2 / 1;
	}
}
