/**
 * Header 140 — Alphos premium header.
 * Isolated to Turbo header #140. Does not restyle Footer 151 or page content.
 *
 * Specificity matches Elementor post-140.css so kit/widget colors cannot
 * leave a white mobile panel or JetBrains Mono / #61CE70 CTA.
 */

#tahefobu-header,
.elementor-140,
.elementor-140 *,
.elementor-140 *::before,
.elementor-140 *::after {
	box-sizing: border-box;
}

#tahefobu-header,
.elementor-140 {
	max-width: 100%;
	min-width: 0;
}

#tahefobu-header.ta-sticky-header {
	background-color: var(--alphos-black);
	border-bottom: 1px solid transparent;
	transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
	z-index: 9999;
}

#tahefobu-header.ta-sticky-active {
	border-bottom-color: var(--alphos-border);
	background-color: var(--alphos-black);
	box-shadow: 0 1px 0 rgba(42, 42, 42, 0.65);
}

.elementor-140 .elementor-element-56690e9 {
	max-width: 1200px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 24px;
	padding-right: 24px;
	min-height: 76px;
	align-items: center;
	flex-wrap: nowrap;
	gap: 16px;
}

.elementor-140 .elementor-element-ef84f34,
.elementor-140 .elementor-element-e7a3cb8,
.elementor-140 .elementor-element-1a12dfc {
	margin: 0;
}

.elementor-140 .elementor-element-ef84f34 {
	align-items: flex-start;
	justify-content: center;
	flex: 0 0 auto;
}

.elementor-140 .elementor-element-e7a3cb8 {
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
}

.elementor-140 .elementor-element-1a12dfc {
	flex: 0 0 auto;
	align-items: flex-end;
	justify-content: center;
}

.elementor-140 .elementor-element.elementor-element-9898cff {
	width: auto;
	max-width: none;
	--container-widget-width: auto;
	align-self: center;
}

.elementor-140 .alphos-header-brand {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.elementor-140 .alphos-header-brand:focus-visible {
	outline: 2px solid var(--alphos-green);
	outline-offset: 3px;
	border-radius: 4px;
}

.elementor-140 .elementor-element-9898cff img,
.elementor-140 .alphos-header-brand img {
	display: block;
	height: 64px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
	object-position: left center;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-nav-menu .tahefobu-menu-item,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu a,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-toggle-text {
	font-family: var(--alphos-font);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-nav-menu .tahefobu-menu-item {
	color: var(--alphos-white);
	padding: 10px 14px;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-nav-menu > .menu-item {
	margin-left: 4px;
	margin-right: 4px;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-nav-menu .tahefobu-menu-item:hover,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-nav-menu .tahefobu-menu-item.tahefobu-active-menu-item,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-nav-menu > .menu-item-has-children:hover > .tahefobu-sub-icon,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-nav-menu > .menu-item-has-children.current_page_item > .tahefobu-sub-icon {
	color: var(--alphos-mint);
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-nav-menu .tahefobu-menu-item:focus-visible {
	outline: 2px solid var(--alphos-green);
	outline-offset: 3px;
	border-radius: 4px;
	color: var(--alphos-mint);
}

.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button::before {
	display: none;
}

.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button,
.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button .text-wrapper {
	font-family: var(--alphos-font);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button {
	width: auto;
	max-width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 10px 20px;
	background-color: var(--alphos-green);
	color: var(--alphos-white);
	border: 0;
	border-radius: 8px;
	line-height: 1.2;
	transition: background-color 160ms ease, color 160ms ease;
}

.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button:hover,
.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button:focus {
	background-color: var(--alphos-mint);
	color: var(--alphos-black);
}

.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button:focus-visible {
	outline: 2px solid var(--alphos-green);
	outline-offset: 3px;
}

.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-icon-button-wrapper {
	top: 0;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-toggle {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
	background: transparent;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-toggle-line {
	background-color: var(--alphos-white);
	height: 2px;
	width: 20px;
	margin: 0;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-toggle-text {
	color: var(--alphos-white);
	font-family: var(--alphos-font);
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-toggle:hover .tahefobu-mobile-toggle-line,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-toggle:focus-visible .tahefobu-mobile-toggle-line {
	background-color: var(--alphos-mint);
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-toggle:focus-visible {
	outline: 2px solid var(--alphos-green);
	outline-offset: 3px;
}

/* Match Elementor post-140 mobile selectors so white/#333/#2e3194 cannot win. */
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu-container {
	background-color: var(--alphos-charcoal);
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu {
	margin-top: 0;
	border: 1px solid var(--alphos-border);
	border-radius: 8px;
	padding: 8px 0;
	box-shadow: none;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu li {
	background-color: transparent;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu a,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu .menu-item-has-children > a:after {
	color: var(--alphos-white);
	font-family: var(--alphos-font);
	font-size: 16px;
	font-weight: 500;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu a {
	width: 100%;
	display: block;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu .tahefobu-mobile-menu-item {
	padding-top: 14px;
	padding-bottom: 14px;
	min-height: 44px;
}

.elementor-140 .elementor-element.elementor-element-5215a31.tahefobu-mobile-divider-yes .tahefobu-mobile-nav-menu a {
	border-bottom-color: var(--alphos-border);
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu li a:hover,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu .menu-item-has-children > a:hover:after,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu li a.tahefobu-active-menu-item,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu .menu-item-has-children.current_page_item > a:hover:after,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu a:hover,
.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu a.tahefobu-active-menu-item {
	color: var(--alphos-mint);
	background-color: transparent;
}

.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu a:focus-visible {
	outline: 2px solid var(--alphos-green);
	outline-offset: -2px;
}

@media (max-width: 1024px) {
	.elementor-140 .elementor-element-56690e9 {
		padding-left: 20px;
		padding-right: 20px;
	}

	.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-nav-menu .tahefobu-menu-item {
		font-size: 15px;
		padding: 10px 10px;
	}
}

@media (max-width: 767px) {
	.elementor-140 .elementor-element-56690e9 {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		min-height: 64px;
		padding: 8px 12px;
		gap: 8px;
		max-width: 100%;
		width: 100%;
	}

	.elementor-140 .elementor-element-ef84f34.e-con,
	.elementor-140 .elementor-element-e7a3cb8.e-con,
	.elementor-140 .elementor-element-1a12dfc.e-con {
		--width: auto;
		width: auto;
		max-width: none;
		min-width: 0;
	}

	.elementor-140 .elementor-element-ef84f34 {
		order: 1;
		flex: 1 1 auto;
		min-width: 0;
		max-width: none;
		align-items: flex-start;
	}

	.elementor-140 .elementor-element-1a12dfc {
		order: 2;
		flex: 0 1 auto;
		margin-left: 0;
		min-width: 0;
	}

	.elementor-140 .elementor-element-e7a3cb8 {
		order: 3;
		flex: 0 0 44px;
		width: 44px;
		min-width: 44px;
		max-width: 44px;
	}

	.elementor-140 .elementor-element.elementor-element-9898cff {
		width: auto;
		max-width: 100%;
	}

	.elementor-140 .elementor-element-9898cff img,
	.elementor-140 .alphos-header-brand img {
		height: 56px;
		width: auto;
		max-width: 152px;
	}

	.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button,
	.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button .text-wrapper {
		font-size: 15px;
		font-family: var(--alphos-font);
		font-weight: 600;
	}

	.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button {
		width: auto;
		min-height: 44px;
		padding: 10px 14px;
		white-space: nowrap;
		background-color: var(--alphos-green);
		color: var(--alphos-white);
		border-radius: 8px;
	}

	.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button svg,
	.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button i {
		display: none;
	}

	.elementor-140 .elementor-element.elementor-element-5215a31 .tahefobu-mobile-nav-menu a {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#tahefobu-header.ta-sticky-header,
	.elementor-140 .elementor-element.elementor-element-304e179 .tahefobu-custom-button {
		transition: none;
	}
}
