/**
 * Site shell nav — matches bundled .dc.html (Washington DC / Practice Areas).
 * Inline styles on the markup are canonical; this file only blocks WP global presets.
 */

header.wp-block-template-part:has(nav[aria-label="Primary"]) {
	display: contents;
}

/*
 * Do NOT reset the header wrapper to display:block - that cancels the
 * display:contents above and traps position:sticky inside the 103px-tall
 * wrapper (nav then unsticks as soon as the header scrolls past). Only the
 * nav itself needs display:block.
 */
header.fl-site-header nav[aria-label="Primary"],
header.wp-block-template-part nav[aria-label="Primary"] {
	display: block;
}

header.fl-site-header nav[aria-label="Primary"] button[data-menu],
header.wp-block-template-part nav[aria-label="Primary"] button[data-menu] {
	appearance: none;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 6px 0 !important;
	margin: 0;
	min-height: 0;
	line-height: inherit;
	cursor: pointer;
}

header.fl-site-header nav[aria-label="Primary"] .sp-navlinks a,
header.fl-site-header nav[aria-label="Primary"] .sp-navlinks button,
header.wp-block-template-part nav[aria-label="Primary"] a,
header.wp-block-template-part nav[aria-label="Primary"] button[data-menu] {
	text-decoration: none;
}

/* Utility strip: bundled inner-page typography (Practice Areas / pillar pages) */
header.fl-site-header > div[style*="background:#141414"]:first-of-type a,
header.wp-block-template-part > div[style*="background:#141414"]:first-of-type a {
	text-decoration: none;
}

/* Skip link: visually hidden until keyboard focus (editorial.css is not loaded in handoff mode) */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 12px 20px;
	background: #141414;
	color: #f4f4f1;
	font-family: 'Libre Franklin', sans-serif;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}
.skip-link:focus { left: 0; }

/* chrome elements carry verbatim inline display values; [hidden] must still win */
[data-chrome][hidden] { display: none !important; }

/* Guidelines §34: keyboard focus = 2px INK outline (never red, never UA blue) */
:focus-visible {
	outline: 2px solid #141414;
	outline-offset: 2px;
}
