/**
 * Blitz 2 — site chrome: header, nav, mega menu, mobile drawer,
 * GTranslate pill and footer.
 *
 * Owned by the header/footer agent (CONTRACT §3). Colors, radii and shadows
 * reference the --bz-* tokens defined in base.css :root (DESIGN-SPEC §1);
 * literal values appear only as var() fallbacks or spec-listed rgba() alphas.
 *
 * Breakpoints: 1024px (nav collapses into the burger/drawer),
 *              720px  (footer stacks, header 58px, right cluster hidden).
 */

/* ------------------------------------------------------------------ */
/* Skip link                                                          */
/* ------------------------------------------------------------------ */

.bz-skip {
	position: absolute;
	top: 0;
	left: -9999px;
	z-index: 120;
	padding: 10px 16px;
	background: #fff;
	color: var(--bz-teal, #0e615d);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	border-radius: 0 0 var(--bz-r-btn, 10px) 0;
	box-shadow: var(--bz-sh-mega, 0 18px 50px rgba(16, 32, 60, .18));
}

.bz-skip:focus {
	left: 0;
}

/* ------------------------------------------------------------------ */
/* Header bar                                                         */
/* ------------------------------------------------------------------ */

.bz-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bz-teal, #0e615d);
	color: #fff;
}

body.admin-bar .bz-header {
	top: 32px;
}

.bz-header__bar {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 70px;
}

.bz-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	white-space: nowrap;
}

.bz-logo__img {
	display: block;
	height: 40px;
	width: auto;
}

.bz-header__spacer {
	flex: 1;
}

/* ------------------------------------------------------------------ */
/* Primary nav                                                        */
/* ------------------------------------------------------------------ */

.bz-nav {
	display: flex;
	align-items: center;
	gap: 22px;
}

.bz-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0;
	background: none;
	border: 0;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--bz-on-teal-nav, #DDE4EF);
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: color .12s;
}

.bz-nav__link:hover,
.bz-nav__link:focus-visible {
	color: #fff;
}

.bz-nav__link--mega .bz-icon {
	transition: transform .18s;
}

.bz-nav__link--mega[aria-expanded="true"] .bz-icon {
	transform: rotate(180deg);
}

/* ------------------------------------------------------------------ */
/* Right cluster: language pill + CTA                                 */
/* ------------------------------------------------------------------ */

.bz-header__right {
	display: flex;
	align-items: center;
	gap: 22px;
}

.bz-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	background: var(--bz-orange, #F5872E);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border-radius: var(--bz-r-btn, 10px);
	white-space: nowrap;
	transition: filter .12s;
}

.bz-header__cta:hover,
.bz-header__cta:focus-visible {
	filter: brightness(.94);
}

/*
 * GTranslate widget slot. The plugin's own markup, styles and popup are left
 * completely untouched — this rule only seats the widget in the header row.
 */
.bz-lang-slot {
	display: inline-flex;
	align-items: center;
}

.bz-lang-slot .gtranslate_wrapper a {
	color: #fff;
}

/* Language popup (gt_float / gt_white_content): keep the language list text
   black so it stays readable on the popup's white background. */
.gt_white_content .gt_languages a.glink,
.gt_white_content .gt_languages a.glink span,
.gt_white_content .gt_languages a.glink:hover span,
.gt_white_content .gt_languages a.glink.gt-current-lang span {
	color: #000 !important;
}

/* ------------------------------------------------------------------ */
/* Burger                                                             */
/* ------------------------------------------------------------------ */

.bz-burger {
	display: none;
	align-items: center;
	justify-content: center;
	padding: 4px;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
}

/* ------------------------------------------------------------------ */
/* Mega menu                                                          */
/* ------------------------------------------------------------------ */

.bz-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	color: var(--bz-ink, #1A1D21);
	border-top: 1px solid var(--bz-border, #E3E6EA);
	box-shadow: var(--bz-sh-mega, 0 18px 50px rgba(16, 32, 60, .18));
	animation: bzfade .18s ease;
}

.bz-mega[hidden] {
	display: none;
}

.bz-mega__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	gap: 10px;
	padding: 22px 0 14px;
}

.bz-mega__item {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 11px 12px;
	border-radius: var(--bz-r-btn, 10px);
	color: inherit;
	text-decoration: none;
	transition: background .12s;
}

.bz-mega__item:hover,
.bz-mega__item:focus-visible {
	background: var(--bz-bg-mega-hover, #F5F6F8);
}

.bz-mega__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: var(--bz-r-btn, 9px);
}

.bz-mega__txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bz-mega__t {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--bz-ink, #1A1D21);
}

.bz-mega__s {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--bz-gray-500, #7A828C);
}

.bz-mega__empty {
	margin: 0;
	padding: 22px 0 14px;
	font-size: 14px;
	color: var(--bz-gray-500, #7A828C);
}

.bz-mega__foot {
	border-top: 1px solid var(--bz-border, #E3E6EA);
	padding: 14px 0 18px;
}

.bz-mega__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--bz-teal, #0e615d);
	text-decoration: none;
	transition: color .12s;
}

.bz-mega__all:hover,
.bz-mega__all:focus-visible {
	color: var(--bz-teal-dark, #0a4f4b);
}

/* ------------------------------------------------------------------ */
/* Mobile drawer (in-flow, below the header)                          */
/* ------------------------------------------------------------------ */

.bz-drawer {
	display: none;
	background: var(--bz-teal, #0e615d);
	color: #fff;
	padding: 8px 16px 18px;
}

.bz-drawer[hidden] {
	display: none !important;
}

.bz-drawer__link {
	display: block;
	padding: 13px 4px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.bz-drawer__link:hover,
.bz-drawer__link:focus-visible {
	color: var(--bz-orange-200, #FFC58A);
}

.bz-drawer__link--cat {
	font-size: 14px;
	padding: 11px 4px;
}

.bz-drawer__label {
	margin-top: 14px;
	padding: 0 4px 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: var(--bz-on-teal-body, #C4D0E4);
}

.bz-drawer__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 16px;
	padding: 13px 18px;
	background: var(--bz-orange, #F5872E);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--bz-r-btn, 10px);
	transition: filter .12s;
}

.bz-drawer__cta:hover,
.bz-drawer__cta:focus-visible {
	filter: brightness(.94);
}

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.bz-footer {
	margin-top: 72px;
	background: var(--bz-teal, #0e615d);
	color: #fff;
}

.bz-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 30px;
	padding: 48px 0 28px;
}

.bz-footer__brand {
	line-height: 1;
}

.bz-footer__logo {
	display: block;
	height: 46px;
	width: auto;
}

.bz-footer__about {
	margin: 12px 0 0;
	max-width: 280px;
	font-size: 14px;
	line-height: 1.55;
	color: #fff;
}

.bz-footer__lang {
	margin-top: 16px;
}

.bz-footer__h {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.bz-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bz-footer__links a {
	font-size: 14px;
	color: #fff;
	text-decoration: none;
	transition: color .12s;
}

.bz-footer__links a:hover,
.bz-footer__links a:focus-visible {
	color: #fff;
}

.bz-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
	color: #fff;
}

.bz-footer__bottom a {
	color: inherit;
	text-decoration: none;
	transition: color .12s;
}

.bz-footer__bottom a:hover,
.bz-footer__bottom a:focus-visible {
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */

@media (min-width: 1025px) {

	.bz-drawer {
		display: none !important;
	}
}

@media (max-width: 1024px) {

	.bz-nav {
		display: none;
	}

	.bz-burger {
		display: inline-flex;
	}

	.bz-mega {
		display: none !important;
	}

	.bz-drawer:not([hidden]) {
		display: block;
	}

	.bz-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 26px;
	}

	.bz-footer__brandcol {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {

	body.admin-bar .bz-header {
		top: 46px;
	}
}

/* Under 600px WP unfixes the admin bar (it scrolls away), so the sticky
   header must dock back to the viewport top. */
@media (max-width: 600px) {

	body.admin-bar .bz-header {
		top: 0;
	}
}

@media (max-width: 720px) {

	.bz-header__bar {
		height: 58px;
	}

	.bz-header__right {
		display: none;
	}

	.bz-footer {
		margin-top: 42px;
	}

	.bz-footer__grid {
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 38px 0 22px;
	}

	.bz-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}