.materials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid #314661;
}
.materials-header nav, .materials-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.materials-header nav a, .materials-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e0e9f6;
  text-underline-offset: 4px;
}
.materials-header nav .materials-paid-link { color: #f4d799; }
.materials-footer { display: grid; justify-items: center; gap: 8px; }
.materials-footer nav { justify-content: center; }
#free-materials { scroll-margin-top: 20px; }
