/* =================================================================
   Emerald Glass Slider — image + intro + swiping glass box
   ================================================================= */

.emerald-glass-slider {
	--emerald-gs-box-max: 560px;
	position: relative;
	display: block;
	width: 100%;
	overflow-x: hidden;
	overflow-y: visible;
	background: #1d5f51;
}

.emerald-glass-slider__media {
	position: relative;
	display: block;
	width: 100%;
	line-height: 0;
}

.emerald-glass-slider__media img {
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: cover;
}

.emerald-glass-slider__media-desktop {
	display: block !important;
}

.emerald-glass-slider__media-mobile {
	display: none !important;
}

@media (max-width: 1024px) {
	.emerald-glass-slider__media.has-mobile .emerald-glass-slider__media-desktop {
		display: none !important;
	}

	.emerald-glass-slider__media.has-mobile .emerald-glass-slider__media-mobile {
		display: block !important;
	}
}

.emerald-glass-slider--no-media {
	display: flex;
	flex-direction: column;
}

.emerald-glass-slider--no-media .emerald-glass-slider__body {
	position: relative;
	flex: 1 1 auto;
	min-height: 480px;
}

.emerald-glass-slider__body {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	padding: 56px 48px;
	gap: 36px;
}

.emerald-glass-slider__intro {
	width: 100%;
	max-width: 720px;
	text-align: center;
}

.emerald-glass-slider__heading {
	margin: 0 0 12px;
	color: #ffffff;
	font-family: 'Manrope', sans-serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.2;
}

.emerald-glass-slider__intro-text {
	margin: 0;
	color: rgba(255, 255, 255, 0.95);
	font-family: 'Source Sans 3', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
}

.emerald-glass-slider__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--emerald-gs-box-max) + 120px);
}

.emerald-glass-slider__box {
	position: relative;
	width: 100%;
	max-width: var(--emerald-gs-box-max);
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-align: center;
	border: 0.61px solid #ffffff54;
	border-radius: 24px;
	background: #ffffff26;
	box-shadow: 0 4.92px 19.67px 0 #1f2d2a14;
	-webkit-backdrop-filter: blur(8.6px);
	backdrop-filter: blur(8.6px);
}

.emerald-glass-slider__box.swiper {
	overflow: hidden;
	height: auto;
}

.emerald-glass-slider__box .swiper-wrapper {
	align-items: flex-start;
	height: auto !important;
}

.emerald-glass-slider__box .swiper-slide {
	box-sizing: border-box;
	width: 100%;
	height: auto !important;
}

.emerald-glass-slider__slide {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 40px 44px;
}

.emerald-glass-slider__slide-title {
	display: block;
	margin: 0 0 14px;
	max-width: 100%;
	color: #ffffff;
	font-family: 'Manrope', sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: anywhere;
	word-wrap: break-word;
}

.emerald-glass-slider__slide-text {
	display: block;
	margin: 0;
	max-width: 100%;
	color: rgba(255, 255, 255, 0.95);
	font-family: 'Source Sans 3', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	overflow-wrap: anywhere;
	word-wrap: break-word;
}

.emerald-glass-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #1d5f51;
	color: #ffffff;
	cursor: pointer;
	transform: translateY(-50%);
	transition: filter 0.15s ease, opacity 0.15s ease;
}

.emerald-glass-slider__nav:hover {
	filter: brightness(1.06);
}

.emerald-glass-slider__nav::after {
	font-size: 14px;
	font-weight: 700;
}

.emerald-glass-slider__nav--prev {
	left: 0;
}

.emerald-glass-slider__nav--next {
	right: 0;
}

.emerald-glass-slider__nav.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

@media (min-width: 901px) {
	.emerald-glass-slider__nav--prev {
		left: -4px;
	}

	.emerald-glass-slider__nav--next {
		right: -4px;
	}
}

/* Tablet + mobile: grow with content so glass text is never clipped */
@media (max-width: 900px) {
	.emerald-glass-slider {
		display: flex;
		flex-direction: column;
		height: auto !important;
	}

	.emerald-glass-slider__media {
		position: absolute;
		inset: 0;
		z-index: 0;
		height: 100% !important;
		min-height: 100%;
	}

	.emerald-glass-slider__media img {
		width: 100%;
		height: 100% !important;
		object-fit: cover;
	}

	.emerald-glass-slider__body {
		position: relative;
		z-index: 2;
		inset: auto;
		flex: 1 1 auto;
		width: 100%;
		height: auto;
		min-height: inherit;
		padding: 40px 20px;
		gap: 28px;
		overflow: visible;
	}

	.emerald-glass-slider__heading {
		font-size: 28px;
	}

	.emerald-glass-slider__intro {
		max-width: 100%;
		flex-shrink: 0;
	}

	.emerald-glass-slider__stage {
		flex-shrink: 0;
		width: 100%;
		max-width: 100%;
		height: auto;
		padding: 0 48px;
		overflow: visible;
	}

	.emerald-glass-slider__box {
		width: 100%;
		max-width: 100%;
		height: auto !important;
		overflow: hidden;
	}

	.emerald-glass-slider__nav--prev {
		left: 0;
	}

	.emerald-glass-slider__nav--next {
		right: 0;
	}
}

@media (max-width: 600px) {
	.emerald-glass-slider__body {
		padding: 28px 16px;
		gap: 22px;
	}

	.emerald-glass-slider__heading {
		font-size: 24px;
	}

	.emerald-glass-slider__stage {
		padding: 0 44px;
	}

	.emerald-glass-slider__slide {
		padding: 24px 18px;
	}

	.emerald-glass-slider__slide-title {
		font-size: 20px;
	}

	.emerald-glass-slider__nav {
		width: 40px;
		height: 40px;
	}
}
