/* EDNC Siemens EDA layout (theme copy of plugin eda-layout.css).
   Unique-class rules so family/tabs work even if body.ednc-eda is missing.
   Colors stay in Elementor. */

.ednc-calibre-fam {
	overflow: visible;
}
.ednc-calibre-fam-drop {
	position: relative;
	width: auto !important;
}
.ednc-calibre-fam-menu,
.ednc-calibre-fam-menu.e-con,
.ednc-calibre-fam-menu.e-flex {
	display: none !important;
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	z-index: 50;
	min-width: 200px;
	flex-direction: column;
	align-items: stretch;
}
.ednc-calibre-fam-drop:hover .ednc-calibre-fam-menu,
.ednc-calibre-fam-drop:focus-within .ednc-calibre-fam-menu,
.ednc-calibre-fam-drop:hover .ednc-calibre-fam-menu.e-con,
.ednc-calibre-fam-drop:focus-within .ednc-calibre-fam-menu.e-con {
	display: flex !important;
}
.ednc-calibre-fam-cats > .elementor-element {
	width: auto !important;
	max-width: max-content;
	flex: 0 0 auto !important;
}

.ednc-eda-tabs {
	width: max-content !important;
	max-width: 100%;
	margin-inline: auto;
	align-self: center !important;
	flex-grow: 0 !important;
	flex-shrink: 1 !important;
	--container-widget-width: max-content !important;
	--container-widget-align-self: center !important;
	--container-widget-flex-grow: 0 !important;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.ednc-eda-tabs::-webkit-scrollbar {
	display: none;
}
.ednc-eda-tabs > .elementor-element {
	width: auto !important;
	max-width: none !important;
	flex: 0 0 auto !important;
}
.ednc-eda-tab .elementor-button {
	border-radius: 999px;
	white-space: nowrap;
}

.ednc-eda-pills > .elementor-element,
.ednc-eda-hero-btns > .elementor-element,
.ednc-eda-cta-row > .elementor-element {
	width: auto !important;
	max-width: max-content;
	flex: 0 0 auto !important;
}

.ednc-eda-card {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ednc-eda-card:hover {
	transform: translateY(-4px);
}
.ednc-eda-cards.e-grid > .ednc-eda-card {
	height: 100%;
}

.ednc-eda-figure .elementor-widget-container,
.ednc-eda-figure figure,
.ednc-eda-figure .elementor-image {
	width: 100%;
	margin: 0;
}
.ednc-eda-figure img {
	display: block;
	width: 100%;
	height: 380px;
	object-fit: cover;
	border-radius: 12px;
}
.ednc-eda-figure--product img {
	height: 220px;
	object-fit: contain;
	background: #f8fafc;
}
.ednc-eda-figure--fit img {
	height: auto !important;
	min-height: 0;
	max-height: none;
	object-fit: contain;
	border-radius: 12px 12px 0 0;
}

.ednc-eda-card .e-image-base,
.ednc-eda-card .ednc-eda-card-photo img,
.ednc-eda-card .elementor-widget-image:not(.ednc-eda-figure) img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
	flex-shrink: 0;
}
.ednc-eda-card .ednc-eda-card-photo,
.ednc-eda-card > .elementor-widget-image {
	width: 100%;
}
.ednc-eda-card .ednc-eda-figure--product img {
	height: 220px;
	aspect-ratio: auto;
	object-fit: contain;
}

.ednc-cal-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
}
.ednc-cal-icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
}
.ednc-cal-icon--sm {
	width: 40px;
	height: 40px;
}
.ednc-cal-icon--sm svg {
	width: 20px;
	height: 20px;
}

.ednc-calibre-rve-split {
	align-items: start;
}
.ednc-calibre-rve-stack.is-static .ednc-rve-desc {
	display: block !important;
}

.ednc-eda-speclist.e-con {
	width: 100%;
	margin-top: 16px;
	flex-direction: column;
	align-items: stretch;
}
.ednc-eda-speclist > .elementor-element {
	width: 100% !important;
	max-width: none;
	flex: 0 0 auto !important;
}
.ednc-eda-check.e-con {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	width: 100%;
}
.ednc-eda-check > .elementor-widget-html {
	width: 40px !important;
	max-width: 40px;
	flex: 0 0 auto !important;
}
.ednc-eda-check-txt {
	flex: 1 1 auto;
	min-width: 0;
}

.ednc-eda-hero .elementor-heading-title {
	white-space: normal !important;
	overflow-wrap: break-word !important;
	max-width: 100%;
}
.ednc-eda-vendors.e-con {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.ednc-eda-vendor {
	width: auto !important;
	max-width: max-content;
	flex: 0 0 auto !important;
}
.ednc-eda-diagram img {
	display: block;
	width: 100%;
	height: auto;
}
.ednc-eda-metrics {
	width: 100%;
	max-width: 920px;
	margin-inline: auto;
}

body.ednc-eda .page-header {
	display: none !important;
}
