/* Shared product page polish (Xpedition Standard + CAM350 / DFMStream / HyperLynx)
 * Banner background/overlay is controlled in Elementor (Style → Background Overlay).
 * Do NOT force overlay colors here — it blocks editor changes.
 */

/* Hero: bottom white fade — must sit UNDER text (e-con-full has no .e-con-inner) */
.ednc-xped-hero {
	position: relative;
	overflow: hidden;
}
.ednc-xped-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 120px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
	pointer-events: none;
	z-index: 1;
}
/* Raise ALL direct children above fade/overlay (works for e-con-full + boxed) */
.ednc-xped-hero > .e-con-inner,
.ednc-xped-hero > .elementor-element {
	position: relative;
	z-index: 2;
}

/* Column helpers */
.ednc-xped-row > .e-con-inner {
	align-items: stretch !important;
}
.ednc-xped-col {
	box-sizing: border-box !important;
}

/* Stats section polish */
.ednc-xped-stats {
	position: relative;
}
.ednc-xped-stat {
	position: relative;
	overflow: hidden;
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}
.ednc-xped-stat::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #003D99 0%, #007AFF 100%);
	opacity: 0.9;
}
.ednc-xped-stat:hover {
	transform: translateY(-6px);
	border-color: rgba(0, 82, 204, 0.18) !important;
	box-shadow: 0 16px 40px rgba(0, 82, 204, 0.12) !important;
}

/* Card hover */
.ednc-xped-card,
.ednc-xped-eco {
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
}
.ednc-xped-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 82, 204, 0.08) !important;
	border-color: transparent !important;
}
.ednc-xped-eco:hover {
	background-color: #ffffff !important;
	box-shadow: 0 12px 30px rgba(0, 82, 204, 0.08) !important;
}

.ednc-xped-cta-box {
	border-radius: 16px;
}

@media (max-width: 1024px) {
	.ednc-xped-split.e-grid {
		--e-con-grid-template-columns: 1fr !important;
	}
}

@media (max-width: 767px) {
	.ednc-xped-stats.e-grid {
		--e-con-grid-template-columns: 1fr !important;
	}
	.ednc-xped-stat {
		padding-top: 32px !important;
		padding-bottom: 32px !important;
	}
}

/* ---------------------------------------------------------------
 * Moldflow Adviser (page 20252)
 * --------------------------------------------------------------- */

/* Hero: keep glow blobs inside, lift content above them */
.ednc-mf-hero {
	position: relative;
	overflow: hidden;
}
.ednc-mf-hero > .elementor-element {
	position: relative;
	z-index: 1;
}
.ednc-mf-hero .ednc-mf-glow {
	z-index: 0 !important;
}

.ednc-mf-badge,
.ednc-mf-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.ednc-mf-badge:hover {
	transform: translateY(-6px);
	border-color: rgba(245, 166, 35, 0.35) !important;
	box-shadow: 0 16px 38px rgba(11, 31, 58, 0.1) !important;
}
.ednc-mf-card:hover {
	box-shadow: 0 16px 40px rgba(15, 40, 80, 0.12) !important;
}

@media (max-width: 1024px) {
	.ednc-mf-row.e-grid {
		--e-con-grid-template-columns: 1fr !important;
	}
	.ednc-mf-badges.e-grid {
		--e-con-grid-template-columns: 1fr 1fr !important;
	}
}

@media (max-width: 767px) {
	.ednc-mf-badges.e-grid {
		--e-con-grid-template-columns: 1fr !important;
	}
	.ednc-mf-hero .ednc-mf-glow {
		display: none;
	}
}

/* ---------------------------------------------------------------
 * AutoCAD (page 2207)
 * --------------------------------------------------------------- */

.ednc-acad-hero {
	position: relative;
	overflow: hidden;
}
.ednc-acad-hero > .elementor-element {
	position: relative;
	z-index: 1;
}
.ednc-acad-hero .ednc-acad-glow {
	z-index: 0 !important;
}

.ednc-acad-badge,
.ednc-acad-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.ednc-acad-badge:hover {
	transform: translateY(-6px);
	border-color: rgba(229, 16, 80, 0.35) !important;
	box-shadow: 0 16px 38px rgba(22, 8, 16, 0.1) !important;
}
.ednc-acad-card:hover {
	box-shadow: 0 16px 40px rgba(22, 8, 16, 0.12) !important;
}

/* PDMC product category tabs */
.ednc-acad-tabs .elementor-widget-button {
	margin: 0 !important;
	flex: 1 1 0;
	max-width: 180px;
}
.ednc-acad-tabs .elementor-button {
	width: 100% !important;
	border-radius: 0 !important;
	justify-content: center;
}
.ednc-acad-tabs .elementor-widget-button + .elementor-widget-button .elementor-button {
	margin-left: -1px;
}

@media (max-width: 1024px) {
	.ednc-acad-row.e-grid {
		--e-con-grid-template-columns: 1fr !important;
	}
	.ednc-acad-badges.e-grid {
		--e-con-grid-template-columns: 1fr 1fr !important;
	}
}

@media (max-width: 767px) {
	.ednc-acad-badges.e-grid {
		--e-con-grid-template-columns: 1fr !important;
	}
	.ednc-acad-hero .ednc-acad-glow {
		display: none;
	}
	.ednc-acad-tabs .elementor-widget-button {
		flex: 1 1 46%;
		max-width: none;
	}
}
