/* AM Header & Footer Builder — conteneurs du header / footer */
.amhfb {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
}

.amhfb__inner {
	width: 100%;
}

.amhfb--boxed > .amhfb__inner {
	max-width: var(--amhfb-max-width, 1200px);
	margin-inline: auto;
}

.amhfb--sticky {
	position: sticky;
	top: 0;
	z-index: 999;
}

.amhfb--overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
}

.admin-bar .amhfb--sticky,
.admin-bar .amhfb--overlay {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (prefers-reduced-motion: reduce) {
	.amhfb,
	.amhfb * {
		scroll-behavior: auto;
	}
}
