/**
 * Front-end CSS tweaks.
 *
 * Loaded last on every front-end page (after the theme, legacy-custom.css,
 * WPBakery, block and header styles), so rules here win without !important
 * in most cases. Versioned by file time, so a deploy is picked up straight away.
 *
 * All CSS lives in version-tracked files. Don't add CSS in the Customizer,
 * WPCode or other admin screens: that lives in the database and doesn't travel
 * from local to staging to production with git.
 */

/* ---------------------------------------------------------------------------
   Legacy header: sticky behaviour
   Moved from the WPCode snippet "Sticky header CSS" (#8654) on 2026-09-29.
   Pairs with the "Sticky Header JS" snippet (#8655), which adds .sticky-header.
   Only affects the old #page-header; delete once the new header launches.
   --------------------------------------------------------------------------- */

header#page-header {
	transition: all .3s ease;
	background: #fff !important;
}

header#page-header.sticky-header {
	position: fixed !important;
	top: 0;
	left: 0;
	z-index: 99999;
	width: 100%;
	background: #fff !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.page-content {
	padding-top: 0;
}
