.egc-container {
	width: 100%;
	box-sizing: border-box;
}

/* Modo grid: salta de línea si no caben */
.egc-container.egc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Modo scroll horizontal */
.egc-container.egc-scroll {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	gap: 24px;
	cursor: grab;
	scrollbar-width: thin;
	scrollbar-color: #999 transparent;
}
.egc-container.egc-scroll:active {
	cursor: grabbing;
}
.egc-container.egc-scroll.egc-dragging {
	cursor: grabbing;
	user-select: none;
}
.egc-container.egc-scroll::-webkit-scrollbar {
	height: 6px;
}
.egc-container.egc-scroll::-webkit-scrollbar-track {
	background: transparent;
}
.egc-container.egc-scroll::-webkit-scrollbar-thumb {
	background-color: #999;
	border-radius: 10px;
}

@media (max-width: 767px) {
	.egc-container.egc-grid {
		grid-template-columns: 1fr;
	}
	.egc-container.egc-scroll {
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.egc-container.egc-scroll::-webkit-scrollbar {
		display: none;
	}
}

/* Tarjeta */
.egc-card {
	--egc-angle: 135deg;
	--egc-c1: #57a09a;
	--egc-c2: #5bc1b8;

	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	background: linear-gradient(var(--egc-angle), var(--egc-c1) 0%, var(--egc-c2) 100%);
	border: 1px solid #86cfca;
	border-radius: 6px;
	padding: 32px 28px;
	min-height: 207px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* Brillo tipo "glass" en la esquina superior */
.egc-glass {
	position: absolute;
	top: -40%;
	left: -20%;
	width: 140%;
	height: 90%;
	background: radial-gradient(ellipse at top left, rgba(255, 255, 255, var(--egc-glass-strength, 0.25)) 0%, rgba(255, 255, 255, 0) 60%);
	pointer-events: none;
	z-index: 0;
}

.egc-content {
	position: relative;
	z-index: 1;
}

.egc-title {
	font-size: 26px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 40px 0;
	line-height: 1.2;
}

.egc-desc {
	font-size: 16px;
	color: #eaf6f4;
	line-height: 1.4;
	margin: 0;
}
