/**
 * AFC site chrome: sticky header transition, premium mobile menu, mobile call bar.
 * Colors ride the Elementor Global Kit CSS variables so brand changes flow through.
 */

/* ---------- sticky header shrink + elevation ---------- */
.afc-header {
	transition: padding 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}
.afc-header.elementor-sticky--effects {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	background-color: var(--e-global-color-surface) !important;
	box-shadow: 0 10px 34px rgba(14, 66, 59, 0.14);
}
.afc-header .afc-header-cta a {
	white-space: nowrap;
}

/* thin brand accent hairline across the very top */
.afc-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--e-global-color-accent), var(--e-global-color-primary));
}

/* ---------- premium mobile / tablet menu ---------- */
@media (max-width: 1024px) {
	.afc-header .elementor-nav-menu--dropdown.elementor-nav-menu__container {
		position: fixed !important;
		top: 76px;
		left: 0 !important;
		right: 0 !important;
		width: 100vw !important;
		max-width: 100vw !important;
		min-height: calc(100vh - 76px);
		min-height: calc(100dvh - 76px);
		margin-top: 0 !important;
		padding: 48px 24px 96px;
		background: linear-gradient(165deg, var(--e-global-color-primary) 0%, var(--e-global-color-primary_deep) 90%) !important;
		box-shadow: none;
		overflow-y: auto;
	}
	.afc-header .elementor-nav-menu--dropdown .elementor-nav-menu {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 6px;
	}
	.afc-header .elementor-nav-menu--dropdown .elementor-nav-menu a,
	.afc-header .elementor-nav-menu--dropdown .elementor-nav-menu a.elementor-item {
		color: var(--e-global-color-white, #ffffff) !important;
		font-size: 24px;
		line-height: 2.1;
		background: transparent !important;
		text-align: center;
		justify-content: center;
	}
	.afc-header .elementor-nav-menu--dropdown .elementor-nav-menu a:hover,
	.afc-header .elementor-nav-menu--dropdown .elementor-nav-menu a.elementor-item-active {
		color: var(--e-global-color-primary_soft) !important;
	}
	.afc-header .elementor-menu-toggle {
		z-index: 210;
	}
}

/* ---------- persistent mobile call bar ---------- */
.afc-callbar {
	display: none;
}
@media (max-width: 767px) {
	.afc-callbar.elementor-element,
	.afc-callbar {
		display: block !important;
		position: fixed !important;
		top: auto !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		z-index: 9990 !important;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.22);
	}
	.afc-callbar .elementor-button {
		width: 100%;
	}
	body.afc-has-callbar {
		padding-bottom: 76px;
	}
	/* keep the callbar above Elementor sticky clones */
	.afc-callbar.elementor-element {
		margin: 0;
	}
}

/* BHP: reversed (white) logo treatment on navy, until the real reversed asset ships */
.bhp-logo-reversed img {
	filter: brightness(0) invert(1);
}
.bhp-header-cta a {
	white-space: nowrap;
}

/* footer list alignment fix 2026-08-04 */
.elementor-location-footer .elementor-icon-list-item{align-items:flex-start}
.elementor-location-footer .elementor-icon-list-icon{margin-top:.42em;flex:0 0 auto}
.elementor-location-footer .elementor-icon-list-text{line-height:1.55}
