.ehf-header #masthead {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
}

.admin-bar #masthead {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar #masthead {
		top: 0;
	}
}

.ayesha-header {
	position: relative;
	top: auto;
	width: 100%;
	border-bottom: 1px solid var(--ayesha-line);
	background: var(--ayesha-ink);
	transition: none;
}

.ayesha-header__inner {
	position: relative;
	width: min(calc(100% - (2 * var(--ayesha-gutter))), var(--ayesha-container));
	min-height: var(--ayesha-header-height);
	margin-inline: auto;
	gap: clamp(1rem, 3vw, 2.5rem);
}

.elementor .ayesha-header .ayesha-header__logo {
	flex: 0 0 auto;
	width: max-content;
	max-width: 100%;
	min-width: 0;
}

.ayesha-wordmark {
	display: flex;
	align-items: center;
	gap: 10px;
	width: max-content;
	max-width: 100%;
	min-width: 0;
	color: var(--ayesha-bone);
	line-height: 1;
	text-decoration: none;
	transition: opacity 180ms linear;
}

.ayesha-wordmark:link,
.ayesha-wordmark:visited {
	color: var(--ayesha-bone);
}

.ayesha-wordmark:hover {
	opacity: 0.88;
}

.ayesha-wordmark:focus-visible {
	outline: 2px solid var(--ayesha-acid);
	outline-offset: 4px;
}

.ayesha-wordmark .elementor-widget-heading {
	margin: 0;
}

.ayesha-wordmark__mark {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 44px;
	background-color: var(--ayesha-acid);
}

.elementor .ayesha-wordmark .ayesha-wordmark__mark.e-con {
	box-sizing: border-box;
	flex: 0 0 var(--width);
	width: var(--width);
	min-width: var(--width);
	height: auto;
	min-height: 0;
	aspect-ratio: 1;
}

.ayesha-wordmark__initials.elementor-widget-heading .elementor-heading-title {
	display: block;
	margin: 0;
	color: var(--ayesha-ink);
	font-family: "Instrument Sans", var(--ayesha-font-display);
	font-size: 29px;
	font-stretch: 75%;
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1;
	white-space: nowrap;
}

.ayesha-wordmark__name {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	min-width: 0;
}

.elementor .ayesha-wordmark .ayesha-wordmark__name.e-con {
	flex: 0 0 auto;
	width: max-content;
	max-width: 100%;
}

.ayesha-wordmark__name-line.elementor-widget-heading .elementor-heading-title {
	display: block;
	margin: 0;
	color: var(--ayesha-bone);
	font-family: "Instrument Sans", var(--ayesha-font-display);
	font-size: 16px;
	font-stretch: 75%;
	font-weight: 900;
	letter-spacing: 0.044em;
	line-height: 0.92;
	white-space: nowrap;
}

.ayesha-header__nav {
	flex: 1 1 auto;
	min-width: 0;
}

.ayesha-header .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
	display: flex;
	justify-content: center;
	gap: clamp(0.5rem, 1.6vw, 1.65rem);
}

.ayesha-header .hfe-nav-menu li a.hfe-menu-item {
	position: relative;
	min-height: 48px;
	padding: 0.8rem 0.25rem;
	color: var(--ayesha-bone);
	font-family: var(--ayesha-font-body);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.025em;
	line-height: 1.2;
	white-space: nowrap;
	transition: color 160ms linear;
}

.ayesha-header .hfe-nav-menu li a.hfe-menu-item::after {
	position: absolute;
	right: 0;
	bottom: 0.35rem;
	left: 0;
	height: 2px;
	transform: scaleX(0);
	transform-origin: left center;
	background: var(--ayesha-acid);
	content: "";
	transition: transform 180ms var(--ayesha-ease);
}

.ayesha-header .hfe-nav-menu li a.hfe-menu-item:hover,
.ayesha-header .hfe-nav-menu li.current-menu-item > a.hfe-menu-item,
.ayesha-header .hfe-nav-menu li.current_page_item > a.hfe-menu-item,
.ayesha-header .hfe-nav-menu li a.hfe-menu-item[aria-current="page"] {
	color: var(--ayesha-bone);
}

.ayesha-header .hfe-nav-menu li a.hfe-menu-item:hover::after,
.ayesha-header .hfe-nav-menu li.current-menu-item > a.hfe-menu-item::after,
.ayesha-header .hfe-nav-menu li.current_page_item > a.hfe-menu-item::after,
.ayesha-header .hfe-nav-menu li a.hfe-menu-item[aria-current="page"]::after {
	transform: scaleX(1);
}

.ayesha-header .hfe-nav-menu li.current-menu-item > a.hfe-menu-item::before,
.ayesha-header .hfe-nav-menu li.current_page_item > a.hfe-menu-item::before,
.ayesha-header .hfe-nav-menu li a.hfe-menu-item[aria-current="page"]::before {
	position: absolute;
	top: 0.2rem;
	left: 50%;
	width: 4px;
	height: 4px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: var(--ayesha-acid);
	content: "";
}

.ayesha-header__cta {
	flex: 0 0 auto;
}

.ayesha-header__cta .elementor-button {
	min-width: 130px;
	min-height: 48px;
	padding-inline: 1.25rem;
	border-radius: 3px;
	font-size: 0.82rem;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.ayesha-header :focus-visible,
.ayesha-header a:visited {
	color: var(--ayesha-bone);
}

@media (max-width: 1024px) {
	.ayesha-header__inner {
		min-height: 72px;
		gap: 1rem;
	}

	.ayesha-header__nav {
		position: static;
		flex: 0 0 48px;
		width: 48px;
		max-width: 48px;
		margin-inline-start: auto;
	}

	.ayesha-header__nav > .elementor-widget-container > .hfe-nav-menu {
		position: static;
		width: 48px;
		max-width: 48px;
	}

	.ayesha-header__nav .hfe-nav-menu__layout-horizontal {
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		width: min(410px, calc(100vw - 32px));
		max-width: calc(100vw - 32px);
		padding: 0.5rem;
		border: 1px solid var(--ayesha-line-strong);
		border-radius: var(--ayesha-radius-medium);
		background: var(--ayesha-ink) !important;
		box-shadow: 0 18px 42px rgb(0 0 0 / 32%);
	}

	.ayesha-header__nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu,
	.ayesha-header__nav .hfe-nav-menu__layout-horizontal li,
	.ayesha-header__nav .hfe-nav-menu__layout-horizontal a.hfe-menu-item {
		background: transparent !important;
	}

	.ayesha-header__nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 0.15rem;
	}

	.ayesha-header__nav .hfe-nav-menu__layout-horizontal a.hfe-menu-item {
		display: flex;
		align-items: center;
		min-height: 48px;
		padding: 0.75rem 1rem;
		border-radius: 4px;
	}

	.ayesha-header__nav .hfe-nav-menu__layout-horizontal a.hfe-menu-item::before,
	.ayesha-header__nav .hfe-nav-menu__layout-horizontal a.hfe-menu-item::after {
		display: none;
	}

	.ayesha-header__nav .hfe-nav-menu__layout-horizontal a.hfe-menu-item:hover,
	.ayesha-header__nav .hfe-nav-menu__layout-horizontal a.hfe-menu-item:focus-visible,
	.ayesha-header__nav .hfe-nav-menu__layout-horizontal li.current-menu-item > a.hfe-menu-item {
		background: var(--ayesha-surface-raised) !important;
		color: var(--ayesha-acid) !important;
	}

	.ayesha-header .hfe-nav-menu__toggle {
		display: grid;
		place-items: center;
		width: 48px;
		min-width: 48px;
		min-height: 48px;
		border: 1px solid var(--ayesha-line-strong);
		border-radius: 50%;
		background: transparent;
		color: var(--ayesha-bone);
	}

	.ayesha-header .hfe-nav-menu__toggle:hover,
	.ayesha-header .hfe-nav-menu__toggle:focus-visible,
	.ayesha-header .hfe-nav-menu__toggle[aria-expanded="true"] {
		border-color: var(--ayesha-acid);
		background: var(--ayesha-surface);
		color: var(--ayesha-acid);
	}

	.ayesha-header .hfe-nav-menu-icon svg,
	.ayesha-header .hfe-nav-menu-icon svg path {
		fill: currentColor;
	}

	.ayesha-header__nav .hfe-nav-menu__toggle[aria-expanded="false"] + .hfe-nav-menu__layout-horizontal {
		display: none;
	}

	.ayesha-header__nav .hfe-nav-menu__toggle[aria-expanded="true"] + .hfe-nav-menu__layout-horizontal {
		display: flex;
	}
}

@media (max-width: 560px) {
	.ayesha-header__inner {
		width: calc(100% - 32px);
		min-height: 68px;
		gap: 0.6rem;
	}

	.ayesha-header__logo {
		flex-basis: auto;
	}

	.ayesha-wordmark {
		gap: 8px;
	}

	.ayesha-wordmark__mark {
		width: 36px;
		height: 36px;
		min-height: 36px;
	}

	.ayesha-wordmark__initials.elementor-widget-heading .elementor-heading-title {
		font-size: 23px;
	}

	.ayesha-wordmark__name-line.elementor-widget-heading .elementor-heading-title {
		font-size: 12px;
		letter-spacing: 0.0375em;
	}

	.ayesha-header__cta .elementor-button {
		min-width: 102px;
		min-height: 44px;
		padding-inline: 0.8rem;
		font-size: 0.72rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ayesha-header,
	.ayesha-header .hfe-nav-menu li a.hfe-menu-item,
	.ayesha-header .hfe-nav-menu li a.hfe-menu-item::after {
		transition-duration: 0.01ms;
	}
}
