/**
 * Hero + semantic heading tags: preserve Elementor visual styles on real h1/h2.
 * Typography is driven by .elementor-heading-title / .elementor-size-* (not div).
 */

.elementor-widget-heading .elementor-heading-title {
	display: block;
}

.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading h4.elementor-heading-title,
.elementor-widget-heading h5.elementor-heading-title,
.elementor-widget-heading h6.elementor-heading-title {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
}

.wheader h1.elementor-heading-title,
.page-banner h1.elementor-heading-title,
.title-banner h1.elementor-heading-title {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
}

.wheader .elementor-widget-heading:first-of-type h1.elementor-heading-title {
	display: block;
}

/*
 * Working at Cactus page fixes:
 * - keep the CactAI accordion image column in sync with the active accordion item
 * - center the Shared knowledge carousel controls
 * - stabilize the custom language switcher hover/focus behavior
 */
body.page-id-19394 #dynamic-box,
body.page-id-21302 #dynamic-box,
body.page-id-32745 #dynamic-box {
	position: relative;
	width: 100%;
	min-height: 480px;
	overflow: hidden;
}

body.page-id-19394 #dynamic-box .dynamic-image,
body.page-id-21302 #dynamic-box .dynamic-image,
body.page-id-32745 #dynamic-box .dynamic-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.35s ease-in-out;
	pointer-events: none;
}

body.page-id-19394 #dynamic-box .dynamic-image.active,
body.page-id-21302 #dynamic-box .dynamic-image.active,
body.page-id-32745 #dynamic-box .dynamic-image.active {
	opacity: 1;
	z-index: 1;
}

body.page-id-19394 #dynamic-box .dynamic-image img,
body.page-id-21302 #dynamic-box .dynamic-image img,
body.page-id-32745 #dynamic-box .dynamic-image img {
	display: block !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.page-id-19394 .elementor-element-fd94c27,
body.page-id-21302 .elementor-element-fd94c27,
body.page-id-32745 .elementor-element-fd94c27 {
	position: relative;
	padding-bottom: 56px;
}

body.page-id-19394 .elementor-element-fd94c27 .swiper-pagination,
body.page-id-21302 .elementor-element-fd94c27 .swiper-pagination,
body.page-id-32745 .elementor-element-fd94c27 .swiper-pagination {
	left: 50% !important;
	right: auto !important;
	bottom: 0 !important;
	width: auto !important;
	transform: translateX(-50%) !important;
}

body.page-id-19394 .elementor-element-fd94c27 .elementor-swiper-button,
body.page-id-21302 .elementor-element-fd94c27 .elementor-swiper-button,
body.page-id-32745 .elementor-element-fd94c27 .elementor-swiper-button {
	top: auto !important;
	bottom: -10px !important;
	transform: none !important;
}

body.page-id-19394 .elementor-element-fd94c27 .elementor-swiper-button-prev,
body.page-id-21302 .elementor-element-fd94c27 .elementor-swiper-button-prev,
body.page-id-32745 .elementor-element-fd94c27 .elementor-swiper-button-prev {
	left: calc(50% - 72px) !important;
}

body.page-id-19394 .elementor-element-fd94c27 .elementor-swiper-button-next,
body.page-id-21302 .elementor-element-fd94c27 .elementor-swiper-button-next,
body.page-id-32745 .elementor-element-fd94c27 .elementor-swiper-button-next {
	right: calc(50% - 72px) !important;
}

.dropdowncust {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: visible !important;
}

.dropdowncust-content {
	min-width: 148px !important;
	padding: 0 !important;
	top: calc(100% + 6px) !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	z-index: 9999 !important;
}

.dropdowncust:hover .dropdowncust-content,
.dropdowncust:focus-within .dropdowncust-content,
.dropdowncust-content:hover,
.dropdowncust-content:focus-within {
	display: block !important;
}

.dropdowncust-content .wpml-ls-legacy-list-vertical > ul {
	margin: 0 !important;
	padding: 8px 10px !important;
	list-style: none !important;
}

.dropdowncust-content .wpml-ls-item {
	margin: 0 !important;
}

.dropdowncust-content .wpml-ls-link {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 8px 10px !important;
	white-space: nowrap !important;
	line-height: 1 !important;
	text-decoration: none !important;
}

.dropdowncust-content .wpml-ls-flag {
	display: block !important;
	flex: 0 0 auto !important;
	width: 18px !important;
	height: 12px !important;
	object-fit: cover !important;
}

.dropdowncust-content .wpml-ls-native {
	display: inline-block !important;
	line-height: 1 !important;
}

@media (max-width: 767px) {
	body.page-id-19394 #dynamic-box,
	body.page-id-21302 #dynamic-box,
	body.page-id-32745 #dynamic-box {
		min-height: 320px;
	}

	body.page-id-19394 .elementor-element-fd94c27,
	body.page-id-21302 .elementor-element-fd94c27,
	body.page-id-32745 .elementor-element-fd94c27 {
		padding-bottom: 48px;
	}

	body.page-id-19394 .elementor-element-fd94c27 .elementor-swiper-button-prev,
	body.page-id-21302 .elementor-element-fd94c27 .elementor-swiper-button-prev,
	body.page-id-32745 .elementor-element-fd94c27 .elementor-swiper-button-prev {
		left: calc(50% - 60px) !important;
	}

	body.page-id-19394 .elementor-element-fd94c27 .elementor-swiper-button-next,
	body.page-id-21302 .elementor-element-fd94c27 .elementor-swiper-button-next,
	body.page-id-32745 .elementor-element-fd94c27 .elementor-swiper-button-next {
		right: calc(50% - 60px) !important;
	}
}
