/*
 * Site header layout, from the native settings of Elementor templates 2323 and 4051.
 * The bar and logo values were measured against Elementor 4.3.6 rendering the export.
 *
 * Tablet and mobile breakpoints are Elementor's defaults (1024px and 767px). Custom
 * breakpoints would be in Site Settings, which the export does not include.
 */
.ad-site-header__bar {
	position: relative;
	z-index: 96;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0 0 0 1%;
	background-color: #000;
	box-shadow: 15px 15px 30px 5px rgba(0, 0, 0, 0.04);
}

.ad-site-header__bar > * {
	position: relative;
	min-width: 0;
}

/* Shrinks: the fixed-width items below take 95.175% of the row, so the logo renders
   below its 103px setting on most widths. This is how the live header behaves. */
.ad-site-header__logo {
	flex: 0 1 auto;
}

.ad-site-header__logo img {
	display: inline-block;
	width: 103px;
	vertical-align: middle;
}

.ad-site-header__spacer {
	flex: 0 0 auto;
	align-self: stretch;
	width: 0;
	min-height: 50px;
}

.ad-site-header__nav,
.ad-site-header__language,
.ad-site-header__user-menu {
	flex: 0 0 auto;
	order: 99999;
}

.ad-site-header__nav {
	width: 84.675%;
}

.ad-site-header__language {
	align-self: center;
	width: 6%;
}

.ad-site-header__user-menu {
	align-self: center;
	width: 4.5%;
}

/*
 * Navigation. Set in the export: Roboto 600, white text, #44C4BC hover and pointer,
 * 10px item spacing, 2px #44C4BC divider, right alignment, dropdown on mobile.
 *
 * NOT VERIFIED AGAINST SOURCE: Elementor Pro's stylesheet is not in the export and Pro
 * is not available locally. Everything the widget left at its default (item padding,
 * underline pointer, divider height, toggle and mobile dropdown colours) is written
 * from knowledge of Pro's defaults and must be compared with the live site.
 */
.ad-nav {
	display: flex;
	justify-content: flex-end;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
}

.ad-nav__toggle {
	display: none;
}

.ad-nav__list,
.ad-nav__list ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

.ad-nav__list {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-inline-start: auto;
}

.ad-nav__list > li {
	position: relative;
	display: flex;
}

.ad-nav__list > li:not(:last-child)::after {
	content: "";
	align-self: center;
	height: 35%;
	border-left: 2px solid #44c4bc;
}

.ad-nav__list a {
	position: relative;
	display: flex;
	flex-grow: 1;
	align-items: center;
	padding: 13px 20px;
	color: #fff;
	line-height: 20px;
	white-space: nowrap;
	transition: 0.4s;
}

.ad-nav__list > li:not(:last-child) > a {
	margin-inline-end: 5px;
}

.ad-nav__list > li:not(:first-child) > a {
	margin-inline-start: 5px;
}

.ad-nav__list a:hover,
.ad-nav__list a:focus,
.ad-nav__list .current-menu-item > a {
	color: #44c4bc;
}

.ad-nav__list > li > a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 3px;
	background-color: #44c4bc;
	opacity: 0;
	transition: 0.3s cubic-bezier(0.58, 0.3, 0.005, 1);
}

.ad-nav__list > li > a:hover::after,
.ad-nav__list > li > a:focus::after,
.ad-nav__list > .current-menu-item > a::after {
	opacity: 1;
}

.ad-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 3;
	display: none;
	min-width: 12em;
	background-color: #fff;
}

.ad-nav__list li:hover > .sub-menu,
.ad-nav__list li:focus-within > .sub-menu {
	display: block;
}

.ad-nav__list .sub-menu a {
	color: #33373d;
	font-size: 13px;
}

.ad-nav__list .sub-menu a:hover,
.ad-nav__list .sub-menu a:focus {
	background-color: #55595c;
	color: #fff;
}

@media (max-width: 1024px) {
	.ad-site-header__bar {
		padding: 0 5%;
	}
}

/*
 * Theme fix, asked for on 15 November 2026 (MIGRATION_AUDIT.md, section 12).
 *
 * The language button needs 104px. Below about 1754px its 6% column was narrower:
 * - from about 1384px, its arrow sat on the button's edge;
 * - below that, the user menu button covered its text and arrow.
 * From 768 to about 860px the menu, with Home, also took two lines. Now:
 * - the language column takes the button's own width, never less than 6%;
 * - the menu takes the room that is left;
 * - the logo keeps the 4.825% it always had.
 * From 1754px up, every box is where it was. The phone layout is not affected.
 */
@media (min-width: 768px) {
	.ad-site-header__logo {
		flex: 0 0 4.825%;
	}

	.ad-site-header__nav {
		flex: 1 1 0;
		width: auto;
	}

	.ad-site-header__language {
		width: auto;
		min-width: 6%;
	}
}

/* From 768 to 945px, the items' side padding narrows from 20px to 8px, just enough for
   the menu to stay on one line, with 16px to spare for font differences between systems.
   Text size and weight do not change. */
@media (min-width: 768px) and (max-width: 945px) {
	.ad-nav__list > li > a {
		padding-inline: clamp(8px, 6.8vw - 44.3px, 20px);
	}
}

@media (max-width: 767px) {
	.ad-site-header__bar {
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: center;
		min-height: 50px;
	}

	.ad-site-header__spacer {
		align-self: auto;
		width: 100%;
		height: 50px;
	}

	.ad-site-header__language,
	.ad-site-header__user-menu {
		display: none;
	}

	.ad-nav {
		flex-direction: column;
		align-items: stretch;
	}

	.ad-nav__toggle {
		display: flex;
		align-items: center;
		align-self: center;
		justify-content: center;
		padding: 0.25em;
		border: 0;
		border-radius: 3px;
		background-color: rgba(0, 0, 0, 0.05);
		color: #33373d;
		font-size: 22px;
		cursor: pointer;
	}

	.ad-nav__icon-close,
	.ad-nav.is-open .ad-nav__icon-open {
		display: none;
	}

	.ad-nav.is-open .ad-nav__icon-close {
		display: inline-block;
	}

	.ad-nav__list {
		display: none;
		margin-top: 10px;
		margin-inline-start: 0;
		background-color: #fff;
		font-size: 13px;
	}

	.ad-nav.is-open .ad-nav__list {
		display: block;
	}

	.ad-nav__list > li {
		display: block;
	}

	.ad-nav__list > li:not(:last-child)::after,
	.ad-nav__list > li > a::after {
		display: none;
	}

	.ad-nav__list a,
	.ad-nav__list > li:not(:last-child) > a,
	.ad-nav__list > li:not(:first-child) > a {
		margin: 0;
		padding: 10px 20px;
	}

	/*
	 * Fixed 15 November 2026 (MIGRATION_AUDIT.md, section 12): this colour used to sit in
	 * the rule above, whose selectors outrank the hover and active rule below. Hovered,
	 * focused and active items then kept dark text on their grey background.
	 */
	.ad-nav__list a {
		color: #33373d;
	}

	.ad-nav__list a:hover,
	.ad-nav__list a:focus,
	.ad-nav__list .current-menu-item > a {
		background-color: #55595c;
		color: #fff;
	}

	.ad-nav__list .sub-menu {
		position: static;
		display: block;
		min-width: 0;
	}
}
