/* =================================================================
   Emerald Glass CTA — full-width image + floating glass box
   ================================================================= */

.emerald-glass-cta {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	background: #1d5f51;
}

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

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

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

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

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

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

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

.emerald-glass-cta--no-media .emerald-glass-cta__body {
	position: relative;
	flex: 1 1 auto;
	min-height: 400px;
}

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

.emerald-glass-cta__box {
	width: 100%;
	max-width: 580px;
	padding: 40px 48px;
	text-align: center;
	border: 0.61px solid #ffffff54;
	border-radius: 24px;
	background: #1d5f5126;
	box-shadow: 0 4.92px 19.67px 0 #1f2d2a14;
	-webkit-backdrop-filter: blur(5.29px);
	backdrop-filter: blur(5.29px);
}

.emerald-glass-cta--no-glass .emerald-glass-cta__box {
	border-color: transparent;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.emerald-glass-cta__title {
	margin: 0 0 10px;
	color: #ffffff;
	font-family: 'Manrope', sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.25;
}

.emerald-glass-cta__text {
	margin: 0 0 24px;
	color: #ffffff;
	font-family: 'Source Sans 3', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.emerald-glass-cta__text p {
	margin: 0 0 0.75em;
}

.emerald-glass-cta__text p:last-child {
	margin-bottom: 0;
}

.emerald-glass-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

/* Secondary glass button */
.emerald-glass-cta__actions .emerald-btn--glass {
	--emerald-btn-bg: #ffffff54;
	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;
	border: 1px solid transparent;
	box-shadow: 0 8px 32px 0 #1f2d2a14;
	-webkit-backdrop-filter: blur(8.6px);
	backdrop-filter: blur(8.6px);
}

.emerald-glass-cta__actions .emerald-btn--glass .emerald-btn__icon {
	background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 767px) {
	.emerald-glass-cta__body {
		padding: 28px 16px;
	}

	.emerald-glass-cta__box {
		padding: 28px 24px;
	}

	.emerald-glass-cta__title {
		font-size: 22px;
	}

	.emerald-glass-cta__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.emerald-glass-cta__actions .emerald-btn {
		justify-content: center;
		width: 100%;
	}
}
