/* ==========================================================================
   Global header – layout, menu, language switcher
   ========================================================================== */

/* Menu underline & dropdown styling */
.header-global-custom .elementor-nav-menu--main > .elementor-nav-menu > .menu-item > .elementor-item {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.header-global-custom .elementor-nav-menu--main > .elementor-nav-menu > .menu-item > .elementor-item::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 2px;
	background: #e30b2e;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease;
}

.header-global-custom .elementor-nav-menu--main > .elementor-nav-menu > .menu-item > .elementor-item:hover::after,
.header-global-custom .elementor-nav-menu--main > .elementor-nav-menu > .menu-item.current-menu-item > .elementor-item::after,
.header-global-custom .elementor-nav-menu--main > .elementor-nav-menu > .menu-item.current-menu-ancestor > .elementor-item::after {
	transform: scaleX(1);
}

.header-global-custom .elementor-nav-menu--main > .elementor-nav-menu > .menu-item > .elementor-item > .sub-arrow {
	display: none !important;
}

.header-global-custom .sub-menu .has-submenu > .sub-arrow,
.header-global-custom .elementor-nav-menu--dropdown .has-submenu > .sub-arrow {
	display: inline-flex !important;
	align-items: center;
	margin-left: 6px;
}

.header-global-custom .sub-menu .sub-arrow svg,
.header-global-custom .elementor-nav-menu--dropdown .sub-arrow svg {
	fill: #e30b2e !important;
}

.header-global-custom .sub-menu a:hover,
.header-global-custom .elementor-nav-menu--dropdown a:hover {
	color: #e30b2e !important;
}

.header-global-custom .elementor-nav-menu--main > .elementor-nav-menu > .menu-item > .elementor-item:hover {
	color: #e30b2e !important;
}

/* Header flex layout */
.ch-parent .e-con-inner {
	display: flex !important;
	align-items: center;
	flex-wrap: nowrap !important;
}

.ch-first {
	flex: 0 0 245px !important;
	min-width: 245px !important;
}

.ch-first img {
	width: 100% !important;
	max-width: 245px !important;
	height: auto !important;
	display: block;
}

.ch-second {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

.ch-third {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: max-content !important;
	display: flex;
	align-items: center;
	flex-wrap: nowrap !important;
}

/* Language switcher */
.custom-langswitch,
.custom-langswitch * {
	white-space: nowrap !important;
}

.custom-langswitch .cpel-switcher__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap !important;
	gap: 0;
}

.custom-langswitch .cpel-switcher__lang:not(:last-child)::after {
	content: "/";
	margin-left: 5px;
	font-size: 14px;
	font-weight: 700;
	line-height: 120%;
	color: #717171;
}

.ch-third .elementor-widget-button,
.ch-third .elementor-button,
.ch-third .elementor-button-text {
	white-space: nowrap !important;
	flex-shrink: 0 !important;
}

@media (max-width: 767px) {
	.ch-first {
		flex: 0 0 180px !important;
		min-width: 180px !important;
	}

	.ch-first img {
		max-width: 180px !important;
		width: 100% !important;
	}
}
