/**
 * Bridge rules between the schulich22 theme and the embedded 2026 header.
 * Hand-written — NOT overwritten by tools/build-header-2026.ps1.
 */

/* The 2026 header is position: sticky and occupies flow space, unlike the
   old fixed header, so the spacer divs the old templates emit must collapse.
   body.has-header-2026 is added in header.php only when the new header is
   shown (EMBA/CGE/landing pages keep the old fixed header and its spacers).
   !important outranks the old theme's .cge/.emba .header-push overrides. */
body.has-header-2026 .header-push {
	height: 0 !important;
}

/* Keep the sticky header below the WP admin bar for logged-in users. */
body.admin-bar .sch2026 .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* A plugin on the 2022 site ships a bare `.icon` rule (fill: currentColor;
   background-color: #f3f3f3; width/height: 1rem) that overrides the SVG
   fill="none" attribute on the 2026 icons — stroked chevrons render as solid
   filled triangles on a grey square. Re-assert the 2026 icon contract inside
   the scope; .sch2026 .icon out-specifies and out-orders the plugin rule. */
.sch2026 .icon {
	fill: none;
	background-color: transparent;
	vertical-align: baseline;
}
