.omni-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
}

/* Logged-in admin bar offset. WordPress's own admin-bar.css switches the
   bar from `position: fixed` to `position: absolute` (it scrolls away)
   at 600px and below, confirmed live rather than assumed — pushing our
   fixed header down to match it at that width would leave a permanent
   gap once the real bar has scrolled out of view, worse than the small
   overlap at the very top this leaves instead. So this offset is scoped
   to widths above that breakpoint, where the bar stays fixed for the
   life of the page. `--wp-admin--admin-bar--height` is a real custom
   property WordPress itself sets (confirmed live: 32px above 782px,
   46px at 782px and below) — using it means this never needs its own
   782px breakpoint duplicate. Same reasoning applies to every other
   element below that's fixed from the true window top: the backdrop and
   drawer (mobile menu) that sit alongside the header, and the reading
   progress line further down this file. */
@media (min-width: 601px) {
	.admin-bar .omni-header,
	.admin-bar .omni-header__backdrop,
	.admin-bar .omni-header__drawer {
		top: var(--wp-admin--admin-bar--height, 32px);
	}
}

/* The header widget is position:fixed, so it takes no space in normal flow —
   but Elementor's own section/container/column/widget-wrap markup around it
   still carries a `.elementor-column{min-height:1px}` default (and similar
   defaults on sibling wrapper levels), so the otherwise-empty header
   template leaves a real 1px-tall row in the document, showing the body
   background as a thin line between the header and the page content.
   Scoped to the header template's own top-level section (`.omni-header-shell`,
   set via that element's css_classes in Elementor) rather than touching
   Elementor's own classes globally — (0,2,0) beats the (0,1,0) core rule on
   specificity alone, no !important needed. */
.omni-header-shell,
.omni-header-shell .elementor-container,
.omni-header-shell .elementor-column,
.omni-header-shell .elementor-widget-wrap {
	min-height: 0;
}

.omni-progress-line {
	height: 3px;
	background: rgba(255, 255, 255, .08);
	position: fixed;
	top: var(--omni-header-height, 96px);
	left: 0;
	right: 0;
	z-index: 50;
}

@media (min-width: 601px) {
	.admin-bar .omni-progress-line {
		top: calc(var(--omni-header-height, 96px) + var(--wp-admin--admin-bar--height, 32px));
	}
}

.omni-progress-line i {
	display: block;
	height: 100%;
	width: 0;
	background: var(--omni-accent, #C7243A);
}

.omni-header__announcement {
	background: var(--omni-accent);
	color: var(--omni-white);
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-family: var(--omni-font-mono);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 0 16px;
	flex-wrap: wrap;
	text-align: center;
}

.omni-header__announcement i {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .6);
	flex: none;
}

.omni-header__main {
	transition: box-shadow .25s ease;
}

.omni-header.is-scrolled .omni-header__main {
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

body {
	padding-top: var(--omni-header-height, 96px);
}

.omni-header__main {
	background: var(--omni-night);
	border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.omni-header__inner {
	max-width: var(--omni-container);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 84px;
	padding: 0 24px;
}

.omni-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	flex-shrink: 0;
}

.omni-header__brand .omni-header__logo {
	height: 32px;
	width: auto;
}

/* Shared brand lockup (Widget_Base::omni_logo()) — used by the header, the
   footer and the pillar sidebar offer card. Default colors assume a dark
   surface, which is every current caller; the one light-surface context
   (the mobile nav drawer) overrides these below. */
.omni-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.omni-logo__mark {
	flex: none;
	display: block;
}

.omni-logo__word {
	font-family: var(--omni-font-display);
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1;
	color: var(--omni-white);
}

.omni-logo__tag {
	font-family: var(--omni-font-mono);
	background: transparent;
	color: rgba(255, 255, 255, .85);
	font-weight: 400;
	font-size: 10.5px;
	letter-spacing: .2em;
	line-height: 1;
	padding: 4px 6px 3px 8px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 5px;
	white-space: nowrap;
}

.omni-header__brand .omni-logo__word { font-size: 27px; }

.omni-header__nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.omni-header__menu {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 5px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 999px;
}

.omni-header__menu a {
	display: block;
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
	font-size: 14.5px;
	padding: 8px 18px;
	border-radius: 999px;
}

.omni-header__menu a:hover {
	color: var(--omni-white);
}

.omni-header__menu li.current-menu-item > a,
.omni-header__menu li.current_page_item > a {
	background: var(--omni-white);
	color: var(--omni-ink);
	font-weight: 700;
}

.omni-header__actions {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-shrink: 0;
}

.omni-header__contact {
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
	font-size: 14.5px;
}

.omni-header__contact:hover {
	color: var(--omni-white);
}

.omni-header__icon-link {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--omni-white);
}

.omni-header__icon-link:hover {
	border-color: var(--omni-accent);
	color: var(--omni-accent);
}

.omni-header__icon-link svg {
	width: 18px;
	height: 18px;
}

.omni-header__cta {
	background: var(--omni-accent);
	color: var(--omni-white);
	font-weight: 700;
	font-size: 15px;
	padding: 13px 22px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	white-space: nowrap;
}

.omni-header__cta:hover {
	filter: brightness(1.08);
	color: var(--omni-white);
}

.omni-header__cta svg {
	width: 15px;
	height: 15px;
}

.omni-header__toggle {
	display: none;
	background: none;
	border: 0;
	color: var(--omni-white);
	cursor: pointer;
	padding: 0;
}

.omni-header__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
	z-index: 998;
}

.omni-header__drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(320px, 85vw);
	background: var(--omni-white);
	box-shadow: -16px 0 32px rgba(0, 0, 0, .3);
	transform: translateX(100%);
	transition: transform .3s ease;
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px;
	overflow-y: auto;
}

body.omni-drawer-open {
	overflow: hidden;
}

body.omni-drawer-open .omni-header__backdrop {
	opacity: 1;
	visibility: visible;
}

body.omni-drawer-open .omni-header__drawer {
	transform: translateX(0);
}

.omni-header__drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

/* The drawer has a white background (unlike the now-dark main header), so
   the logo lockup needs its light-surface colors restored here specifically. */
.omni-header__drawer .omni-logo__word {
	color: var(--omni-ink);
}

.omni-header__drawer .omni-logo__tag {
	background: var(--omni-accent);
	color: var(--omni-white);
	border: 0;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .02em;
	text-transform: none;
	padding: 5px 8px;
	border-radius: 6px;
}

.omni-header__drawer-close {
	background: none;
	border: 0;
	color: var(--omni-ink);
	cursor: pointer;
	padding: 6px;
}

.omni-header__drawer-close svg {
	width: 22px;
	height: 22px;
}

.omni-header__drawer-menu {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.omni-header__drawer-menu a {
	display: block;
	padding: 14px 4px;
	color: var(--omni-ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 17px;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.omni-header__drawer-menu a:hover {
	color: var(--omni-accent);
}

.omni-header__drawer-cta {
	justify-content: center;
	margin-bottom: 16px;
}

.omni-header__drawer-links {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.omni-header__drawer-links a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 4px;
	color: var(--omni-muted-on-dark);
	text-decoration: none;
	font-size: 14px;
}

.omni-header__drawer-links a:hover {
	color: var(--omni-white);
}

.omni-header__drawer-links svg {
	width: 18px;
	height: 18px;
}

@media (max-width: 600px) {
	.omni-header__announcement span:nth-child(n+5),
	.omni-header__announcement i:nth-child(n+4) {
		display: none;
	}
}

@media (max-width: 960px) {
	.omni-header__nav,
	.omni-header__actions .omni-header__icon-link,
	.omni-header__contact {
		display: none;
	}

	.omni-header__toggle {
		display: inline-flex;
	}
}

@media (max-width: 380px) {
	.omni-header__inner {
		padding: 14px 16px;
		gap: 10px;
	}

	.omni-header__cta {
		padding: 9px 12px;
		font-size: 13px;
	}

	.omni-header__brand-name {
		font-size: 21px;
	}
}
