/* brute-force header typography clamp */
:root{
  --hf: "Open Sans","Alata",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

/* Apply to anything inside common header containers */
header, header * ,
.site-header, .site-header * ,
#header, #header * ,
.navbar, .navbar * ,
.main-nav, .main-nav * ,
nav[role="navigation"], nav[role="navigation"] * {
  font-family: var(--hf) !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}

/* Size clamp for typical nav items */
header a, .site-header a, #header a, .navbar a, .main-nav a, nav[role="navigation"] a{
  font-size: 14px !important;
  line-height: 1.2 !important;
}

/* Brand/logo text if it exists */
header .navbar-brand, header .brand, header .logo, .site-header .logo, #header .logo{
  font-size: 18px !important;
  line-height: 1.1 !important;
}

/* Prevent icon fonts from inheriting text font */
header i, header svg, .navbar i, .navbar svg{
  font-family: inherit !important;
  font-size: 1em !important;
}
