.ctaew-box {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	padding: 40px 30px;
	background-color: #f7f7f9;
	border-radius: 8px;
}

.ctaew-box-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.ctaew-badge {
	display: inline-block;
	margin-bottom: 15px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 20px;
	background-color: #6c5ce7;
	color: #fff;
}

.ctaew-image {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 300px;
	margin: 0 auto 20px;
}

.ctaew-image-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	transition: transform 0.4s ease;
}

.ctaew-hover-zoom:hover .ctaew-image-bg {
	transform: scale(1.1);
}

.ctaew-image-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.4);
	color: #fff;
	font-size: 28px;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.ctaew-hover-overlay:hover .ctaew-image-overlay {
	opacity: 1;
}

.ctaew-title {
	margin: 0 0 15px;
	font-size: 28px;
	line-height: 1.3;
}

.ctaew-description {
	margin: 0 0 25px;
	font-size: 16px;
	line-height: 1.6;
}

.ctaew-button {
	position: relative;
	z-index: 2;
	display: inline-block;
	padding: 12px 28px;
	background-color: #6c5ce7;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	transition: all 0.2s ease-in-out;
}

.ctaew-button:hover {
	opacity: 0.9;
	color: #fff;
}

/* Imagen a la izquierda o derecha */
.ctaew-image-left,
.ctaew-image-right {
	flex-direction: row;
	text-align: left;
	align-items: center;
	gap: 30px;
}

.ctaew-image-right {
	flex-direction: row-reverse;
}

.ctaew-image-left .ctaew-image,
.ctaew-image-right .ctaew-image {
	flex: 0 0 40%;
	margin-bottom: 0;
}

.ctaew-image-left .ctaew-content,
.ctaew-image-right .ctaew-content {
	flex: 1;
}

@media (max-width: 767px) {
	.ctaew-image-left,
	.ctaew-image-right {
		flex-direction: column;
		text-align: center;
	}
}
